{ "name": "kubernetes", "displayName": "Kubernetes", "description": "A Pulumi package for creating and managing Kubernetes resources.", "keywords": [ "pulumi", "kubernetes", "category/cloud", "kind/native" ], "homepage": "https://pulumi.com", "license": "Apache-2.0", "repository": "https://github.com/pulumi/pulumi-kubernetes", "publisher": "Pulumi", "language": { "csharp": { "compatibility": "kubernetes20", "dictionaryConstructors": true, "namespaces": { "": "Provider", "admissionregistration.k8s.io/v1": "AdmissionRegistration.V1", "admissionregistration.k8s.io/v1alpha1": "AdmissionRegistration.V1Alpha1", "admissionregistration.k8s.io/v1beta1": "AdmissionRegistration.V1Beta1", "apiextensions": "ApiExtensions", "apiextensions.k8s.io/v1": "ApiExtensions.V1", "apiextensions.k8s.io/v1beta1": "ApiExtensions.V1Beta1", "apiregistration.k8s.io/v1": "ApiRegistration.V1", "apiregistration.k8s.io/v1beta1": "ApiRegistration.V1Beta1", "apps/v1": "Apps.V1", "apps/v1beta1": "Apps.V1Beta1", "apps/v1beta2": "Apps.V1Beta2", "auditregistration.k8s.io/v1alpha1": "AuditRegistraion.V1Alpha1", "authentication.k8s.io/v1": "Authentication.V1", "authentication.k8s.io/v1alpha1": "Authentication.V1Alpha1", "authentication.k8s.io/v1beta1": "Authentication.V1Beta1", "authorization.k8s.io/v1": "Authorization.V1", "authorization.k8s.io/v1beta1": "Authorization.V1Beta1", "autoscaling/v1": "Autoscaling.V1", "autoscaling/v2": "Autoscaling.V2", "autoscaling/v2beta1": "Autoscaling.V2Beta1", "autoscaling/v2beta2": "Autoscaling.V2Beta2", "batch/v1": "Batch.V1", "batch/v1beta1": "Batch.V1Beta1", "batch/v2alpha1": "Batch.V2Alpha1", "certificates.k8s.io/v1": "Certificates.V1", "certificates.k8s.io/v1alpha1": "Certificates.V1Alpha1", "certificates.k8s.io/v1beta1": "Certificates.V1Beta1", "coordination.k8s.io/v1": "Coordination.V1", "coordination.k8s.io/v1beta1": "Coordination.V1Beta1", "core/v1": "Core.V1", "discovery.k8s.io/v1": "Discovery.V1", "discovery.k8s.io/v1beta1": "Discovery.V1Beta1", "events.k8s.io/v1": "Events.V1", "events.k8s.io/v1beta1": "Events.V1Beta1", "extensions/v1beta1": "Extensions.V1Beta1", "flowcontrol.apiserver.k8s.io/v1": "FlowControl.V1", "flowcontrol.apiserver.k8s.io/v1alpha1": "FlowControl.V1Alpha1", "flowcontrol.apiserver.k8s.io/v1beta1": "FlowControl.V1Beta1", "flowcontrol.apiserver.k8s.io/v1beta2": "FlowControl.V1Beta2", "flowcontrol.apiserver.k8s.io/v1beta3": "FlowControl.V1Beta3", "helm.sh/v2": "Helm.V2", "helm.sh/v3": "Helm.V3", "meta/v1": "Meta.V1", "networking.k8s.io/v1": "Networking.V1", "networking.k8s.io/v1alpha1": "Networking.V1Alpha1", "networking.k8s.io/v1beta1": "Networking.V1Beta1", "node.k8s.io/v1": "Node.V1", "node.k8s.io/v1alpha1": "Node.V1Alpha1", "node.k8s.io/v1beta1": "Node.V1Beta1", "pkg/version": "Pkg.Version", "policy/v1": "Policy.V1", "policy/v1beta1": "Policy.V1Beta1", "rbac.authorization.k8s.io/v1": "Rbac.V1", "rbac.authorization.k8s.io/v1alpha1": "Rbac.V1Alpha1", "rbac.authorization.k8s.io/v1beta1": "Rbac.V1Beta1", "resource.k8s.io/v1alpha1": "Resource.V1Alpha1", "resource.k8s.io/v1alpha2": "Resource.V1Alpha2", "scheduling.k8s.io/v1": "Scheduling.V1", "scheduling.k8s.io/v1alpha1": "Scheduling.V1Alpha1", "scheduling.k8s.io/v1beta1": "Scheduling.V1Beta1", "settings.k8s.io/v1alpha1": "Settings.V1Alpha1", "storage.k8s.io/v1": "Storage.V1", "storage.k8s.io/v1alpha1": "Storage.V1Alpha1", "storage.k8s.io/v1beta1": "Storage.V1Beta1", "storagemigration.k8s.io/v1alpha1": "StorageMigration.V1Alpha1", "yaml": "Yaml", "yaml/v2": "Yaml.V2" }, "packageReferences": { "Glob": "1.1.5", "Pulumi": "3.*" } }, "go": { "generateExtraInputTypes": true, "generateResourceContainerTypes": true, "importBasePath": "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes", "internalModuleName": "utilities", "moduleToPackage": { "admissionregistration.k8s.io/v1": "admissionregistration/v1", "admissionregistration.k8s.io/v1alpha1": "admissionregistration/v1alpha1", "admissionregistration.k8s.io/v1beta1": "admissionregistration/v1beta1", "apiextensions.k8s.io": "apiextensions", "apiextensions.k8s.io/v1": "apiextensions/v1", "apiextensions.k8s.io/v1beta1": "apiextensions/v1beta1", "apiregistration.k8s.io/v1": "apiregistration/v1", "apiregistration.k8s.io/v1beta1": "apiregistration/v1beta1", "apps/v1": "apps/v1", "apps/v1beta1": "apps/v1beta1", "apps/v1beta2": "apps/v1beta2", "auditregistration.k8s.io/v1alpha1": "auditregistration/v1alpha1", "authentication.k8s.io/v1": "authentication/v1", "authentication.k8s.io/v1alpha1": "authentication/v1alpha1", "authentication.k8s.io/v1beta1": "authentication/v1beta1", "authorization.k8s.io/v1": "authorization/v1", "authorization.k8s.io/v1beta1": "authorization/v1beta1", "autoscaling/v1": "autoscaling/v1", "autoscaling/v2": "autoscaling/v2", "autoscaling/v2beta1": "autoscaling/v2beta1", "autoscaling/v2beta2": "autoscaling/v2beta2", "batch/v1": "batch/v1", "batch/v1beta1": "batch/v1beta1", "batch/v2alpha1": "batch/v2alpha1", "certificates.k8s.io/v1": "certificates/v1", "certificates.k8s.io/v1alpha1": "certificates/v1alpha1", "certificates.k8s.io/v1beta1": "certificates/v1beta1", "coordination.k8s.io/v1": "coordination/v1", "coordination.k8s.io/v1beta1": "coordination/v1beta1", "core/v1": "core/v1", "discovery.k8s.io/v1": "discovery/v1", "discovery.k8s.io/v1beta1": "discovery/v1beta1", "events.k8s.io/v1": "events/v1", "events.k8s.io/v1beta1": "events/v1beta1", "extensions/v1beta1": "extensions/v1beta1", "flowcontrol.apiserver.k8s.io/v1": "flowcontrol/v1", "flowcontrol.apiserver.k8s.io/v1alpha1": "flowcontrol/v1alpha1", "flowcontrol.apiserver.k8s.io/v1beta1": "flowcontrol/v1beta1", "flowcontrol.apiserver.k8s.io/v1beta2": "flowcontrol/v1beta2", "flowcontrol.apiserver.k8s.io/v1beta3": "flowcontrol/v1beta3", "helm.sh": "helm", "helm.sh/v2": "helm/v2", "helm.sh/v3": "helm/v3", "meta/v1": "meta/v1", "networking.k8s.io/v1": "networking/v1", "networking.k8s.io/v1alpha1": "networking/v1alpha1", "networking.k8s.io/v1beta1": "networking/v1beta1", "node.k8s.io/v1": "node/v1", "node.k8s.io/v1alpha1": "node/v1alpha1", "node.k8s.io/v1beta1": "node/v1beta1", "pkg/version": "pkg/version", "policy/v1": "policy/v1", "policy/v1beta1": "policy/v1beta1", "rbac.authorization.k8s.io/v1": "rbac/v1", "rbac.authorization.k8s.io/v1alpha1": "rbac/v1alpha1", "rbac.authorization.k8s.io/v1beta1": "rbac/v1beta1", "resource.k8s.io/v1alpha1": "resource/v1alpha1", "resource.k8s.io/v1alpha2": "resource/v1alpha2", "scheduling.k8s.io/v1": "scheduling/v1", "scheduling.k8s.io/v1alpha1": "scheduling/v1alpha1", "scheduling.k8s.io/v1beta1": "scheduling/v1beta1", "settings.k8s.io/v1alpha1": "settings/v1alpha1", "storage.k8s.io/v1": "storage/v1", "storage.k8s.io/v1alpha1": "storage/v1alpha1", "storage.k8s.io/v1beta1": "storage/v1beta1", "storagemigration.k8s.io/v1alpha1": "storagemigration/v1alpha1" }, "packageImportAliases": { "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/admissionregistration/v1": "admissionregistrationv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/admissionregistration/v1alpha1": "admissionregistrationv1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/admissionregistration/v1beta1": "admissionregistrationv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apiextensions/v1": "apiextensionsv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apiextensions/v1beta1": "apiextensionsv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apiregistration/v1": "apiregistrationv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apiregistration/v1beta1": "apiregistrationv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apps/v1": "appsv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apps/v1beta1": "appsv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apps/v1beta2": "appsv1beta2", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/auditregistration/v1alpha1": "auditregistrationv1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/authentication/v1": "authenticationv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/authentication/v1alpha1": "authenticationv1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/authentication/v1beta1": "authenticationv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/authorization/v1": "authorizationv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/authorization/v1beta1": "authorizationv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/autoscaling/v1": "autoscalingv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/autoscaling/v2": "autoscalingv2", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/autoscaling/v2beta1": "autoscalingv2beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/autoscaling/v2beta2": "autoscalingv2beta2", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/batch/v1": "batchv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/batch/v1beta1": "batchv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/batch/v2alpha1": "batchv2alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/certificates/v1": "certificatesv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/certificates/v1alpha1": "certificatesv1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/certificates/v1beta1": "certificatesv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/coordination/v1": "coordinationv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/coordination/v1beta1": "coordinationv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1": "corev1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/discovery/v1": "discoveryv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/discovery/v1beta1": "discoveryv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/events/v1": "eventsv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/events/v1beta1": "eventsv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/extensions/v1beta1": "extensionsv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/flowcontrol/v1": "flowcontrolv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/flowcontrol/v1alpha1": "flowcontrolv1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/flowcontrol/v1beta1": "flowcontrolv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/flowcontrol/v1beta2": "flowcontrolv1beta2", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/flowcontrol/v1beta3": "flowcontrolv1beta3", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3": "helmv3", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1": "metav1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/networking/v1": "networkingv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/networking/v1alpha1": "networkingv1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/networking/v1beta1": "networkingv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/node/v1": "nodev1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/node/v1alpha1": "nodev1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/node/v1beta1": "nodev1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/pkg/version": "pkgversion", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/policy/v1": "policyv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/policy/v1beta1": "policyv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/rbac/v1": "rbacv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/rbac/v1alpha1": "rbacv1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/rbac/v1beta1": "rbacv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/resource/v1alpha1": "resourcev1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/resource/v1alpha2": "resourcev1alpha2", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/scheduling/v1": "schedulingv1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/scheduling/v1alpha1": "schedulingv1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/scheduling/v1beta1": "schedulingv1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/settings/v1alpha1": "settingsv1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/storage/v1": "storagev1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/storage/v1alpha1": "storagev1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/storage/v1beta1": "storagev1beta1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/storagemigration/v1alpha1": "storagemigrationv1alpha1", "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml/v2": "yamlv2" } }, "java": { "packages": { "admissionregistration.k8s.io/v1": "admissionregistration.v1", "admissionregistration.k8s.io/v1alpha1": "admissionregistration.v1alpha1", "admissionregistration.k8s.io/v1beta1": "admissionregistration.v1beta1", "apiextensions.k8s.io/v1": "apiextensions.v1", "apiextensions.k8s.io/v1beta1": "apiextensions.v1beta1", "apiregistration.k8s.io/v1": "apiregistration.v1", "apiregistration.k8s.io/v1beta1": "apiregistration.v1beta1", "apps/v1": "apps.v1", "apps/v1beta1": "apps.v1beta1", "apps/v1beta2": "apps.v1beta2", "auditregistration.k8s.io/v1alpha1": "auditregistration.v1alpha1", "authentication.k8s.io/v1": "authentication.v1", "authentication.k8s.io/v1alpha1": "authentication.v1alpha1", "authentication.k8s.io/v1beta1": "authentication.v1beta1", "authorization.k8s.io/v1": "authorization.v1", "authorization.k8s.io/v1beta1": "authorization.v1beta1", "autoscaling/v1": "autoscaling.v1", "autoscaling/v2": "autoscaling.v2", "autoscaling/v2beta1": "autoscaling.v2beta1", "autoscaling/v2beta2": "autoscaling.v2beta2", "batch/v1": "batch.v1", "batch/v1beta1": "batch.v1beta1", "batch/v2alpha1": "batch.v2alpha1", "certificates.k8s.io/v1": "certificates.v1", "certificates.k8s.io/v1alpha1": "certificates.v1alpha1", "certificates.k8s.io/v1beta1": "certificates.v1beta1", "coordination.k8s.io/v1": "coordination.v1", "coordination.k8s.io/v1beta1": "coordination.v1beta1", "core/v1": "core.v1", "discovery.k8s.io/v1": "discovery.v1", "discovery.k8s.io/v1beta1": "discovery.v1beta1", "events.k8s.io/v1": "events.v1", "events.k8s.io/v1beta1": "events.v1beta1", "extensions/v1beta1": "extensions.v1beta1", "flowcontrol.apiserver.k8s.io/v1": "flowcontrol.v1", "flowcontrol.apiserver.k8s.io/v1alpha1": "flowcontrol.v1alpha1", "flowcontrol.apiserver.k8s.io/v1beta1": "flowcontrol.v1beta1", "flowcontrol.apiserver.k8s.io/v1beta2": "flowcontrol.v1beta2", "flowcontrol.apiserver.k8s.io/v1beta3": "flowcontrol.v1beta3", "helm.sh/v2": "helm.v2", "helm.sh/v3": "helm.v3", "meta/v1": "meta.v1", "networking.k8s.io/v1": "networking.v1", "networking.k8s.io/v1alpha1": "networking.v1alpha1", "networking.k8s.io/v1beta1": "networking.v1beta1", "node.k8s.io/v1": "node.v1", "node.k8s.io/v1alpha1": "node.v1alpha1", "node.k8s.io/v1beta1": "node.v1beta1", "pkg/version": "pkg.version", "policy/v1": "policy.v1", "policy/v1beta1": "policy.v1beta1", "rbac.authorization.k8s.io/v1": "rbac.v1", "rbac.authorization.k8s.io/v1alpha1": "rbac.v1alpha1", "rbac.authorization.k8s.io/v1beta1": "rbac.v1beta1", "resource.k8s.io/v1alpha1": "resource.v1alpha1", "resource.k8s.io/v1alpha2": "resource.v1alpha2", "scheduling.k8s.io/v1": "scheduling.v1", "scheduling.k8s.io/v1alpha1": "scheduling.v1alpha1", "scheduling.k8s.io/v1beta1": "scheduling.v1beta1", "settings.k8s.io/v1alpha1": "settings.v1alpha1", "storage.k8s.io/v1": "storage.v1", "storage.k8s.io/v1alpha1": "storage.v1alpha1", "storage.k8s.io/v1beta1": "storage.v1beta1", "storagemigration.k8s.io/v1alpha1": "storagemigration.v1alpha1", "yaml/v2": "yaml.v2" } }, "nodejs": { "compatibility": "kubernetes20", "dependencies": { "@pulumi/pulumi": "^3.25.0", "@types/node-fetch": "^2.1.4", "@types/tmp": "^0.0.33", "glob": "^10.3.10", "node-fetch": "^2.3.0", "shell-quote": "^1.6.1", "tmp": "^0.0.33" }, "devDependencies": { "@types/mocha": "^5.2.5", "@types/shell-quote": "^1.6.0", "mocha": "^5.2.0" }, "moduleToPackage": { "admissionregistration.k8s.io/v1": "admissionregistration/v1", "admissionregistration.k8s.io/v1alpha1": "admissionregistration/v1alpha1", "admissionregistration.k8s.io/v1beta1": "admissionregistration/v1beta1", "apiextensions.k8s.io": "apiextensions", "apiextensions.k8s.io/v1": "apiextensions/v1", "apiextensions.k8s.io/v1beta1": "apiextensions/v1beta1", "apiregistration.k8s.io/v1": "apiregistration/v1", "apiregistration.k8s.io/v1beta1": "apiregistration/v1beta1", "apps/v1": "apps/v1", "apps/v1beta1": "apps/v1beta1", "apps/v1beta2": "apps/v1beta2", "auditregistration.k8s.io/v1alpha1": "auditregistration/v1alpha1", "authentication.k8s.io/v1": "authentication/v1", "authentication.k8s.io/v1alpha1": "authentication/v1alpha1", "authentication.k8s.io/v1beta1": "authentication/v1beta1", "authorization.k8s.io/v1": "authorization/v1", "authorization.k8s.io/v1beta1": "authorization/v1beta1", "autoscaling/v1": "autoscaling/v1", "autoscaling/v2": "autoscaling/v2", "autoscaling/v2beta1": "autoscaling/v2beta1", "autoscaling/v2beta2": "autoscaling/v2beta2", "batch/v1": "batch/v1", "batch/v1beta1": "batch/v1beta1", "batch/v2alpha1": "batch/v2alpha1", "certificates.k8s.io/v1": "certificates/v1", "certificates.k8s.io/v1alpha1": "certificates/v1alpha1", "certificates.k8s.io/v1beta1": "certificates/v1beta1", "coordination.k8s.io/v1": "coordination/v1", "coordination.k8s.io/v1beta1": "coordination/v1beta1", "core/v1": "core/v1", "discovery.k8s.io/v1": "discovery/v1", "discovery.k8s.io/v1beta1": "discovery/v1beta1", "events.k8s.io/v1": "events/v1", "events.k8s.io/v1beta1": "events/v1beta1", "extensions/v1beta1": "extensions/v1beta1", "flowcontrol.apiserver.k8s.io/v1": "flowcontrol/v1", "flowcontrol.apiserver.k8s.io/v1alpha1": "flowcontrol/v1alpha1", "flowcontrol.apiserver.k8s.io/v1beta1": "flowcontrol/v1beta1", "flowcontrol.apiserver.k8s.io/v1beta2": "flowcontrol/v1beta2", "flowcontrol.apiserver.k8s.io/v1beta3": "flowcontrol/v1beta3", "helm.sh": "helm", "helm.sh/v2": "helm/v2", "helm.sh/v3": "helm/v3", "meta/v1": "meta/v1", "networking.k8s.io/v1": "networking/v1", "networking.k8s.io/v1alpha1": "networking/v1alpha1", "networking.k8s.io/v1beta1": "networking/v1beta1", "node.k8s.io/v1": "node/v1", "node.k8s.io/v1alpha1": "node/v1alpha1", "node.k8s.io/v1beta1": "node/v1beta1", "pkg/version": "pkg/version", "policy/v1": "policy/v1", "policy/v1beta1": "policy/v1beta1", "rbac.authorization.k8s.io/v1": "rbac/v1", "rbac.authorization.k8s.io/v1alpha1": "rbac/v1alpha1", "rbac.authorization.k8s.io/v1beta1": "rbac/v1beta1", "resource.k8s.io/v1alpha1": "resource/v1alpha1", "resource.k8s.io/v1alpha2": "resource/v1alpha2", "scheduling.k8s.io/v1": "scheduling/v1", "scheduling.k8s.io/v1alpha1": "scheduling/v1alpha1", "scheduling.k8s.io/v1beta1": "scheduling/v1beta1", "settings.k8s.io/v1alpha1": "settings/v1alpha1", "storage.k8s.io/v1": "storage/v1", "storage.k8s.io/v1alpha1": "storage/v1alpha1", "storage.k8s.io/v1beta1": "storage/v1beta1", "storagemigration.k8s.io/v1alpha1": "storagemigration/v1alpha1" }, "readme": "The Kubernetes provider package offers support for all Kubernetes resources and their properties.\nResources are exposed as types from modules based on Kubernetes API groups such as 'apps', 'core',\n'rbac', and 'storage', among many others. Additionally, support for deploying Helm charts ('helm')\nand YAML files ('yaml') is available in this package. Using this package allows you to\nprogrammatically declare instances of any Kubernetes resources and any supported resource version\nusing infrastructure as code, which Pulumi then uses to drive the Kubernetes API.\n\nIf this is your first time using this package, these two resources may be helpful:\n\n* [Kubernetes Getting Started Guide](https://www.pulumi.com/docs/quickstart/kubernetes/): Get up and running quickly.\n* [Kubernetes Pulumi Setup Documentation](https://www.pulumi.com/docs/quickstart/kubernetes/configure/): How to configure Pulumi\n for use with your Kubernetes cluster.\n\nUse the navigation below to see detailed documentation for each of the supported Kubernetes resources.\n" }, "python": { "compatibility": "kubernetes20", "moduleNameOverrides": { "admissionregistration.k8s.io/v1": "admissionregistration/v1", "admissionregistration.k8s.io/v1alpha1": "admissionregistration/v1alpha1", "admissionregistration.k8s.io/v1beta1": "admissionregistration/v1beta1", "apiextensions.k8s.io": "apiextensions", "apiextensions.k8s.io/v1": "apiextensions/v1", "apiextensions.k8s.io/v1beta1": "apiextensions/v1beta1", "apiregistration.k8s.io/v1": "apiregistration/v1", "apiregistration.k8s.io/v1beta1": "apiregistration/v1beta1", "apps/v1": "apps/v1", "apps/v1beta1": "apps/v1beta1", "apps/v1beta2": "apps/v1beta2", "auditregistration.k8s.io/v1alpha1": "auditregistration/v1alpha1", "authentication.k8s.io/v1": "authentication/v1", "authentication.k8s.io/v1alpha1": "authentication/v1alpha1", "authentication.k8s.io/v1beta1": "authentication/v1beta1", "authorization.k8s.io/v1": "authorization/v1", "authorization.k8s.io/v1beta1": "authorization/v1beta1", "autoscaling/v1": "autoscaling/v1", "autoscaling/v2": "autoscaling/v2", "autoscaling/v2beta1": "autoscaling/v2beta1", "autoscaling/v2beta2": "autoscaling/v2beta2", "batch/v1": "batch/v1", "batch/v1beta1": "batch/v1beta1", "batch/v2alpha1": "batch/v2alpha1", "certificates.k8s.io/v1": "certificates/v1", "certificates.k8s.io/v1alpha1": "certificates/v1alpha1", "certificates.k8s.io/v1beta1": "certificates/v1beta1", "coordination.k8s.io/v1": "coordination/v1", "coordination.k8s.io/v1beta1": "coordination/v1beta1", "core/v1": "core/v1", "discovery.k8s.io/v1": "discovery/v1", "discovery.k8s.io/v1beta1": "discovery/v1beta1", "events.k8s.io/v1": "events/v1", "events.k8s.io/v1beta1": "events/v1beta1", "extensions/v1beta1": "extensions/v1beta1", "flowcontrol.apiserver.k8s.io/v1": "flowcontrol/v1", "flowcontrol.apiserver.k8s.io/v1alpha1": "flowcontrol/v1alpha1", "flowcontrol.apiserver.k8s.io/v1beta1": "flowcontrol/v1beta1", "flowcontrol.apiserver.k8s.io/v1beta2": "flowcontrol/v1beta2", "flowcontrol.apiserver.k8s.io/v1beta3": "flowcontrol/v1beta3", "helm.sh": "helm", "helm.sh/v2": "helm/v2", "helm.sh/v3": "helm/v3", "meta/v1": "meta/v1", "networking.k8s.io/v1": "networking/v1", "networking.k8s.io/v1alpha1": "networking/v1alpha1", "networking.k8s.io/v1beta1": "networking/v1beta1", "node.k8s.io/v1": "node/v1", "node.k8s.io/v1alpha1": "node/v1alpha1", "node.k8s.io/v1beta1": "node/v1beta1", "pkg/version": "pkg/version", "policy/v1": "policy/v1", "policy/v1beta1": "policy/v1beta1", "rbac.authorization.k8s.io/v1": "rbac/v1", "rbac.authorization.k8s.io/v1alpha1": "rbac/v1alpha1", "rbac.authorization.k8s.io/v1beta1": "rbac/v1beta1", "resource.k8s.io/v1alpha1": "resource/v1alpha1", "resource.k8s.io/v1alpha2": "resource/v1alpha2", "scheduling.k8s.io/v1": "scheduling/v1", "scheduling.k8s.io/v1alpha1": "scheduling/v1alpha1", "scheduling.k8s.io/v1beta1": "scheduling/v1beta1", "settings.k8s.io/v1alpha1": "settings/v1alpha1", "storage.k8s.io/v1": "storage/v1", "storage.k8s.io/v1alpha1": "storage/v1alpha1", "storage.k8s.io/v1beta1": "storage/v1beta1", "storagemigration.k8s.io/v1alpha1": "storagemigration/v1alpha1" }, "pyproject": { "enabled": true }, "readme": "The Kubernetes provider package offers support for all Kubernetes resources and their properties.\nResources are exposed as types from modules based on Kubernetes API groups such as 'apps', 'core',\n'rbac', and 'storage', among many others. Additionally, support for deploying Helm charts ('helm')\nand YAML files ('yaml') is available in this package. Using this package allows you to\nprogrammatically declare instances of any Kubernetes resources and any supported resource version\nusing infrastructure as code, which Pulumi then uses to drive the Kubernetes API.\n\nIf this is your first time using this package, these two resources may be helpful:\n\n* [Kubernetes Getting Started Guide](https://www.pulumi.com/docs/quickstart/kubernetes/): Get up and running quickly.\n* [Kubernetes Pulumi Setup Documentation](https://www.pulumi.com/docs/quickstart/kubernetes/configure/): How to configure Pulumi\n for use with your Kubernetes cluster.\n", "requires": { "pulumi": ">=3.109.0,<4.0.0", "requests": ">=2.21,<3.0" }, "usesIOClasses": true } }, "config": { "variables": { "cluster": { "type": "string", "description": "If present, the name of the kubeconfig cluster to use." }, "context": { "type": "string", "description": "If present, the name of the kubeconfig context to use." }, "deleteUnreachable": { "type": "boolean", "description": "If present and set to true, the provider will delete resources associated with an unreachable Kubernetes cluster from Pulumi state" }, "enableConfigMapMutable": { "type": "boolean", "description": "BETA FEATURE - If present and set to true, allow ConfigMaps to be mutated.\nThis feature is in developer preview, and is disabled by default.\n\nThis config can be specified in the following ways using this precedence:\n1. This `enableConfigMapMutable` parameter.\n2. The `PULUMI_K8S_ENABLE_CONFIGMAP_MUTABLE` environment variable." }, "enableReplaceCRD": { "type": "boolean", "description": "Obsolete. This option has no effect.", "deprecationMessage": "This option is deprecated, and will be removed in a future release." }, "enableServerSideApply": { "type": "boolean", "description": "If present and set to false, disable Server-Side Apply mode.\nSee https://github.com/pulumi/pulumi-kubernetes/issues/2011 for additional details." }, "kubeconfig": { "type": "string", "description": "The contents of a kubeconfig file or the path to a kubeconfig file. If this is set, this config will be used instead of $KUBECONFIG.", "language": { "csharp": { "name": "KubeConfig" } } }, "namespace": { "type": "string", "description": "If present, the default namespace to use. This flag is ignored for cluster-scoped resources.\n\nA namespace can be specified in multiple places, and the precedence is as follows:\n1. `.metadata.namespace` set on the resource.\n2. This `namespace` parameter.\n3. `namespace` set for the active context in the kubeconfig." }, "renderYamlToDirectory": { "type": "string", "description": "BETA FEATURE - If present, render resource manifests to this directory. In this mode, resources will not\nbe created on a Kubernetes cluster, but the rendered manifests will be kept in sync with changes\nto the Pulumi program. This feature is in developer preview, and is disabled by default.\n\nNote that some computed Outputs such as status fields will not be populated\nsince the resources are not created on a Kubernetes cluster. These Output values will remain undefined,\nand may result in an error if they are referenced by other resources. Also note that any secret values\nused in these resources will be rendered in plaintext to the resulting YAML." }, "skipUpdateUnreachable": { "type": "boolean", "description": "If present and set to true, the provider will skip resources update associated with an unreachable Kubernetes cluster from Pulumi state" }, "strictMode": { "type": "boolean", "description": "If present and set to true, the provider will use strict configuration mode. Recommended for production stacks. In this mode, the default Kubernetes provider is disabled, and the `kubeconfig` and `context` settings are required for Provider configuration. These settings unambiguously ensure that every Kubernetes resource is associated with a particular cluster." }, "suppressDeprecationWarnings": { "type": "boolean", "description": "If present and set to true, suppress apiVersion deprecation warnings from the CLI.\n\nThis config can be specified in the following ways, using this precedence:\n1. This `suppressDeprecationWarnings` parameter.\n2. The `PULUMI_K8S_SUPPRESS_DEPRECATION_WARNINGS` environment variable." }, "suppressHelmHookWarnings": { "type": "boolean", "description": "If present and set to true, suppress unsupported Helm hook warnings from the CLI.\n\nThis config can be specified in the following ways, using this precedence:\n1. This `suppressHelmHookWarnings` parameter.\n2. The `PULUMI_K8S_SUPPRESS_HELM_HOOK_WARNINGS` environment variable." } } }, "types": { "kubernetes:admissionregistration.k8s.io/v1:AuditAnnotation": { "description": "AuditAnnotation describes how to produce an audit annotation for an API request.", "properties": { "key": { "type": "string", "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired." }, "valueExpression": { "type": "string", "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired." } }, "type": "object", "required": [ "key", "valueExpression" ], "language": { "nodejs": { "requiredOutputs": [ "key", "valueExpression" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:AuditAnnotationPatch": { "description": "AuditAnnotation describes how to produce an audit annotation for an API request.", "properties": { "key": { "type": "string", "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired." }, "valueExpression": { "type": "string", "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "key", "valueExpression" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ExpressionWarning": { "description": "ExpressionWarning is a warning information that targets a specific expression.", "properties": { "fieldRef": { "type": "string", "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"" }, "warning": { "type": "string", "description": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler." } }, "type": "object", "required": [ "fieldRef", "warning" ], "language": { "nodejs": { "requiredOutputs": [ "fieldRef", "warning" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ExpressionWarningPatch": { "description": "ExpressionWarning is a warning information that targets a specific expression.", "properties": { "fieldRef": { "type": "string", "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"" }, "warning": { "type": "string", "description": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fieldRef", "warning" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:MatchCondition": { "description": "MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.", "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:\n\n'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\nDocumentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/\n\nRequired." }, "name": { "type": "string", "description": "Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')\n\nRequired." } }, "type": "object", "required": [ "expression", "name" ], "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:MatchConditionPatch": { "description": "MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.", "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:\n\n'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\nDocumentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/\n\nRequired." }, "name": { "type": "string", "description": "Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:MatchResources": { "description": "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)", "properties": { "excludeResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:NamedRuleWithOperations" }, "description": "ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)" }, "matchPolicy": { "type": "string", "description": "matchPolicy defines how the \"MatchResources\" 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 ValidatingAdmissionPolicy.\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 ValidatingAdmissionPolicy.\n\nDefaults to \"Equivalent\"" }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the policy on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:NamedRuleWithOperations" }, "description": "ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "excludeResourceRules", "matchPolicy", "namespaceSelector", "objectSelector", "resourceRules" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:MatchResourcesPatch": { "description": "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)", "properties": { "excludeResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:NamedRuleWithOperationsPatch" }, "description": "ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)" }, "matchPolicy": { "type": "string", "description": "matchPolicy defines how the \"MatchResources\" 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 ValidatingAdmissionPolicy.\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 ValidatingAdmissionPolicy.\n\nDefaults to \"Equivalent\"" }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the policy on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:NamedRuleWithOperationsPatch" }, "description": "ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "excludeResourceRules", "matchPolicy", "namespaceSelector", "objectSelector", "resourceRules" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:MutatingWebhook": { "description": "MutatingWebhook describes an admission webhook and the resources and operations it applies to.", "properties": { "admissionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:WebhookClientConfig", "description": "ClientConfig defines how to communicate with the hook. Required" }, "failurePolicy": { "type": "string", "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail." }, "matchConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MatchCondition" }, "description": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped" }, "matchPolicy": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "reinvocationPolicy": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:RuleWithOperations" }, "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": "string", "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": "integer", "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": "object", "required": [ "admissionReviewVersions", "clientConfig", "name", "sideEffects" ], "language": { "nodejs": { "requiredOutputs": [ "admissionReviewVersions", "clientConfig", "failurePolicy", "matchConditions", "matchPolicy", "name", "namespaceSelector", "objectSelector", "reinvocationPolicy", "rules", "sideEffects", "timeoutSeconds" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration": { "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MutatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationList": { "description": "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration" }, "description": "List of MutatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationPatch": { "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookPatch": { "description": "MutatingWebhook describes an admission webhook and the resources and operations it applies to.", "properties": { "admissionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:WebhookClientConfigPatch", "description": "ClientConfig defines how to communicate with the hook. Required" }, "failurePolicy": { "type": "string", "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail." }, "matchConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MatchConditionPatch" }, "description": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped" }, "matchPolicy": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "reinvocationPolicy": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:RuleWithOperationsPatch" }, "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": "string", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "admissionReviewVersions", "clientConfig", "failurePolicy", "matchConditions", "matchPolicy", "name", "namespaceSelector", "objectSelector", "reinvocationPolicy", "rules", "sideEffects", "timeoutSeconds" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:NamedRuleWithOperations": { "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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." }, "resourceNames": { "type": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "apiVersions", "operations", "resourceNames", "resources", "scope" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:NamedRuleWithOperationsPatch": { "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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." }, "resourceNames": { "type": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "apiVersions", "operations", "resourceNames", "resources", "scope" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ParamKind": { "description": "ParamKind is a tuple of Group Kind and Version.", "properties": { "apiVersion": { "type": "string", "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required." }, "kind": { "type": "string", "description": "Kind is the API kind the resources belong to. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ParamKindPatch": { "description": "ParamKind is a tuple of Group Kind and Version.", "properties": { "apiVersion": { "type": "string", "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required." }, "kind": { "type": "string", "description": "Kind is the API kind the resources belong to. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ParamRef": { "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", "properties": { "name": { "type": "string", "description": "name is the name of the resource being referenced.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.\n\nA single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped." }, "namespace": { "type": "string", "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error." }, "parameterNotFoundAction": { "type": "string", "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny`\n\nRequired" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "parameterNotFoundAction", "selector" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ParamRefPatch": { "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", "properties": { "name": { "type": "string", "description": "name is the name of the resource being referenced.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.\n\nA single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped." }, "namespace": { "type": "string", "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error." }, "parameterNotFoundAction": { "type": "string", "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny`\n\nRequired" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "parameterNotFoundAction", "selector" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:RuleWithOperations": { "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "apiVersions", "operations", "resources", "scope" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:RuleWithOperationsPatch": { "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "apiVersions", "operations", "resources", "scope" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ServiceReference": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "`name` is the name of the service. Required" }, "namespace": { "type": "string", "description": "`namespace` is the namespace of the service. Required" }, "path": { "type": "string", "description": "`path` is an optional URL path which will be sent in any request to this service." }, "port": { "type": "integer", "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": "object", "required": [ "name", "namespace" ], "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "path", "port" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ServiceReferencePatch": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "`name` is the name of the service. Required" }, "namespace": { "type": "string", "description": "`namespace` is the namespace of the service. Required" }, "path": { "type": "string", "description": "`path` is an optional URL path which will be sent in any request to this service." }, "port": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "path", "port" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:TypeChecking": { "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy", "properties": { "expressionWarnings": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ExpressionWarning" }, "description": "The type checking warnings for each expression." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expressionWarnings" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:TypeCheckingPatch": { "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy", "properties": { "expressionWarnings": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ExpressionWarningPatch" }, "description": "The type checking warnings for each expression." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expressionWarnings" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy": { "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicySpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyStatus", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding": { "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingSpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingList": { "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding" }, "description": "List of PolicyBinding." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingPatch": { "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingSpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingSpec": { "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.", "properties": { "matchResources": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MatchResources", "description": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required." }, "paramRef": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ParamRef", "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param." }, "policyName": { "type": "string", "description": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required." }, "validationActions": { "type": "array", "items": { "type": "string" }, "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchResources", "paramRef", "policyName", "validationActions" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingSpecPatch": { "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.", "properties": { "matchResources": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MatchResourcesPatch", "description": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required." }, "paramRef": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ParamRefPatch", "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param." }, "policyName": { "type": "string", "description": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required." }, "validationActions": { "type": "array", "items": { "type": "string" }, "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchResources", "paramRef", "policyName", "validationActions" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyList": { "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy" }, "description": "List of ValidatingAdmissionPolicy." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyPatch": { "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicySpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyStatusPatch", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicySpec": { "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.", "properties": { "auditAnnotations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:AuditAnnotation" }, "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required." }, "failurePolicy": { "type": "string", "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail." }, "matchConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MatchCondition" }, "description": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped" }, "matchConstraints": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MatchResources", "description": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required." }, "paramKind": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ParamKind", "description": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null." }, "validations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:Validation" }, "description": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required." }, "variables": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:Variable" }, "description": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "auditAnnotations", "failurePolicy", "matchConditions", "matchConstraints", "paramKind", "validations", "variables" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicySpecPatch": { "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.", "properties": { "auditAnnotations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:AuditAnnotationPatch" }, "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required." }, "failurePolicy": { "type": "string", "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail." }, "matchConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MatchConditionPatch" }, "description": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped" }, "matchConstraints": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MatchResourcesPatch", "description": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required." }, "paramKind": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ParamKindPatch", "description": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null." }, "validations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidationPatch" }, "description": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required." }, "variables": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:VariablePatch" }, "description": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "auditAnnotations", "failurePolicy", "matchConditions", "matchConstraints", "paramKind", "validations", "variables" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyStatus": { "description": "ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:Condition" }, "description": "The conditions represent the latest available observations of a policy's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the controller." }, "typeChecking": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:TypeChecking", "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "observedGeneration", "typeChecking" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyStatusPatch": { "description": "ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ConditionPatch" }, "description": "The conditions represent the latest available observations of a policy's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the controller." }, "typeChecking": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:TypeCheckingPatch", "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "observedGeneration", "typeChecking" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhook": { "description": "ValidatingWebhook describes an admission webhook and the resources and operations it applies to.", "properties": { "admissionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:WebhookClientConfig", "description": "ClientConfig defines how to communicate with the hook. Required" }, "failurePolicy": { "type": "string", "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail." }, "matchConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MatchCondition" }, "description": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped" }, "matchPolicy": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:RuleWithOperations" }, "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": "string", "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": "integer", "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": "object", "required": [ "admissionReviewVersions", "clientConfig", "name", "sideEffects" ], "language": { "nodejs": { "requiredOutputs": [ "admissionReviewVersions", "clientConfig", "failurePolicy", "matchConditions", "matchPolicy", "name", "namespaceSelector", "objectSelector", "rules", "sideEffects", "timeoutSeconds" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration": { "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfigurationList": { "description": "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration" }, "description": "List of ValidatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfigurationPatch": { "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookPatch": { "description": "ValidatingWebhook describes an admission webhook and the resources and operations it applies to.", "properties": { "admissionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:WebhookClientConfigPatch", "description": "ClientConfig defines how to communicate with the hook. Required" }, "failurePolicy": { "type": "string", "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail." }, "matchConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MatchConditionPatch" }, "description": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped" }, "matchPolicy": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:RuleWithOperationsPatch" }, "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": "string", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "admissionReviewVersions", "clientConfig", "failurePolicy", "matchConditions", "matchPolicy", "name", "namespaceSelector", "objectSelector", "rules", "sideEffects", "timeoutSeconds" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:Validation": { "description": "Validation specifies the CEL expression which is used to apply the validation.", "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\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 - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with 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.\nRequired." }, "message": { "type": "string", "description": "Message represents the message displayed when validation fails. The message is required if the Expression 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\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\"." }, "messageExpression": { "type": "string", "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"" }, "reason": { "type": "string", "description": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client." } }, "type": "object", "required": [ "expression" ], "language": { "nodejs": { "requiredOutputs": [ "expression", "message", "messageExpression", "reason" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidationPatch": { "description": "Validation specifies the CEL expression which is used to apply the validation.", "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\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 - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with 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.\nRequired." }, "message": { "type": "string", "description": "Message represents the message displayed when validation fails. The message is required if the Expression 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\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\"." }, "messageExpression": { "type": "string", "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"" }, "reason": { "type": "string", "description": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expression", "message", "messageExpression", "reason" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:Variable": { "description": "Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.", "properties": { "expression": { "type": "string", "description": "Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation." }, "name": { "type": "string", "description": "Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo`" } }, "type": "object", "required": [ "expression", "name" ], "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:VariablePatch": { "description": "Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.", "properties": { "expression": { "type": "string", "description": "Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation." }, "name": { "type": "string", "description": "Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo`" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:WebhookClientConfig": { "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", "properties": { "caBundle": { "type": "string", "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ServiceReference", "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, "url": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "service", "url" ] } } }, "kubernetes:admissionregistration.k8s.io/v1:WebhookClientConfigPatch": { "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", "properties": { "caBundle": { "type": "string", "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ServiceReferencePatch", "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, "url": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "service", "url" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:AuditAnnotation": { "description": "AuditAnnotation describes how to produce an audit annotation for an API request.", "properties": { "key": { "type": "string", "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired." }, "valueExpression": { "type": "string", "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired." } }, "type": "object", "required": [ "key", "valueExpression" ], "language": { "nodejs": { "requiredOutputs": [ "key", "valueExpression" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:AuditAnnotationPatch": { "description": "AuditAnnotation describes how to produce an audit annotation for an API request.", "properties": { "key": { "type": "string", "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired." }, "valueExpression": { "type": "string", "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "key", "valueExpression" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ExpressionWarning": { "description": "ExpressionWarning is a warning information that targets a specific expression.", "properties": { "fieldRef": { "type": "string", "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"" }, "warning": { "type": "string", "description": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler." } }, "type": "object", "required": [ "fieldRef", "warning" ], "language": { "nodejs": { "requiredOutputs": [ "fieldRef", "warning" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ExpressionWarningPatch": { "description": "ExpressionWarning is a warning information that targets a specific expression.", "properties": { "fieldRef": { "type": "string", "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"" }, "warning": { "type": "string", "description": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fieldRef", "warning" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:MatchCondition": { "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:\n\n'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\nDocumentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/\n\nRequired." }, "name": { "type": "string", "description": "Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')\n\nRequired." } }, "type": "object", "required": [ "expression", "name" ], "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:MatchConditionPatch": { "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:\n\n'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\nDocumentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/\n\nRequired." }, "name": { "type": "string", "description": "Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:MatchResources": { "description": "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)", "properties": { "excludeResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:NamedRuleWithOperations" }, "description": "ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)" }, "matchPolicy": { "type": "string", "description": "matchPolicy defines how the \"MatchResources\" 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 ValidatingAdmissionPolicy.\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 ValidatingAdmissionPolicy.\n\nDefaults to \"Equivalent\"" }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the policy on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:NamedRuleWithOperations" }, "description": "ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "excludeResourceRules", "matchPolicy", "namespaceSelector", "objectSelector", "resourceRules" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:MatchResourcesPatch": { "description": "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)", "properties": { "excludeResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:NamedRuleWithOperationsPatch" }, "description": "ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)" }, "matchPolicy": { "type": "string", "description": "matchPolicy defines how the \"MatchResources\" 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 ValidatingAdmissionPolicy.\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 ValidatingAdmissionPolicy.\n\nDefaults to \"Equivalent\"" }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the policy on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:NamedRuleWithOperationsPatch" }, "description": "ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "excludeResourceRules", "matchPolicy", "namespaceSelector", "objectSelector", "resourceRules" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:NamedRuleWithOperations": { "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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." }, "resourceNames": { "type": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "apiVersions", "operations", "resourceNames", "resources", "scope" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:NamedRuleWithOperationsPatch": { "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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." }, "resourceNames": { "type": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "apiVersions", "operations", "resourceNames", "resources", "scope" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ParamKind": { "description": "ParamKind is a tuple of Group Kind and Version.", "properties": { "apiVersion": { "type": "string", "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required." }, "kind": { "type": "string", "description": "Kind is the API kind the resources belong to. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ParamKindPatch": { "description": "ParamKind is a tuple of Group Kind and Version.", "properties": { "apiVersion": { "type": "string", "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required." }, "kind": { "type": "string", "description": "Kind is the API kind the resources belong to. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ParamRef": { "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", "properties": { "name": { "type": "string", "description": "`name` is the name of the resource being referenced.\n\n`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." }, "namespace": { "type": "string", "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error." }, "parameterNotFoundAction": { "type": "string", "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny` Default to `Deny`" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "parameterNotFoundAction", "selector" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ParamRefPatch": { "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", "properties": { "name": { "type": "string", "description": "`name` is the name of the resource being referenced.\n\n`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." }, "namespace": { "type": "string", "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error." }, "parameterNotFoundAction": { "type": "string", "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny` Default to `Deny`" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "parameterNotFoundAction", "selector" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:TypeChecking": { "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy", "properties": { "expressionWarnings": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ExpressionWarning" }, "description": "The type checking warnings for each expression." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expressionWarnings" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:TypeCheckingPatch": { "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy", "properties": { "expressionWarnings": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ExpressionWarningPatch" }, "description": "The type checking warnings for each expression." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expressionWarnings" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicy": { "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicySpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyStatus", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBinding": { "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingSpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingList": { "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBinding" }, "description": "List of PolicyBinding." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingPatch": { "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingSpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingSpec": { "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.", "properties": { "matchResources": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:MatchResources", "description": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required." }, "paramRef": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ParamRef", "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param." }, "policyName": { "type": "string", "description": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required." }, "validationActions": { "type": "array", "items": { "type": "string" }, "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchResources", "paramRef", "policyName", "validationActions" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingSpecPatch": { "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.", "properties": { "matchResources": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:MatchResourcesPatch", "description": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required." }, "paramRef": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ParamRefPatch", "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param." }, "policyName": { "type": "string", "description": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required." }, "validationActions": { "type": "array", "items": { "type": "string" }, "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchResources", "paramRef", "policyName", "validationActions" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyList": { "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicy" }, "description": "List of ValidatingAdmissionPolicy." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyPatch": { "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicySpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyStatusPatch", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicySpec": { "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.", "properties": { "auditAnnotations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:AuditAnnotation" }, "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required." }, "failurePolicy": { "type": "string", "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail." }, "matchConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:MatchCondition" }, "description": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped" }, "matchConstraints": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:MatchResources", "description": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required." }, "paramKind": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ParamKind", "description": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null." }, "validations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:Validation" }, "description": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required." }, "variables": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:Variable" }, "description": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic." } }, "type": "object", "required": [ "validations" ], "language": { "nodejs": { "requiredOutputs": [ "auditAnnotations", "failurePolicy", "matchConditions", "matchConstraints", "paramKind", "validations", "variables" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicySpecPatch": { "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.", "properties": { "auditAnnotations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:AuditAnnotationPatch" }, "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required." }, "failurePolicy": { "type": "string", "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail." }, "matchConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:MatchConditionPatch" }, "description": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped" }, "matchConstraints": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:MatchResourcesPatch", "description": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required." }, "paramKind": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ParamKindPatch", "description": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null." }, "validations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidationPatch" }, "description": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required." }, "variables": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:VariablePatch" }, "description": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "auditAnnotations", "failurePolicy", "matchConditions", "matchConstraints", "paramKind", "validations", "variables" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyStatus": { "description": "ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:Condition" }, "description": "The conditions represent the latest available observations of a policy's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the controller." }, "typeChecking": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:TypeChecking", "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "observedGeneration", "typeChecking" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyStatusPatch": { "description": "ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ConditionPatch" }, "description": "The conditions represent the latest available observations of a policy's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the controller." }, "typeChecking": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:TypeCheckingPatch", "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "observedGeneration", "typeChecking" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:Validation": { "description": "Validation specifies the CEL expression which is used to apply the validation.", "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\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 - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with 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.\nRequired." }, "message": { "type": "string", "description": "Message represents the message displayed when validation fails. The message is required if the Expression 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\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\"." }, "messageExpression": { "type": "string", "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"" }, "reason": { "type": "string", "description": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client." } }, "type": "object", "required": [ "expression" ], "language": { "nodejs": { "requiredOutputs": [ "expression", "message", "messageExpression", "reason" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidationPatch": { "description": "Validation specifies the CEL expression which is used to apply the validation.", "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\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 - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with 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.\nRequired." }, "message": { "type": "string", "description": "Message represents the message displayed when validation fails. The message is required if the Expression 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\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\"." }, "messageExpression": { "type": "string", "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"" }, "reason": { "type": "string", "description": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expression", "message", "messageExpression", "reason" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:Variable": { "description": "Variable is the definition of a variable that is used for composition.", "properties": { "expression": { "type": "string", "description": "Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation." }, "name": { "type": "string", "description": "Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo`" } }, "type": "object", "required": [ "expression", "name" ], "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:VariablePatch": { "description": "Variable is the definition of a variable that is used for composition.", "properties": { "expression": { "type": "string", "description": "Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation." }, "name": { "type": "string", "description": "Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo`" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:AuditAnnotation": { "description": "AuditAnnotation describes how to produce an audit annotation for an API request.", "properties": { "key": { "type": "string", "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired." }, "valueExpression": { "type": "string", "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired." } }, "type": "object", "required": [ "key", "valueExpression" ], "language": { "nodejs": { "requiredOutputs": [ "key", "valueExpression" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:AuditAnnotationPatch": { "description": "AuditAnnotation describes how to produce an audit annotation for an API request.", "properties": { "key": { "type": "string", "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired." }, "valueExpression": { "type": "string", "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "key", "valueExpression" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ExpressionWarning": { "description": "ExpressionWarning is a warning information that targets a specific expression.", "properties": { "fieldRef": { "type": "string", "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"" }, "warning": { "type": "string", "description": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler." } }, "type": "object", "required": [ "fieldRef", "warning" ], "language": { "nodejs": { "requiredOutputs": [ "fieldRef", "warning" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ExpressionWarningPatch": { "description": "ExpressionWarning is a warning information that targets a specific expression.", "properties": { "fieldRef": { "type": "string", "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"" }, "warning": { "type": "string", "description": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fieldRef", "warning" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:MatchCondition": { "description": "MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.", "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:\n\n'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\nDocumentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/\n\nRequired." }, "name": { "type": "string", "description": "Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')\n\nRequired." } }, "type": "object", "required": [ "expression", "name" ], "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:MatchConditionPatch": { "description": "MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.", "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:\n\n'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\nDocumentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/\n\nRequired." }, "name": { "type": "string", "description": "Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:MatchResources": { "description": "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)", "properties": { "excludeResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:NamedRuleWithOperations" }, "description": "ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)" }, "matchPolicy": { "type": "string", "description": "matchPolicy defines how the \"MatchResources\" 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 ValidatingAdmissionPolicy.\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 ValidatingAdmissionPolicy.\n\nDefaults to \"Equivalent\"" }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the policy on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:NamedRuleWithOperations" }, "description": "ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "excludeResourceRules", "matchPolicy", "namespaceSelector", "objectSelector", "resourceRules" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:MatchResourcesPatch": { "description": "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)", "properties": { "excludeResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:NamedRuleWithOperationsPatch" }, "description": "ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)" }, "matchPolicy": { "type": "string", "description": "matchPolicy defines how the \"MatchResources\" 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 ValidatingAdmissionPolicy.\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 ValidatingAdmissionPolicy.\n\nDefaults to \"Equivalent\"" }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the policy on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:NamedRuleWithOperationsPatch" }, "description": "ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "excludeResourceRules", "matchPolicy", "namespaceSelector", "objectSelector", "resourceRules" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhook": { "description": "MutatingWebhook describes an admission webhook and the resources and operations it applies to.", "properties": { "admissionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:WebhookClientConfig", "description": "ClientConfig defines how to communicate with the hook. Required" }, "failurePolicy": { "type": "string", "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore." }, "matchPolicy": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "reinvocationPolicy": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:RuleWithOperations" }, "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": "string", "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": "integer", "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": "object", "required": [ "clientConfig", "name" ], "language": { "nodejs": { "requiredOutputs": [ "admissionReviewVersions", "clientConfig", "failurePolicy", "matchPolicy", "name", "namespaceSelector", "objectSelector", "reinvocationPolicy", "rules", "sideEffects", "timeoutSeconds" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookConfiguration": { "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookConfigurationList": { "description": "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookConfiguration" }, "description": "List of MutatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookConfigurationPatch": { "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookPatch": { "description": "MutatingWebhook describes an admission webhook and the resources and operations it applies to.", "properties": { "admissionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:WebhookClientConfigPatch", "description": "ClientConfig defines how to communicate with the hook. Required" }, "failurePolicy": { "type": "string", "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore." }, "matchPolicy": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "reinvocationPolicy": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:RuleWithOperationsPatch" }, "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": "string", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "admissionReviewVersions", "clientConfig", "failurePolicy", "matchPolicy", "name", "namespaceSelector", "objectSelector", "reinvocationPolicy", "rules", "sideEffects", "timeoutSeconds" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:NamedRuleWithOperations": { "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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." }, "resourceNames": { "type": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "apiVersions", "operations", "resourceNames", "resources", "scope" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:NamedRuleWithOperationsPatch": { "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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." }, "resourceNames": { "type": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "apiVersions", "operations", "resourceNames", "resources", "scope" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ParamKind": { "description": "ParamKind is a tuple of Group Kind and Version.", "properties": { "apiVersion": { "type": "string", "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required." }, "kind": { "type": "string", "description": "Kind is the API kind the resources belong to. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ParamKindPatch": { "description": "ParamKind is a tuple of Group Kind and Version.", "properties": { "apiVersion": { "type": "string", "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required." }, "kind": { "type": "string", "description": "Kind is the API kind the resources belong to. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ParamRef": { "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", "properties": { "name": { "type": "string", "description": "name is the name of the resource being referenced.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.\n\nA single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped." }, "namespace": { "type": "string", "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error." }, "parameterNotFoundAction": { "type": "string", "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny`\n\nRequired" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "parameterNotFoundAction", "selector" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ParamRefPatch": { "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", "properties": { "name": { "type": "string", "description": "name is the name of the resource being referenced.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.\n\nA single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped." }, "namespace": { "type": "string", "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error." }, "parameterNotFoundAction": { "type": "string", "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny`\n\nRequired" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "parameterNotFoundAction", "selector" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:RuleWithOperations": { "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required." }, "resources": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "apiVersions", "operations", "resources", "scope" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:RuleWithOperationsPatch": { "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required." }, "resources": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "apiVersions", "operations", "resources", "scope" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ServiceReference": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "`name` is the name of the service. Required" }, "namespace": { "type": "string", "description": "`namespace` is the namespace of the service. Required" }, "path": { "type": "string", "description": "`path` is an optional URL path which will be sent in any request to this service." }, "port": { "type": "integer", "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": "object", "required": [ "name", "namespace" ], "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "path", "port" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ServiceReferencePatch": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "`name` is the name of the service. Required" }, "namespace": { "type": "string", "description": "`namespace` is the namespace of the service. Required" }, "path": { "type": "string", "description": "`path` is an optional URL path which will be sent in any request to this service." }, "port": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "path", "port" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:TypeChecking": { "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy", "properties": { "expressionWarnings": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ExpressionWarning" }, "description": "The type checking warnings for each expression." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expressionWarnings" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:TypeCheckingPatch": { "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy", "properties": { "expressionWarnings": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ExpressionWarningPatch" }, "description": "The type checking warnings for each expression." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expressionWarnings" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicy": { "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicySpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyStatus", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBinding": { "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingSpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingList": { "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBinding" }, "description": "List of PolicyBinding." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingPatch": { "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingSpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingSpec": { "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.", "properties": { "matchResources": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MatchResources", "description": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required." }, "paramRef": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ParamRef", "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param." }, "policyName": { "type": "string", "description": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required." }, "validationActions": { "type": "array", "items": { "type": "string" }, "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchResources", "paramRef", "policyName", "validationActions" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingSpecPatch": { "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.", "properties": { "matchResources": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MatchResourcesPatch", "description": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required." }, "paramRef": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ParamRefPatch", "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param." }, "policyName": { "type": "string", "description": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required." }, "validationActions": { "type": "array", "items": { "type": "string" }, "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchResources", "paramRef", "policyName", "validationActions" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyList": { "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicy" }, "description": "List of ValidatingAdmissionPolicy." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyPatch": { "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicySpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyStatusPatch", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicySpec": { "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.", "properties": { "auditAnnotations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:AuditAnnotation" }, "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required." }, "failurePolicy": { "type": "string", "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail." }, "matchConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MatchCondition" }, "description": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped" }, "matchConstraints": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MatchResources", "description": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required." }, "paramKind": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ParamKind", "description": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null." }, "validations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:Validation" }, "description": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required." }, "variables": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:Variable" }, "description": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "auditAnnotations", "failurePolicy", "matchConditions", "matchConstraints", "paramKind", "validations", "variables" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicySpecPatch": { "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.", "properties": { "auditAnnotations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:AuditAnnotationPatch" }, "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required." }, "failurePolicy": { "type": "string", "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail." }, "matchConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MatchConditionPatch" }, "description": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped" }, "matchConstraints": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MatchResourcesPatch", "description": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required." }, "paramKind": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ParamKindPatch", "description": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null." }, "validations": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidationPatch" }, "description": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required." }, "variables": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:VariablePatch" }, "description": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "auditAnnotations", "failurePolicy", "matchConditions", "matchConstraints", "paramKind", "validations", "variables" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyStatus": { "description": "ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:Condition" }, "description": "The conditions represent the latest available observations of a policy's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the controller." }, "typeChecking": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:TypeChecking", "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "observedGeneration", "typeChecking" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyStatusPatch": { "description": "ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ConditionPatch" }, "description": "The conditions represent the latest available observations of a policy's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the controller." }, "typeChecking": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:TypeCheckingPatch", "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "observedGeneration", "typeChecking" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhook": { "description": "ValidatingWebhook describes an admission webhook and the resources and operations it applies to.", "properties": { "admissionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:WebhookClientConfig", "description": "ClientConfig defines how to communicate with the hook. Required" }, "failurePolicy": { "type": "string", "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore." }, "matchPolicy": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:RuleWithOperations" }, "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": "string", "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": "integer", "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": "object", "required": [ "clientConfig", "name" ], "language": { "nodejs": { "requiredOutputs": [ "admissionReviewVersions", "clientConfig", "failurePolicy", "matchPolicy", "name", "namespaceSelector", "objectSelector", "rules", "sideEffects", "timeoutSeconds" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfiguration": { "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfigurationList": { "description": "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfiguration" }, "description": "List of ValidatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfigurationPatch": { "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookPatch": { "description": "ValidatingWebhook describes an admission webhook and the resources and operations it applies to.", "properties": { "admissionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:WebhookClientConfigPatch", "description": "ClientConfig defines how to communicate with the hook. Required" }, "failurePolicy": { "type": "string", "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore." }, "matchPolicy": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." }, "objectSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:RuleWithOperationsPatch" }, "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": "string", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "admissionReviewVersions", "clientConfig", "failurePolicy", "matchPolicy", "name", "namespaceSelector", "objectSelector", "rules", "sideEffects", "timeoutSeconds" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:Validation": { "description": "Validation specifies the CEL expression which is used to apply the validation.", "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\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 - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with 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.\nRequired." }, "message": { "type": "string", "description": "Message represents the message displayed when validation fails. The message is required if the Expression 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\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\"." }, "messageExpression": { "type": "string", "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"" }, "reason": { "type": "string", "description": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client." } }, "type": "object", "required": [ "expression" ], "language": { "nodejs": { "requiredOutputs": [ "expression", "message", "messageExpression", "reason" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidationPatch": { "description": "Validation specifies the CEL expression which is used to apply the validation.", "properties": { "expression": { "type": "string", "description": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\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 - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with 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.\nRequired." }, "message": { "type": "string", "description": "Message represents the message displayed when validation fails. The message is required if the Expression 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\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\"." }, "messageExpression": { "type": "string", "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"" }, "reason": { "type": "string", "description": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expression", "message", "messageExpression", "reason" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:Variable": { "description": "Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.", "properties": { "expression": { "type": "string", "description": "Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation." }, "name": { "type": "string", "description": "Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo`" } }, "type": "object", "required": [ "expression", "name" ], "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:VariablePatch": { "description": "Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.", "properties": { "expression": { "type": "string", "description": "Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation." }, "name": { "type": "string", "description": "Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo`" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expression", "name" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:WebhookClientConfig": { "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", "properties": { "caBundle": { "type": "string", "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ServiceReference", "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, "url": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "service", "url" ] } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:WebhookClientConfigPatch": { "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", "properties": { "caBundle": { "type": "string", "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": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ServiceReferencePatch", "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, "url": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "service", "url" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceColumnDefinition": { "description": "CustomResourceColumnDefinition specifies a column for server side printing.", "properties": { "description": { "type": "string", "description": "description is a human readable description of this column." }, "format": { "type": "string", "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": "string", "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": "string", "description": "name is a human readable name for the column." }, "priority": { "type": "integer", "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": "string", "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": "object", "required": [ "jsonPath", "name", "type" ], "language": { "nodejs": { "requiredOutputs": [ "description", "format", "jsonPath", "name", "priority", "type" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceColumnDefinitionPatch": { "description": "CustomResourceColumnDefinition specifies a column for server side printing.", "properties": { "description": { "type": "string", "description": "description is a human readable description of this column." }, "format": { "type": "string", "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": "string", "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": "string", "description": "name is a human readable name for the column." }, "priority": { "type": "integer", "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "description", "format", "jsonPath", "name", "priority", "type" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceConversion": { "description": "CustomResourceConversion describes how to convert different versions of a CR.", "properties": { "strategy": { "type": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:WebhookConversion", "description": "webhook describes how to call the conversion webhook. Required when `strategy` is set to `\"Webhook\"`." } }, "type": "object", "required": [ "strategy" ], "language": { "nodejs": { "requiredOutputs": [ "strategy", "webhook" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceConversionPatch": { "description": "CustomResourceConversion describes how to convert different versions of a CR.", "properties": { "strategy": { "type": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:WebhookConversionPatch", "description": "webhook describes how to call the conversion webhook. Required when `strategy` is set to `\"Webhook\"`." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "strategy", "webhook" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinition": { "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionSpec", "description": "spec describes how the user wants the resources to appear" }, "status": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionStatus", "description": "status indicates the actual state of the CustomResourceDefinition" } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionCondition": { "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "message is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "status is the status of the condition. Can be True, False, Unknown." }, "type": { "type": "string", "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionConditionPatch": { "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "message is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "status is the status of the condition. Can be True, False, Unknown." }, "type": { "type": "string", "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionList": { "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinition" }, "description": "items list individual CustomResourceDefinition objects" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinitionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionNames": { "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", "properties": { "categories": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "string", "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\"." }, "plural": { "type": "string", "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": "array", "items": { "type": "string" }, "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": "string", "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`." } }, "type": "object", "required": [ "kind", "plural" ], "language": { "nodejs": { "requiredOutputs": [ "categories", "kind", "listKind", "plural", "shortNames", "singular" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionNamesPatch": { "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", "properties": { "categories": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "string", "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\"." }, "plural": { "type": "string", "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": "array", "items": { "type": "string" }, "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": "string", "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "categories", "kind", "listKind", "plural", "shortNames", "singular" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionPatch": { "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionSpecPatch", "description": "spec describes how the user wants the resources to appear" }, "status": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionStatusPatch", "description": "status indicates the actual state of the CustomResourceDefinition" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionSpec": { "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "properties": { "conversion": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceConversion", "description": "conversion defines conversion settings for the CRD." }, "group": { "type": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionNames", "description": "names specify the resource and kind names for the custom resource." }, "preserveUnknownFields": { "type": "boolean", "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/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details." }, "scope": { "type": "string", "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`." }, "versions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionVersion" }, "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": "object", "required": [ "group", "names", "scope", "versions" ], "language": { "nodejs": { "requiredOutputs": [ "conversion", "group", "names", "preserveUnknownFields", "scope", "versions" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionSpecPatch": { "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "properties": { "conversion": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceConversionPatch", "description": "conversion defines conversion settings for the CRD." }, "group": { "type": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionNamesPatch", "description": "names specify the resource and kind names for the custom resource." }, "preserveUnknownFields": { "type": "boolean", "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/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details." }, "scope": { "type": "string", "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`." }, "versions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionVersionPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "conversion", "group", "names", "preserveUnknownFields", "scope", "versions" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionStatus": { "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "properties": { "acceptedNames": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionNames", "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionCondition" }, "description": "conditions indicate state for particular aspects of a CustomResourceDefinition" }, "storedVersions": { "type": "array", "items": { "type": "string" }, "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": "object", "required": [ "acceptedNames", "storedVersions" ], "language": { "nodejs": { "requiredOutputs": [ "acceptedNames", "conditions", "storedVersions" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionStatusPatch": { "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "properties": { "acceptedNames": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionNamesPatch", "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionConditionPatch" }, "description": "conditions indicate state for particular aspects of a CustomResourceDefinition" }, "storedVersions": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "acceptedNames", "conditions", "storedVersions" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionVersion": { "description": "CustomResourceDefinitionVersion describes a version for CRD.", "properties": { "additionalPrinterColumns": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceColumnDefinition" }, "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": "boolean", "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": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceValidation", "description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource." }, "selectableFields": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:SelectableField" }, "description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors" }, "served": { "type": "boolean", "description": "served is a flag enabling/disabling this version from being served via REST APIs" }, "storage": { "type": "boolean", "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true." }, "subresources": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceSubresources", "description": "subresources specify what subresources this version of the defined custom resource have." } }, "type": "object", "required": [ "name", "served", "storage" ], "language": { "nodejs": { "requiredOutputs": [ "additionalPrinterColumns", "deprecated", "deprecationWarning", "name", "schema", "selectableFields", "served", "storage", "subresources" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionVersionPatch": { "description": "CustomResourceDefinitionVersion describes a version for CRD.", "properties": { "additionalPrinterColumns": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceColumnDefinitionPatch" }, "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": "boolean", "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": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceValidationPatch", "description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource." }, "selectableFields": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:SelectableFieldPatch" }, "description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors" }, "served": { "type": "boolean", "description": "served is a flag enabling/disabling this version from being served via REST APIs" }, "storage": { "type": "boolean", "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true." }, "subresources": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceSubresourcesPatch", "description": "subresources specify what subresources this version of the defined custom resource have." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "additionalPrinterColumns", "deprecated", "deprecationWarning", "name", "schema", "selectableFields", "served", "storage", "subresources" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceSubresourceScale": { "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", "properties": { "labelSelectorPath": { "type": "string", "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": "string", "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": "string", "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": "object", "required": [ "specReplicasPath", "statusReplicasPath" ], "language": { "nodejs": { "requiredOutputs": [ "labelSelectorPath", "specReplicasPath", "statusReplicasPath" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceSubresourceScalePatch": { "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", "properties": { "labelSelectorPath": { "type": "string", "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": "string", "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "labelSelectorPath", "specReplicasPath", "statusReplicasPath" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceSubresources": { "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", "properties": { "scale": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceSubresourceScale", "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object." }, "status": { "$ref": "pulumi.json#/Json", "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "scale", "status" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceSubresourcesPatch": { "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", "properties": { "scale": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceSubresourceScalePatch", "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object." }, "status": { "$ref": "pulumi.json#/Json", "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "scale", "status" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceValidation": { "description": "CustomResourceValidation is a list of validation methods for CustomResources.", "properties": { "openAPIV3Schema": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps", "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "openAPIV3Schema" ] } } }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceValidationPatch": { "description": "CustomResourceValidation is a list of validation methods for CustomResources.", "properties": { "openAPIV3Schema": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaPropsPatch", "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "openAPIV3Schema" ] } } }, "kubernetes:apiextensions.k8s.io/v1:ExternalDocumentation": { "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", "properties": { "description": { "type": "string" }, "url": { "type": "string" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "description", "url" ] } } }, "kubernetes:apiextensions.k8s.io/v1:ExternalDocumentationPatch": { "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", "properties": { "description": { "type": "string" }, "url": { "type": "string" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "description", "url" ] } } }, "kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps": { "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", "properties": { "$ref": { "type": "string", "language": { "csharp": { "name": "Ref" } } }, "$schema": { "type": "string", "language": { "csharp": { "name": "Schema" } } }, "additionalItems": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" }, { "type": "boolean" } ] }, "additionalProperties": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" }, { "type": "boolean" } ] }, "allOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" } }, "anyOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" } }, "default": { "$ref": "pulumi.json#/Json", "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false." }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" } }, "dependencies": { "type": "object", "additionalProperties": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" }, { "type": "array", "items": { "type": "string" } } ] } }, "description": { "type": "string" }, "enum": { "type": "array", "items": { "$ref": "pulumi.json#/Json" } }, "example": { "$ref": "pulumi.json#/Json" }, "exclusiveMaximum": { "type": "boolean" }, "exclusiveMinimum": { "type": "boolean" }, "externalDocs": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:ExternalDocumentation" }, "format": { "type": "string", "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": "string" }, "items": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" }, { "type": "array", "items": { "$ref": "pulumi.json#/Json" } } ] }, "maxItems": { "type": "integer" }, "maxLength": { "type": "integer" }, "maxProperties": { "type": "integer" }, "maximum": { "type": "number" }, "minItems": { "type": "integer" }, "minLength": { "type": "integer" }, "minProperties": { "type": "integer" }, "minimum": { "type": "number" }, "multipleOf": { "type": "number" }, "not": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" }, "nullable": { "type": "boolean" }, "oneOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" } }, "pattern": { "type": "string" }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" } }, "properties": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" } }, "required": { "type": "array", "items": { "type": "string" } }, "title": { "type": "string" }, "type": { "type": "string" }, "uniqueItems": { "type": "boolean" }, "x_kubernetes_embedded_resource": { "type": "boolean", "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "string", "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": "string", "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": "boolean", "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": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:ValidationRule" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "$ref", "$schema", "additionalItems", "additionalProperties", "allOf", "anyOf", "default", "definitions", "dependencies", "description", "enum", "example", "exclusiveMaximum", "exclusiveMinimum", "externalDocs", "format", "id", "items", "maxItems", "maxLength", "maxProperties", "maximum", "minItems", "minLength", "minProperties", "minimum", "multipleOf", "not", "nullable", "oneOf", "pattern", "patternProperties", "properties", "required", "title", "type", "uniqueItems", "x_kubernetes_embedded_resource", "x_kubernetes_int_or_string", "x_kubernetes_list_map_keys", "x_kubernetes_list_type", "x_kubernetes_map_type", "x_kubernetes_preserve_unknown_fields", "x_kubernetes_validations" ] } } }, "kubernetes:apiextensions.k8s.io/v1:JSONSchemaPropsPatch": { "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", "properties": { "$ref": { "type": "string", "language": { "csharp": { "name": "Ref" } } }, "$schema": { "type": "string", "language": { "csharp": { "name": "Schema" } } }, "additionalItems": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" }, { "type": "boolean" } ] }, "additionalProperties": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" }, { "type": "boolean" } ] }, "allOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaPropsPatch" } }, "anyOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaPropsPatch" } }, "default": { "$ref": "pulumi.json#/Json", "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false." }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" } }, "dependencies": { "type": "object", "additionalProperties": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" }, { "type": "array", "items": { "type": "string" } } ] } }, "description": { "type": "string" }, "enum": { "type": "array", "items": { "$ref": "pulumi.json#/Json" } }, "example": { "$ref": "pulumi.json#/Json" }, "exclusiveMaximum": { "type": "boolean" }, "exclusiveMinimum": { "type": "boolean" }, "externalDocs": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:ExternalDocumentationPatch" }, "format": { "type": "string", "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": "string" }, "items": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" }, { "type": "array", "items": { "$ref": "pulumi.json#/Json" } } ] }, "maxItems": { "type": "integer" }, "maxLength": { "type": "integer" }, "maxProperties": { "type": "integer" }, "maximum": { "type": "number" }, "minItems": { "type": "integer" }, "minLength": { "type": "integer" }, "minProperties": { "type": "integer" }, "minimum": { "type": "number" }, "multipleOf": { "type": "number" }, "not": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaPropsPatch" }, "nullable": { "type": "boolean" }, "oneOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaPropsPatch" } }, "pattern": { "type": "string" }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" } }, "properties": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:JSONSchemaProps" } }, "required": { "type": "array", "items": { "type": "string" } }, "title": { "type": "string" }, "type": { "type": "string" }, "uniqueItems": { "type": "boolean" }, "x_kubernetes_embedded_resource": { "type": "boolean", "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "string", "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": "string", "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": "boolean", "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": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:ValidationRulePatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "$ref", "$schema", "additionalItems", "additionalProperties", "allOf", "anyOf", "default", "definitions", "dependencies", "description", "enum", "example", "exclusiveMaximum", "exclusiveMinimum", "externalDocs", "format", "id", "items", "maxItems", "maxLength", "maxProperties", "maximum", "minItems", "minLength", "minProperties", "minimum", "multipleOf", "not", "nullable", "oneOf", "pattern", "patternProperties", "properties", "required", "title", "type", "uniqueItems", "x_kubernetes_embedded_resource", "x_kubernetes_int_or_string", "x_kubernetes_list_map_keys", "x_kubernetes_list_type", "x_kubernetes_map_type", "x_kubernetes_preserve_unknown_fields", "x_kubernetes_validations" ] } } }, "kubernetes:apiextensions.k8s.io/v1:SelectableField": { "description": "SelectableField specifies the JSON path of a field that may be used with field selectors.", "properties": { "jsonPath": { "type": "string", "description": "jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required." } }, "type": "object", "required": [ "jsonPath" ], "language": { "nodejs": { "requiredOutputs": [ "jsonPath" ] } } }, "kubernetes:apiextensions.k8s.io/v1:SelectableFieldPatch": { "description": "SelectableField specifies the JSON path of a field that may be used with field selectors.", "properties": { "jsonPath": { "type": "string", "description": "jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "jsonPath" ] } } }, "kubernetes:apiextensions.k8s.io/v1:ServiceReference": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "name is the name of the service. Required" }, "namespace": { "type": "string", "description": "namespace is the namespace of the service. Required" }, "path": { "type": "string", "description": "path is an optional URL path at which the webhook will be contacted." }, "port": { "type": "integer", "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": "object", "required": [ "name", "namespace" ], "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "path", "port" ] } } }, "kubernetes:apiextensions.k8s.io/v1:ServiceReferencePatch": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "name is the name of the service. Required" }, "namespace": { "type": "string", "description": "namespace is the namespace of the service. Required" }, "path": { "type": "string", "description": "path is an optional URL path at which the webhook will be contacted." }, "port": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "path", "port" ] } } }, "kubernetes:apiextensions.k8s.io/v1:ValidationRule": { "description": "ValidationRule describes a validation rule written in the CEL expression language.", "properties": { "fieldPath": { "type": "string", "description": "fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`" }, "message": { "type": "string", "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\"" }, "messageExpression": { "type": "string", "description": "MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: \"x must be less than max (\"+string(self.max)+\")\"" }, "optionalOldSelf": { "type": "boolean", "description": "optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.\n\nWhen enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.\n\nYou may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes\n\nMay not be set unless `oldSelf` is used in `rule`." }, "reason": { "type": "string", "description": "reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid." }, "rule": { "type": "string", "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.\n\nIf `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`.\n\nBy default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional\n variable whose value() is the same type as `self`.\nSee the documentation for the `optionalOldSelf` field for details.\n\nTransition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true." } }, "type": "object", "required": [ "rule" ], "language": { "nodejs": { "requiredOutputs": [ "fieldPath", "message", "messageExpression", "optionalOldSelf", "reason", "rule" ] } } }, "kubernetes:apiextensions.k8s.io/v1:ValidationRulePatch": { "description": "ValidationRule describes a validation rule written in the CEL expression language.", "properties": { "fieldPath": { "type": "string", "description": "fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`" }, "message": { "type": "string", "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\"" }, "messageExpression": { "type": "string", "description": "MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: \"x must be less than max (\"+string(self.max)+\")\"" }, "optionalOldSelf": { "type": "boolean", "description": "optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.\n\nWhen enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.\n\nYou may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes\n\nMay not be set unless `oldSelf` is used in `rule`." }, "reason": { "type": "string", "description": "reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid." }, "rule": { "type": "string", "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.\n\nIf `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`.\n\nBy default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional\n variable whose value() is the same type as `self`.\nSee the documentation for the `optionalOldSelf` field for details.\n\nTransition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fieldPath", "message", "messageExpression", "optionalOldSelf", "reason", "rule" ] } } }, "kubernetes:apiextensions.k8s.io/v1:WebhookClientConfig": { "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", "properties": { "caBundle": { "type": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:ServiceReference", "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, "url": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "service", "url" ] } } }, "kubernetes:apiextensions.k8s.io/v1:WebhookClientConfigPatch": { "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", "properties": { "caBundle": { "type": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:ServiceReferencePatch", "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, "url": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "service", "url" ] } } }, "kubernetes:apiextensions.k8s.io/v1:WebhookConversion": { "description": "WebhookConversion describes how to call a conversion webhook", "properties": { "clientConfig": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:WebhookClientConfig", "description": "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`." }, "conversionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": "object", "required": [ "conversionReviewVersions" ], "language": { "nodejs": { "requiredOutputs": [ "clientConfig", "conversionReviewVersions" ] } } }, "kubernetes:apiextensions.k8s.io/v1:WebhookConversionPatch": { "description": "WebhookConversion describes how to call a conversion webhook", "properties": { "clientConfig": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:WebhookClientConfigPatch", "description": "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`." }, "conversionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "clientConfig", "conversionReviewVersions" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceColumnDefinition": { "description": "CustomResourceColumnDefinition specifies a column for server side printing.", "properties": { "JSONPath": { "type": "string", "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": "string", "description": "description is a human readable description of this column." }, "format": { "type": "string", "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": "string", "description": "name is a human readable name for the column." }, "priority": { "type": "integer", "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": "string", "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": "object", "required": [ "JSONPath", "name", "type" ], "language": { "nodejs": { "requiredOutputs": [ "JSONPath", "description", "format", "name", "priority", "type" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceColumnDefinitionPatch": { "description": "CustomResourceColumnDefinition specifies a column for server side printing.", "properties": { "JSONPath": { "type": "string", "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": "string", "description": "description is a human readable description of this column." }, "format": { "type": "string", "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": "string", "description": "name is a human readable name for the column." }, "priority": { "type": "integer", "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "JSONPath", "description", "format", "name", "priority", "type" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceConversion": { "description": "CustomResourceConversion describes how to convert different versions of a CR.", "properties": { "conversionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:WebhookClientConfig", "description": "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`." } }, "type": "object", "required": [ "strategy" ], "language": { "nodejs": { "requiredOutputs": [ "conversionReviewVersions", "strategy", "webhookClientConfig" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceConversionPatch": { "description": "CustomResourceConversion describes how to convert different versions of a CR.", "properties": { "conversionReviewVersions": { "type": "array", "items": { "type": "string" }, "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": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:WebhookClientConfigPatch", "description": "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conversionReviewVersions", "strategy", "webhookClientConfig" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinition": { "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionSpec", "description": "spec describes how the user wants the resources to appear" }, "status": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionStatus", "description": "status indicates the actual state of the CustomResourceDefinition" } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionCondition": { "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "message is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "status is the status of the condition. Can be True, False, Unknown." }, "type": { "type": "string", "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionConditionPatch": { "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "message is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "status is the status of the condition. Can be True, False, Unknown." }, "type": { "type": "string", "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionList": { "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinition" }, "description": "items list individual CustomResourceDefinition objects" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinitionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionNames": { "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", "properties": { "categories": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "string", "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\"." }, "plural": { "type": "string", "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": "array", "items": { "type": "string" }, "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": "string", "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`." } }, "type": "object", "required": [ "kind", "plural" ], "language": { "nodejs": { "requiredOutputs": [ "categories", "kind", "listKind", "plural", "shortNames", "singular" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionNamesPatch": { "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", "properties": { "categories": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "string", "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\"." }, "plural": { "type": "string", "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": "array", "items": { "type": "string" }, "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": "string", "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "categories", "kind", "listKind", "plural", "shortNames", "singular" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionPatch": { "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionSpecPatch", "description": "spec describes how the user wants the resources to appear" }, "status": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionStatusPatch", "description": "status indicates the actual state of the CustomResourceDefinition" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionSpec": { "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "properties": { "additionalPrinterColumns": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceColumnDefinition" }, "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceConversion", "description": "conversion defines conversion settings for the CRD." }, "group": { "type": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionNames", "description": "names specify the resource and kind names for the custom resource." }, "preserveUnknownFields": { "type": "boolean", "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": "string", "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`." }, "subresources": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceSubresources", "description": "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive." }, "validation": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceValidation", "description": "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive." }, "version": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionVersion" }, "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": "object", "required": [ "group", "names", "scope" ], "language": { "nodejs": { "requiredOutputs": [ "additionalPrinterColumns", "conversion", "group", "names", "preserveUnknownFields", "scope", "subresources", "validation", "version", "versions" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionSpecPatch": { "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "properties": { "additionalPrinterColumns": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceColumnDefinitionPatch" }, "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceConversionPatch", "description": "conversion defines conversion settings for the CRD." }, "group": { "type": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionNamesPatch", "description": "names specify the resource and kind names for the custom resource." }, "preserveUnknownFields": { "type": "boolean", "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": "string", "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`." }, "subresources": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceSubresourcesPatch", "description": "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive." }, "validation": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceValidationPatch", "description": "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive." }, "version": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionVersionPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "additionalPrinterColumns", "conversion", "group", "names", "preserveUnknownFields", "scope", "subresources", "validation", "version", "versions" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionStatus": { "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "properties": { "acceptedNames": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionNames", "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionCondition" }, "description": "conditions indicate state for particular aspects of a CustomResourceDefinition" }, "storedVersions": { "type": "array", "items": { "type": "string" }, "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": "object", "required": [ "acceptedNames", "storedVersions" ], "language": { "nodejs": { "requiredOutputs": [ "acceptedNames", "conditions", "storedVersions" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionStatusPatch": { "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "properties": { "acceptedNames": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionNamesPatch", "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionConditionPatch" }, "description": "conditions indicate state for particular aspects of a CustomResourceDefinition" }, "storedVersions": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "acceptedNames", "conditions", "storedVersions" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionVersion": { "description": "CustomResourceDefinitionVersion describes a version for CRD.", "properties": { "additionalPrinterColumns": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceColumnDefinition" }, "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": "boolean", "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": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceValidation", "description": "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)." }, "served": { "type": "boolean", "description": "served is a flag enabling/disabling this version from being served via REST APIs" }, "storage": { "type": "boolean", "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true." }, "subresources": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceSubresources", "description": "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)." } }, "type": "object", "required": [ "name", "served", "storage" ], "language": { "nodejs": { "requiredOutputs": [ "additionalPrinterColumns", "deprecated", "deprecationWarning", "name", "schema", "served", "storage", "subresources" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionVersionPatch": { "description": "CustomResourceDefinitionVersion describes a version for CRD.", "properties": { "additionalPrinterColumns": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceColumnDefinitionPatch" }, "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": "boolean", "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": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceValidationPatch", "description": "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)." }, "served": { "type": "boolean", "description": "served is a flag enabling/disabling this version from being served via REST APIs" }, "storage": { "type": "boolean", "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true." }, "subresources": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceSubresourcesPatch", "description": "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "additionalPrinterColumns", "deprecated", "deprecationWarning", "name", "schema", "served", "storage", "subresources" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceSubresourceScale": { "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", "properties": { "labelSelectorPath": { "type": "string", "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": "string", "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": "string", "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": "object", "required": [ "specReplicasPath", "statusReplicasPath" ], "language": { "nodejs": { "requiredOutputs": [ "labelSelectorPath", "specReplicasPath", "statusReplicasPath" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceSubresourceScalePatch": { "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", "properties": { "labelSelectorPath": { "type": "string", "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": "string", "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "labelSelectorPath", "specReplicasPath", "statusReplicasPath" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceSubresources": { "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", "properties": { "scale": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceSubresourceScale", "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object." }, "status": { "$ref": "pulumi.json#/Json", "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "scale", "status" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceSubresourcesPatch": { "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", "properties": { "scale": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceSubresourceScalePatch", "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object." }, "status": { "$ref": "pulumi.json#/Json", "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "scale", "status" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceValidation": { "description": "CustomResourceValidation is a list of validation methods for CustomResources.", "properties": { "openAPIV3Schema": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps", "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "openAPIV3Schema" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceValidationPatch": { "description": "CustomResourceValidation is a list of validation methods for CustomResources.", "properties": { "openAPIV3Schema": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaPropsPatch", "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "openAPIV3Schema" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:ExternalDocumentation": { "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", "properties": { "description": { "type": "string" }, "url": { "type": "string" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "description", "url" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:ExternalDocumentationPatch": { "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", "properties": { "description": { "type": "string" }, "url": { "type": "string" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "description", "url" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps": { "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", "properties": { "$ref": { "type": "string", "language": { "csharp": { "name": "Ref" } } }, "$schema": { "type": "string", "language": { "csharp": { "name": "Schema" } } }, "additionalItems": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" }, { "type": "boolean" } ] }, "additionalProperties": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" }, { "type": "boolean" } ] }, "allOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" } }, "anyOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" } }, "default": { "$ref": "pulumi.json#/Json", "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API." }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" } }, "dependencies": { "type": "object", "additionalProperties": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" }, { "type": "array", "items": { "type": "string" } } ] } }, "description": { "type": "string" }, "enum": { "type": "array", "items": { "$ref": "pulumi.json#/Json" } }, "example": { "$ref": "pulumi.json#/Json" }, "exclusiveMaximum": { "type": "boolean" }, "exclusiveMinimum": { "type": "boolean" }, "externalDocs": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:ExternalDocumentation" }, "format": { "type": "string", "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": "string" }, "items": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" }, { "type": "array", "items": { "$ref": "pulumi.json#/Json" } } ] }, "maxItems": { "type": "integer" }, "maxLength": { "type": "integer" }, "maxProperties": { "type": "integer" }, "maximum": { "type": "number" }, "minItems": { "type": "integer" }, "minLength": { "type": "integer" }, "minProperties": { "type": "integer" }, "minimum": { "type": "number" }, "multipleOf": { "type": "number" }, "not": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" }, "nullable": { "type": "boolean" }, "oneOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" } }, "pattern": { "type": "string" }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" } }, "properties": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" } }, "required": { "type": "array", "items": { "type": "string" } }, "title": { "type": "string" }, "type": { "type": "string" }, "uniqueItems": { "type": "boolean" }, "x_kubernetes_embedded_resource": { "type": "boolean", "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": "boolean", "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": "array", "items": { "type": "string" }, "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)." }, "x_kubernetes_list_type": { "type": "string", "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": "string", "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": "boolean", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "$ref", "$schema", "additionalItems", "additionalProperties", "allOf", "anyOf", "default", "definitions", "dependencies", "description", "enum", "example", "exclusiveMaximum", "exclusiveMinimum", "externalDocs", "format", "id", "items", "maxItems", "maxLength", "maxProperties", "maximum", "minItems", "minLength", "minProperties", "minimum", "multipleOf", "not", "nullable", "oneOf", "pattern", "patternProperties", "properties", "required", "title", "type", "uniqueItems", "x_kubernetes_embedded_resource", "x_kubernetes_int_or_string", "x_kubernetes_list_map_keys", "x_kubernetes_list_type", "x_kubernetes_map_type", "x_kubernetes_preserve_unknown_fields" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaPropsPatch": { "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", "properties": { "$ref": { "type": "string", "language": { "csharp": { "name": "Ref" } } }, "$schema": { "type": "string", "language": { "csharp": { "name": "Schema" } } }, "additionalItems": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" }, { "type": "boolean" } ] }, "additionalProperties": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" }, { "type": "boolean" } ] }, "allOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaPropsPatch" } }, "anyOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaPropsPatch" } }, "default": { "$ref": "pulumi.json#/Json", "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API." }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" } }, "dependencies": { "type": "object", "additionalProperties": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" }, { "type": "array", "items": { "type": "string" } } ] } }, "description": { "type": "string" }, "enum": { "type": "array", "items": { "$ref": "pulumi.json#/Json" } }, "example": { "$ref": "pulumi.json#/Json" }, "exclusiveMaximum": { "type": "boolean" }, "exclusiveMinimum": { "type": "boolean" }, "externalDocs": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:ExternalDocumentationPatch" }, "format": { "type": "string", "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": "string" }, "items": { "oneOf": [ { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" }, { "type": "array", "items": { "$ref": "pulumi.json#/Json" } } ] }, "maxItems": { "type": "integer" }, "maxLength": { "type": "integer" }, "maxProperties": { "type": "integer" }, "maximum": { "type": "number" }, "minItems": { "type": "integer" }, "minLength": { "type": "integer" }, "minProperties": { "type": "integer" }, "minimum": { "type": "number" }, "multipleOf": { "type": "number" }, "not": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaPropsPatch" }, "nullable": { "type": "boolean" }, "oneOf": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaPropsPatch" } }, "pattern": { "type": "string" }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" } }, "properties": { "type": "object", "additionalProperties": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:JSONSchemaProps" } }, "required": { "type": "array", "items": { "type": "string" } }, "title": { "type": "string" }, "type": { "type": "string" }, "uniqueItems": { "type": "boolean" }, "x_kubernetes_embedded_resource": { "type": "boolean", "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": "boolean", "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": "array", "items": { "type": "string" }, "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)." }, "x_kubernetes_list_type": { "type": "string", "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": "string", "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": "boolean", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "$ref", "$schema", "additionalItems", "additionalProperties", "allOf", "anyOf", "default", "definitions", "dependencies", "description", "enum", "example", "exclusiveMaximum", "exclusiveMinimum", "externalDocs", "format", "id", "items", "maxItems", "maxLength", "maxProperties", "maximum", "minItems", "minLength", "minProperties", "minimum", "multipleOf", "not", "nullable", "oneOf", "pattern", "patternProperties", "properties", "required", "title", "type", "uniqueItems", "x_kubernetes_embedded_resource", "x_kubernetes_int_or_string", "x_kubernetes_list_map_keys", "x_kubernetes_list_type", "x_kubernetes_map_type", "x_kubernetes_preserve_unknown_fields" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:ServiceReference": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "name is the name of the service. Required" }, "namespace": { "type": "string", "description": "namespace is the namespace of the service. Required" }, "path": { "type": "string", "description": "path is an optional URL path at which the webhook will be contacted." }, "port": { "type": "integer", "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": "object", "required": [ "name", "namespace" ], "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "path", "port" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:ServiceReferencePatch": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "name is the name of the service. Required" }, "namespace": { "type": "string", "description": "namespace is the namespace of the service. Required" }, "path": { "type": "string", "description": "path is an optional URL path at which the webhook will be contacted." }, "port": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "path", "port" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:WebhookClientConfig": { "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", "properties": { "caBundle": { "type": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:ServiceReference", "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, "url": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "service", "url" ] } } }, "kubernetes:apiextensions.k8s.io/v1beta1:WebhookClientConfigPatch": { "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", "properties": { "caBundle": { "type": "string", "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": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:ServiceReferencePatch", "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, "url": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "service", "url" ] } } }, "kubernetes:apiregistration.k8s.io/v1:APIService": { "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceSpec", "description": "Spec contains information for locating and communicating with a server" }, "status": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceStatus", "description": "Status contains derived information about an API server" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apiregistration.k8s.io/v1:APIServiceCondition": { "description": "APIServiceCondition describes the state of an APIService at a particular point", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "Human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "Unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "Status is the status of the condition. Can be True, False, Unknown." }, "type": { "type": "string", "description": "Type is the type of the condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apiregistration.k8s.io/v1:APIServiceConditionPatch": { "description": "APIServiceCondition describes the state of an APIService at a particular point", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "Human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "Unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "Status is the status of the condition. Can be True, False, Unknown." }, "type": { "type": "string", "description": "Type is the type of the condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apiregistration.k8s.io/v1:APIServiceList": { "description": "APIServiceList is a list of APIService objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIService" }, "description": "Items is the list of APIService" }, "kind": { "type": "string", "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", "const": "APIServiceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apiregistration.k8s.io/v1:APIServicePatch": { "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceSpecPatch", "description": "Spec contains information for locating and communicating with a server" }, "status": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceStatusPatch", "description": "Status contains derived information about an API server" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apiregistration.k8s.io/v1:APIServiceSpec": { "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "properties": { "caBundle": { "type": "string", "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": "string", "description": "Group is the API group name this server hosts" }, "groupPriorityMinimum": { "type": "integer", "description": "GroupPriorityMinimum 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 GroupPriorityMinimum 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": "boolean", "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead." }, "service": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:ServiceReference", "description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled." }, "version": { "type": "string", "description": "Version is the API version this server hosts. For example, \"v1\"" }, "versionPriority": { "type": "integer", "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": "object", "required": [ "groupPriorityMinimum", "versionPriority" ], "language": { "nodejs": { "requiredOutputs": [ "caBundle", "group", "groupPriorityMinimum", "insecureSkipTLSVerify", "service", "version", "versionPriority" ] } } }, "kubernetes:apiregistration.k8s.io/v1:APIServiceSpecPatch": { "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "properties": { "caBundle": { "type": "string", "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": "string", "description": "Group is the API group name this server hosts" }, "groupPriorityMinimum": { "type": "integer", "description": "GroupPriorityMinimum 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 GroupPriorityMinimum 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": "boolean", "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead." }, "service": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:ServiceReferencePatch", "description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled." }, "version": { "type": "string", "description": "Version is the API version this server hosts. For example, \"v1\"" }, "versionPriority": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "group", "groupPriorityMinimum", "insecureSkipTLSVerify", "service", "version", "versionPriority" ] } } }, "kubernetes:apiregistration.k8s.io/v1:APIServiceStatus": { "description": "APIServiceStatus contains derived information about an API server", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceCondition" }, "description": "Current service state of apiService." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:apiregistration.k8s.io/v1:APIServiceStatusPatch": { "description": "APIServiceStatus contains derived information about an API server", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceConditionPatch" }, "description": "Current service state of apiService." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:apiregistration.k8s.io/v1:ServiceReference": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "Name is the name of the service" }, "namespace": { "type": "string", "description": "Namespace is the namespace of the service" }, "port": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "port" ] } } }, "kubernetes:apiregistration.k8s.io/v1:ServiceReferencePatch": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "Name is the name of the service" }, "namespace": { "type": "string", "description": "Namespace is the namespace of the service" }, "port": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "port" ] } } }, "kubernetes:apiregistration.k8s.io/v1beta1:APIService": { "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceSpec", "description": "Spec contains information for locating and communicating with a server" }, "status": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceStatus", "description": "Status contains derived information about an API server" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apiregistration.k8s.io/v1beta1:APIServiceCondition": { "description": "APIServiceCondition describes the state of an APIService at a particular point", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "Human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "Unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "Status is the status of the condition. Can be True, False, Unknown." }, "type": { "type": "string", "description": "Type is the type of the condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apiregistration.k8s.io/v1beta1:APIServiceConditionPatch": { "description": "APIServiceCondition describes the state of an APIService at a particular point", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "Human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "Unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "Status is the status of the condition. Can be True, False, Unknown." }, "type": { "type": "string", "description": "Type is the type of the condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apiregistration.k8s.io/v1beta1:APIServiceList": { "description": "APIServiceList is a list of APIService objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIService" } }, "kind": { "type": "string", "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", "const": "APIServiceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apiregistration.k8s.io/v1beta1:APIServicePatch": { "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceSpecPatch", "description": "Spec contains information for locating and communicating with a server" }, "status": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceStatusPatch", "description": "Status contains derived information about an API server" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apiregistration.k8s.io/v1beta1:APIServiceSpec": { "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "properties": { "caBundle": { "type": "string", "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": "string", "description": "Group is the API group name this server hosts" }, "groupPriorityMinimum": { "type": "integer", "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": "boolean", "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead." }, "service": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:ServiceReference", "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled." }, "version": { "type": "string", "description": "Version is the API version this server hosts. For example, \"v1\"" }, "versionPriority": { "type": "integer", "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": "object", "required": [ "groupPriorityMinimum", "service", "versionPriority" ], "language": { "nodejs": { "requiredOutputs": [ "caBundle", "group", "groupPriorityMinimum", "insecureSkipTLSVerify", "service", "version", "versionPriority" ] } } }, "kubernetes:apiregistration.k8s.io/v1beta1:APIServiceSpecPatch": { "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "properties": { "caBundle": { "type": "string", "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": "string", "description": "Group is the API group name this server hosts" }, "groupPriorityMinimum": { "type": "integer", "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": "boolean", "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead." }, "service": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:ServiceReferencePatch", "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled." }, "version": { "type": "string", "description": "Version is the API version this server hosts. For example, \"v1\"" }, "versionPriority": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "group", "groupPriorityMinimum", "insecureSkipTLSVerify", "service", "version", "versionPriority" ] } } }, "kubernetes:apiregistration.k8s.io/v1beta1:APIServiceStatus": { "description": "APIServiceStatus contains derived information about an API server", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceCondition" }, "description": "Current service state of apiService." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:apiregistration.k8s.io/v1beta1:APIServiceStatusPatch": { "description": "APIServiceStatus contains derived information about an API server", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceConditionPatch" }, "description": "Current service state of apiService." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:apiregistration.k8s.io/v1beta1:ServiceReference": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "Name is the name of the service" }, "namespace": { "type": "string", "description": "Namespace is the namespace of the service" }, "port": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "port" ] } } }, "kubernetes:apiregistration.k8s.io/v1beta1:ServiceReferencePatch": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "Name is the name of the service" }, "namespace": { "type": "string", "description": "Namespace is the namespace of the service" }, "port": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "port" ] } } }, "kubernetes:apps/v1:ControllerRevision": { "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "required": [ "revision" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } } }, "kubernetes:apps/v1:ControllerRevisionList": { "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:ControllerRevision" }, "description": "Items is the list of ControllerRevisions" }, "kind": { "type": "string", "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", "const": "ControllerRevisionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1:ControllerRevisionPatch": { "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } } }, "kubernetes:apps/v1:DaemonSet": { "description": "DaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetSpec", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetStatus", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1:DaemonSetCondition": { "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of DaemonSet condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1:DaemonSetConditionPatch": { "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of DaemonSet condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1:DaemonSetList": { "description": "DaemonSetList is a collection of daemon sets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:DaemonSet" }, "description": "A list of daemon sets." }, "kind": { "type": "string", "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", "const": "DaemonSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1:DaemonSetPatch": { "description": "DaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetSpecPatch", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetStatusPatch", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1:DaemonSetSpec": { "description": "DaemonSetSpec is the specification of a daemon set.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" }, "updateStrategy": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetUpdateStrategy", "description": "An update strategy to replace existing DaemonSet pods with new pods." } }, "type": "object", "required": [ "selector", "template" ], "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "revisionHistoryLimit", "selector", "template", "updateStrategy" ] } } }, "kubernetes:apps/v1:DaemonSetSpecPatch": { "description": "DaemonSetSpec is the specification of a daemon set.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" }, "updateStrategy": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetUpdateStrategyPatch", "description": "An update strategy to replace existing DaemonSet pods with new pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "revisionHistoryLimit", "selector", "template", "updateStrategy" ] } } }, "kubernetes:apps/v1:DaemonSetStatus": { "description": "DaemonSetStatus represents the current status of a daemon set.", "properties": { "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetCondition" }, "description": "Represents the latest available observations of a DaemonSet's current state." }, "currentNumberScheduled": { "type": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "description": "The most recent generation observed by the daemon set controller." }, "updatedNumberScheduled": { "type": "integer", "description": "The total number of nodes that are running updated daemon pod" } }, "type": "object", "required": [ "currentNumberScheduled", "desiredNumberScheduled", "numberMisscheduled", "numberReady" ], "language": { "nodejs": { "requiredOutputs": [ "collisionCount", "conditions", "currentNumberScheduled", "desiredNumberScheduled", "numberAvailable", "numberMisscheduled", "numberReady", "numberUnavailable", "observedGeneration", "updatedNumberScheduled" ] } } }, "kubernetes:apps/v1:DaemonSetStatusPatch": { "description": "DaemonSetStatus represents the current status of a daemon set.", "properties": { "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetConditionPatch" }, "description": "Represents the latest available observations of a DaemonSet's current state." }, "currentNumberScheduled": { "type": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "description": "The most recent generation observed by the daemon set controller." }, "updatedNumberScheduled": { "type": "integer", "description": "The total number of nodes that are running updated daemon pod" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "collisionCount", "conditions", "currentNumberScheduled", "desiredNumberScheduled", "numberAvailable", "numberMisscheduled", "numberReady", "numberUnavailable", "observedGeneration", "updatedNumberScheduled" ] } } }, "kubernetes:apps/v1:DaemonSetUpdateStrategy": { "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1:RollingUpdateDaemonSet", "description": "Rolling update config params. Present only if type = \"RollingUpdate\"." }, "type": { "type": "string", "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1:DaemonSetUpdateStrategyPatch": { "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1:RollingUpdateDaemonSetPatch", "description": "Rolling update config params. Present only if type = \"RollingUpdate\"." }, "type": { "type": "string", "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1:Deployment": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1:DeploymentStatus", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1:DeploymentCondition": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "lastUpdateTime": { "type": "string", "description": "The last time this condition was updated." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of deployment condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1:DeploymentConditionPatch": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "lastUpdateTime": { "type": "string", "description": "The last time this condition was updated." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of deployment condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1:DeploymentList": { "description": "DeploymentList is a list of Deployments.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1:DeploymentPatch": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1:DeploymentStatusPatch", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1:DeploymentSpec": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "properties": { "minReadySeconds": { "type": "integer", "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": "boolean", "description": "Indicates that the deployment is paused." }, "progressDeadlineSeconds": { "type": "integer", "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": "integer", "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." }, "revisionHistoryLimit": { "type": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels." }, "strategy": { "$ref": "#/types/kubernetes:apps/v1:DeploymentStrategy", "description": "The deployment strategy to use to replace existing pods with new ones." }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is \"Always\"." } }, "type": "object", "required": [ "selector", "template" ], "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "paused", "progressDeadlineSeconds", "replicas", "revisionHistoryLimit", "selector", "strategy", "template" ] } } }, "kubernetes:apps/v1:DeploymentSpecPatch": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "properties": { "minReadySeconds": { "type": "integer", "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": "boolean", "description": "Indicates that the deployment is paused." }, "progressDeadlineSeconds": { "type": "integer", "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": "integer", "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." }, "revisionHistoryLimit": { "type": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels." }, "strategy": { "$ref": "#/types/kubernetes:apps/v1:DeploymentStrategyPatch", "description": "The deployment strategy to use to replace existing pods with new ones." }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is \"Always\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "paused", "progressDeadlineSeconds", "replicas", "revisionHistoryLimit", "selector", "strategy", "template" ] } } }, "kubernetes:apps/v1:DeploymentStatus": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { "availableReplicas": { "type": "integer", "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment." }, "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:DeploymentCondition" }, "description": "Represents the latest available observations of a deployment's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the deployment controller." }, "readyReplicas": { "type": "integer", "description": "readyReplicas is the number of pods targeted by this Deployment with a Ready Condition." }, "replicas": { "type": "integer", "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector)." }, "unavailableReplicas": { "type": "integer", "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": "integer", "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "collisionCount", "conditions", "observedGeneration", "readyReplicas", "replicas", "unavailableReplicas", "updatedReplicas" ] } } }, "kubernetes:apps/v1:DeploymentStatusPatch": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { "availableReplicas": { "type": "integer", "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment." }, "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:DeploymentConditionPatch" }, "description": "Represents the latest available observations of a deployment's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the deployment controller." }, "readyReplicas": { "type": "integer", "description": "readyReplicas is the number of pods targeted by this Deployment with a Ready Condition." }, "replicas": { "type": "integer", "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector)." }, "unavailableReplicas": { "type": "integer", "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": "integer", "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "collisionCount", "conditions", "observedGeneration", "readyReplicas", "replicas", "unavailableReplicas", "updatedReplicas" ] } } }, "kubernetes:apps/v1:DeploymentStrategy": { "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1:RollingUpdateDeployment", "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." }, "type": { "type": "string", "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1:DeploymentStrategyPatch": { "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1:RollingUpdateDeploymentPatch", "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." }, "type": { "type": "string", "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1:ReplicaSet": { "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetSpec", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetStatus", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1:ReplicaSetCondition": { "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "The last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of replica set condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1:ReplicaSetConditionPatch": { "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "The last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of replica set condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1:ReplicaSetList": { "description": "ReplicaSetList is a collection of ReplicaSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSet" }, "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicaSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1:ReplicaSetPatch": { "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetSpecPatch", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetStatusPatch", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1:ReplicaSetSpec": { "description": "ReplicaSetSpec is the specification of a ReplicaSet.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" } }, "type": "object", "required": [ "selector" ], "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "replicas", "selector", "template" ] } } }, "kubernetes:apps/v1:ReplicaSetSpecPatch": { "description": "ReplicaSetSpec is the specification of a ReplicaSet.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "replicas", "selector", "template" ] } } }, "kubernetes:apps/v1:ReplicaSetStatus": { "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", "properties": { "availableReplicas": { "type": "integer", "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetCondition" }, "description": "Represents the latest available observations of a replica set's current state." }, "fullyLabeledReplicas": { "type": "integer", "description": "The number of pods that have labels matching the labels of the pod template of the replicaset." }, "observedGeneration": { "type": "integer", "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet." }, "readyReplicas": { "type": "integer", "description": "readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition." }, "replicas": { "type": "integer", "description": "Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller" } }, "type": "object", "required": [ "replicas" ], "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "conditions", "fullyLabeledReplicas", "observedGeneration", "readyReplicas", "replicas" ] } } }, "kubernetes:apps/v1:ReplicaSetStatusPatch": { "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", "properties": { "availableReplicas": { "type": "integer", "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetConditionPatch" }, "description": "Represents the latest available observations of a replica set's current state." }, "fullyLabeledReplicas": { "type": "integer", "description": "The number of pods that have labels matching the labels of the pod template of the replicaset." }, "observedGeneration": { "type": "integer", "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet." }, "readyReplicas": { "type": "integer", "description": "readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition." }, "replicas": { "type": "integer", "description": "Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "conditions", "fullyLabeledReplicas", "observedGeneration", "readyReplicas", "replicas" ] } } }, "kubernetes:apps/v1:RollingUpdateDaemonSet": { "description": "Spec to control the desired behavior of daemon set rolling update.", "properties": { "maxSurge": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption." }, "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxSurge", "maxUnavailable" ] } } }, "kubernetes:apps/v1:RollingUpdateDaemonSetPatch": { "description": "Spec to control the desired behavior of daemon set rolling update.", "properties": { "maxSurge": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption." }, "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxSurge", "maxUnavailable" ] } } }, "kubernetes:apps/v1:RollingUpdateDeployment": { "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." }, "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxSurge", "maxUnavailable" ] } } }, "kubernetes:apps/v1:RollingUpdateDeploymentPatch": { "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." }, "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxSurge", "maxUnavailable" ] } } }, "kubernetes:apps/v1:RollingUpdateStatefulSetStrategy": { "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", "properties": { "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable." }, "partition": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "maxUnavailable", "partition" ] } } }, "kubernetes:apps/v1:RollingUpdateStatefulSetStrategyPatch": { "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", "properties": { "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable." }, "partition": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "maxUnavailable", "partition" ] } } }, "kubernetes:apps/v1:StatefulSet": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetSpec", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetStatus", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1:StatefulSetCondition": { "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of statefulset condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1:StatefulSetConditionPatch": { "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of statefulset condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1:StatefulSetList": { "description": "StatefulSetList is a collection of StatefulSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:StatefulSet" }, "description": "Items is the list of stateful sets." }, "kind": { "type": "string", "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", "const": "StatefulSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1:StatefulSetOrdinals": { "description": "StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.", "properties": { "start": { "type": "integer", "description": "start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:\n [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).\nIf unset, defaults to 0. Replica indices will be in the range:\n [0, .spec.replicas)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "start" ] } } }, "kubernetes:apps/v1:StatefulSetOrdinalsPatch": { "description": "StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.", "properties": { "start": { "type": "integer", "description": "start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:\n [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).\nIf unset, defaults to 0. Replica indices will be in the range:\n [0, .spec.replicas)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "start" ] } } }, "kubernetes:apps/v1:StatefulSetPatch": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetSpecPatch", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetStatusPatch", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1:StatefulSetPersistentVolumeClaimRetentionPolicy": { "description": "StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.", "properties": { "whenDeleted": { "type": "string", "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "whenDeleted", "whenScaled" ] } } }, "kubernetes:apps/v1:StatefulSetPersistentVolumeClaimRetentionPolicyPatch": { "description": "StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.", "properties": { "whenDeleted": { "type": "string", "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "whenDeleted", "whenScaled" ] } } }, "kubernetes:apps/v1:StatefulSetSpec": { "description": "A StatefulSetSpec is the specification of a StatefulSet.", "properties": { "minReadySeconds": { "type": "integer", "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)" }, "ordinals": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetOrdinals", "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta." }, "persistentVolumeClaimRetentionPolicy": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetPersistentVolumeClaimRetentionPolicy", "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional" }, "podManagementPolicy": { "type": "string", "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": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "serviceName": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format -. For example, a pod in a StatefulSet named \"web\" with index number \"3\" would be named \"web-3\". The only allowed template.spec.restartPolicy value is \"Always\"." }, "updateStrategy": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetUpdateStrategy", "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." }, "volumeClaimTemplates": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaim" }, "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": "object", "required": [ "selector", "serviceName", "template" ], "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "ordinals", "persistentVolumeClaimRetentionPolicy", "podManagementPolicy", "replicas", "revisionHistoryLimit", "selector", "serviceName", "template", "updateStrategy", "volumeClaimTemplates" ] } } }, "kubernetes:apps/v1:StatefulSetSpecPatch": { "description": "A StatefulSetSpec is the specification of a StatefulSet.", "properties": { "minReadySeconds": { "type": "integer", "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)" }, "ordinals": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetOrdinalsPatch", "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta." }, "persistentVolumeClaimRetentionPolicy": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetPersistentVolumeClaimRetentionPolicyPatch", "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional" }, "podManagementPolicy": { "type": "string", "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": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "serviceName": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format -. For example, a pod in a StatefulSet named \"web\" with index number \"3\" would be named \"web-3\". The only allowed template.spec.restartPolicy value is \"Always\"." }, "updateStrategy": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetUpdateStrategyPatch", "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." }, "volumeClaimTemplates": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "ordinals", "persistentVolumeClaimRetentionPolicy", "podManagementPolicy", "replicas", "revisionHistoryLimit", "selector", "serviceName", "template", "updateStrategy", "volumeClaimTemplates" ] } } }, "kubernetes:apps/v1:StatefulSetStatus": { "description": "StatefulSetStatus represents the current state of a StatefulSet.", "properties": { "availableReplicas": { "type": "integer", "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset." }, "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetCondition" }, "description": "Represents the latest available observations of a statefulset's current state." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision." }, "currentRevision": { "type": "string", "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)." }, "observedGeneration": { "type": "integer", "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": "integer", "description": "readyReplicas is the number of pods created for this StatefulSet with a Ready Condition." }, "replicas": { "type": "integer", "description": "replicas is the number of Pods created by the StatefulSet controller." }, "updateRevision": { "type": "string", "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)" }, "updatedReplicas": { "type": "integer", "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision." } }, "type": "object", "required": [ "replicas" ], "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "collisionCount", "conditions", "currentReplicas", "currentRevision", "observedGeneration", "readyReplicas", "replicas", "updateRevision", "updatedReplicas" ] } } }, "kubernetes:apps/v1:StatefulSetStatusPatch": { "description": "StatefulSetStatus represents the current state of a StatefulSet.", "properties": { "availableReplicas": { "type": "integer", "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset." }, "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetConditionPatch" }, "description": "Represents the latest available observations of a statefulset's current state." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision." }, "currentRevision": { "type": "string", "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)." }, "observedGeneration": { "type": "integer", "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": "integer", "description": "readyReplicas is the number of pods created for this StatefulSet with a Ready Condition." }, "replicas": { "type": "integer", "description": "replicas is the number of Pods created by the StatefulSet controller." }, "updateRevision": { "type": "string", "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)" }, "updatedReplicas": { "type": "integer", "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "collisionCount", "conditions", "currentReplicas", "currentRevision", "observedGeneration", "readyReplicas", "replicas", "updateRevision", "updatedReplicas" ] } } }, "kubernetes:apps/v1:StatefulSetUpdateStrategy": { "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.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1:RollingUpdateStatefulSetStrategy", "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." }, "type": { "type": "string", "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1:StatefulSetUpdateStrategyPatch": { "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.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1:RollingUpdateStatefulSetStrategyPatch", "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." }, "type": { "type": "string", "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1beta1:ControllerRevision": { "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "required": [ "revision" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } } }, "kubernetes:apps/v1beta1:ControllerRevisionList": { "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:ControllerRevision" }, "description": "Items is the list of ControllerRevisions" }, "kind": { "type": "string", "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", "const": "ControllerRevisionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1beta1:ControllerRevisionPatch": { "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } } }, "kubernetes:apps/v1beta1:Deployment": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentStatus", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta1:DeploymentCondition": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "lastUpdateTime": { "type": "string", "description": "The last time this condition was updated." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of deployment condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta1:DeploymentConditionPatch": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "lastUpdateTime": { "type": "string", "description": "The last time this condition was updated." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of deployment condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta1:DeploymentList": { "description": "DeploymentList is a list of Deployments.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1beta1:DeploymentPatch": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentStatusPatch", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta1:DeploymentRollback": { "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", "properties": { "apiVersion": { "type": "string", "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": "string", "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" }, "name": { "type": "string", "description": "Required: This must match the Name of a deployment." }, "rollbackTo": { "$ref": "#/types/kubernetes:apps/v1beta1:RollbackConfig", "description": "The config of this deployment rollback." }, "updatedAnnotations": { "type": "object", "additionalProperties": { "type": "string" }, "description": "The annotations to be updated to a deployment" } }, "type": "object", "required": [ "name", "rollbackTo" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name", "rollbackTo", "updatedAnnotations" ] } } }, "kubernetes:apps/v1beta1:DeploymentRollbackPatch": { "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", "properties": { "apiVersion": { "type": "string", "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": "string", "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" }, "name": { "type": "string", "description": "Required: This must match the Name of a deployment." }, "rollbackTo": { "$ref": "#/types/kubernetes:apps/v1beta1:RollbackConfigPatch", "description": "The config of this deployment rollback." }, "updatedAnnotations": { "type": "object", "additionalProperties": { "type": "string" }, "description": "The annotations to be updated to a deployment" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name", "rollbackTo", "updatedAnnotations" ] } } }, "kubernetes:apps/v1beta1:DeploymentSpec": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "properties": { "minReadySeconds": { "type": "integer", "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": "boolean", "description": "Indicates that the deployment is paused." }, "progressDeadlineSeconds": { "type": "integer", "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": "integer", "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." }, "revisionHistoryLimit": { "type": "integer", "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2." }, "rollbackTo": { "$ref": "#/types/kubernetes:apps/v1beta1:RollbackConfig", "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment." }, "strategy": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentStrategy", "description": "The deployment strategy to use to replace existing pods with new ones." }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Template describes the pods that will be created." } }, "type": "object", "required": [ "template" ], "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "paused", "progressDeadlineSeconds", "replicas", "revisionHistoryLimit", "rollbackTo", "selector", "strategy", "template" ] } } }, "kubernetes:apps/v1beta1:DeploymentSpecPatch": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "properties": { "minReadySeconds": { "type": "integer", "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": "boolean", "description": "Indicates that the deployment is paused." }, "progressDeadlineSeconds": { "type": "integer", "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": "integer", "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." }, "revisionHistoryLimit": { "type": "integer", "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2." }, "rollbackTo": { "$ref": "#/types/kubernetes:apps/v1beta1:RollbackConfigPatch", "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment." }, "strategy": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentStrategyPatch", "description": "The deployment strategy to use to replace existing pods with new ones." }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Template describes the pods that will be created." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "paused", "progressDeadlineSeconds", "replicas", "revisionHistoryLimit", "rollbackTo", "selector", "strategy", "template" ] } } }, "kubernetes:apps/v1beta1:DeploymentStatus": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { "availableReplicas": { "type": "integer", "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment." }, "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentCondition" }, "description": "Represents the latest available observations of a deployment's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the deployment controller." }, "readyReplicas": { "type": "integer", "description": "Total number of ready pods targeted by this deployment." }, "replicas": { "type": "integer", "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector)." }, "unavailableReplicas": { "type": "integer", "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": "integer", "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "collisionCount", "conditions", "observedGeneration", "readyReplicas", "replicas", "unavailableReplicas", "updatedReplicas" ] } } }, "kubernetes:apps/v1beta1:DeploymentStatusPatch": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { "availableReplicas": { "type": "integer", "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment." }, "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentConditionPatch" }, "description": "Represents the latest available observations of a deployment's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the deployment controller." }, "readyReplicas": { "type": "integer", "description": "Total number of ready pods targeted by this deployment." }, "replicas": { "type": "integer", "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector)." }, "unavailableReplicas": { "type": "integer", "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": "integer", "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "collisionCount", "conditions", "observedGeneration", "readyReplicas", "replicas", "unavailableReplicas", "updatedReplicas" ] } } }, "kubernetes:apps/v1beta1:DeploymentStrategy": { "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1beta1:RollingUpdateDeployment", "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." }, "type": { "type": "string", "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1beta1:DeploymentStrategyPatch": { "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1beta1:RollingUpdateDeploymentPatch", "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." }, "type": { "type": "string", "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1beta1:RollbackConfig": { "description": "DEPRECATED.", "properties": { "revision": { "type": "integer", "description": "The revision to rollback to. If set to 0, rollback to the last revision." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "revision" ] } } }, "kubernetes:apps/v1beta1:RollbackConfigPatch": { "description": "DEPRECATED.", "properties": { "revision": { "type": "integer", "description": "The revision to rollback to. If set to 0, rollback to the last revision." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "revision" ] } } }, "kubernetes:apps/v1beta1:RollingUpdateDeployment": { "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." }, "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxSurge", "maxUnavailable" ] } } }, "kubernetes:apps/v1beta1:RollingUpdateDeploymentPatch": { "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." }, "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxSurge", "maxUnavailable" ] } } }, "kubernetes:apps/v1beta1:RollingUpdateStatefulSetStrategy": { "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", "properties": { "partition": { "type": "integer", "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "partition" ] } } }, "kubernetes:apps/v1beta1:RollingUpdateStatefulSetStrategyPatch": { "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", "properties": { "partition": { "type": "integer", "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "partition" ] } } }, "kubernetes:apps/v1beta1:Scale": { "description": "Scale represents a scaling request for a resource.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:ScaleSpec", "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta1:ScaleStatus", "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta1:ScalePatch": { "description": "Scale represents a scaling request for a resource.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:ScaleSpecPatch", "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta1:ScaleStatusPatch", "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta1:ScaleSpec": { "description": "ScaleSpec describes the attributes of a scale subresource", "properties": { "replicas": { "type": "integer", "description": "desired number of instances for the scaled object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas" ] } } }, "kubernetes:apps/v1beta1:ScaleSpecPatch": { "description": "ScaleSpec describes the attributes of a scale subresource", "properties": { "replicas": { "type": "integer", "description": "desired number of instances for the scaled object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas" ] } } }, "kubernetes:apps/v1beta1:ScaleStatus": { "description": "ScaleStatus represents the current status of a scale subresource.", "properties": { "replicas": { "type": "integer", "description": "actual number of observed instances of the scaled object." }, "selector": { "type": "object", "additionalProperties": { "type": "string" }, "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "targetSelector": { "type": "string", "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" } }, "type": "object", "required": [ "replicas" ], "language": { "nodejs": { "requiredOutputs": [ "replicas", "selector", "targetSelector" ] } } }, "kubernetes:apps/v1beta1:ScaleStatusPatch": { "description": "ScaleStatus represents the current status of a scale subresource.", "properties": { "replicas": { "type": "integer", "description": "actual number of observed instances of the scaled object." }, "selector": { "type": "object", "additionalProperties": { "type": "string" }, "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "targetSelector": { "type": "string", "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas", "selector", "targetSelector" ] } } }, "kubernetes:apps/v1beta1:StatefulSet": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetSpec", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetStatus", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta1:StatefulSetCondition": { "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of statefulset condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta1:StatefulSetConditionPatch": { "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of statefulset condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta1:StatefulSetList": { "description": "StatefulSetList is a collection of StatefulSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSet" } }, "kind": { "type": "string", "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", "const": "StatefulSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1beta1:StatefulSetPatch": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetSpecPatch", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetStatusPatch", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta1:StatefulSetSpec": { "description": "A StatefulSetSpec is the specification of a StatefulSet.", "properties": { "podManagementPolicy": { "type": "string", "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": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "serviceName": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet." }, "updateStrategy": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetUpdateStrategy", "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." }, "volumeClaimTemplates": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaim" }, "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": "object", "required": [ "serviceName", "template" ], "language": { "nodejs": { "requiredOutputs": [ "podManagementPolicy", "replicas", "revisionHistoryLimit", "selector", "serviceName", "template", "updateStrategy", "volumeClaimTemplates" ] } } }, "kubernetes:apps/v1beta1:StatefulSetSpecPatch": { "description": "A StatefulSetSpec is the specification of a StatefulSet.", "properties": { "podManagementPolicy": { "type": "string", "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": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "serviceName": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet." }, "updateStrategy": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetUpdateStrategyPatch", "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." }, "volumeClaimTemplates": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "podManagementPolicy", "replicas", "revisionHistoryLimit", "selector", "serviceName", "template", "updateStrategy", "volumeClaimTemplates" ] } } }, "kubernetes:apps/v1beta1:StatefulSetStatus": { "description": "StatefulSetStatus represents the current state of a StatefulSet.", "properties": { "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetCondition" }, "description": "Represents the latest available observations of a statefulset's current state." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision." }, "currentRevision": { "type": "string", "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)." }, "observedGeneration": { "type": "integer", "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": "integer", "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition." }, "replicas": { "type": "integer", "description": "replicas is the number of Pods created by the StatefulSet controller." }, "updateRevision": { "type": "string", "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)" }, "updatedReplicas": { "type": "integer", "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision." } }, "type": "object", "required": [ "replicas" ], "language": { "nodejs": { "requiredOutputs": [ "collisionCount", "conditions", "currentReplicas", "currentRevision", "observedGeneration", "readyReplicas", "replicas", "updateRevision", "updatedReplicas" ] } } }, "kubernetes:apps/v1beta1:StatefulSetStatusPatch": { "description": "StatefulSetStatus represents the current state of a StatefulSet.", "properties": { "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetConditionPatch" }, "description": "Represents the latest available observations of a statefulset's current state." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision." }, "currentRevision": { "type": "string", "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)." }, "observedGeneration": { "type": "integer", "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": "integer", "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition." }, "replicas": { "type": "integer", "description": "replicas is the number of Pods created by the StatefulSet controller." }, "updateRevision": { "type": "string", "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)" }, "updatedReplicas": { "type": "integer", "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "collisionCount", "conditions", "currentReplicas", "currentRevision", "observedGeneration", "readyReplicas", "replicas", "updateRevision", "updatedReplicas" ] } } }, "kubernetes:apps/v1beta1:StatefulSetUpdateStrategy": { "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.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1beta1:RollingUpdateStatefulSetStrategy", "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." }, "type": { "type": "string", "description": "Type indicates the type of the StatefulSetUpdateStrategy." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1beta1:StatefulSetUpdateStrategyPatch": { "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.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1beta1:RollingUpdateStatefulSetStrategyPatch", "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." }, "type": { "type": "string", "description": "Type indicates the type of the StatefulSetUpdateStrategy." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1beta2:ControllerRevision": { "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "required": [ "revision" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } } }, "kubernetes:apps/v1beta2:ControllerRevisionList": { "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:ControllerRevision" }, "description": "Items is the list of ControllerRevisions" }, "kind": { "type": "string", "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", "const": "ControllerRevisionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1beta2:ControllerRevisionPatch": { "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } } }, "kubernetes:apps/v1beta2:DaemonSet": { "description": "DaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetSpec", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetStatus", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta2:DaemonSetCondition": { "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of DaemonSet condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta2:DaemonSetConditionPatch": { "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of DaemonSet condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta2:DaemonSetList": { "description": "DaemonSetList is a collection of daemon sets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSet" }, "description": "A list of daemon sets." }, "kind": { "type": "string", "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", "const": "DaemonSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1beta2:DaemonSetPatch": { "description": "DaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetSpecPatch", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetStatusPatch", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta2:DaemonSetSpec": { "description": "DaemonSetSpec is the specification of a daemon set.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" }, "updateStrategy": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetUpdateStrategy", "description": "An update strategy to replace existing DaemonSet pods with new pods." } }, "type": "object", "required": [ "selector", "template" ], "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "revisionHistoryLimit", "selector", "template", "updateStrategy" ] } } }, "kubernetes:apps/v1beta2:DaemonSetSpecPatch": { "description": "DaemonSetSpec is the specification of a daemon set.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" }, "updateStrategy": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetUpdateStrategyPatch", "description": "An update strategy to replace existing DaemonSet pods with new pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "revisionHistoryLimit", "selector", "template", "updateStrategy" ] } } }, "kubernetes:apps/v1beta2:DaemonSetStatus": { "description": "DaemonSetStatus represents the current status of a daemon set.", "properties": { "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetCondition" }, "description": "Represents the latest available observations of a DaemonSet's current state." }, "currentNumberScheduled": { "type": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "description": "The most recent generation observed by the daemon set controller." }, "updatedNumberScheduled": { "type": "integer", "description": "The total number of nodes that are running updated daemon pod" } }, "type": "object", "required": [ "currentNumberScheduled", "desiredNumberScheduled", "numberMisscheduled", "numberReady" ], "language": { "nodejs": { "requiredOutputs": [ "collisionCount", "conditions", "currentNumberScheduled", "desiredNumberScheduled", "numberAvailable", "numberMisscheduled", "numberReady", "numberUnavailable", "observedGeneration", "updatedNumberScheduled" ] } } }, "kubernetes:apps/v1beta2:DaemonSetStatusPatch": { "description": "DaemonSetStatus represents the current status of a daemon set.", "properties": { "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetConditionPatch" }, "description": "Represents the latest available observations of a DaemonSet's current state." }, "currentNumberScheduled": { "type": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "description": "The most recent generation observed by the daemon set controller." }, "updatedNumberScheduled": { "type": "integer", "description": "The total number of nodes that are running updated daemon pod" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "collisionCount", "conditions", "currentNumberScheduled", "desiredNumberScheduled", "numberAvailable", "numberMisscheduled", "numberReady", "numberUnavailable", "observedGeneration", "updatedNumberScheduled" ] } } }, "kubernetes:apps/v1beta2:DaemonSetUpdateStrategy": { "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1beta2:RollingUpdateDaemonSet", "description": "Rolling update config params. Present only if type = \"RollingUpdate\"." }, "type": { "type": "string", "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1beta2:DaemonSetUpdateStrategyPatch": { "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1beta2:RollingUpdateDaemonSetPatch", "description": "Rolling update config params. Present only if type = \"RollingUpdate\"." }, "type": { "type": "string", "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1beta2:Deployment": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentStatus", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta2:DeploymentCondition": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "lastUpdateTime": { "type": "string", "description": "The last time this condition was updated." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of deployment condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta2:DeploymentConditionPatch": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "lastUpdateTime": { "type": "string", "description": "The last time this condition was updated." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of deployment condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta2:DeploymentList": { "description": "DeploymentList is a list of Deployments.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1beta2:DeploymentPatch": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentStatusPatch", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta2:DeploymentSpec": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "properties": { "minReadySeconds": { "type": "integer", "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": "boolean", "description": "Indicates that the deployment is paused." }, "progressDeadlineSeconds": { "type": "integer", "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": "integer", "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." }, "revisionHistoryLimit": { "type": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels." }, "strategy": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentStrategy", "description": "The deployment strategy to use to replace existing pods with new ones." }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Template describes the pods that will be created." } }, "type": "object", "required": [ "selector", "template" ], "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "paused", "progressDeadlineSeconds", "replicas", "revisionHistoryLimit", "selector", "strategy", "template" ] } } }, "kubernetes:apps/v1beta2:DeploymentSpecPatch": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "properties": { "minReadySeconds": { "type": "integer", "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": "boolean", "description": "Indicates that the deployment is paused." }, "progressDeadlineSeconds": { "type": "integer", "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": "integer", "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." }, "revisionHistoryLimit": { "type": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels." }, "strategy": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentStrategyPatch", "description": "The deployment strategy to use to replace existing pods with new ones." }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Template describes the pods that will be created." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "paused", "progressDeadlineSeconds", "replicas", "revisionHistoryLimit", "selector", "strategy", "template" ] } } }, "kubernetes:apps/v1beta2:DeploymentStatus": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { "availableReplicas": { "type": "integer", "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment." }, "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentCondition" }, "description": "Represents the latest available observations of a deployment's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the deployment controller." }, "readyReplicas": { "type": "integer", "description": "Total number of ready pods targeted by this deployment." }, "replicas": { "type": "integer", "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector)." }, "unavailableReplicas": { "type": "integer", "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": "integer", "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "collisionCount", "conditions", "observedGeneration", "readyReplicas", "replicas", "unavailableReplicas", "updatedReplicas" ] } } }, "kubernetes:apps/v1beta2:DeploymentStatusPatch": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { "availableReplicas": { "type": "integer", "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment." }, "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentConditionPatch" }, "description": "Represents the latest available observations of a deployment's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the deployment controller." }, "readyReplicas": { "type": "integer", "description": "Total number of ready pods targeted by this deployment." }, "replicas": { "type": "integer", "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector)." }, "unavailableReplicas": { "type": "integer", "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": "integer", "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "collisionCount", "conditions", "observedGeneration", "readyReplicas", "replicas", "unavailableReplicas", "updatedReplicas" ] } } }, "kubernetes:apps/v1beta2:DeploymentStrategy": { "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1beta2:RollingUpdateDeployment", "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." }, "type": { "type": "string", "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1beta2:DeploymentStrategyPatch": { "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1beta2:RollingUpdateDeploymentPatch", "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." }, "type": { "type": "string", "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1beta2:ReplicaSet": { "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetSpec", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetStatus", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta2:ReplicaSetCondition": { "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "The last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of replica set condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta2:ReplicaSetConditionPatch": { "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "The last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of replica set condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta2:ReplicaSetList": { "description": "ReplicaSetList is a collection of ReplicaSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSet" }, "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicaSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1beta2:ReplicaSetPatch": { "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetSpecPatch", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetStatusPatch", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta2:ReplicaSetSpec": { "description": "ReplicaSetSpec is the specification of a ReplicaSet.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" } }, "type": "object", "required": [ "selector" ], "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "replicas", "selector", "template" ] } } }, "kubernetes:apps/v1beta2:ReplicaSetSpecPatch": { "description": "ReplicaSetSpec is the specification of a ReplicaSet.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "replicas", "selector", "template" ] } } }, "kubernetes:apps/v1beta2:ReplicaSetStatus": { "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", "properties": { "availableReplicas": { "type": "integer", "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetCondition" }, "description": "Represents the latest available observations of a replica set's current state." }, "fullyLabeledReplicas": { "type": "integer", "description": "The number of pods that have labels matching the labels of the pod template of the replicaset." }, "observedGeneration": { "type": "integer", "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet." }, "readyReplicas": { "type": "integer", "description": "The number of ready replicas for this replica set." }, "replicas": { "type": "integer", "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": "object", "required": [ "replicas" ], "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "conditions", "fullyLabeledReplicas", "observedGeneration", "readyReplicas", "replicas" ] } } }, "kubernetes:apps/v1beta2:ReplicaSetStatusPatch": { "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", "properties": { "availableReplicas": { "type": "integer", "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetConditionPatch" }, "description": "Represents the latest available observations of a replica set's current state." }, "fullyLabeledReplicas": { "type": "integer", "description": "The number of pods that have labels matching the labels of the pod template of the replicaset." }, "observedGeneration": { "type": "integer", "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet." }, "readyReplicas": { "type": "integer", "description": "The number of ready replicas for this replica set." }, "replicas": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "conditions", "fullyLabeledReplicas", "observedGeneration", "readyReplicas", "replicas" ] } } }, "kubernetes:apps/v1beta2:RollingUpdateDaemonSet": { "description": "Spec to control the desired behavior of daemon set rolling update.", "properties": { "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxUnavailable" ] } } }, "kubernetes:apps/v1beta2:RollingUpdateDaemonSetPatch": { "description": "Spec to control the desired behavior of daemon set rolling update.", "properties": { "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxUnavailable" ] } } }, "kubernetes:apps/v1beta2:RollingUpdateDeployment": { "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." }, "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxSurge", "maxUnavailable" ] } } }, "kubernetes:apps/v1beta2:RollingUpdateDeploymentPatch": { "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." }, "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxSurge", "maxUnavailable" ] } } }, "kubernetes:apps/v1beta2:RollingUpdateStatefulSetStrategy": { "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", "properties": { "partition": { "type": "integer", "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "partition" ] } } }, "kubernetes:apps/v1beta2:RollingUpdateStatefulSetStrategyPatch": { "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", "properties": { "partition": { "type": "integer", "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "partition" ] } } }, "kubernetes:apps/v1beta2:Scale": { "description": "Scale represents a scaling request for a resource.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:ScaleSpec", "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:ScaleStatus", "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta2:ScalePatch": { "description": "Scale represents a scaling request for a resource.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:ScaleSpecPatch", "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:ScaleStatusPatch", "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta2:ScaleSpec": { "description": "ScaleSpec describes the attributes of a scale subresource", "properties": { "replicas": { "type": "integer", "description": "desired number of instances for the scaled object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas" ] } } }, "kubernetes:apps/v1beta2:ScaleSpecPatch": { "description": "ScaleSpec describes the attributes of a scale subresource", "properties": { "replicas": { "type": "integer", "description": "desired number of instances for the scaled object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas" ] } } }, "kubernetes:apps/v1beta2:ScaleStatus": { "description": "ScaleStatus represents the current status of a scale subresource.", "properties": { "replicas": { "type": "integer", "description": "actual number of observed instances of the scaled object." }, "selector": { "type": "object", "additionalProperties": { "type": "string" }, "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "targetSelector": { "type": "string", "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" } }, "type": "object", "required": [ "replicas" ], "language": { "nodejs": { "requiredOutputs": [ "replicas", "selector", "targetSelector" ] } } }, "kubernetes:apps/v1beta2:ScaleStatusPatch": { "description": "ScaleStatus represents the current status of a scale subresource.", "properties": { "replicas": { "type": "integer", "description": "actual number of observed instances of the scaled object." }, "selector": { "type": "object", "additionalProperties": { "type": "string" }, "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "targetSelector": { "type": "string", "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas", "selector", "targetSelector" ] } } }, "kubernetes:apps/v1beta2:StatefulSet": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetSpec", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetStatus", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta2:StatefulSetCondition": { "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of statefulset condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta2:StatefulSetConditionPatch": { "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of statefulset condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:apps/v1beta2:StatefulSetList": { "description": "StatefulSetList is a collection of StatefulSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSet" } }, "kind": { "type": "string", "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", "const": "StatefulSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:apps/v1beta2:StatefulSetPatch": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetSpecPatch", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetStatusPatch", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:apps/v1beta2:StatefulSetSpec": { "description": "A StatefulSetSpec is the specification of a StatefulSet.", "properties": { "podManagementPolicy": { "type": "string", "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": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "serviceName": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet." }, "updateStrategy": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetUpdateStrategy", "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." }, "volumeClaimTemplates": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaim" }, "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": "object", "required": [ "selector", "serviceName", "template" ], "language": { "nodejs": { "requiredOutputs": [ "podManagementPolicy", "replicas", "revisionHistoryLimit", "selector", "serviceName", "template", "updateStrategy", "volumeClaimTemplates" ] } } }, "kubernetes:apps/v1beta2:StatefulSetSpecPatch": { "description": "A StatefulSetSpec is the specification of a StatefulSet.", "properties": { "podManagementPolicy": { "type": "string", "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": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "serviceName": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet." }, "updateStrategy": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetUpdateStrategyPatch", "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." }, "volumeClaimTemplates": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "podManagementPolicy", "replicas", "revisionHistoryLimit", "selector", "serviceName", "template", "updateStrategy", "volumeClaimTemplates" ] } } }, "kubernetes:apps/v1beta2:StatefulSetStatus": { "description": "StatefulSetStatus represents the current state of a StatefulSet.", "properties": { "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetCondition" }, "description": "Represents the latest available observations of a statefulset's current state." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision." }, "currentRevision": { "type": "string", "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)." }, "observedGeneration": { "type": "integer", "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": "integer", "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition." }, "replicas": { "type": "integer", "description": "replicas is the number of Pods created by the StatefulSet controller." }, "updateRevision": { "type": "string", "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)" }, "updatedReplicas": { "type": "integer", "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision." } }, "type": "object", "required": [ "replicas" ], "language": { "nodejs": { "requiredOutputs": [ "collisionCount", "conditions", "currentReplicas", "currentRevision", "observedGeneration", "readyReplicas", "replicas", "updateRevision", "updatedReplicas" ] } } }, "kubernetes:apps/v1beta2:StatefulSetStatusPatch": { "description": "StatefulSetStatus represents the current state of a StatefulSet.", "properties": { "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetConditionPatch" }, "description": "Represents the latest available observations of a statefulset's current state." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision." }, "currentRevision": { "type": "string", "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)." }, "observedGeneration": { "type": "integer", "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": "integer", "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition." }, "replicas": { "type": "integer", "description": "replicas is the number of Pods created by the StatefulSet controller." }, "updateRevision": { "type": "string", "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)" }, "updatedReplicas": { "type": "integer", "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "collisionCount", "conditions", "currentReplicas", "currentRevision", "observedGeneration", "readyReplicas", "replicas", "updateRevision", "updatedReplicas" ] } } }, "kubernetes:apps/v1beta2:StatefulSetUpdateStrategy": { "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.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1beta2:RollingUpdateStatefulSetStrategy", "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." }, "type": { "type": "string", "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:apps/v1beta2:StatefulSetUpdateStrategyPatch": { "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.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:apps/v1beta2:RollingUpdateStatefulSetStrategyPatch", "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." }, "type": { "type": "string", "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:AuditSink": { "description": "AuditSink represents a cluster level audit sink", "properties": { "apiVersion": { "type": "string", "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", "const": "auditregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "AuditSink" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkSpec", "description": "Spec defines the audit configuration spec" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkList": { "description": "AuditSinkList is a list of AuditSink items.", "properties": { "apiVersion": { "type": "string", "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", "const": "auditregistration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:AuditSink" }, "description": "List of audit configurations." }, "kind": { "type": "string", "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", "const": "AuditSinkList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkPatch": { "description": "AuditSink represents a cluster level audit sink", "properties": { "apiVersion": { "type": "string", "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", "const": "auditregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "AuditSink" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkSpecPatch", "description": "Spec defines the audit configuration spec" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkSpec": { "description": "AuditSinkSpec holds the spec for the audit sink", "properties": { "policy": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:Policy", "description": "Policy defines the policy for selecting which events should be sent to the webhook required" }, "webhook": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:Webhook", "description": "Webhook to send events required" } }, "type": "object", "required": [ "policy", "webhook" ], "language": { "nodejs": { "requiredOutputs": [ "policy", "webhook" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkSpecPatch": { "description": "AuditSinkSpec holds the spec for the audit sink", "properties": { "policy": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:PolicyPatch", "description": "Policy defines the policy for selecting which events should be sent to the webhook required" }, "webhook": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:WebhookPatch", "description": "Webhook to send events required" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "policy", "webhook" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:Policy": { "description": "Policy defines the configuration of how audit events are logged", "properties": { "level": { "type": "string", "description": "The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required" }, "stages": { "type": "array", "items": { "type": "string" }, "description": "Stages is a list of stages for which events are created." } }, "type": "object", "required": [ "level" ], "language": { "nodejs": { "requiredOutputs": [ "level", "stages" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:PolicyPatch": { "description": "Policy defines the configuration of how audit events are logged", "properties": { "level": { "type": "string", "description": "The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required" }, "stages": { "type": "array", "items": { "type": "string" }, "description": "Stages is a list of stages for which events are created." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "level", "stages" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:ServiceReference": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "`name` is the name of the service. Required" }, "namespace": { "type": "string", "description": "`namespace` is the namespace of the service. Required" }, "path": { "type": "string", "description": "`path` is an optional URL path which will be sent in any request to this service." }, "port": { "type": "integer", "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": "object", "required": [ "name", "namespace" ], "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "path", "port" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:ServiceReferencePatch": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { "name": { "type": "string", "description": "`name` is the name of the service. Required" }, "namespace": { "type": "string", "description": "`namespace` is the namespace of the service. Required" }, "path": { "type": "string", "description": "`path` is an optional URL path which will be sent in any request to this service." }, "port": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace", "path", "port" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:Webhook": { "description": "Webhook holds the configuration of the webhook", "properties": { "clientConfig": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:WebhookClientConfig", "description": "ClientConfig holds the connection parameters for the webhook required" }, "throttle": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:WebhookThrottleConfig", "description": "Throttle holds the options for throttling the webhook" } }, "type": "object", "required": [ "clientConfig" ], "language": { "nodejs": { "requiredOutputs": [ "clientConfig", "throttle" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:WebhookClientConfig": { "description": "WebhookClientConfig contains the information to make a connection with the webhook", "properties": { "caBundle": { "type": "string", "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": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:ServiceReference", "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, "url": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "service", "url" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:WebhookClientConfigPatch": { "description": "WebhookClientConfig contains the information to make a connection with the webhook", "properties": { "caBundle": { "type": "string", "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": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:ServiceReferencePatch", "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, "url": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "caBundle", "service", "url" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:WebhookPatch": { "description": "Webhook holds the configuration of the webhook", "properties": { "clientConfig": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:WebhookClientConfigPatch", "description": "ClientConfig holds the connection parameters for the webhook required" }, "throttle": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:WebhookThrottleConfigPatch", "description": "Throttle holds the options for throttling the webhook" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "clientConfig", "throttle" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:WebhookThrottleConfig": { "description": "WebhookThrottleConfig holds the configuration for throttling events", "properties": { "burst": { "type": "integer", "description": "ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS" }, "qps": { "type": "integer", "description": "ThrottleQPS maximum number of batches per second default 10 QPS" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "burst", "qps" ] } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:WebhookThrottleConfigPatch": { "description": "WebhookThrottleConfig holds the configuration for throttling events", "properties": { "burst": { "type": "integer", "description": "ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS" }, "qps": { "type": "integer", "description": "ThrottleQPS maximum number of batches per second default 10 QPS" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "burst", "qps" ] } } }, "kubernetes:authentication.k8s.io/v1:BoundObjectReference": { "description": "BoundObjectReference is a reference to an object that a token is bound to.", "properties": { "apiVersion": { "type": "string", "description": "API version of the referent." }, "kind": { "type": "string", "description": "Kind of the referent. Valid kinds are 'Pod' and 'Secret'." }, "name": { "type": "string", "description": "Name of the referent." }, "uid": { "type": "string", "description": "UID of the referent." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name", "uid" ] } } }, "kubernetes:authentication.k8s.io/v1:BoundObjectReferencePatch": { "description": "BoundObjectReference is a reference to an object that a token is bound to.", "properties": { "apiVersion": { "type": "string", "description": "API version of the referent." }, "kind": { "type": "string", "description": "Kind of the referent. Valid kinds are 'Pod' and 'Secret'." }, "name": { "type": "string", "description": "Name of the referent." }, "uid": { "type": "string", "description": "UID of the referent." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name", "uid" ] } } }, "kubernetes:authentication.k8s.io/v1:SelfSubjectReview": { "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:SelfSubjectReviewStatus", "description": "Status is filled in by the server with the user attributes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "status" ] } } }, "kubernetes:authentication.k8s.io/v1:SelfSubjectReviewPatch": { "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:SelfSubjectReviewStatusPatch", "description": "Status is filled in by the server with the user attributes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "status" ] } } }, "kubernetes:authentication.k8s.io/v1:SelfSubjectReviewStatus": { "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.", "properties": { "userInfo": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:UserInfo", "description": "User attributes of the user making this request." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "userInfo" ] } } }, "kubernetes:authentication.k8s.io/v1:SelfSubjectReviewStatusPatch": { "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.", "properties": { "userInfo": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:UserInfoPatch", "description": "User attributes of the user making this request." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "userInfo" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenRequest": { "description": "TokenRequest requests a token for a given service account.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:TokenRequestSpec", "description": "Spec holds information about the request being evaluated" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:TokenRequestStatus", "description": "Status is filled in by the server and indicates whether the token can be authenticated." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenRequestPatch": { "description": "TokenRequest requests a token for a given service account.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:TokenRequestSpecPatch", "description": "Spec holds information about the request being evaluated" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:TokenRequestStatusPatch", "description": "Status is filled in by the server and indicates whether the token can be authenticated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenRequestSpec": { "description": "TokenRequestSpec contains client provided parameters of a token request.", "properties": { "audiences": { "type": "array", "items": { "type": "string" }, "description": "Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences." }, "boundObjectRef": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:BoundObjectReference", "description": "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation." }, "expirationSeconds": { "type": "integer", "description": "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response." } }, "type": "object", "required": [ "audiences" ], "language": { "nodejs": { "requiredOutputs": [ "audiences", "boundObjectRef", "expirationSeconds" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenRequestSpecPatch": { "description": "TokenRequestSpec contains client provided parameters of a token request.", "properties": { "audiences": { "type": "array", "items": { "type": "string" }, "description": "Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences." }, "boundObjectRef": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:BoundObjectReferencePatch", "description": "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation." }, "expirationSeconds": { "type": "integer", "description": "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audiences", "boundObjectRef", "expirationSeconds" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenRequestStatus": { "description": "TokenRequestStatus is the result of a token request.", "properties": { "expirationTimestamp": { "type": "string", "description": "ExpirationTimestamp is the time of expiration of the returned token." }, "token": { "type": "string", "description": "Token is the opaque bearer token." } }, "type": "object", "required": [ "expirationTimestamp", "token" ], "language": { "nodejs": { "requiredOutputs": [ "expirationTimestamp", "token" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenRequestStatusPatch": { "description": "TokenRequestStatus is the result of a token request.", "properties": { "expirationTimestamp": { "type": "string", "description": "ExpirationTimestamp is the time of expiration of the returned token." }, "token": { "type": "string", "description": "Token is the opaque bearer token." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expirationTimestamp", "token" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenReview": { "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:TokenReviewSpec", "description": "Spec holds information about the request being evaluated" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:TokenReviewStatus", "description": "Status is filled in by the server and indicates whether the request can be authenticated." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenReviewPatch": { "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:TokenReviewSpecPatch", "description": "Spec holds information about the request being evaluated" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:TokenReviewStatusPatch", "description": "Status is filled in by the server and indicates whether the request can be authenticated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenReviewSpec": { "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { "audiences": { "type": "array", "items": { "type": "string" }, "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver." }, "token": { "type": "string", "description": "Token is the opaque bearer token." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audiences", "token" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenReviewSpecPatch": { "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { "audiences": { "type": "array", "items": { "type": "string" }, "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver." }, "token": { "type": "string", "description": "Token is the opaque bearer token." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audiences", "token" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenReviewStatus": { "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { "audiences": { "type": "array", "items": { "type": "string" }, "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server." }, "authenticated": { "type": "boolean", "description": "Authenticated indicates that the token was associated with a known user." }, "error": { "type": "string", "description": "Error indicates that the token couldn't be checked" }, "user": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:UserInfo", "description": "User is the UserInfo associated with the provided token." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audiences", "authenticated", "error", "user" ] } } }, "kubernetes:authentication.k8s.io/v1:TokenReviewStatusPatch": { "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { "audiences": { "type": "array", "items": { "type": "string" }, "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server." }, "authenticated": { "type": "boolean", "description": "Authenticated indicates that the token was associated with a known user." }, "error": { "type": "string", "description": "Error indicates that the token couldn't be checked" }, "user": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:UserInfoPatch", "description": "User is the UserInfo associated with the provided token." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audiences", "authenticated", "error", "user" ] } } }, "kubernetes:authentication.k8s.io/v1:UserInfo": { "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", "properties": { "extra": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Any additional information provided by the authenticator." }, "groups": { "type": "array", "items": { "type": "string" }, "description": "The names of groups this user is a part of." }, "uid": { "type": "string", "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs." }, "username": { "type": "string", "description": "The name that uniquely identifies this user among all active users." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "extra", "groups", "uid", "username" ] } } }, "kubernetes:authentication.k8s.io/v1:UserInfoPatch": { "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", "properties": { "extra": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Any additional information provided by the authenticator." }, "groups": { "type": "array", "items": { "type": "string" }, "description": "The names of groups this user is a part of." }, "uid": { "type": "string", "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs." }, "username": { "type": "string", "description": "The name that uniquely identifies this user among all active users." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "extra", "groups", "uid", "username" ] } } }, "kubernetes:authentication.k8s.io/v1alpha1:SelfSubjectReview": { "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1alpha1:SelfSubjectReviewStatus", "description": "Status is filled in by the server with the user attributes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "status" ] } } }, "kubernetes:authentication.k8s.io/v1alpha1:SelfSubjectReviewPatch": { "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1alpha1:SelfSubjectReviewStatusPatch", "description": "Status is filled in by the server with the user attributes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "status" ] } } }, "kubernetes:authentication.k8s.io/v1alpha1:SelfSubjectReviewStatus": { "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.", "properties": { "userInfo": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:UserInfo", "description": "User attributes of the user making this request." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "userInfo" ] } } }, "kubernetes:authentication.k8s.io/v1alpha1:SelfSubjectReviewStatusPatch": { "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.", "properties": { "userInfo": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:UserInfoPatch", "description": "User attributes of the user making this request." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "userInfo" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:SelfSubjectReview": { "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1beta1:SelfSubjectReviewStatus", "description": "Status is filled in by the server with the user attributes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "status" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:SelfSubjectReviewPatch": { "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1beta1:SelfSubjectReviewStatusPatch", "description": "Status is filled in by the server with the user attributes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "status" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:SelfSubjectReviewStatus": { "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.", "properties": { "userInfo": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:UserInfo", "description": "User attributes of the user making this request." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "userInfo" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:SelfSubjectReviewStatusPatch": { "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.", "properties": { "userInfo": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1:UserInfoPatch", "description": "User attributes of the user making this request." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "userInfo" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:TokenReview": { "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1beta1:TokenReviewSpec", "description": "Spec holds information about the request being evaluated" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1beta1:TokenReviewStatus", "description": "Status is filled in by the server and indicates whether the request can be authenticated." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:TokenReviewPatch": { "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1beta1:TokenReviewSpecPatch", "description": "Spec holds information about the request being evaluated" }, "status": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1beta1:TokenReviewStatusPatch", "description": "Status is filled in by the server and indicates whether the request can be authenticated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:TokenReviewSpec": { "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { "audiences": { "type": "array", "items": { "type": "string" }, "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver." }, "token": { "type": "string", "description": "Token is the opaque bearer token." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audiences", "token" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:TokenReviewSpecPatch": { "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { "audiences": { "type": "array", "items": { "type": "string" }, "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver." }, "token": { "type": "string", "description": "Token is the opaque bearer token." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audiences", "token" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:TokenReviewStatus": { "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { "audiences": { "type": "array", "items": { "type": "string" }, "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server." }, "authenticated": { "type": "boolean", "description": "Authenticated indicates that the token was associated with a known user." }, "error": { "type": "string", "description": "Error indicates that the token couldn't be checked" }, "user": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1beta1:UserInfo", "description": "User is the UserInfo associated with the provided token." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audiences", "authenticated", "error", "user" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:TokenReviewStatusPatch": { "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { "audiences": { "type": "array", "items": { "type": "string" }, "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server." }, "authenticated": { "type": "boolean", "description": "Authenticated indicates that the token was associated with a known user." }, "error": { "type": "string", "description": "Error indicates that the token couldn't be checked" }, "user": { "$ref": "#/types/kubernetes:authentication.k8s.io/v1beta1:UserInfoPatch", "description": "User is the UserInfo associated with the provided token." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audiences", "authenticated", "error", "user" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:UserInfo": { "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", "properties": { "extra": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Any additional information provided by the authenticator." }, "groups": { "type": "array", "items": { "type": "string" }, "description": "The names of groups this user is a part of." }, "uid": { "type": "string", "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs." }, "username": { "type": "string", "description": "The name that uniquely identifies this user among all active users." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "extra", "groups", "uid", "username" ] } } }, "kubernetes:authentication.k8s.io/v1beta1:UserInfoPatch": { "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", "properties": { "extra": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Any additional information provided by the authenticator." }, "groups": { "type": "array", "items": { "type": "string" }, "description": "The names of groups this user is a part of." }, "uid": { "type": "string", "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs." }, "username": { "type": "string", "description": "The name that uniquely identifies this user among all active users." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "extra", "groups", "uid", "username" ] } } }, "kubernetes:authorization.k8s.io/v1:LocalSubjectAccessReview": { "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectAccessReviewSpec", "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted." }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectAccessReviewStatus", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1:LocalSubjectAccessReviewPatch": { "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectAccessReviewSpecPatch", "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted." }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectAccessReviewStatusPatch", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1:NonResourceAttributes": { "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", "properties": { "path": { "type": "string", "description": "Path is the URL path of the request" }, "verb": { "type": "string", "description": "Verb is the standard HTTP verb" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "path", "verb" ] } } }, "kubernetes:authorization.k8s.io/v1:NonResourceAttributesPatch": { "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", "properties": { "path": { "type": "string", "description": "Path is the URL path of the request" }, "verb": { "type": "string", "description": "Verb is the standard HTTP verb" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "path", "verb" ] } } }, "kubernetes:authorization.k8s.io/v1:NonResourceRule": { "description": "NonResourceRule holds information that describes a rule for the non-resource", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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. \"*\" means all." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all." } }, "type": "object", "required": [ "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:authorization.k8s.io/v1:NonResourceRulePatch": { "description": "NonResourceRule holds information that describes a rule for the non-resource", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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. \"*\" means all." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:authorization.k8s.io/v1:ResourceAttributes": { "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { "group": { "type": "string", "description": "Group is the API Group of the Resource. \"*\" means all." }, "name": { "type": "string", "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all." }, "namespace": { "type": "string", "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview" }, "resource": { "type": "string", "description": "Resource is one of the existing resource types. \"*\" means all." }, "subresource": { "type": "string", "description": "Subresource is one of the existing resource types. \"\" means none." }, "verb": { "type": "string", "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all." }, "version": { "type": "string", "description": "Version is the API Version of the Resource. \"*\" means all." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "name", "namespace", "resource", "subresource", "verb", "version" ] } } }, "kubernetes:authorization.k8s.io/v1:ResourceAttributesPatch": { "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { "group": { "type": "string", "description": "Group is the API Group of the Resource. \"*\" means all." }, "name": { "type": "string", "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all." }, "namespace": { "type": "string", "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview" }, "resource": { "type": "string", "description": "Resource is one of the existing resource types. \"*\" means all." }, "subresource": { "type": "string", "description": "Subresource is one of the existing resource types. \"\" means none." }, "verb": { "type": "string", "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all." }, "version": { "type": "string", "description": "Version is the API Version of the Resource. \"*\" means all." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "name", "namespace", "resource", "subresource", "verb", "version" ] } } }, "kubernetes:authorization.k8s.io/v1:ResourceRule": { "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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. \"*\" means all." }, "resourceNames": { "type": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all." }, "resources": { "type": "array", "items": { "type": "string" }, "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all." } }, "type": "object", "required": [ "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "resourceNames", "resources", "verbs" ] } } }, "kubernetes:authorization.k8s.io/v1:ResourceRulePatch": { "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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. \"*\" means all." }, "resourceNames": { "type": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all." }, "resources": { "type": "array", "items": { "type": "string" }, "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "resourceNames", "resources", "verbs" ] } } }, "kubernetes:authorization.k8s.io/v1:SelfSubjectAccessReview": { "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SelfSubjectAccessReviewSpec", "description": "Spec holds information about the request being evaluated. user and groups must be empty" }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectAccessReviewStatus", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1:SelfSubjectAccessReviewPatch": { "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SelfSubjectAccessReviewSpecPatch", "description": "Spec holds information about the request being evaluated. user and groups must be empty" }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectAccessReviewStatusPatch", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1:SelfSubjectAccessReviewSpec": { "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { "nonResourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:NonResourceAttributes", "description": "NonResourceAttributes describes information for a non-resource access request" }, "resourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:ResourceAttributes", "description": "ResourceAuthorizationAttributes describes information for a resource access request" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceAttributes", "resourceAttributes" ] } } }, "kubernetes:authorization.k8s.io/v1:SelfSubjectAccessReviewSpecPatch": { "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { "nonResourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:NonResourceAttributesPatch", "description": "NonResourceAttributes describes information for a non-resource access request" }, "resourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:ResourceAttributesPatch", "description": "ResourceAuthorizationAttributes describes information for a resource access request" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceAttributes", "resourceAttributes" ] } } }, "kubernetes:authorization.k8s.io/v1:SelfSubjectRulesReview": { "description": "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SelfSubjectRulesReviewSpec", "description": "Spec holds information about the request being evaluated." }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectRulesReviewStatus", "description": "Status is filled in by the server and indicates the set of actions a user can perform." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1:SelfSubjectRulesReviewPatch": { "description": "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SelfSubjectRulesReviewSpecPatch", "description": "Spec holds information about the request being evaluated." }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectRulesReviewStatusPatch", "description": "Status is filled in by the server and indicates the set of actions a user can perform." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1:SelfSubjectRulesReviewSpec": { "description": "SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.", "properties": { "namespace": { "type": "string", "description": "Namespace to evaluate rules for. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "namespace" ] } } }, "kubernetes:authorization.k8s.io/v1:SelfSubjectRulesReviewSpecPatch": { "description": "SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.", "properties": { "namespace": { "type": "string", "description": "Namespace to evaluate rules for. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "namespace" ] } } }, "kubernetes:authorization.k8s.io/v1:SubjectAccessReview": { "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectAccessReviewSpec", "description": "Spec holds information about the request being evaluated" }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectAccessReviewStatus", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1:SubjectAccessReviewPatch": { "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectAccessReviewSpecPatch", "description": "Spec holds information about the request being evaluated" }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:SubjectAccessReviewStatusPatch", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1:SubjectAccessReviewSpec": { "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { "extra": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here." }, "groups": { "type": "array", "items": { "type": "string" }, "description": "Groups is the groups you're testing for." }, "nonResourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:NonResourceAttributes", "description": "NonResourceAttributes describes information for a non-resource access request" }, "resourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:ResourceAttributes", "description": "ResourceAuthorizationAttributes describes information for a resource access request" }, "uid": { "type": "string", "description": "UID information about the requesting user." }, "user": { "type": "string", "description": "User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "extra", "groups", "nonResourceAttributes", "resourceAttributes", "uid", "user" ] } } }, "kubernetes:authorization.k8s.io/v1:SubjectAccessReviewSpecPatch": { "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { "extra": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here." }, "groups": { "type": "array", "items": { "type": "string" }, "description": "Groups is the groups you're testing for." }, "nonResourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:NonResourceAttributesPatch", "description": "NonResourceAttributes describes information for a non-resource access request" }, "resourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:ResourceAttributesPatch", "description": "ResourceAuthorizationAttributes describes information for a resource access request" }, "uid": { "type": "string", "description": "UID information about the requesting user." }, "user": { "type": "string", "description": "User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "extra", "groups", "nonResourceAttributes", "resourceAttributes", "uid", "user" ] } } }, "kubernetes:authorization.k8s.io/v1:SubjectAccessReviewStatus": { "description": "SubjectAccessReviewStatus", "properties": { "allowed": { "type": "boolean", "description": "Allowed is required. True if the action would be allowed, false otherwise." }, "denied": { "type": "boolean", "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true." }, "evaluationError": { "type": "string", "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request." }, "reason": { "type": "string", "description": "Reason is optional. It indicates why a request was allowed or denied." } }, "type": "object", "required": [ "allowed" ], "language": { "nodejs": { "requiredOutputs": [ "allowed", "denied", "evaluationError", "reason" ] } } }, "kubernetes:authorization.k8s.io/v1:SubjectAccessReviewStatusPatch": { "description": "SubjectAccessReviewStatus", "properties": { "allowed": { "type": "boolean", "description": "Allowed is required. True if the action would be allowed, false otherwise." }, "denied": { "type": "boolean", "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true." }, "evaluationError": { "type": "string", "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request." }, "reason": { "type": "string", "description": "Reason is optional. It indicates why a request was allowed or denied." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allowed", "denied", "evaluationError", "reason" ] } } }, "kubernetes:authorization.k8s.io/v1:SubjectRulesReviewStatus": { "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", "properties": { "evaluationError": { "type": "string", "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete." }, "incomplete": { "type": "boolean", "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation." }, "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:NonResourceRule" }, "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:ResourceRule" }, "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete." } }, "type": "object", "required": [ "incomplete", "nonResourceRules", "resourceRules" ], "language": { "nodejs": { "requiredOutputs": [ "evaluationError", "incomplete", "nonResourceRules", "resourceRules" ] } } }, "kubernetes:authorization.k8s.io/v1:SubjectRulesReviewStatusPatch": { "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", "properties": { "evaluationError": { "type": "string", "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete." }, "incomplete": { "type": "boolean", "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation." }, "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:NonResourceRulePatch" }, "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1:ResourceRulePatch" }, "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "evaluationError", "incomplete", "nonResourceRules", "resourceRules" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:LocalSubjectAccessReview": { "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewSpec", "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted." }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewStatus", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:LocalSubjectAccessReviewPatch": { "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewSpecPatch", "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted." }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewStatusPatch", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:NonResourceAttributes": { "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", "properties": { "path": { "type": "string", "description": "Path is the URL path of the request" }, "verb": { "type": "string", "description": "Verb is the standard HTTP verb" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "path", "verb" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:NonResourceAttributesPatch": { "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", "properties": { "path": { "type": "string", "description": "Path is the URL path of the request" }, "verb": { "type": "string", "description": "Verb is the standard HTTP verb" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "path", "verb" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:NonResourceRule": { "description": "NonResourceRule holds information that describes a rule for the non-resource", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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. \"*\" means all." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all." } }, "type": "object", "required": [ "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:NonResourceRulePatch": { "description": "NonResourceRule holds information that describes a rule for the non-resource", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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. \"*\" means all." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:ResourceAttributes": { "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { "group": { "type": "string", "description": "Group is the API Group of the Resource. \"*\" means all." }, "name": { "type": "string", "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all." }, "namespace": { "type": "string", "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview" }, "resource": { "type": "string", "description": "Resource is one of the existing resource types. \"*\" means all." }, "subresource": { "type": "string", "description": "Subresource is one of the existing resource types. \"\" means none." }, "verb": { "type": "string", "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all." }, "version": { "type": "string", "description": "Version is the API Version of the Resource. \"*\" means all." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "name", "namespace", "resource", "subresource", "verb", "version" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:ResourceAttributesPatch": { "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { "group": { "type": "string", "description": "Group is the API Group of the Resource. \"*\" means all." }, "name": { "type": "string", "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all." }, "namespace": { "type": "string", "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview" }, "resource": { "type": "string", "description": "Resource is one of the existing resource types. \"*\" means all." }, "subresource": { "type": "string", "description": "Subresource is one of the existing resource types. \"\" means none." }, "verb": { "type": "string", "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all." }, "version": { "type": "string", "description": "Version is the API Version of the Resource. \"*\" means all." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "name", "namespace", "resource", "subresource", "verb", "version" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:ResourceRule": { "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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. \"*\" means all." }, "resourceNames": { "type": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all." }, "resources": { "type": "array", "items": { "type": "string" }, "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all." } }, "type": "object", "required": [ "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "resourceNames", "resources", "verbs" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:ResourceRulePatch": { "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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. \"*\" means all." }, "resourceNames": { "type": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all." }, "resources": { "type": "array", "items": { "type": "string" }, "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "resourceNames", "resources", "verbs" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SelfSubjectAccessReview": { "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SelfSubjectAccessReviewSpec", "description": "Spec holds information about the request being evaluated. user and groups must be empty" }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewStatus", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SelfSubjectAccessReviewPatch": { "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SelfSubjectAccessReviewSpecPatch", "description": "Spec holds information about the request being evaluated. user and groups must be empty" }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewStatusPatch", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SelfSubjectAccessReviewSpec": { "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { "nonResourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:NonResourceAttributes", "description": "NonResourceAttributes describes information for a non-resource access request" }, "resourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:ResourceAttributes", "description": "ResourceAuthorizationAttributes describes information for a resource access request" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceAttributes", "resourceAttributes" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SelfSubjectAccessReviewSpecPatch": { "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { "nonResourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:NonResourceAttributesPatch", "description": "NonResourceAttributes describes information for a non-resource access request" }, "resourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:ResourceAttributesPatch", "description": "ResourceAuthorizationAttributes describes information for a resource access request" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceAttributes", "resourceAttributes" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SelfSubjectRulesReview": { "description": "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SelfSubjectRulesReviewSpec", "description": "Spec holds information about the request being evaluated." }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectRulesReviewStatus", "description": "Status is filled in by the server and indicates the set of actions a user can perform." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SelfSubjectRulesReviewPatch": { "description": "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SelfSubjectRulesReviewSpecPatch", "description": "Spec holds information about the request being evaluated." }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectRulesReviewStatusPatch", "description": "Status is filled in by the server and indicates the set of actions a user can perform." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SelfSubjectRulesReviewSpec": { "properties": { "namespace": { "type": "string", "description": "Namespace to evaluate rules for. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "namespace" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SelfSubjectRulesReviewSpecPatch": { "properties": { "namespace": { "type": "string", "description": "Namespace to evaluate rules for. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "namespace" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReview": { "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewSpec", "description": "Spec holds information about the request being evaluated" }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewStatus", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewPatch": { "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewSpecPatch", "description": "Spec holds information about the request being evaluated" }, "status": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewStatusPatch", "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewSpec": { "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { "extra": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here." }, "group": { "type": "array", "items": { "type": "string" }, "description": "Groups is the groups you're testing for." }, "nonResourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:NonResourceAttributes", "description": "NonResourceAttributes describes information for a non-resource access request" }, "resourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:ResourceAttributes", "description": "ResourceAuthorizationAttributes describes information for a resource access request" }, "uid": { "type": "string", "description": "UID information about the requesting user." }, "user": { "type": "string", "description": "User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "extra", "group", "nonResourceAttributes", "resourceAttributes", "uid", "user" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewSpecPatch": { "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { "extra": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here." }, "group": { "type": "array", "items": { "type": "string" }, "description": "Groups is the groups you're testing for." }, "nonResourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:NonResourceAttributesPatch", "description": "NonResourceAttributes describes information for a non-resource access request" }, "resourceAttributes": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:ResourceAttributesPatch", "description": "ResourceAuthorizationAttributes describes information for a resource access request" }, "uid": { "type": "string", "description": "UID information about the requesting user." }, "user": { "type": "string", "description": "User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "extra", "group", "nonResourceAttributes", "resourceAttributes", "uid", "user" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewStatus": { "description": "SubjectAccessReviewStatus", "properties": { "allowed": { "type": "boolean", "description": "Allowed is required. True if the action would be allowed, false otherwise." }, "denied": { "type": "boolean", "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true." }, "evaluationError": { "type": "string", "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request." }, "reason": { "type": "string", "description": "Reason is optional. It indicates why a request was allowed or denied." } }, "type": "object", "required": [ "allowed" ], "language": { "nodejs": { "requiredOutputs": [ "allowed", "denied", "evaluationError", "reason" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SubjectAccessReviewStatusPatch": { "description": "SubjectAccessReviewStatus", "properties": { "allowed": { "type": "boolean", "description": "Allowed is required. True if the action would be allowed, false otherwise." }, "denied": { "type": "boolean", "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true." }, "evaluationError": { "type": "string", "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request." }, "reason": { "type": "string", "description": "Reason is optional. It indicates why a request was allowed or denied." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allowed", "denied", "evaluationError", "reason" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SubjectRulesReviewStatus": { "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", "properties": { "evaluationError": { "type": "string", "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete." }, "incomplete": { "type": "boolean", "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation." }, "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:NonResourceRule" }, "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:ResourceRule" }, "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete." } }, "type": "object", "required": [ "incomplete", "nonResourceRules", "resourceRules" ], "language": { "nodejs": { "requiredOutputs": [ "evaluationError", "incomplete", "nonResourceRules", "resourceRules" ] } } }, "kubernetes:authorization.k8s.io/v1beta1:SubjectRulesReviewStatusPatch": { "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", "properties": { "evaluationError": { "type": "string", "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete." }, "incomplete": { "type": "boolean", "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation." }, "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:NonResourceRulePatch" }, "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:authorization.k8s.io/v1beta1:ResourceRulePatch" }, "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "evaluationError", "incomplete", "nonResourceRules", "resourceRules" ] } } }, "kubernetes:autoscaling/v1:CrossVersionObjectReference": { "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { "apiVersion": { "type": "string", "description": "apiVersion is the API version of the referent" }, "kind": { "type": "string", "description": "kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "name": { "type": "string", "description": "name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" } }, "type": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name" ] } } }, "kubernetes:autoscaling/v1:CrossVersionObjectReferencePatch": { "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { "apiVersion": { "type": "string", "description": "apiVersion is the API version of the referent" }, "kind": { "type": "string", "description": "kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "name": { "type": "string", "description": "name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name" ] } } }, "kubernetes:autoscaling/v1:HorizontalPodAutoscaler": { "description": "configuration of a horizontal pod autoscaler.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscalerSpec", "description": "spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscalerStatus", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:autoscaling/v1:HorizontalPodAutoscalerList": { "description": "list of horizontal pod autoscaler objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:autoscaling/v1:HorizontalPodAutoscalerPatch": { "description": "configuration of a horizontal pod autoscaler.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscalerSpecPatch", "description": "spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscalerStatusPatch", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:autoscaling/v1:HorizontalPodAutoscalerSpec": { "description": "specification of a horizontal pod autoscaler.", "properties": { "maxReplicas": { "type": "integer", "description": "maxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas." }, "minReplicas": { "type": "integer", "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": { "$ref": "#/types/kubernetes:autoscaling/v1:CrossVersionObjectReference", "description": "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource." }, "targetCPUUtilizationPercentage": { "type": "integer", "description": "targetCPUUtilizationPercentage is the 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": "object", "required": [ "maxReplicas", "scaleTargetRef" ], "language": { "nodejs": { "requiredOutputs": [ "maxReplicas", "minReplicas", "scaleTargetRef", "targetCPUUtilizationPercentage" ] } } }, "kubernetes:autoscaling/v1:HorizontalPodAutoscalerSpecPatch": { "description": "specification of a horizontal pod autoscaler.", "properties": { "maxReplicas": { "type": "integer", "description": "maxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas." }, "minReplicas": { "type": "integer", "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": { "$ref": "#/types/kubernetes:autoscaling/v1:CrossVersionObjectReferencePatch", "description": "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource." }, "targetCPUUtilizationPercentage": { "type": "integer", "description": "targetCPUUtilizationPercentage is the 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": "object", "language": { "nodejs": { "requiredOutputs": [ "maxReplicas", "minReplicas", "scaleTargetRef", "targetCPUUtilizationPercentage" ] } } }, "kubernetes:autoscaling/v1:HorizontalPodAutoscalerStatus": { "description": "current status of a horizontal pod autoscaler", "properties": { "currentCPUUtilizationPercentage": { "type": "integer", "description": "currentCPUUtilizationPercentage is the 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": "integer", "description": "currentReplicas is the current number of replicas of pods managed by this autoscaler." }, "desiredReplicas": { "type": "integer", "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler." }, "lastScaleTime": { "type": "string", "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed." }, "observedGeneration": { "type": "integer", "description": "observedGeneration is the most recent generation observed by this autoscaler." } }, "type": "object", "required": [ "currentReplicas", "desiredReplicas" ], "language": { "nodejs": { "requiredOutputs": [ "currentCPUUtilizationPercentage", "currentReplicas", "desiredReplicas", "lastScaleTime", "observedGeneration" ] } } }, "kubernetes:autoscaling/v1:HorizontalPodAutoscalerStatusPatch": { "description": "current status of a horizontal pod autoscaler", "properties": { "currentCPUUtilizationPercentage": { "type": "integer", "description": "currentCPUUtilizationPercentage is the 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": "integer", "description": "currentReplicas is the current number of replicas of pods managed by this autoscaler." }, "desiredReplicas": { "type": "integer", "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler." }, "lastScaleTime": { "type": "string", "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed." }, "observedGeneration": { "type": "integer", "description": "observedGeneration is the most recent generation observed by this autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "currentCPUUtilizationPercentage", "currentReplicas", "desiredReplicas", "lastScaleTime", "observedGeneration" ] } } }, "kubernetes:autoscaling/v1:Scale": { "description": "Scale represents a scaling request for a resource.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v1:ScaleSpec", "description": "spec defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v1:ScaleStatus", "description": "status is the current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:autoscaling/v1:ScalePatch": { "description": "Scale represents a scaling request for a resource.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v1:ScaleSpecPatch", "description": "spec defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v1:ScaleStatusPatch", "description": "status is the current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:autoscaling/v1:ScaleSpec": { "description": "ScaleSpec describes the attributes of a scale subresource.", "properties": { "replicas": { "type": "integer", "description": "replicas is the desired number of instances for the scaled object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas" ] } } }, "kubernetes:autoscaling/v1:ScaleSpecPatch": { "description": "ScaleSpec describes the attributes of a scale subresource.", "properties": { "replicas": { "type": "integer", "description": "replicas is the desired number of instances for the scaled object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas" ] } } }, "kubernetes:autoscaling/v1:ScaleStatus": { "description": "ScaleStatus represents the current status of a scale subresource.", "properties": { "replicas": { "type": "integer", "description": "replicas is the actual number of observed instances of the scaled object." }, "selector": { "type": "string", "description": "selector is the 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/" } }, "type": "object", "required": [ "replicas" ], "language": { "nodejs": { "requiredOutputs": [ "replicas", "selector" ] } } }, "kubernetes:autoscaling/v1:ScaleStatusPatch": { "description": "ScaleStatus represents the current status of a scale subresource.", "properties": { "replicas": { "type": "integer", "description": "replicas is the actual number of observed instances of the scaled object." }, "selector": { "type": "string", "description": "selector is the 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas", "selector" ] } } }, "kubernetes:autoscaling/v2:ContainerResourceMetricSource": { "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.", "properties": { "container": { "type": "string", "description": "container is the name of the container in the pods of the scaling target" }, "name": { "type": "string", "description": "name is the name of the resource in question." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricTarget", "description": "target specifies the target value for the given metric" } }, "type": "object", "required": [ "container", "name", "target" ], "language": { "nodejs": { "requiredOutputs": [ "container", "name", "target" ] } } }, "kubernetes:autoscaling/v2:ContainerResourceMetricSourcePatch": { "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.", "properties": { "container": { "type": "string", "description": "container is the name of the container in the pods of the scaling target" }, "name": { "type": "string", "description": "name is the name of the resource in question." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricTargetPatch", "description": "target specifies the target value for the given metric" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "container", "name", "target" ] } } }, "kubernetes:autoscaling/v2:ContainerResourceMetricStatus": { "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.", "properties": { "container": { "type": "string", "description": "container is the name of the container in the pods of the scaling target" }, "current": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricValueStatus", "description": "current contains the current value for the given metric" }, "name": { "type": "string", "description": "name is the name of the resource in question." } }, "type": "object", "required": [ "container", "current", "name" ], "language": { "nodejs": { "requiredOutputs": [ "container", "current", "name" ] } } }, "kubernetes:autoscaling/v2:ContainerResourceMetricStatusPatch": { "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.", "properties": { "container": { "type": "string", "description": "container is the name of the container in the pods of the scaling target" }, "current": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricValueStatusPatch", "description": "current contains the current value for the given metric" }, "name": { "type": "string", "description": "name is the name of the resource in question." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "container", "current", "name" ] } } }, "kubernetes:autoscaling/v2:CrossVersionObjectReference": { "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { "apiVersion": { "type": "string", "description": "apiVersion is the API version of the referent" }, "kind": { "type": "string", "description": "kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "name": { "type": "string", "description": "name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" } }, "type": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name" ] } } }, "kubernetes:autoscaling/v2:CrossVersionObjectReferencePatch": { "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { "apiVersion": { "type": "string", "description": "apiVersion is the API version of the referent" }, "kind": { "type": "string", "description": "kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "name": { "type": "string", "description": "name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name" ] } } }, "kubernetes:autoscaling/v2:ExternalMetricSource": { "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).", "properties": { "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricTarget", "description": "target specifies the target value for the given metric" } }, "type": "object", "required": [ "metric", "target" ], "language": { "nodejs": { "requiredOutputs": [ "metric", "target" ] } } }, "kubernetes:autoscaling/v2:ExternalMetricSourcePatch": { "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).", "properties": { "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricTargetPatch", "description": "target specifies the target value for the given metric" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metric", "target" ] } } }, "kubernetes:autoscaling/v2:ExternalMetricStatus": { "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricValueStatus", "description": "current contains the current value for the given metric" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "required": [ "current", "metric" ], "language": { "nodejs": { "requiredOutputs": [ "current", "metric" ] } } }, "kubernetes:autoscaling/v2:ExternalMetricStatusPatch": { "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricValueStatusPatch", "description": "current contains the current value for the given metric" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "current", "metric" ] } } }, "kubernetes:autoscaling/v2:HPAScalingPolicy": { "description": "HPAScalingPolicy is a single policy which must hold true for a specified past interval.", "properties": { "periodSeconds": { "type": "integer", "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": "string", "description": "type is used to specify the scaling policy." }, "value": { "type": "integer", "description": "value contains the amount of change which is permitted by the policy. It must be greater than zero" } }, "type": "object", "required": [ "periodSeconds", "type", "value" ], "language": { "nodejs": { "requiredOutputs": [ "periodSeconds", "type", "value" ] } } }, "kubernetes:autoscaling/v2:HPAScalingPolicyPatch": { "description": "HPAScalingPolicy is a single policy which must hold true for a specified past interval.", "properties": { "periodSeconds": { "type": "integer", "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": "string", "description": "type is used to specify the scaling policy." }, "value": { "type": "integer", "description": "value contains the amount of change which is permitted by the policy. It must be greater than zero" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "periodSeconds", "type", "value" ] } } }, "kubernetes:autoscaling/v2:HPAScalingRules": { "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.", "properties": { "policies": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2:HPAScalingPolicy" }, "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": "string", "description": "selectPolicy is used to specify which policy should be used. If not set, the default value Max is used." }, "stabilizationWindowSeconds": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "policies", "selectPolicy", "stabilizationWindowSeconds" ] } } }, "kubernetes:autoscaling/v2:HPAScalingRulesPatch": { "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.", "properties": { "policies": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2:HPAScalingPolicyPatch" }, "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": "string", "description": "selectPolicy is used to specify which policy should be used. If not set, the default value Max is used." }, "stabilizationWindowSeconds": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "policies", "selectPolicy", "stabilizationWindowSeconds" ] } } }, "kubernetes:autoscaling/v2:HorizontalPodAutoscaler": { "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerSpec", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerStatus", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerBehavior": { "description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).", "properties": { "scaleDown": { "$ref": "#/types/kubernetes:autoscaling/v2:HPAScalingRules", "description": "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)." }, "scaleUp": { "$ref": "#/types/kubernetes:autoscaling/v2:HPAScalingRules", "description": "scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:\n * increase no more than 4 pods per 60 seconds\n * double the number of pods per 60 seconds\nNo stabilization is used." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "scaleDown", "scaleUp" ] } } }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerBehaviorPatch": { "description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).", "properties": { "scaleDown": { "$ref": "#/types/kubernetes:autoscaling/v2:HPAScalingRulesPatch", "description": "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)." }, "scaleUp": { "$ref": "#/types/kubernetes:autoscaling/v2:HPAScalingRulesPatch", "description": "scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:\n * increase no more than 4 pods per 60 seconds\n * double the number of pods per 60 seconds\nNo stabilization is used." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "scaleDown", "scaleUp" ] } } }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerCondition": { "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the last time the condition transitioned from one status to another" }, "message": { "type": "string", "description": "message is a human-readable explanation containing details about the transition" }, "reason": { "type": "string", "description": "reason is the reason for the condition's last transition." }, "status": { "type": "string", "description": "status is the status of the condition (True, False, Unknown)" }, "type": { "type": "string", "description": "type describes the current condition" } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerConditionPatch": { "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the last time the condition transitioned from one status to another" }, "message": { "type": "string", "description": "message is a human-readable explanation containing details about the transition" }, "reason": { "type": "string", "description": "reason is the reason for the condition's last transition." }, "status": { "type": "string", "description": "status is the status of the condition (True, False, Unknown)" }, "type": { "type": "string", "description": "type describes the current condition" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerList": { "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata is the standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerPatch": { "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerSpecPatch", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerStatusPatch", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerSpec": { "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", "properties": { "behavior": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerBehavior", "description": "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used." }, "maxReplicas": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricSpec" }, "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": "integer", "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": { "$ref": "#/types/kubernetes:autoscaling/v2:CrossVersionObjectReference", "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count." } }, "type": "object", "required": [ "maxReplicas", "scaleTargetRef" ], "language": { "nodejs": { "requiredOutputs": [ "behavior", "maxReplicas", "metrics", "minReplicas", "scaleTargetRef" ] } } }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerSpecPatch": { "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", "properties": { "behavior": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerBehaviorPatch", "description": "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used." }, "maxReplicas": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricSpecPatch" }, "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": "integer", "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": { "$ref": "#/types/kubernetes:autoscaling/v2:CrossVersionObjectReferencePatch", "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "behavior", "maxReplicas", "metrics", "minReplicas", "scaleTargetRef" ] } } }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerStatus": { "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerCondition" }, "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricStatus" }, "description": "currentMetrics is the last read state of the metrics used by this autoscaler." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler." }, "desiredReplicas": { "type": "integer", "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler." }, "lastScaleTime": { "type": "string", "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed." }, "observedGeneration": { "type": "integer", "description": "observedGeneration is the most recent generation observed by this autoscaler." } }, "type": "object", "required": [ "desiredReplicas" ], "language": { "nodejs": { "requiredOutputs": [ "conditions", "currentMetrics", "currentReplicas", "desiredReplicas", "lastScaleTime", "observedGeneration" ] } } }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerStatusPatch": { "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerConditionPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricStatusPatch" }, "description": "currentMetrics is the last read state of the metrics used by this autoscaler." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler." }, "desiredReplicas": { "type": "integer", "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler." }, "lastScaleTime": { "type": "string", "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed." }, "observedGeneration": { "type": "integer", "description": "observedGeneration is the most recent generation observed by this autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "currentMetrics", "currentReplicas", "desiredReplicas", "lastScaleTime", "observedGeneration" ] } } }, "kubernetes:autoscaling/v2:MetricIdentifier": { "description": "MetricIdentifier defines the name and optionally selector for a metric", "properties": { "name": { "type": "string", "description": "name is the name of the given metric" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name", "selector" ] } } }, "kubernetes:autoscaling/v2:MetricIdentifierPatch": { "description": "MetricIdentifier defines the name and optionally selector for a metric", "properties": { "name": { "type": "string", "description": "name is the name of the given metric" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "selector" ] } } }, "kubernetes:autoscaling/v2:MetricSpec": { "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2:ContainerResourceMetricSource", "description": "containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of 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. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag." }, "external": { "$ref": "#/types/kubernetes:autoscaling/v2:ExternalMetricSource", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2:ObjectMetricSource", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2:PodsMetricSource", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2:ResourceMetricSource", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2:MetricSpecPatch": { "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2:ContainerResourceMetricSourcePatch", "description": "containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of 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. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag." }, "external": { "$ref": "#/types/kubernetes:autoscaling/v2:ExternalMetricSourcePatch", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2:ObjectMetricSourcePatch", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2:PodsMetricSourcePatch", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2:ResourceMetricSourcePatch", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2:MetricStatus": { "description": "MetricStatus describes the last-read state of a single metric.", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2:ContainerResourceMetricStatus", "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": { "$ref": "#/types/kubernetes:autoscaling/v2:ExternalMetricStatus", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2:ObjectMetricStatus", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2:PodsMetricStatus", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2:ResourceMetricStatus", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2:MetricStatusPatch": { "description": "MetricStatus describes the last-read state of a single metric.", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2:ContainerResourceMetricStatusPatch", "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": { "$ref": "#/types/kubernetes:autoscaling/v2:ExternalMetricStatusPatch", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2:ObjectMetricStatusPatch", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2:PodsMetricStatusPatch", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2:ResourceMetricStatusPatch", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2:MetricTarget": { "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", "properties": { "averageUtilization": { "type": "integer", "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": "string", "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" }, "type": { "type": "string", "description": "type represents whether the metric type is Utilization, Value, or AverageValue" }, "value": { "type": "string", "description": "value is the target value of the metric (as a quantity)." } }, "type": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "averageUtilization", "averageValue", "type", "value" ] } } }, "kubernetes:autoscaling/v2:MetricTargetPatch": { "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", "properties": { "averageUtilization": { "type": "integer", "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": "string", "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" }, "type": { "type": "string", "description": "type represents whether the metric type is Utilization, Value, or AverageValue" }, "value": { "type": "string", "description": "value is the target value of the metric (as a quantity)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "averageUtilization", "averageValue", "type", "value" ] } } }, "kubernetes:autoscaling/v2:MetricValueStatus": { "description": "MetricValueStatus holds the current value for a metric", "properties": { "averageUtilization": { "type": "integer", "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": "string", "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, "value": { "type": "string", "description": "value is the current value of the metric (as a quantity)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "averageUtilization", "averageValue", "value" ] } } }, "kubernetes:autoscaling/v2:MetricValueStatusPatch": { "description": "MetricValueStatus holds the current value for a metric", "properties": { "averageUtilization": { "type": "integer", "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": "string", "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, "value": { "type": "string", "description": "value is the current value of the metric (as a quantity)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "averageUtilization", "averageValue", "value" ] } } }, "kubernetes:autoscaling/v2:ObjectMetricSource": { "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "describedObject": { "$ref": "#/types/kubernetes:autoscaling/v2:CrossVersionObjectReference", "description": "describedObject specifies the descriptions of a object,such as kind,name apiVersion" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricTarget", "description": "target specifies the target value for the given metric" } }, "type": "object", "required": [ "describedObject", "metric", "target" ], "language": { "nodejs": { "requiredOutputs": [ "describedObject", "metric", "target" ] } } }, "kubernetes:autoscaling/v2:ObjectMetricSourcePatch": { "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "describedObject": { "$ref": "#/types/kubernetes:autoscaling/v2:CrossVersionObjectReferencePatch", "description": "describedObject specifies the descriptions of a object,such as kind,name apiVersion" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricTargetPatch", "description": "target specifies the target value for the given metric" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "describedObject", "metric", "target" ] } } }, "kubernetes:autoscaling/v2:ObjectMetricStatus": { "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricValueStatus", "description": "current contains the current value for the given metric" }, "describedObject": { "$ref": "#/types/kubernetes:autoscaling/v2:CrossVersionObjectReference", "description": "DescribedObject specifies the descriptions of a object,such as kind,name apiVersion" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "required": [ "current", "describedObject", "metric" ], "language": { "nodejs": { "requiredOutputs": [ "current", "describedObject", "metric" ] } } }, "kubernetes:autoscaling/v2:ObjectMetricStatusPatch": { "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricValueStatusPatch", "description": "current contains the current value for the given metric" }, "describedObject": { "$ref": "#/types/kubernetes:autoscaling/v2:CrossVersionObjectReferencePatch", "description": "DescribedObject specifies the descriptions of a object,such as kind,name apiVersion" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "current", "describedObject", "metric" ] } } }, "kubernetes:autoscaling/v2:PodsMetricSource": { "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.", "properties": { "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricTarget", "description": "target specifies the target value for the given metric" } }, "type": "object", "required": [ "metric", "target" ], "language": { "nodejs": { "requiredOutputs": [ "metric", "target" ] } } }, "kubernetes:autoscaling/v2:PodsMetricSourcePatch": { "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.", "properties": { "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricTargetPatch", "description": "target specifies the target value for the given metric" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metric", "target" ] } } }, "kubernetes:autoscaling/v2:PodsMetricStatus": { "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricValueStatus", "description": "current contains the current value for the given metric" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "required": [ "current", "metric" ], "language": { "nodejs": { "requiredOutputs": [ "current", "metric" ] } } }, "kubernetes:autoscaling/v2:PodsMetricStatusPatch": { "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricValueStatusPatch", "description": "current contains the current value for the given metric" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "current", "metric" ] } } }, "kubernetes:autoscaling/v2:ResourceMetricSource": { "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.", "properties": { "name": { "type": "string", "description": "name is the name of the resource in question." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricTarget", "description": "target specifies the target value for the given metric" } }, "type": "object", "required": [ "name", "target" ], "language": { "nodejs": { "requiredOutputs": [ "name", "target" ] } } }, "kubernetes:autoscaling/v2:ResourceMetricSourcePatch": { "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.", "properties": { "name": { "type": "string", "description": "name is the name of the resource in question." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricTargetPatch", "description": "target specifies the target value for the given metric" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "target" ] } } }, "kubernetes:autoscaling/v2:ResourceMetricStatus": { "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.", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricValueStatus", "description": "current contains the current value for the given metric" }, "name": { "type": "string", "description": "name is the name of the resource in question." } }, "type": "object", "required": [ "current", "name" ], "language": { "nodejs": { "requiredOutputs": [ "current", "name" ] } } }, "kubernetes:autoscaling/v2:ResourceMetricStatusPatch": { "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.", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2:MetricValueStatusPatch", "description": "current contains the current value for the given metric" }, "name": { "type": "string", "description": "name is the name of the resource in question." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "current", "name" ] } } }, "kubernetes:autoscaling/v2beta1:ContainerResourceMetricSource": { "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.", "properties": { "container": { "type": "string", "description": "container is the name of the container in the pods of the scaling target" }, "name": { "type": "string", "description": "name is the name of the resource in question." }, "targetAverageUtilization": { "type": "integer", "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": "string", "description": "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type." } }, "type": "object", "required": [ "container", "name" ], "language": { "nodejs": { "requiredOutputs": [ "container", "name", "targetAverageUtilization", "targetAverageValue" ] } } }, "kubernetes:autoscaling/v2beta1:ContainerResourceMetricSourcePatch": { "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.", "properties": { "container": { "type": "string", "description": "container is the name of the container in the pods of the scaling target" }, "name": { "type": "string", "description": "name is the name of the resource in question." }, "targetAverageUtilization": { "type": "integer", "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": "string", "description": "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "container", "name", "targetAverageUtilization", "targetAverageValue" ] } } }, "kubernetes:autoscaling/v2beta1:ContainerResourceMetricStatus": { "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.", "properties": { "container": { "type": "string", "description": "container is the name of the container in the pods of the scaling target" }, "currentAverageUtilization": { "type": "integer", "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": "string", "description": "currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification." }, "name": { "type": "string", "description": "name is the name of the resource in question." } }, "type": "object", "required": [ "container", "currentAverageValue", "name" ], "language": { "nodejs": { "requiredOutputs": [ "container", "currentAverageUtilization", "currentAverageValue", "name" ] } } }, "kubernetes:autoscaling/v2beta1:ContainerResourceMetricStatusPatch": { "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.", "properties": { "container": { "type": "string", "description": "container is the name of the container in the pods of the scaling target" }, "currentAverageUtilization": { "type": "integer", "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": "string", "description": "currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification." }, "name": { "type": "string", "description": "name is the name of the resource in question." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "container", "currentAverageUtilization", "currentAverageValue", "name" ] } } }, "kubernetes:autoscaling/v2beta1:CrossVersionObjectReference": { "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { "apiVersion": { "type": "string", "description": "API version of the referent" }, "kind": { "type": "string", "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"" }, "name": { "type": "string", "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names" } }, "type": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name" ] } } }, "kubernetes:autoscaling/v2beta1:CrossVersionObjectReferencePatch": { "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { "apiVersion": { "type": "string", "description": "API version of the referent" }, "kind": { "type": "string", "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"" }, "name": { "type": "string", "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name" ] } } }, "kubernetes:autoscaling/v2beta1:ExternalMetricSource": { "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.", "properties": { "metricName": { "type": "string", "description": "metricName is the name of the metric in question." }, "metricSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "metricSelector is used to identify a specific time series within a given metric." }, "targetAverageValue": { "type": "string", "description": "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue." }, "targetValue": { "type": "string", "description": "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue." } }, "type": "object", "required": [ "metricName" ], "language": { "nodejs": { "requiredOutputs": [ "metricName", "metricSelector", "targetAverageValue", "targetValue" ] } } }, "kubernetes:autoscaling/v2beta1:ExternalMetricSourcePatch": { "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.", "properties": { "metricName": { "type": "string", "description": "metricName is the name of the metric in question." }, "metricSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "metricSelector is used to identify a specific time series within a given metric." }, "targetAverageValue": { "type": "string", "description": "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue." }, "targetValue": { "type": "string", "description": "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metricName", "metricSelector", "targetAverageValue", "targetValue" ] } } }, "kubernetes:autoscaling/v2beta1:ExternalMetricStatus": { "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", "properties": { "currentAverageValue": { "type": "string", "description": "currentAverageValue is the current value of metric averaged over autoscaled pods." }, "currentValue": { "type": "string", "description": "currentValue is the current value of the metric (as a quantity)" }, "metricName": { "type": "string", "description": "metricName is the name of a metric used for autoscaling in metric system." }, "metricSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "metricSelector is used to identify a specific time series within a given metric." } }, "type": "object", "required": [ "currentValue", "metricName" ], "language": { "nodejs": { "requiredOutputs": [ "currentAverageValue", "currentValue", "metricName", "metricSelector" ] } } }, "kubernetes:autoscaling/v2beta1:ExternalMetricStatusPatch": { "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", "properties": { "currentAverageValue": { "type": "string", "description": "currentAverageValue is the current value of metric averaged over autoscaled pods." }, "currentValue": { "type": "string", "description": "currentValue is the current value of the metric (as a quantity)" }, "metricName": { "type": "string", "description": "metricName is the name of a metric used for autoscaling in metric system." }, "metricSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "metricSelector is used to identify a specific time series within a given metric." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "currentAverageValue", "currentValue", "metricName", "metricSelector" ] } } }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscaler": { "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerSpec", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerStatus", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerCondition": { "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the last time the condition transitioned from one status to another" }, "message": { "type": "string", "description": "message is a human-readable explanation containing details about the transition" }, "reason": { "type": "string", "description": "reason is the reason for the condition's last transition." }, "status": { "type": "string", "description": "status is the status of the condition (True, False, Unknown)" }, "type": { "type": "string", "description": "type describes the current condition" } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerConditionPatch": { "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the last time the condition transitioned from one status to another" }, "message": { "type": "string", "description": "message is a human-readable explanation containing details about the transition" }, "reason": { "type": "string", "description": "reason is the reason for the condition's last transition." }, "status": { "type": "string", "description": "status is the status of the condition (True, False, Unknown)" }, "type": { "type": "string", "description": "type describes the current condition" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerList": { "description": "HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata is the standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerPatch": { "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerSpecPatch", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerStatusPatch", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerSpec": { "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", "properties": { "maxReplicas": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:MetricSpec" }, "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": "integer", "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": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:CrossVersionObjectReference", "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count." } }, "type": "object", "required": [ "maxReplicas", "scaleTargetRef" ], "language": { "nodejs": { "requiredOutputs": [ "maxReplicas", "metrics", "minReplicas", "scaleTargetRef" ] } } }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerSpecPatch": { "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", "properties": { "maxReplicas": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:MetricSpecPatch" }, "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": "integer", "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": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:CrossVersionObjectReferencePatch", "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxReplicas", "metrics", "minReplicas", "scaleTargetRef" ] } } }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerStatus": { "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerCondition" }, "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:MetricStatus" }, "description": "currentMetrics is the last read state of the metrics used by this autoscaler." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler." }, "desiredReplicas": { "type": "integer", "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler." }, "lastScaleTime": { "type": "string", "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed." }, "observedGeneration": { "type": "integer", "description": "observedGeneration is the most recent generation observed by this autoscaler." } }, "type": "object", "required": [ "conditions", "currentReplicas", "desiredReplicas" ], "language": { "nodejs": { "requiredOutputs": [ "conditions", "currentMetrics", "currentReplicas", "desiredReplicas", "lastScaleTime", "observedGeneration" ] } } }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerStatusPatch": { "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerConditionPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:MetricStatusPatch" }, "description": "currentMetrics is the last read state of the metrics used by this autoscaler." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler." }, "desiredReplicas": { "type": "integer", "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler." }, "lastScaleTime": { "type": "string", "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed." }, "observedGeneration": { "type": "integer", "description": "observedGeneration is the most recent generation observed by this autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "currentMetrics", "currentReplicas", "desiredReplicas", "lastScaleTime", "observedGeneration" ] } } }, "kubernetes:autoscaling/v2beta1:MetricSpec": { "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ContainerResourceMetricSource", "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of 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. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag." }, "external": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ExternalMetricSource", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ObjectMetricSource", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:PodsMetricSource", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ResourceMetricSource", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2beta1:MetricSpecPatch": { "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ContainerResourceMetricSourcePatch", "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of 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. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag." }, "external": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ExternalMetricSourcePatch", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ObjectMetricSourcePatch", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:PodsMetricSourcePatch", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ResourceMetricSourcePatch", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2beta1:MetricStatus": { "description": "MetricStatus describes the last-read state of a single metric.", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ContainerResourceMetricStatus", "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ExternalMetricStatus", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ObjectMetricStatus", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:PodsMetricStatus", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ResourceMetricStatus", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2beta1:MetricStatusPatch": { "description": "MetricStatus describes the last-read state of a single metric.", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ContainerResourceMetricStatusPatch", "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ExternalMetricStatusPatch", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ObjectMetricStatusPatch", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:PodsMetricStatusPatch", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:ResourceMetricStatusPatch", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2beta1:ObjectMetricSource": { "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "averageValue": { "type": "string", "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" }, "metricName": { "type": "string", "description": "metricName is the name of the metric in question." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:CrossVersionObjectReference", "description": "target is the described Kubernetes object." }, "targetValue": { "type": "string", "description": "targetValue is the target value of the metric (as a quantity)." } }, "type": "object", "required": [ "metricName", "target", "targetValue" ], "language": { "nodejs": { "requiredOutputs": [ "averageValue", "metricName", "selector", "target", "targetValue" ] } } }, "kubernetes:autoscaling/v2beta1:ObjectMetricSourcePatch": { "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "averageValue": { "type": "string", "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" }, "metricName": { "type": "string", "description": "metricName is the name of the metric in question." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:CrossVersionObjectReferencePatch", "description": "target is the described Kubernetes object." }, "targetValue": { "type": "string", "description": "targetValue is the target value of the metric (as a quantity)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "averageValue", "metricName", "selector", "target", "targetValue" ] } } }, "kubernetes:autoscaling/v2beta1:ObjectMetricStatus": { "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "averageValue": { "type": "string", "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, "currentValue": { "type": "string", "description": "currentValue is the current value of the metric (as a quantity)." }, "metricName": { "type": "string", "description": "metricName is the name of the metric in question." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:CrossVersionObjectReference", "description": "target is the described Kubernetes object." } }, "type": "object", "required": [ "currentValue", "metricName", "target" ], "language": { "nodejs": { "requiredOutputs": [ "averageValue", "currentValue", "metricName", "selector", "target" ] } } }, "kubernetes:autoscaling/v2beta1:ObjectMetricStatusPatch": { "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "averageValue": { "type": "string", "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, "currentValue": { "type": "string", "description": "currentValue is the current value of the metric (as a quantity)." }, "metricName": { "type": "string", "description": "metricName is the name of the metric in question." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:CrossVersionObjectReferencePatch", "description": "target is the described Kubernetes object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "averageValue", "currentValue", "metricName", "selector", "target" ] } } }, "kubernetes:autoscaling/v2beta1:PodsMetricSource": { "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.", "properties": { "metricName": { "type": "string", "description": "metricName is the name of the metric in question" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics." }, "targetAverageValue": { "type": "string", "description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)" } }, "type": "object", "required": [ "metricName", "targetAverageValue" ], "language": { "nodejs": { "requiredOutputs": [ "metricName", "selector", "targetAverageValue" ] } } }, "kubernetes:autoscaling/v2beta1:PodsMetricSourcePatch": { "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.", "properties": { "metricName": { "type": "string", "description": "metricName is the name of the metric in question" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics." }, "targetAverageValue": { "type": "string", "description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metricName", "selector", "targetAverageValue" ] } } }, "kubernetes:autoscaling/v2beta1:PodsMetricStatus": { "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", "properties": { "currentAverageValue": { "type": "string", "description": "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, "metricName": { "type": "string", "description": "metricName is the name of the metric in question" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." } }, "type": "object", "required": [ "currentAverageValue", "metricName" ], "language": { "nodejs": { "requiredOutputs": [ "currentAverageValue", "metricName", "selector" ] } } }, "kubernetes:autoscaling/v2beta1:PodsMetricStatusPatch": { "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", "properties": { "currentAverageValue": { "type": "string", "description": "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, "metricName": { "type": "string", "description": "metricName is the name of the metric in question" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "currentAverageValue", "metricName", "selector" ] } } }, "kubernetes:autoscaling/v2beta1:ResourceMetricSource": { "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.", "properties": { "name": { "type": "string", "description": "name is the name of the resource in question." }, "targetAverageUtilization": { "type": "integer", "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": "string", "description": "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name", "targetAverageUtilization", "targetAverageValue" ] } } }, "kubernetes:autoscaling/v2beta1:ResourceMetricSourcePatch": { "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.", "properties": { "name": { "type": "string", "description": "name is the name of the resource in question." }, "targetAverageUtilization": { "type": "integer", "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": "string", "description": "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "targetAverageUtilization", "targetAverageValue" ] } } }, "kubernetes:autoscaling/v2beta1:ResourceMetricStatus": { "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.", "properties": { "currentAverageUtilization": { "type": "integer", "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": "string", "description": "currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification." }, "name": { "type": "string", "description": "name is the name of the resource in question." } }, "type": "object", "required": [ "currentAverageValue", "name" ], "language": { "nodejs": { "requiredOutputs": [ "currentAverageUtilization", "currentAverageValue", "name" ] } } }, "kubernetes:autoscaling/v2beta1:ResourceMetricStatusPatch": { "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.", "properties": { "currentAverageUtilization": { "type": "integer", "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": "string", "description": "currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification." }, "name": { "type": "string", "description": "name is the name of the resource in question." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "currentAverageUtilization", "currentAverageValue", "name" ] } } }, "kubernetes:autoscaling/v2beta2:ContainerResourceMetricSource": { "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.", "properties": { "container": { "type": "string", "description": "container is the name of the container in the pods of the scaling target" }, "name": { "type": "string", "description": "name is the name of the resource in question." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricTarget", "description": "target specifies the target value for the given metric" } }, "type": "object", "required": [ "container", "name", "target" ], "language": { "nodejs": { "requiredOutputs": [ "container", "name", "target" ] } } }, "kubernetes:autoscaling/v2beta2:ContainerResourceMetricSourcePatch": { "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.", "properties": { "container": { "type": "string", "description": "container is the name of the container in the pods of the scaling target" }, "name": { "type": "string", "description": "name is the name of the resource in question." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricTargetPatch", "description": "target specifies the target value for the given metric" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "container", "name", "target" ] } } }, "kubernetes:autoscaling/v2beta2:ContainerResourceMetricStatus": { "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.", "properties": { "container": { "type": "string", "description": "Container is the name of the container in the pods of the scaling target" }, "current": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricValueStatus", "description": "current contains the current value for the given metric" }, "name": { "type": "string", "description": "Name is the name of the resource in question." } }, "type": "object", "required": [ "container", "current", "name" ], "language": { "nodejs": { "requiredOutputs": [ "container", "current", "name" ] } } }, "kubernetes:autoscaling/v2beta2:ContainerResourceMetricStatusPatch": { "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.", "properties": { "container": { "type": "string", "description": "Container is the name of the container in the pods of the scaling target" }, "current": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricValueStatusPatch", "description": "current contains the current value for the given metric" }, "name": { "type": "string", "description": "Name is the name of the resource in question." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "container", "current", "name" ] } } }, "kubernetes:autoscaling/v2beta2:CrossVersionObjectReference": { "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { "apiVersion": { "type": "string", "description": "API version of the referent" }, "kind": { "type": "string", "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"" }, "name": { "type": "string", "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names" } }, "type": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name" ] } } }, "kubernetes:autoscaling/v2beta2:CrossVersionObjectReferencePatch": { "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { "apiVersion": { "type": "string", "description": "API version of the referent" }, "kind": { "type": "string", "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"" }, "name": { "type": "string", "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name" ] } } }, "kubernetes:autoscaling/v2beta2:ExternalMetricSource": { "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).", "properties": { "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricTarget", "description": "target specifies the target value for the given metric" } }, "type": "object", "required": [ "metric", "target" ], "language": { "nodejs": { "requiredOutputs": [ "metric", "target" ] } } }, "kubernetes:autoscaling/v2beta2:ExternalMetricSourcePatch": { "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).", "properties": { "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricTargetPatch", "description": "target specifies the target value for the given metric" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metric", "target" ] } } }, "kubernetes:autoscaling/v2beta2:ExternalMetricStatus": { "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricValueStatus", "description": "current contains the current value for the given metric" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "required": [ "current", "metric" ], "language": { "nodejs": { "requiredOutputs": [ "current", "metric" ] } } }, "kubernetes:autoscaling/v2beta2:ExternalMetricStatusPatch": { "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricValueStatusPatch", "description": "current contains the current value for the given metric" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "current", "metric" ] } } }, "kubernetes:autoscaling/v2beta2:HPAScalingPolicy": { "description": "HPAScalingPolicy is a single policy which must hold true for a specified past interval.", "properties": { "periodSeconds": { "type": "integer", "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": "string", "description": "Type is used to specify the scaling policy." }, "value": { "type": "integer", "description": "Value contains the amount of change which is permitted by the policy. It must be greater than zero" } }, "type": "object", "required": [ "periodSeconds", "type", "value" ], "language": { "nodejs": { "requiredOutputs": [ "periodSeconds", "type", "value" ] } } }, "kubernetes:autoscaling/v2beta2:HPAScalingPolicyPatch": { "description": "HPAScalingPolicy is a single policy which must hold true for a specified past interval.", "properties": { "periodSeconds": { "type": "integer", "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": "string", "description": "Type is used to specify the scaling policy." }, "value": { "type": "integer", "description": "Value contains the amount of change which is permitted by the policy. It must be greater than zero" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "periodSeconds", "type", "value" ] } } }, "kubernetes:autoscaling/v2beta2:HPAScalingRules": { "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.", "properties": { "policies": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HPAScalingPolicy" }, "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": "string", "description": "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used." }, "stabilizationWindowSeconds": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "policies", "selectPolicy", "stabilizationWindowSeconds" ] } } }, "kubernetes:autoscaling/v2beta2:HPAScalingRulesPatch": { "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.", "properties": { "policies": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HPAScalingPolicyPatch" }, "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": "string", "description": "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used." }, "stabilizationWindowSeconds": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "policies", "selectPolicy", "stabilizationWindowSeconds" ] } } }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscaler": { "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerSpec", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerStatus", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerBehavior": { "description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).", "properties": { "scaleDown": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HPAScalingRules", "description": "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)." }, "scaleUp": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HPAScalingRules", "description": "scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:\n * increase no more than 4 pods per 60 seconds\n * double the number of pods per 60 seconds\nNo stabilization is used." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "scaleDown", "scaleUp" ] } } }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerBehaviorPatch": { "description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).", "properties": { "scaleDown": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HPAScalingRulesPatch", "description": "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)." }, "scaleUp": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HPAScalingRulesPatch", "description": "scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:\n * increase no more than 4 pods per 60 seconds\n * double the number of pods per 60 seconds\nNo stabilization is used." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "scaleDown", "scaleUp" ] } } }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerCondition": { "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the last time the condition transitioned from one status to another" }, "message": { "type": "string", "description": "message is a human-readable explanation containing details about the transition" }, "reason": { "type": "string", "description": "reason is the reason for the condition's last transition." }, "status": { "type": "string", "description": "status is the status of the condition (True, False, Unknown)" }, "type": { "type": "string", "description": "type describes the current condition" } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerConditionPatch": { "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the last time the condition transitioned from one status to another" }, "message": { "type": "string", "description": "message is a human-readable explanation containing details about the transition" }, "reason": { "type": "string", "description": "reason is the reason for the condition's last transition." }, "status": { "type": "string", "description": "status is the status of the condition (True, False, Unknown)" }, "type": { "type": "string", "description": "type describes the current condition" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerList": { "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata is the standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerPatch": { "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerSpecPatch", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerStatusPatch", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerSpec": { "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", "properties": { "behavior": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerBehavior", "description": "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used." }, "maxReplicas": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricSpec" }, "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": "integer", "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": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:CrossVersionObjectReference", "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count." } }, "type": "object", "required": [ "maxReplicas", "scaleTargetRef" ], "language": { "nodejs": { "requiredOutputs": [ "behavior", "maxReplicas", "metrics", "minReplicas", "scaleTargetRef" ] } } }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerSpecPatch": { "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", "properties": { "behavior": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerBehaviorPatch", "description": "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used." }, "maxReplicas": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricSpecPatch" }, "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": "integer", "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": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:CrossVersionObjectReferencePatch", "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "behavior", "maxReplicas", "metrics", "minReplicas", "scaleTargetRef" ] } } }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerStatus": { "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerCondition" }, "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricStatus" }, "description": "currentMetrics is the last read state of the metrics used by this autoscaler." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler." }, "desiredReplicas": { "type": "integer", "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler." }, "lastScaleTime": { "type": "string", "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed." }, "observedGeneration": { "type": "integer", "description": "observedGeneration is the most recent generation observed by this autoscaler." } }, "type": "object", "required": [ "conditions", "currentReplicas", "desiredReplicas" ], "language": { "nodejs": { "requiredOutputs": [ "conditions", "currentMetrics", "currentReplicas", "desiredReplicas", "lastScaleTime", "observedGeneration" ] } } }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerStatusPatch": { "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerConditionPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricStatusPatch" }, "description": "currentMetrics is the last read state of the metrics used by this autoscaler." }, "currentReplicas": { "type": "integer", "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler." }, "desiredReplicas": { "type": "integer", "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler." }, "lastScaleTime": { "type": "string", "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed." }, "observedGeneration": { "type": "integer", "description": "observedGeneration is the most recent generation observed by this autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "currentMetrics", "currentReplicas", "desiredReplicas", "lastScaleTime", "observedGeneration" ] } } }, "kubernetes:autoscaling/v2beta2:MetricIdentifier": { "description": "MetricIdentifier defines the name and optionally selector for a metric", "properties": { "name": { "type": "string", "description": "name is the name of the given metric" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name", "selector" ] } } }, "kubernetes:autoscaling/v2beta2:MetricIdentifierPatch": { "description": "MetricIdentifier defines the name and optionally selector for a metric", "properties": { "name": { "type": "string", "description": "name is the name of the given metric" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "selector" ] } } }, "kubernetes:autoscaling/v2beta2:MetricSpec": { "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ContainerResourceMetricSource", "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of 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. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag." }, "external": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ExternalMetricSource", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ObjectMetricSource", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:PodsMetricSource", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ResourceMetricSource", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2beta2:MetricSpecPatch": { "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ContainerResourceMetricSourcePatch", "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of 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. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag." }, "external": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ExternalMetricSourcePatch", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ObjectMetricSourcePatch", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:PodsMetricSourcePatch", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ResourceMetricSourcePatch", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2beta2:MetricStatus": { "description": "MetricStatus describes the last-read state of a single metric.", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ContainerResourceMetricStatus", "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ExternalMetricStatus", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ObjectMetricStatus", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:PodsMetricStatus", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ResourceMetricStatus", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2beta2:MetricStatusPatch": { "description": "MetricStatus describes the last-read state of a single metric.", "properties": { "containerResource": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ContainerResourceMetricStatusPatch", "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ExternalMetricStatusPatch", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ObjectMetricStatusPatch", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:PodsMetricStatusPatch", "description": "pods refers to 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": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:ResourceMetricStatusPatch", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "containerResource", "external", "object", "pods", "resource", "type" ] } } }, "kubernetes:autoscaling/v2beta2:MetricTarget": { "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", "properties": { "averageUtilization": { "type": "integer", "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": "string", "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" }, "type": { "type": "string", "description": "type represents whether the metric type is Utilization, Value, or AverageValue" }, "value": { "type": "string", "description": "value is the target value of the metric (as a quantity)." } }, "type": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "averageUtilization", "averageValue", "type", "value" ] } } }, "kubernetes:autoscaling/v2beta2:MetricTargetPatch": { "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", "properties": { "averageUtilization": { "type": "integer", "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": "string", "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" }, "type": { "type": "string", "description": "type represents whether the metric type is Utilization, Value, or AverageValue" }, "value": { "type": "string", "description": "value is the target value of the metric (as a quantity)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "averageUtilization", "averageValue", "type", "value" ] } } }, "kubernetes:autoscaling/v2beta2:MetricValueStatus": { "description": "MetricValueStatus holds the current value for a metric", "properties": { "averageUtilization": { "type": "integer", "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": "string", "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, "value": { "type": "string", "description": "value is the current value of the metric (as a quantity)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "averageUtilization", "averageValue", "value" ] } } }, "kubernetes:autoscaling/v2beta2:MetricValueStatusPatch": { "description": "MetricValueStatus holds the current value for a metric", "properties": { "averageUtilization": { "type": "integer", "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": "string", "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, "value": { "type": "string", "description": "value is the current value of the metric (as a quantity)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "averageUtilization", "averageValue", "value" ] } } }, "kubernetes:autoscaling/v2beta2:ObjectMetricSource": { "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "describedObject": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:CrossVersionObjectReference" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricTarget", "description": "target specifies the target value for the given metric" } }, "type": "object", "required": [ "describedObject", "metric", "target" ], "language": { "nodejs": { "requiredOutputs": [ "describedObject", "metric", "target" ] } } }, "kubernetes:autoscaling/v2beta2:ObjectMetricSourcePatch": { "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "describedObject": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:CrossVersionObjectReferencePatch" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricTargetPatch", "description": "target specifies the target value for the given metric" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "describedObject", "metric", "target" ] } } }, "kubernetes:autoscaling/v2beta2:ObjectMetricStatus": { "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricValueStatus", "description": "current contains the current value for the given metric" }, "describedObject": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:CrossVersionObjectReference" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "required": [ "current", "describedObject", "metric" ], "language": { "nodejs": { "requiredOutputs": [ "current", "describedObject", "metric" ] } } }, "kubernetes:autoscaling/v2beta2:ObjectMetricStatusPatch": { "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricValueStatusPatch", "description": "current contains the current value for the given metric" }, "describedObject": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:CrossVersionObjectReferencePatch" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "current", "describedObject", "metric" ] } } }, "kubernetes:autoscaling/v2beta2:PodsMetricSource": { "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.", "properties": { "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricTarget", "description": "target specifies the target value for the given metric" } }, "type": "object", "required": [ "metric", "target" ], "language": { "nodejs": { "requiredOutputs": [ "metric", "target" ] } } }, "kubernetes:autoscaling/v2beta2:PodsMetricSourcePatch": { "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.", "properties": { "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricTargetPatch", "description": "target specifies the target value for the given metric" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metric", "target" ] } } }, "kubernetes:autoscaling/v2beta2:PodsMetricStatus": { "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricValueStatus", "description": "current contains the current value for the given metric" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifier", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "required": [ "current", "metric" ], "language": { "nodejs": { "requiredOutputs": [ "current", "metric" ] } } }, "kubernetes:autoscaling/v2beta2:PodsMetricStatusPatch": { "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricValueStatusPatch", "description": "current contains the current value for the given metric" }, "metric": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricIdentifierPatch", "description": "metric identifies the target metric by name and selector" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "current", "metric" ] } } }, "kubernetes:autoscaling/v2beta2:ResourceMetricSource": { "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.", "properties": { "name": { "type": "string", "description": "name is the name of the resource in question." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricTarget", "description": "target specifies the target value for the given metric" } }, "type": "object", "required": [ "name", "target" ], "language": { "nodejs": { "requiredOutputs": [ "name", "target" ] } } }, "kubernetes:autoscaling/v2beta2:ResourceMetricSourcePatch": { "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.", "properties": { "name": { "type": "string", "description": "name is the name of the resource in question." }, "target": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricTargetPatch", "description": "target specifies the target value for the given metric" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "target" ] } } }, "kubernetes:autoscaling/v2beta2:ResourceMetricStatus": { "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.", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricValueStatus", "description": "current contains the current value for the given metric" }, "name": { "type": "string", "description": "Name is the name of the resource in question." } }, "type": "object", "required": [ "current", "name" ], "language": { "nodejs": { "requiredOutputs": [ "current", "name" ] } } }, "kubernetes:autoscaling/v2beta2:ResourceMetricStatusPatch": { "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.", "properties": { "current": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:MetricValueStatusPatch", "description": "current contains the current value for the given metric" }, "name": { "type": "string", "description": "Name is the name of the resource in question." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "current", "name" ] } } }, "kubernetes:batch/v1:CronJob": { "description": "CronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:CronJobSpec", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1:CronJobStatus", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:batch/v1:CronJobList": { "description": "CronJobList is a collection of cron jobs.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:CronJob" }, "description": "items is the list of CronJobs." }, "kind": { "type": "string", "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", "const": "CronJobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:batch/v1:CronJobPatch": { "description": "CronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:CronJobSpecPatch", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1:CronJobStatusPatch", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:batch/v1:CronJobSpec": { "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "properties": { "concurrencyPolicy": { "type": "string", "description": "Specifies how to treat concurrent executions of a Job. Valid values are:\n\n- \"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": "integer", "description": "The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1." }, "jobTemplate": { "$ref": "#/types/kubernetes:batch/v1:JobTemplateSpec", "description": "Specifies the job that will be created when executing a CronJob." }, "schedule": { "type": "string", "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron." }, "startingDeadlineSeconds": { "type": "integer", "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": "integer", "description": "The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3." }, "suspend": { "type": "boolean", "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false." }, "timeZone": { "type": "string", "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" } }, "type": "object", "required": [ "jobTemplate", "schedule" ], "language": { "nodejs": { "requiredOutputs": [ "concurrencyPolicy", "failedJobsHistoryLimit", "jobTemplate", "schedule", "startingDeadlineSeconds", "successfulJobsHistoryLimit", "suspend", "timeZone" ] } } }, "kubernetes:batch/v1:CronJobSpecPatch": { "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "properties": { "concurrencyPolicy": { "type": "string", "description": "Specifies how to treat concurrent executions of a Job. Valid values are:\n\n- \"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": "integer", "description": "The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1." }, "jobTemplate": { "$ref": "#/types/kubernetes:batch/v1:JobTemplateSpecPatch", "description": "Specifies the job that will be created when executing a CronJob." }, "schedule": { "type": "string", "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron." }, "startingDeadlineSeconds": { "type": "integer", "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": "integer", "description": "The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3." }, "suspend": { "type": "boolean", "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false." }, "timeZone": { "type": "string", "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" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "concurrencyPolicy", "failedJobsHistoryLimit", "jobTemplate", "schedule", "startingDeadlineSeconds", "successfulJobsHistoryLimit", "suspend", "timeZone" ] } } }, "kubernetes:batch/v1:CronJobStatus": { "description": "CronJobStatus represents the current state of a cron job.", "properties": { "active": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReference" }, "description": "A list of pointers to currently running jobs." }, "lastScheduleTime": { "type": "string", "description": "Information when was the last time the job was successfully scheduled." }, "lastSuccessfulTime": { "type": "string", "description": "Information when was the last time the job successfully completed." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "active", "lastScheduleTime", "lastSuccessfulTime" ] } } }, "kubernetes:batch/v1:CronJobStatusPatch": { "description": "CronJobStatus represents the current state of a cron job.", "properties": { "active": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch" }, "description": "A list of pointers to currently running jobs." }, "lastScheduleTime": { "type": "string", "description": "Information when was the last time the job was successfully scheduled." }, "lastSuccessfulTime": { "type": "string", "description": "Information when was the last time the job successfully completed." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "active", "lastScheduleTime", "lastSuccessfulTime" ] } } }, "kubernetes:batch/v1:Job": { "description": "Job represents the configuration of a single job.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Job's '.status.startTime' is set, which indicates that the Job has started running.\n2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set\n to 'True'.\n3. The Job's '.status.conditions' do not have a status of type 'Failed', with a\n\t'status' set to 'True'. If this condition is set, we should fail the Job immediately.\n\nIf the Job has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.\n\nBy default, if a resource failed to become ready in a previous update, \nPulumi will continue to wait for readiness on the next update. If you would prefer\nto schedule a replacement for an unready resource on the next update, you can add the\n\"pulumi.com/replaceUnready\": \"true\" annotation to the resource definition.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "Job" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpec", "description": "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1:JobStatus", "description": "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:batch/v1:JobCondition": { "description": "JobCondition describes current state of a job.", "properties": { "lastProbeTime": { "type": "string", "description": "Last time the condition was checked." }, "lastTransitionTime": { "type": "string", "description": "Last time the condition transit from one status to another." }, "message": { "type": "string", "description": "Human readable message indicating details about last transition." }, "reason": { "type": "string", "description": "(brief) reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of job condition, Complete or Failed." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastProbeTime", "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:batch/v1:JobConditionPatch": { "description": "JobCondition describes current state of a job.", "properties": { "lastProbeTime": { "type": "string", "description": "Last time the condition was checked." }, "lastTransitionTime": { "type": "string", "description": "Last time the condition transit from one status to another." }, "message": { "type": "string", "description": "Human readable message indicating details about last transition." }, "reason": { "type": "string", "description": "(brief) reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of job condition, Complete or Failed." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastProbeTime", "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:batch/v1:JobList": { "description": "JobList is a collection of jobs.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:Job" }, "description": "items is the list of Jobs." }, "kind": { "type": "string", "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", "const": "JobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:batch/v1:JobPatch": { "description": "Job represents the configuration of a single job.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Job's '.status.startTime' is set, which indicates that the Job has started running.\n2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set\n to 'True'.\n3. The Job's '.status.conditions' do not have a status of type 'Failed', with a\n\t'status' set to 'True'. If this condition is set, we should fail the Job immediately.\n\nIf the Job has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.\n\nBy default, if a resource failed to become ready in a previous update, \nPulumi will continue to wait for readiness on the next update. If you would prefer\nto schedule a replacement for an unready resource on the next update, you can add the\n\"pulumi.com/replaceUnready\": \"true\" annotation to the resource definition.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "Job" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpecPatch", "description": "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1:JobStatusPatch", "description": "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:batch/v1:JobSpec": { "description": "JobSpec describes how the job execution will look like.", "properties": { "activeDeadlineSeconds": { "type": "integer", "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": "integer", "description": "Specifies the number of retries before marking this job failed. Defaults to 6" }, "backoffLimitPerIndex": { "type": "integer", "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default)." }, "completionMode": { "type": "string", "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": "integer", "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to null 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/" }, "managedBy": { "type": "string", "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters.\n\nThis field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default)." }, "manualSelector": { "type": "boolean", "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" }, "maxFailedIndexes": { "type": "integer", "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default)." }, "parallelism": { "type": "integer", "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": { "$ref": "#/types/kubernetes:batch/v1:PodFailurePolicy", "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." }, "podReplacementPolicy": { "type": "string", "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "successPolicy": { "$ref": "#/types/kubernetes:batch/v1:SuccessPolicy", "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is alpha-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (disabled by default)." }, "suspend": { "type": "boolean", "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": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are \"Never\" or \"OnFailure\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/" }, "ttlSecondsAfterFinished": { "type": "integer", "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": "object", "required": [ "template" ], "language": { "nodejs": { "requiredOutputs": [ "activeDeadlineSeconds", "backoffLimit", "backoffLimitPerIndex", "completionMode", "completions", "managedBy", "manualSelector", "maxFailedIndexes", "parallelism", "podFailurePolicy", "podReplacementPolicy", "selector", "successPolicy", "suspend", "template", "ttlSecondsAfterFinished" ] } } }, "kubernetes:batch/v1:JobSpecPatch": { "description": "JobSpec describes how the job execution will look like.", "properties": { "activeDeadlineSeconds": { "type": "integer", "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": "integer", "description": "Specifies the number of retries before marking this job failed. Defaults to 6" }, "backoffLimitPerIndex": { "type": "integer", "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default)." }, "completionMode": { "type": "string", "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": "integer", "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to null 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/" }, "managedBy": { "type": "string", "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters.\n\nThis field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default)." }, "manualSelector": { "type": "boolean", "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" }, "maxFailedIndexes": { "type": "integer", "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default)." }, "parallelism": { "type": "integer", "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": { "$ref": "#/types/kubernetes:batch/v1:PodFailurePolicyPatch", "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." }, "podReplacementPolicy": { "type": "string", "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "successPolicy": { "$ref": "#/types/kubernetes:batch/v1:SuccessPolicyPatch", "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is alpha-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (disabled by default)." }, "suspend": { "type": "boolean", "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": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are \"Never\" or \"OnFailure\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/" }, "ttlSecondsAfterFinished": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "activeDeadlineSeconds", "backoffLimit", "backoffLimitPerIndex", "completionMode", "completions", "managedBy", "manualSelector", "maxFailedIndexes", "parallelism", "podFailurePolicy", "podReplacementPolicy", "selector", "successPolicy", "suspend", "template", "ttlSecondsAfterFinished" ] } } }, "kubernetes:batch/v1:JobStatus": { "description": "JobStatus represents the current state of a Job.", "properties": { "active": { "type": "integer", "description": "The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs." }, "completedIndexes": { "type": "string", "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": "string", "description": "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:JobCondition" }, "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.\n\nA job is considered finished when it is in a terminal condition, either \"Complete\" or \"Failed\". A Job cannot have both the \"Complete\" and \"Failed\" conditions. Additionally, it cannot be in the \"Complete\" and \"FailureTarget\" conditions. The \"Complete\", \"Failed\" and \"FailureTarget\" conditions cannot be disabled.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/" }, "failed": { "type": "integer", "description": "The number of pods which reached phase Failed. The value increases monotonically." }, "failedIndexes": { "type": "string", "description": "FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept 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 failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". The set of failed indexes cannot overlap with the set of completed indexes.\n\nThis field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default)." }, "ready": { "type": "integer", "description": "The number of pods which have a Ready condition." }, "startTime": { "type": "string", "description": "Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.\n\nOnce set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished." }, "succeeded": { "type": "integer", "description": "The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs." }, "terminating": { "type": "integer", "description": "The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).\n\nThis field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default)." }, "uncountedTerminatedPods": { "$ref": "#/types/kubernetes:batch/v1:UncountedTerminatedPods", "description": "uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.\n\nThe job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:\n\n1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding\n counter.\n\nOld jobs might not be tracked using this field, in which case the field remains null. The structure is empty for finished jobs." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "active", "completedIndexes", "completionTime", "conditions", "failed", "failedIndexes", "ready", "startTime", "succeeded", "terminating", "uncountedTerminatedPods" ] } } }, "kubernetes:batch/v1:JobStatusPatch": { "description": "JobStatus represents the current state of a Job.", "properties": { "active": { "type": "integer", "description": "The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs." }, "completedIndexes": { "type": "string", "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": "string", "description": "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:JobConditionPatch" }, "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.\n\nA job is considered finished when it is in a terminal condition, either \"Complete\" or \"Failed\". A Job cannot have both the \"Complete\" and \"Failed\" conditions. Additionally, it cannot be in the \"Complete\" and \"FailureTarget\" conditions. The \"Complete\", \"Failed\" and \"FailureTarget\" conditions cannot be disabled.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/" }, "failed": { "type": "integer", "description": "The number of pods which reached phase Failed. The value increases monotonically." }, "failedIndexes": { "type": "string", "description": "FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept 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 failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". The set of failed indexes cannot overlap with the set of completed indexes.\n\nThis field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default)." }, "ready": { "type": "integer", "description": "The number of pods which have a Ready condition." }, "startTime": { "type": "string", "description": "Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.\n\nOnce set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished." }, "succeeded": { "type": "integer", "description": "The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs." }, "terminating": { "type": "integer", "description": "The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).\n\nThis field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default)." }, "uncountedTerminatedPods": { "$ref": "#/types/kubernetes:batch/v1:UncountedTerminatedPodsPatch", "description": "uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.\n\nThe job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:\n\n1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding\n counter.\n\nOld jobs might not be tracked using this field, in which case the field remains null. The structure is empty for finished jobs." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "active", "completedIndexes", "completionTime", "conditions", "failed", "failedIndexes", "ready", "startTime", "succeeded", "terminating", "uncountedTerminatedPods" ] } } }, "kubernetes:batch/v1:JobTemplateSpec": { "description": "JobTemplateSpec describes the data a Job should have when created from a template", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpec", "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:batch/v1:JobTemplateSpecPatch": { "description": "JobTemplateSpec describes the data a Job should have when created from a template", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpecPatch", "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:batch/v1:PodFailurePolicy": { "description": "PodFailurePolicy describes how failed pods influence the backoffLimit.", "properties": { "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:PodFailurePolicyRule" }, "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": "object", "required": [ "rules" ], "language": { "nodejs": { "requiredOutputs": [ "rules" ] } } }, "kubernetes:batch/v1:PodFailurePolicyOnExitCodesRequirement": { "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.", "properties": { "containerName": { "type": "string", "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": "string", "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:\n\n- 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": "array", "items": { "type": "integer" }, "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": "object", "required": [ "operator", "values" ], "language": { "nodejs": { "requiredOutputs": [ "containerName", "operator", "values" ] } } }, "kubernetes:batch/v1:PodFailurePolicyOnExitCodesRequirementPatch": { "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.", "properties": { "containerName": { "type": "string", "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": "string", "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:\n\n- 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": "array", "items": { "type": "integer" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "containerName", "operator", "values" ] } } }, "kubernetes:batch/v1:PodFailurePolicyOnPodConditionsPattern": { "description": "PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.", "properties": { "status": { "type": "string", "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": "string", "description": "Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "status", "type" ] } } }, "kubernetes:batch/v1:PodFailurePolicyOnPodConditionsPatternPatch": { "description": "PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.", "properties": { "status": { "type": "string", "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": "string", "description": "Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "status", "type" ] } } }, "kubernetes:batch/v1:PodFailurePolicyPatch": { "description": "PodFailurePolicy describes how failed pods influence the backoffLimit.", "properties": { "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:PodFailurePolicyRulePatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "rules" ] } } }, "kubernetes:batch/v1:PodFailurePolicyRule": { "description": "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.", "properties": { "action": { "type": "string", "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n This value is beta-level. It can be used when the\n `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).\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": { "$ref": "#/types/kubernetes:batch/v1:PodFailurePolicyOnExitCodesRequirement", "description": "Represents the requirement on the container exit codes." }, "onPodConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:PodFailurePolicyOnPodConditionsPattern" }, "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": "object", "required": [ "action" ], "language": { "nodejs": { "requiredOutputs": [ "action", "onExitCodes", "onPodConditions" ] } } }, "kubernetes:batch/v1:PodFailurePolicyRulePatch": { "description": "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.", "properties": { "action": { "type": "string", "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n This value is beta-level. It can be used when the\n `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).\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": { "$ref": "#/types/kubernetes:batch/v1:PodFailurePolicyOnExitCodesRequirementPatch", "description": "Represents the requirement on the container exit codes." }, "onPodConditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:PodFailurePolicyOnPodConditionsPatternPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "action", "onExitCodes", "onPodConditions" ] } } }, "kubernetes:batch/v1:SuccessPolicy": { "description": "SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.", "properties": { "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:SuccessPolicyRule" }, "description": "rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SucceededCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed." } }, "type": "object", "required": [ "rules" ], "language": { "nodejs": { "requiredOutputs": [ "rules" ] } } }, "kubernetes:batch/v1:SuccessPolicyPatch": { "description": "SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.", "properties": { "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:SuccessPolicyRulePatch" }, "description": "rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SucceededCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rules" ] } } }, "kubernetes:batch/v1:SuccessPolicyRule": { "description": "SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the \"succeededIndexes\" or \"succeededCount\" specified.", "properties": { "succeededCount": { "type": "integer", "description": "succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is \"1-4\", succeededCount is \"3\", and completed indexes are \"1\", \"3\", and \"5\", the Job isn't declared as succeeded because only \"1\" and \"3\" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer." }, "succeededIndexes": { "type": "string", "description": "succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to \".spec.completions-1\" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in 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\". When this field is null, this field doesn't default to any value and is never evaluated at any time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "succeededCount", "succeededIndexes" ] } } }, "kubernetes:batch/v1:SuccessPolicyRulePatch": { "description": "SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the \"succeededIndexes\" or \"succeededCount\" specified.", "properties": { "succeededCount": { "type": "integer", "description": "succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is \"1-4\", succeededCount is \"3\", and completed indexes are \"1\", \"3\", and \"5\", the Job isn't declared as succeeded because only \"1\" and \"3\" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer." }, "succeededIndexes": { "type": "string", "description": "succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to \".spec.completions-1\" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in 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\". When this field is null, this field doesn't default to any value and is never evaluated at any time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "succeededCount", "succeededIndexes" ] } } }, "kubernetes:batch/v1:UncountedTerminatedPods": { "description": "UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.", "properties": { "failed": { "type": "array", "items": { "type": "string" }, "description": "failed holds UIDs of failed Pods." }, "succeeded": { "type": "array", "items": { "type": "string" }, "description": "succeeded holds UIDs of succeeded Pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "failed", "succeeded" ] } } }, "kubernetes:batch/v1:UncountedTerminatedPodsPatch": { "description": "UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.", "properties": { "failed": { "type": "array", "items": { "type": "string" }, "description": "failed holds UIDs of failed Pods." }, "succeeded": { "type": "array", "items": { "type": "string" }, "description": "succeeded holds UIDs of succeeded Pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "failed", "succeeded" ] } } }, "kubernetes:batch/v1beta1:CronJob": { "description": "CronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1beta1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJobSpec", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJobStatus", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:batch/v1beta1:CronJobList": { "description": "CronJobList is a collection of cron jobs.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJob" }, "description": "items is the list of CronJobs." }, "kind": { "type": "string", "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", "const": "CronJobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:batch/v1beta1:CronJobPatch": { "description": "CronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1beta1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJobSpecPatch", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJobStatusPatch", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:batch/v1beta1:CronJobSpec": { "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "properties": { "concurrencyPolicy": { "type": "string", "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": "integer", "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": { "$ref": "#/types/kubernetes:batch/v1beta1:JobTemplateSpec", "description": "Specifies the job that will be created when executing a CronJob." }, "schedule": { "type": "string", "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron." }, "startingDeadlineSeconds": { "type": "integer", "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": "integer", "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": "boolean", "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false." } }, "type": "object", "required": [ "jobTemplate", "schedule" ], "language": { "nodejs": { "requiredOutputs": [ "concurrencyPolicy", "failedJobsHistoryLimit", "jobTemplate", "schedule", "startingDeadlineSeconds", "successfulJobsHistoryLimit", "suspend" ] } } }, "kubernetes:batch/v1beta1:CronJobSpecPatch": { "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "properties": { "concurrencyPolicy": { "type": "string", "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": "integer", "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": { "$ref": "#/types/kubernetes:batch/v1beta1:JobTemplateSpecPatch", "description": "Specifies the job that will be created when executing a CronJob." }, "schedule": { "type": "string", "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron." }, "startingDeadlineSeconds": { "type": "integer", "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": "integer", "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": "boolean", "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "concurrencyPolicy", "failedJobsHistoryLimit", "jobTemplate", "schedule", "startingDeadlineSeconds", "successfulJobsHistoryLimit", "suspend" ] } } }, "kubernetes:batch/v1beta1:CronJobStatus": { "description": "CronJobStatus represents the current state of a cron job.", "properties": { "active": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReference" }, "description": "A list of pointers to currently running jobs." }, "lastScheduleTime": { "type": "string", "description": "Information when was the last time the job was successfully scheduled." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "active", "lastScheduleTime" ] } } }, "kubernetes:batch/v1beta1:CronJobStatusPatch": { "description": "CronJobStatus represents the current state of a cron job.", "properties": { "active": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch" }, "description": "A list of pointers to currently running jobs." }, "lastScheduleTime": { "type": "string", "description": "Information when was the last time the job was successfully scheduled." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "active", "lastScheduleTime" ] } } }, "kubernetes:batch/v1beta1:JobTemplateSpec": { "description": "JobTemplateSpec describes the data a Job should have when created from a template", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpec", "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:batch/v1beta1:JobTemplateSpecPatch": { "description": "JobTemplateSpec describes the data a Job should have when created from a template", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpecPatch", "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:batch/v2alpha1:CronJob": { "description": "CronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v2alpha1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJobSpec", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJobStatus", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:batch/v2alpha1:CronJobList": { "description": "CronJobList is a collection of cron jobs.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v2alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJob" }, "description": "items is the list of CronJobs." }, "kind": { "type": "string", "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", "const": "CronJobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:batch/v2alpha1:CronJobPatch": { "description": "CronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v2alpha1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJobSpecPatch", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJobStatusPatch", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:batch/v2alpha1:CronJobSpec": { "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "properties": { "concurrencyPolicy": { "type": "string", "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": "integer", "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified." }, "jobTemplate": { "$ref": "#/types/kubernetes:batch/v2alpha1:JobTemplateSpec", "description": "Specifies the job that will be created when executing a CronJob." }, "schedule": { "type": "string", "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron." }, "startingDeadlineSeconds": { "type": "integer", "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": "integer", "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified." }, "suspend": { "type": "boolean", "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false." } }, "type": "object", "required": [ "jobTemplate", "schedule" ], "language": { "nodejs": { "requiredOutputs": [ "concurrencyPolicy", "failedJobsHistoryLimit", "jobTemplate", "schedule", "startingDeadlineSeconds", "successfulJobsHistoryLimit", "suspend" ] } } }, "kubernetes:batch/v2alpha1:CronJobSpecPatch": { "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "properties": { "concurrencyPolicy": { "type": "string", "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": "integer", "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified." }, "jobTemplate": { "$ref": "#/types/kubernetes:batch/v2alpha1:JobTemplateSpecPatch", "description": "Specifies the job that will be created when executing a CronJob." }, "schedule": { "type": "string", "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron." }, "startingDeadlineSeconds": { "type": "integer", "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": "integer", "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified." }, "suspend": { "type": "boolean", "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "concurrencyPolicy", "failedJobsHistoryLimit", "jobTemplate", "schedule", "startingDeadlineSeconds", "successfulJobsHistoryLimit", "suspend" ] } } }, "kubernetes:batch/v2alpha1:CronJobStatus": { "description": "CronJobStatus represents the current state of a cron job.", "properties": { "active": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReference" }, "description": "A list of pointers to currently running jobs." }, "lastScheduleTime": { "type": "string", "description": "Information when was the last time the job was successfully scheduled." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "active", "lastScheduleTime" ] } } }, "kubernetes:batch/v2alpha1:CronJobStatusPatch": { "description": "CronJobStatus represents the current state of a cron job.", "properties": { "active": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch" }, "description": "A list of pointers to currently running jobs." }, "lastScheduleTime": { "type": "string", "description": "Information when was the last time the job was successfully scheduled." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "active", "lastScheduleTime" ] } } }, "kubernetes:batch/v2alpha1:JobTemplateSpec": { "description": "JobTemplateSpec describes the data a Job should have when created from a template", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpec", "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:batch/v2alpha1:JobTemplateSpecPatch": { "description": "JobTemplateSpec describes the data a Job should have when created from a template", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpecPatch", "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequest": { "description": "CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.\n\nKubelets use this API to obtain:\n 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).\n 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).\n\nThis API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestSpec", "description": "spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users." }, "status": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestStatus", "description": "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequestCondition": { "description": "CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time." }, "lastUpdateTime": { "type": "string", "description": "lastUpdateTime is the time of the last update to this condition" }, "message": { "type": "string", "description": "message contains a human readable message with details about the request state" }, "reason": { "type": "string", "description": "reason indicates a brief reason for the request state" }, "status": { "type": "string", "description": "status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\"." }, "type": { "type": "string", "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": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequestConditionPatch": { "description": "CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time." }, "lastUpdateTime": { "type": "string", "description": "lastUpdateTime is the time of the last update to this condition" }, "message": { "type": "string", "description": "message contains a human readable message with details about the request state" }, "reason": { "type": "string", "description": "reason indicates a brief reason for the request state" }, "status": { "type": "string", "description": "status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\"." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequestList": { "description": "CertificateSigningRequestList is a collection of CertificateSigningRequest objects", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequest" }, "description": "items is a collection of CertificateSigningRequest objects" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequestList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequestPatch": { "description": "CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.\n\nKubelets use this API to obtain:\n 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).\n 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).\n\nThis API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestSpecPatch", "description": "spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users." }, "status": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestStatusPatch", "description": "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequestSpec": { "description": "CertificateSigningRequestSpec contains the certificate request.", "properties": { "expirationSeconds": { "type": "integer", "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": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." }, "groups": { "type": "array", "items": { "type": "string" }, "description": "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." }, "request": { "type": "string", "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": "string", "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": "string", "description": "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." }, "usages": { "type": "array", "items": { "type": "string" }, "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": "string", "description": "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." } }, "type": "object", "required": [ "request", "signerName" ], "language": { "nodejs": { "requiredOutputs": [ "expirationSeconds", "extra", "groups", "request", "signerName", "uid", "usages", "username" ] } } }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequestSpecPatch": { "description": "CertificateSigningRequestSpec contains the certificate request.", "properties": { "expirationSeconds": { "type": "integer", "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": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." }, "groups": { "type": "array", "items": { "type": "string" }, "description": "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." }, "request": { "type": "string", "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": "string", "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": "string", "description": "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." }, "usages": { "type": "array", "items": { "type": "string" }, "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": "string", "description": "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "expirationSeconds", "extra", "groups", "request", "signerName", "uid", "usages", "username" ] } } }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequestStatus": { "description": "CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.", "properties": { "certificate": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestCondition" }, "description": "conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "certificate", "conditions" ] } } }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequestStatusPatch": { "description": "CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.", "properties": { "certificate": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestConditionPatch" }, "description": "conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "certificate", "conditions" ] } } }, "kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundle": { "description": "ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).\n\nClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.\n\nIt can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterTrustBundle" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata contains the object metadata." }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundleSpec", "description": "spec contains the signer (if any) and trust anchors." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundleList": { "description": "ClusterTrustBundleList is a collection of ClusterTrustBundle objects", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundle" }, "description": "items is a collection of ClusterTrustBundle objects" }, "kind": { "type": "string", "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", "const": "ClusterTrustBundleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata contains the list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundlePatch": { "description": "ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).\n\nClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.\n\nIt can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterTrustBundle" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata contains the object metadata." }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundleSpecPatch", "description": "spec contains the signer (if any) and trust anchors." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundleSpec": { "description": "ClusterTrustBundleSpec contains the signer and trust anchors.", "properties": { "signerName": { "type": "string", "description": "signerName indicates the associated signer, if any.\n\nIn order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName= verb=attest.\n\nIf signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name `example.com/foo`, valid ClusterTrustBundle object names include `example.com:foo:abc` and `example.com:foo:v1`.\n\nIf signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix.\n\nList/watch requests for ClusterTrustBundles can filter on this field using a `spec.signerName=NAME` field selector." }, "trustBundle": { "type": "string", "description": "trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.\n\nThe data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers.\n\nUsers of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data." } }, "type": "object", "required": [ "trustBundle" ], "language": { "nodejs": { "requiredOutputs": [ "signerName", "trustBundle" ] } } }, "kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundleSpecPatch": { "description": "ClusterTrustBundleSpec contains the signer and trust anchors.", "properties": { "signerName": { "type": "string", "description": "signerName indicates the associated signer, if any.\n\nIn order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName= verb=attest.\n\nIf signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name `example.com/foo`, valid ClusterTrustBundle object names include `example.com:foo:abc` and `example.com:foo:v1`.\n\nIf signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix.\n\nList/watch requests for ClusterTrustBundles can filter on this field using a `spec.signerName=NAME` field selector." }, "trustBundle": { "type": "string", "description": "trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.\n\nThe data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers.\n\nUsers of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "signerName", "trustBundle" ] } } }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequest": { "description": "Describes a certificate signing request", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestSpec", "description": "The certificate request itself and any additional information." }, "status": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestStatus", "description": "Derived information about the request." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestCondition": { "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time." }, "lastUpdateTime": { "type": "string", "description": "timestamp for the last update to this condition" }, "message": { "type": "string", "description": "human readable message with details about the request state" }, "reason": { "type": "string", "description": "brief reason for the request state" }, "status": { "type": "string", "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": "string", "description": "request approval state, currently Approved or Denied." } }, "type": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestConditionPatch": { "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time." }, "lastUpdateTime": { "type": "string", "description": "timestamp for the last update to this condition" }, "message": { "type": "string", "description": "human readable message with details about the request state" }, "reason": { "type": "string", "description": "brief reason for the request state" }, "status": { "type": "string", "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": "string", "description": "request approval state, currently Approved or Denied." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestList": { "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequest" } }, "kind": { "type": "string", "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", "const": "CertificateSigningRequestList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestPatch": { "description": "Describes a certificate signing request", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestSpecPatch", "description": "The certificate request itself and any additional information." }, "status": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestStatusPatch", "description": "Derived information about the request." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestSpec": { "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.", "properties": { "extra": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Extra information about the requesting user. See user.Info interface for details." }, "groups": { "type": "array", "items": { "type": "string" }, "description": "Group information about the requesting user. See user.Info interface for details." }, "request": { "type": "string", "description": "Base64-encoded PKCS#10 CSR data" }, "signerName": { "type": "string", "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": "string", "description": "UID information about the requesting user. See user.Info interface for details." }, "usages": { "type": "array", "items": { "type": "string" }, "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" }, "username": { "type": "string", "description": "Information about the requesting user. See user.Info interface for details." } }, "type": "object", "required": [ "request" ], "language": { "nodejs": { "requiredOutputs": [ "extra", "groups", "request", "signerName", "uid", "usages", "username" ] } } }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestSpecPatch": { "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.", "properties": { "extra": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Extra information about the requesting user. See user.Info interface for details." }, "groups": { "type": "array", "items": { "type": "string" }, "description": "Group information about the requesting user. See user.Info interface for details." }, "request": { "type": "string", "description": "Base64-encoded PKCS#10 CSR data" }, "signerName": { "type": "string", "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": "string", "description": "UID information about the requesting user. See user.Info interface for details." }, "usages": { "type": "array", "items": { "type": "string" }, "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" }, "username": { "type": "string", "description": "Information about the requesting user. See user.Info interface for details." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "extra", "groups", "request", "signerName", "uid", "usages", "username" ] } } }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestStatus": { "properties": { "certificate": { "type": "string", "description": "If request was approved, the controller will place the issued certificate here." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestCondition" }, "description": "Conditions applied to the request, such as approval or denial." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "certificate", "conditions" ] } } }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestStatusPatch": { "properties": { "certificate": { "type": "string", "description": "If request was approved, the controller will place the issued certificate here." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestConditionPatch" }, "description": "Conditions applied to the request, such as approval or denial." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "certificate", "conditions" ] } } }, "kubernetes:coordination.k8s.io/v1:Lease": { "description": "Lease defines a lease concept.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1:LeaseSpec", "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:coordination.k8s.io/v1:LeaseList": { "description": "LeaseList is a list of Lease objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1:Lease" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "LeaseList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:coordination.k8s.io/v1:LeasePatch": { "description": "Lease defines a lease concept.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1:LeaseSpecPatch", "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:coordination.k8s.io/v1:LeaseSpec": { "description": "LeaseSpec is a specification of a Lease.", "properties": { "acquireTime": { "type": "string", "description": "acquireTime is a time when the current lease was acquired." }, "holderIdentity": { "type": "string", "description": "holderIdentity contains the identity of the holder of a current lease." }, "leaseDurationSeconds": { "type": "integer", "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": "integer", "description": "leaseTransitions is the number of transitions of a lease between holders." }, "renewTime": { "type": "string", "description": "renewTime is a time when the current holder of a lease has last updated the lease." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "acquireTime", "holderIdentity", "leaseDurationSeconds", "leaseTransitions", "renewTime" ] } } }, "kubernetes:coordination.k8s.io/v1:LeaseSpecPatch": { "description": "LeaseSpec is a specification of a Lease.", "properties": { "acquireTime": { "type": "string", "description": "acquireTime is a time when the current lease was acquired." }, "holderIdentity": { "type": "string", "description": "holderIdentity contains the identity of the holder of a current lease." }, "leaseDurationSeconds": { "type": "integer", "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": "integer", "description": "leaseTransitions is the number of transitions of a lease between holders." }, "renewTime": { "type": "string", "description": "renewTime is a time when the current holder of a lease has last updated the lease." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "acquireTime", "holderIdentity", "leaseDurationSeconds", "leaseTransitions", "renewTime" ] } } }, "kubernetes:coordination.k8s.io/v1beta1:Lease": { "description": "Lease defines a lease concept.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1beta1:LeaseSpec", "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:coordination.k8s.io/v1beta1:LeaseList": { "description": "LeaseList is a list of Lease objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1beta1:Lease" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "LeaseList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:coordination.k8s.io/v1beta1:LeasePatch": { "description": "Lease defines a lease concept.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1beta1:LeaseSpecPatch", "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:coordination.k8s.io/v1beta1:LeaseSpec": { "description": "LeaseSpec is a specification of a Lease.", "properties": { "acquireTime": { "type": "string", "description": "acquireTime is a time when the current lease was acquired." }, "holderIdentity": { "type": "string", "description": "holderIdentity contains the identity of the holder of a current lease." }, "leaseDurationSeconds": { "type": "integer", "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": "integer", "description": "leaseTransitions is the number of transitions of a lease between holders." }, "renewTime": { "type": "string", "description": "renewTime is a time when the current holder of a lease has last updated the lease." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "acquireTime", "holderIdentity", "leaseDurationSeconds", "leaseTransitions", "renewTime" ] } } }, "kubernetes:coordination.k8s.io/v1beta1:LeaseSpecPatch": { "description": "LeaseSpec is a specification of a Lease.", "properties": { "acquireTime": { "type": "string", "description": "acquireTime is a time when the current lease was acquired." }, "holderIdentity": { "type": "string", "description": "holderIdentity contains the identity of the holder of a current lease." }, "leaseDurationSeconds": { "type": "integer", "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": "integer", "description": "leaseTransitions is the number of transitions of a lease between holders." }, "renewTime": { "type": "string", "description": "renewTime is a time when the current holder of a lease has last updated the lease." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "acquireTime", "holderIdentity", "leaseDurationSeconds", "leaseTransitions", "renewTime" ] } } }, "kubernetes:core/v1:AWSElasticBlockStoreVolumeSource": { "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.", "properties": { "fsType": { "type": "string", "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": "integer", "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": "boolean", "description": "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" }, "volumeID": { "type": "string", "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": "object", "required": [ "volumeID" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "partition", "readOnly", "volumeID" ] } } }, "kubernetes:core/v1:AWSElasticBlockStoreVolumeSourcePatch": { "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.", "properties": { "fsType": { "type": "string", "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": "integer", "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": "boolean", "description": "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" }, "volumeID": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "partition", "readOnly", "volumeID" ] } } }, "kubernetes:core/v1:Affinity": { "description": "Affinity is a group of affinity scheduling rules.", "properties": { "nodeAffinity": { "$ref": "#/types/kubernetes:core/v1:NodeAffinity", "description": "Describes node affinity scheduling rules for the pod." }, "podAffinity": { "$ref": "#/types/kubernetes:core/v1:PodAffinity", "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." }, "podAntiAffinity": { "$ref": "#/types/kubernetes:core/v1:PodAntiAffinity", "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "nodeAffinity", "podAffinity", "podAntiAffinity" ] } } }, "kubernetes:core/v1:AffinityPatch": { "description": "Affinity is a group of affinity scheduling rules.", "properties": { "nodeAffinity": { "$ref": "#/types/kubernetes:core/v1:NodeAffinityPatch", "description": "Describes node affinity scheduling rules for the pod." }, "podAffinity": { "$ref": "#/types/kubernetes:core/v1:PodAffinityPatch", "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." }, "podAntiAffinity": { "$ref": "#/types/kubernetes:core/v1:PodAntiAffinityPatch", "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "nodeAffinity", "podAffinity", "podAntiAffinity" ] } } }, "kubernetes:core/v1:AppArmorProfile": { "description": "AppArmorProfile defines a pod or container's AppArmor settings.", "properties": { "localhostProfile": { "type": "string", "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\"." }, "type": { "type": "string", "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." } }, "type": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "localhostProfile", "type" ] } } }, "kubernetes:core/v1:AppArmorProfilePatch": { "description": "AppArmorProfile defines a pod or container's AppArmor settings.", "properties": { "localhostProfile": { "type": "string", "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\"." }, "type": { "type": "string", "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "localhostProfile", "type" ] } } }, "kubernetes:core/v1:AttachedVolume": { "description": "AttachedVolume describes a volume attached to a node", "properties": { "devicePath": { "type": "string", "description": "DevicePath represents the device path where the volume should be available" }, "name": { "type": "string", "description": "Name of the attached volume" } }, "type": "object", "required": [ "devicePath", "name" ], "language": { "nodejs": { "requiredOutputs": [ "devicePath", "name" ] } } }, "kubernetes:core/v1:AttachedVolumePatch": { "description": "AttachedVolume describes a volume attached to a node", "properties": { "devicePath": { "type": "string", "description": "DevicePath represents the device path where the volume should be available" }, "name": { "type": "string", "description": "Name of the attached volume" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "devicePath", "name" ] } } }, "kubernetes:core/v1:AzureDiskVolumeSource": { "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", "properties": { "cachingMode": { "type": "string", "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write." }, "diskName": { "type": "string", "description": "diskName is the Name of the data disk in the blob storage" }, "diskURI": { "type": "string", "description": "diskURI is the URI of data disk in the blob storage" }, "fsType": { "type": "string", "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": "string", "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": "boolean", "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." } }, "type": "object", "required": [ "diskName", "diskURI" ], "language": { "nodejs": { "requiredOutputs": [ "cachingMode", "diskName", "diskURI", "fsType", "kind", "readOnly" ] } } }, "kubernetes:core/v1:AzureDiskVolumeSourcePatch": { "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", "properties": { "cachingMode": { "type": "string", "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write." }, "diskName": { "type": "string", "description": "diskName is the Name of the data disk in the blob storage" }, "diskURI": { "type": "string", "description": "diskURI is the URI of data disk in the blob storage" }, "fsType": { "type": "string", "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": "string", "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": "boolean", "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "cachingMode", "diskName", "diskURI", "fsType", "kind", "readOnly" ] } } }, "kubernetes:core/v1:AzureFilePersistentVolumeSource": { "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", "properties": { "readOnly": { "type": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretName": { "type": "string", "description": "secretName is the name of secret that contains Azure Storage Account Name and Key" }, "secretNamespace": { "type": "string", "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": "string", "description": "shareName is the azure Share Name" } }, "type": "object", "required": [ "secretName", "shareName" ], "language": { "nodejs": { "requiredOutputs": [ "readOnly", "secretName", "secretNamespace", "shareName" ] } } }, "kubernetes:core/v1:AzureFilePersistentVolumeSourcePatch": { "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", "properties": { "readOnly": { "type": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretName": { "type": "string", "description": "secretName is the name of secret that contains Azure Storage Account Name and Key" }, "secretNamespace": { "type": "string", "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": "string", "description": "shareName is the azure Share Name" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "readOnly", "secretName", "secretNamespace", "shareName" ] } } }, "kubernetes:core/v1:AzureFileVolumeSource": { "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", "properties": { "readOnly": { "type": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretName": { "type": "string", "description": "secretName is the name of secret that contains Azure Storage Account Name and Key" }, "shareName": { "type": "string", "description": "shareName is the azure share Name" } }, "type": "object", "required": [ "secretName", "shareName" ], "language": { "nodejs": { "requiredOutputs": [ "readOnly", "secretName", "shareName" ] } } }, "kubernetes:core/v1:AzureFileVolumeSourcePatch": { "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", "properties": { "readOnly": { "type": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretName": { "type": "string", "description": "secretName is the name of secret that contains Azure Storage Account Name and Key" }, "shareName": { "type": "string", "description": "shareName is the azure share Name" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "readOnly", "secretName", "shareName" ] } } }, "kubernetes:core/v1:Binding": { "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Binding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "target": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "The target object that you want to bind to the standard object." } }, "type": "object", "required": [ "target" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "target" ] } } }, "kubernetes:core/v1:BindingPatch": { "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Binding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "target": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "The target object that you want to bind to the standard object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "target" ] } } }, "kubernetes:core/v1:CSIPersistentVolumeSource": { "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", "properties": { "controllerExpandSecretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReference", "description": "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "controllerPublishSecretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReference", "description": "controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "driver": { "type": "string", "description": "driver is the name of the driver to use for this volume. Required." }, "fsType": { "type": "string", "description": "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"." }, "nodeExpandSecretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReference", "description": "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "nodePublishSecretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReference", "description": "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "nodeStageSecretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReference", "description": "nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "readOnly": { "type": "boolean", "description": "readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)." }, "volumeAttributes": { "type": "object", "additionalProperties": { "type": "string" }, "description": "volumeAttributes of the volume to publish." }, "volumeHandle": { "type": "string", "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": "object", "required": [ "driver", "volumeHandle" ], "language": { "nodejs": { "requiredOutputs": [ "controllerExpandSecretRef", "controllerPublishSecretRef", "driver", "fsType", "nodeExpandSecretRef", "nodePublishSecretRef", "nodeStageSecretRef", "readOnly", "volumeAttributes", "volumeHandle" ] } } }, "kubernetes:core/v1:CSIPersistentVolumeSourcePatch": { "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", "properties": { "controllerExpandSecretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReferencePatch", "description": "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "controllerPublishSecretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReferencePatch", "description": "controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "driver": { "type": "string", "description": "driver is the name of the driver to use for this volume. Required." }, "fsType": { "type": "string", "description": "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"." }, "nodeExpandSecretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReferencePatch", "description": "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "nodePublishSecretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReferencePatch", "description": "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "nodeStageSecretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReferencePatch", "description": "nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "readOnly": { "type": "boolean", "description": "readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)." }, "volumeAttributes": { "type": "object", "additionalProperties": { "type": "string" }, "description": "volumeAttributes of the volume to publish." }, "volumeHandle": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "controllerExpandSecretRef", "controllerPublishSecretRef", "driver", "fsType", "nodeExpandSecretRef", "nodePublishSecretRef", "nodeStageSecretRef", "readOnly", "volumeAttributes", "volumeHandle" ] } } }, "kubernetes:core/v1:CSIVolumeSource": { "description": "Represents a source location of a volume to mount, managed by an external CSI driver", "properties": { "driver": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference", "description": "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed." }, "readOnly": { "type": "boolean", "description": "readOnly specifies a read-only configuration for the volume. Defaults to false (read/write)." }, "volumeAttributes": { "type": "object", "additionalProperties": { "type": "string" }, "description": "volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values." } }, "type": "object", "required": [ "driver" ], "language": { "nodejs": { "requiredOutputs": [ "driver", "fsType", "nodePublishSecretRef", "readOnly", "volumeAttributes" ] } } }, "kubernetes:core/v1:CSIVolumeSourcePatch": { "description": "Represents a source location of a volume to mount, managed by an external CSI driver", "properties": { "driver": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch", "description": "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed." }, "readOnly": { "type": "boolean", "description": "readOnly specifies a read-only configuration for the volume. Defaults to false (read/write)." }, "volumeAttributes": { "type": "object", "additionalProperties": { "type": "string" }, "description": "volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "driver", "fsType", "nodePublishSecretRef", "readOnly", "volumeAttributes" ] } } }, "kubernetes:core/v1:Capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", "properties": { "add": { "type": "array", "items": { "type": "string" }, "description": "Added capabilities" }, "drop": { "type": "array", "items": { "type": "string" }, "description": "Removed capabilities" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "add", "drop" ] } } }, "kubernetes:core/v1:CapabilitiesPatch": { "description": "Adds and removes POSIX capabilities from running containers.", "properties": { "add": { "type": "array", "items": { "type": "string" }, "description": "Added capabilities" }, "drop": { "type": "array", "items": { "type": "string" }, "description": "Removed capabilities" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "add", "drop" ] } } }, "kubernetes:core/v1:CephFSPersistentVolumeSource": { "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", "properties": { "monitors": { "type": "array", "items": { "type": "string" }, "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": "string", "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" }, "readOnly": { "type": "boolean", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:SecretReference", "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" }, "user": { "type": "string", "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": "object", "required": [ "monitors" ], "language": { "nodejs": { "requiredOutputs": [ "monitors", "path", "readOnly", "secretFile", "secretRef", "user" ] } } }, "kubernetes:core/v1:CephFSPersistentVolumeSourcePatch": { "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", "properties": { "monitors": { "type": "array", "items": { "type": "string" }, "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": "string", "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" }, "readOnly": { "type": "boolean", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:SecretReferencePatch", "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" }, "user": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "monitors", "path", "readOnly", "secretFile", "secretRef", "user" ] } } }, "kubernetes:core/v1:CephFSVolumeSource": { "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", "properties": { "monitors": { "type": "array", "items": { "type": "string" }, "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": "string", "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" }, "readOnly": { "type": "boolean", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference", "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" }, "user": { "type": "string", "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": "object", "required": [ "monitors" ], "language": { "nodejs": { "requiredOutputs": [ "monitors", "path", "readOnly", "secretFile", "secretRef", "user" ] } } }, "kubernetes:core/v1:CephFSVolumeSourcePatch": { "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", "properties": { "monitors": { "type": "array", "items": { "type": "string" }, "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": "string", "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" }, "readOnly": { "type": "boolean", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch", "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" }, "user": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "monitors", "path", "readOnly", "secretFile", "secretRef", "user" ] } } }, "kubernetes:core/v1:CinderPersistentVolumeSource": { "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.", "properties": { "fsType": { "type": "string", "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": "boolean", "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": { "$ref": "#/types/kubernetes:core/v1:SecretReference", "description": "secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack." }, "volumeID": { "type": "string", "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" } }, "type": "object", "required": [ "volumeID" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "readOnly", "secretRef", "volumeID" ] } } }, "kubernetes:core/v1:CinderPersistentVolumeSourcePatch": { "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.", "properties": { "fsType": { "type": "string", "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": "boolean", "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": { "$ref": "#/types/kubernetes:core/v1:SecretReferencePatch", "description": "secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack." }, "volumeID": { "type": "string", "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "readOnly", "secretRef", "volumeID" ] } } }, "kubernetes:core/v1:CinderVolumeSource": { "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.", "properties": { "fsType": { "type": "string", "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": "boolean", "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": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference", "description": "secretRef is optional: points to a secret object containing parameters used to connect to OpenStack." }, "volumeID": { "type": "string", "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" } }, "type": "object", "required": [ "volumeID" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "readOnly", "secretRef", "volumeID" ] } } }, "kubernetes:core/v1:CinderVolumeSourcePatch": { "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.", "properties": { "fsType": { "type": "string", "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": "boolean", "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": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch", "description": "secretRef is optional: points to a secret object containing parameters used to connect to OpenStack." }, "volumeID": { "type": "string", "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "readOnly", "secretRef", "volumeID" ] } } }, "kubernetes:core/v1:ClaimSource": { "description": "ClaimSource describes a reference to a ResourceClaim.\n\nExactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.", "properties": { "resourceClaimName": { "type": "string", "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod." }, "resourceClaimTemplateName": { "type": "string", "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resourceClaimName", "resourceClaimTemplateName" ] } } }, "kubernetes:core/v1:ClaimSourcePatch": { "description": "ClaimSource describes a reference to a ResourceClaim.\n\nExactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.", "properties": { "resourceClaimName": { "type": "string", "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod." }, "resourceClaimTemplateName": { "type": "string", "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resourceClaimName", "resourceClaimTemplateName" ] } } }, "kubernetes:core/v1:ClientIPConfig": { "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", "properties": { "timeoutSeconds": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "timeoutSeconds" ] } } }, "kubernetes:core/v1:ClientIPConfigPatch": { "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", "properties": { "timeoutSeconds": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "timeoutSeconds" ] } } }, "kubernetes:core/v1:ClusterTrustBundleProjection": { "description": "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.", "properties": { "labelSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as \"match nothing\". If set but empty, interpreted as \"match everything\"." }, "name": { "type": "string", "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector." }, "optional": { "type": "boolean", "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles." }, "path": { "type": "string", "description": "Relative path from the volume root to write the bundle." }, "signerName": { "type": "string", "description": "Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated." } }, "type": "object", "required": [ "path" ], "language": { "nodejs": { "requiredOutputs": [ "labelSelector", "name", "optional", "path", "signerName" ] } } }, "kubernetes:core/v1:ClusterTrustBundleProjectionPatch": { "description": "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.", "properties": { "labelSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as \"match nothing\". If set but empty, interpreted as \"match everything\"." }, "name": { "type": "string", "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector." }, "optional": { "type": "boolean", "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles." }, "path": { "type": "string", "description": "Relative path from the volume root to write the bundle." }, "signerName": { "type": "string", "description": "Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "labelSelector", "name", "optional", "path", "signerName" ] } } }, "kubernetes:core/v1:ComponentCondition": { "description": "Information about the condition of a component.", "properties": { "error": { "type": "string", "description": "Condition error code for a component. For example, a health check error code." }, "message": { "type": "string", "description": "Message about the condition for a component. For example, information about a health check." }, "status": { "type": "string", "description": "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\"." }, "type": { "type": "string", "description": "Type of condition for a component. Valid value: \"Healthy\"" } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "error", "message", "status", "type" ] } } }, "kubernetes:core/v1:ComponentConditionPatch": { "description": "Information about the condition of a component.", "properties": { "error": { "type": "string", "description": "Condition error code for a component. For example, a health check error code." }, "message": { "type": "string", "description": "Message about the condition for a component. For example, information about a health check." }, "status": { "type": "string", "description": "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\"." }, "type": { "type": "string", "description": "Type of condition for a component. Valid value: \"Healthy\"" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "error", "message", "status", "type" ] } } }, "kubernetes:core/v1:ComponentStatus": { "description": "ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+", "properties": { "apiVersion": { "type": "string", "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" }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ComponentCondition" }, "description": "List of component conditions observed" }, "kind": { "type": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "conditions", "kind", "metadata" ] } } }, "kubernetes:core/v1:ComponentStatusList": { "description": "Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+", "properties": { "apiVersion": { "type": "string", "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" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ComponentStatus" }, "description": "List of ComponentStatus objects." }, "kind": { "type": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:ComponentStatusPatch": { "description": "ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+", "properties": { "apiVersion": { "type": "string", "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" }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ComponentConditionPatch" }, "description": "List of component conditions observed" }, "kind": { "type": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "conditions", "kind", "metadata" ] } } }, "kubernetes:core/v1:ConfigMap": { "description": "ConfigMap holds configuration data for pods to consume.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "binaryData": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "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": "boolean", "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." }, "kind": { "type": "string", "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", "const": "ConfigMap" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "binaryData", "data", "immutable", "kind", "metadata" ] } } }, "kubernetes:core/v1:ConfigMapEnvSource": { "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.", "properties": { "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "Specify whether the ConfigMap must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "optional" ] } } }, "kubernetes:core/v1:ConfigMapEnvSourcePatch": { "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.", "properties": { "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "Specify whether the ConfigMap must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "optional" ] } } }, "kubernetes:core/v1:ConfigMapKeySelector": { "description": "Selects a key from a ConfigMap.", "properties": { "key": { "type": "string", "description": "The key to select." }, "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "Specify whether the ConfigMap or its key must be defined" } }, "type": "object", "required": [ "key" ], "language": { "nodejs": { "requiredOutputs": [ "key", "name", "optional" ] } } }, "kubernetes:core/v1:ConfigMapKeySelectorPatch": { "description": "Selects a key from a ConfigMap.", "properties": { "key": { "type": "string", "description": "The key to select." }, "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "Specify whether the ConfigMap or its key must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "key", "name", "optional" ] } } }, "kubernetes:core/v1:ConfigMapList": { "description": "ConfigMapList is a resource containing a list of ConfigMap objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ConfigMap" }, "description": "Items is the list of ConfigMaps." }, "kind": { "type": "string", "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", "const": "ConfigMapList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:ConfigMapNodeConfigSource": { "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", "properties": { "kubeletConfigKey": { "type": "string", "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases." }, "name": { "type": "string", "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases." }, "namespace": { "type": "string", "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases." }, "resourceVersion": { "type": "string", "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status." }, "uid": { "type": "string", "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status." } }, "type": "object", "required": [ "kubeletConfigKey", "name", "namespace" ], "language": { "nodejs": { "requiredOutputs": [ "kubeletConfigKey", "name", "namespace", "resourceVersion", "uid" ] } } }, "kubernetes:core/v1:ConfigMapNodeConfigSourcePatch": { "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", "properties": { "kubeletConfigKey": { "type": "string", "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases." }, "name": { "type": "string", "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases." }, "namespace": { "type": "string", "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases." }, "resourceVersion": { "type": "string", "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status." }, "uid": { "type": "string", "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "kubeletConfigKey", "name", "namespace", "resourceVersion", "uid" ] } } }, "kubernetes:core/v1:ConfigMapPatch": { "description": "ConfigMap holds configuration data for pods to consume.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "binaryData": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "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": "boolean", "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." }, "kind": { "type": "string", "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", "const": "ConfigMap" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "binaryData", "data", "immutable", "kind", "metadata" ] } } }, "kubernetes:core/v1:ConfigMapProjection": { "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.", "properties": { "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:KeyToPath" }, "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": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "optional specify whether the ConfigMap or its keys must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "items", "name", "optional" ] } } }, "kubernetes:core/v1:ConfigMapProjectionPatch": { "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.", "properties": { "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:KeyToPathPatch" }, "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": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "optional specify whether the ConfigMap or its keys must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "items", "name", "optional" ] } } }, "kubernetes:core/v1:ConfigMapVolumeSource": { "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.", "properties": { "defaultMode": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:KeyToPath" }, "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": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "optional specify whether the ConfigMap or its keys must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "defaultMode", "items", "name", "optional" ] } } }, "kubernetes:core/v1:ConfigMapVolumeSourcePatch": { "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.", "properties": { "defaultMode": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:KeyToPathPatch" }, "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": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "optional specify whether the ConfigMap or its keys must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "defaultMode", "items", "name", "optional" ] } } }, "kubernetes:core/v1:Container": { "description": "A single application container that you want to run within a pod.", "properties": { "args": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvVar" }, "description": "List of environment variables to set in the container. Cannot be updated." }, "envFrom": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvFromSource" }, "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": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:Lifecycle", "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated." }, "livenessProbe": { "$ref": "#/types/kubernetes:core/v1:Probe", "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "name": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerPort" }, "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": { "$ref": "#/types/kubernetes:core/v1:Probe", "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "resizePolicy": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerResizePolicy" }, "description": "Resources resize policy for the container." }, "resources": { "$ref": "#/types/kubernetes:core/v1:ResourceRequirements", "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" }, "restartPolicy": { "type": "string", "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed." }, "securityContext": { "$ref": "#/types/kubernetes:core/v1:SecurityContext", "description": "SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" }, "startupProbe": { "$ref": "#/types/kubernetes:core/v1:Probe", "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "stdin": { "type": "boolean", "description": "Whether this container should allocate a buffer for 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": "boolean", "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until 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": "string", "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if 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": "string", "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": "boolean", "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." }, "volumeDevices": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeDevice" }, "description": "volumeDevices is the list of block devices to be used by the container." }, "volumeMounts": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeMount" }, "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." }, "workingDir": { "type": "string", "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": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "args", "command", "env", "envFrom", "image", "imagePullPolicy", "lifecycle", "livenessProbe", "name", "ports", "readinessProbe", "resizePolicy", "resources", "restartPolicy", "securityContext", "startupProbe", "stdin", "stdinOnce", "terminationMessagePath", "terminationMessagePolicy", "tty", "volumeDevices", "volumeMounts", "workingDir" ] } } }, "kubernetes:core/v1:ContainerImage": { "description": "Describe a container image", "properties": { "names": { "type": "array", "items": { "type": "string" }, "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": "integer", "description": "The size of the image in bytes." } }, "type": "object", "required": [ "names" ], "language": { "nodejs": { "requiredOutputs": [ "names", "sizeBytes" ] } } }, "kubernetes:core/v1:ContainerImagePatch": { "description": "Describe a container image", "properties": { "names": { "type": "array", "items": { "type": "string" }, "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": "integer", "description": "The size of the image in bytes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "names", "sizeBytes" ] } } }, "kubernetes:core/v1:ContainerPatch": { "description": "A single application container that you want to run within a pod.", "properties": { "args": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvVarPatch" }, "description": "List of environment variables to set in the container. Cannot be updated." }, "envFrom": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvFromSourcePatch" }, "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": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:LifecyclePatch", "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated." }, "livenessProbe": { "$ref": "#/types/kubernetes:core/v1:ProbePatch", "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "name": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerPortPatch" }, "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": { "$ref": "#/types/kubernetes:core/v1:ProbePatch", "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "resizePolicy": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerResizePolicyPatch" }, "description": "Resources resize policy for the container." }, "resources": { "$ref": "#/types/kubernetes:core/v1:ResourceRequirementsPatch", "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" }, "restartPolicy": { "type": "string", "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed." }, "securityContext": { "$ref": "#/types/kubernetes:core/v1:SecurityContextPatch", "description": "SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" }, "startupProbe": { "$ref": "#/types/kubernetes:core/v1:ProbePatch", "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "stdin": { "type": "boolean", "description": "Whether this container should allocate a buffer for 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": "boolean", "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until 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": "string", "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if 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": "string", "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": "boolean", "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." }, "volumeDevices": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeDevicePatch" }, "description": "volumeDevices is the list of block devices to be used by the container." }, "volumeMounts": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeMountPatch" }, "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." }, "workingDir": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "args", "command", "env", "envFrom", "image", "imagePullPolicy", "lifecycle", "livenessProbe", "name", "ports", "readinessProbe", "resizePolicy", "resources", "restartPolicy", "securityContext", "startupProbe", "stdin", "stdinOnce", "terminationMessagePath", "terminationMessagePolicy", "tty", "volumeDevices", "volumeMounts", "workingDir" ] } } }, "kubernetes:core/v1:ContainerPort": { "description": "ContainerPort represents a network port in a single container.", "properties": { "containerPort": { "type": "integer", "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", "language": { "csharp": { "name": "ContainerPortValue" } } }, "hostIP": { "type": "string", "description": "What host IP to bind the external port to." }, "hostPort": { "type": "integer", "description": "Number of port to expose on the host. If specified, 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": "string", "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": "string", "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"." } }, "type": "object", "required": [ "containerPort" ], "language": { "nodejs": { "requiredOutputs": [ "containerPort", "hostIP", "hostPort", "name", "protocol" ] } } }, "kubernetes:core/v1:ContainerPortPatch": { "description": "ContainerPort represents a network port in a single container.", "properties": { "containerPort": { "type": "integer", "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536." }, "hostIP": { "type": "string", "description": "What host IP to bind the external port to." }, "hostPort": { "type": "integer", "description": "Number of port to expose on the host. If specified, 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": "string", "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": "string", "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "containerPort", "hostIP", "hostPort", "name", "protocol" ] } } }, "kubernetes:core/v1:ContainerResizePolicy": { "description": "ContainerResizePolicy represents resource resize policy for the container.", "properties": { "resourceName": { "type": "string", "description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory." }, "restartPolicy": { "type": "string", "description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired." } }, "type": "object", "required": [ "resourceName", "restartPolicy" ], "language": { "nodejs": { "requiredOutputs": [ "resourceName", "restartPolicy" ] } } }, "kubernetes:core/v1:ContainerResizePolicyPatch": { "description": "ContainerResizePolicy represents resource resize policy for the container.", "properties": { "resourceName": { "type": "string", "description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory." }, "restartPolicy": { "type": "string", "description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resourceName", "restartPolicy" ] } } }, "kubernetes:core/v1:ContainerState": { "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.", "properties": { "running": { "$ref": "#/types/kubernetes:core/v1:ContainerStateRunning", "description": "Details about a running container" }, "terminated": { "$ref": "#/types/kubernetes:core/v1:ContainerStateTerminated", "description": "Details about a terminated container" }, "waiting": { "$ref": "#/types/kubernetes:core/v1:ContainerStateWaiting", "description": "Details about a waiting container" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "running", "terminated", "waiting" ] } } }, "kubernetes:core/v1:ContainerStatePatch": { "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.", "properties": { "running": { "$ref": "#/types/kubernetes:core/v1:ContainerStateRunningPatch", "description": "Details about a running container" }, "terminated": { "$ref": "#/types/kubernetes:core/v1:ContainerStateTerminatedPatch", "description": "Details about a terminated container" }, "waiting": { "$ref": "#/types/kubernetes:core/v1:ContainerStateWaitingPatch", "description": "Details about a waiting container" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "running", "terminated", "waiting" ] } } }, "kubernetes:core/v1:ContainerStateRunning": { "description": "ContainerStateRunning is a running state of a container.", "properties": { "startedAt": { "type": "string", "description": "Time at which the container was last (re-)started" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "startedAt" ] } } }, "kubernetes:core/v1:ContainerStateRunningPatch": { "description": "ContainerStateRunning is a running state of a container.", "properties": { "startedAt": { "type": "string", "description": "Time at which the container was last (re-)started" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "startedAt" ] } } }, "kubernetes:core/v1:ContainerStateTerminated": { "description": "ContainerStateTerminated is a terminated state of a container.", "properties": { "containerID": { "type": "string", "description": "Container's ID in the format '://'" }, "exitCode": { "type": "integer", "description": "Exit status from the last termination of the container" }, "finishedAt": { "type": "string", "description": "Time at which the container last terminated" }, "message": { "type": "string", "description": "Message regarding the last termination of the container" }, "reason": { "type": "string", "description": "(brief) reason from the last termination of the container" }, "signal": { "type": "integer", "description": "Signal from the last termination of the container" }, "startedAt": { "type": "string", "description": "Time at which previous execution of the container started" } }, "type": "object", "required": [ "exitCode" ], "language": { "nodejs": { "requiredOutputs": [ "containerID", "exitCode", "finishedAt", "message", "reason", "signal", "startedAt" ] } } }, "kubernetes:core/v1:ContainerStateTerminatedPatch": { "description": "ContainerStateTerminated is a terminated state of a container.", "properties": { "containerID": { "type": "string", "description": "Container's ID in the format '://'" }, "exitCode": { "type": "integer", "description": "Exit status from the last termination of the container" }, "finishedAt": { "type": "string", "description": "Time at which the container last terminated" }, "message": { "type": "string", "description": "Message regarding the last termination of the container" }, "reason": { "type": "string", "description": "(brief) reason from the last termination of the container" }, "signal": { "type": "integer", "description": "Signal from the last termination of the container" }, "startedAt": { "type": "string", "description": "Time at which previous execution of the container started" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "containerID", "exitCode", "finishedAt", "message", "reason", "signal", "startedAt" ] } } }, "kubernetes:core/v1:ContainerStateWaiting": { "description": "ContainerStateWaiting is a waiting state of a container.", "properties": { "message": { "type": "string", "description": "Message regarding why the container is not yet running." }, "reason": { "type": "string", "description": "(brief) reason the container is not yet running." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "message", "reason" ] } } }, "kubernetes:core/v1:ContainerStateWaitingPatch": { "description": "ContainerStateWaiting is a waiting state of a container.", "properties": { "message": { "type": "string", "description": "Message regarding why the container is not yet running." }, "reason": { "type": "string", "description": "(brief) reason the container is not yet running." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "message", "reason" ] } } }, "kubernetes:core/v1:ContainerStatus": { "description": "ContainerStatus contains details for the current status of this container.", "properties": { "allocatedResources": { "type": "object", "additionalProperties": { "type": "string" }, "description": "AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize." }, "containerID": { "type": "string", "description": "ContainerID is the ID of the container in the format '://'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\")." }, "image": { "type": "string", "description": "Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images." }, "imageID": { "type": "string", "description": "ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime." }, "lastState": { "$ref": "#/types/kubernetes:core/v1:ContainerState", "description": "LastTerminationState holds the last termination state of the container to help debug container crashes and restarts. This field is not populated if the container is still running and RestartCount is 0." }, "name": { "type": "string", "description": "Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated." }, "ready": { "type": "boolean", "description": "Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field).\n\nThe value is typically used to determine whether a container is ready to accept traffic." }, "resources": { "$ref": "#/types/kubernetes:core/v1:ResourceRequirements", "description": "Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized." }, "restartCount": { "type": "integer", "description": "RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative." }, "started": { "type": "boolean", "description": "Started indicates whether the container has finished its postStart lifecycle hook and 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. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false." }, "state": { "$ref": "#/types/kubernetes:core/v1:ContainerState", "description": "State holds details about the container's current condition." }, "volumeMounts": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeMountStatus" }, "description": "Status of volume mounts." } }, "type": "object", "required": [ "image", "imageID", "name", "ready", "restartCount" ], "language": { "nodejs": { "requiredOutputs": [ "allocatedResources", "containerID", "image", "imageID", "lastState", "name", "ready", "resources", "restartCount", "started", "state", "volumeMounts" ] } } }, "kubernetes:core/v1:ContainerStatusPatch": { "description": "ContainerStatus contains details for the current status of this container.", "properties": { "allocatedResources": { "type": "object", "additionalProperties": { "type": "string" }, "description": "AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize." }, "containerID": { "type": "string", "description": "ContainerID is the ID of the container in the format '://'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\")." }, "image": { "type": "string", "description": "Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images." }, "imageID": { "type": "string", "description": "ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime." }, "lastState": { "$ref": "#/types/kubernetes:core/v1:ContainerStatePatch", "description": "LastTerminationState holds the last termination state of the container to help debug container crashes and restarts. This field is not populated if the container is still running and RestartCount is 0." }, "name": { "type": "string", "description": "Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated." }, "ready": { "type": "boolean", "description": "Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field).\n\nThe value is typically used to determine whether a container is ready to accept traffic." }, "resources": { "$ref": "#/types/kubernetes:core/v1:ResourceRequirementsPatch", "description": "Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized." }, "restartCount": { "type": "integer", "description": "RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative." }, "started": { "type": "boolean", "description": "Started indicates whether the container has finished its postStart lifecycle hook and 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. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false." }, "state": { "$ref": "#/types/kubernetes:core/v1:ContainerStatePatch", "description": "State holds details about the container's current condition." }, "volumeMounts": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeMountStatusPatch" }, "description": "Status of volume mounts." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allocatedResources", "containerID", "image", "imageID", "lastState", "name", "ready", "resources", "restartCount", "started", "state", "volumeMounts" ] } } }, "kubernetes:core/v1:DaemonEndpoint": { "description": "DaemonEndpoint contains information about a single Daemon endpoint.", "properties": { "Port": { "type": "integer", "description": "Port number of the given endpoint." } }, "type": "object", "required": [ "Port" ], "language": { "nodejs": { "requiredOutputs": [ "Port" ] } } }, "kubernetes:core/v1:DaemonEndpointPatch": { "description": "DaemonEndpoint contains information about a single Daemon endpoint.", "properties": { "Port": { "type": "integer", "description": "Port number of the given endpoint." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "Port" ] } } }, "kubernetes:core/v1:DownwardAPIProjection": { "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.", "properties": { "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:DownwardAPIVolumeFile" }, "description": "Items is a list of DownwardAPIVolume file" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "items" ] } } }, "kubernetes:core/v1:DownwardAPIProjectionPatch": { "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.", "properties": { "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:DownwardAPIVolumeFilePatch" }, "description": "Items is a list of DownwardAPIVolume file" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "items" ] } } }, "kubernetes:core/v1:DownwardAPIVolumeFile": { "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", "properties": { "fieldRef": { "$ref": "#/types/kubernetes:core/v1:ObjectFieldSelector", "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." }, "mode": { "type": "integer", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:ResourceFieldSelector", "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported." } }, "type": "object", "required": [ "path" ], "language": { "nodejs": { "requiredOutputs": [ "fieldRef", "mode", "path", "resourceFieldRef" ] } } }, "kubernetes:core/v1:DownwardAPIVolumeFilePatch": { "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", "properties": { "fieldRef": { "$ref": "#/types/kubernetes:core/v1:ObjectFieldSelectorPatch", "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." }, "mode": { "type": "integer", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:ResourceFieldSelectorPatch", "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fieldRef", "mode", "path", "resourceFieldRef" ] } } }, "kubernetes:core/v1:DownwardAPIVolumeSource": { "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", "properties": { "defaultMode": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:DownwardAPIVolumeFile" }, "description": "Items is a list of downward API volume file" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "defaultMode", "items" ] } } }, "kubernetes:core/v1:DownwardAPIVolumeSourcePatch": { "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", "properties": { "defaultMode": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:DownwardAPIVolumeFilePatch" }, "description": "Items is a list of downward API volume file" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "defaultMode", "items" ] } } }, "kubernetes:core/v1:EmptyDirVolumeSource": { "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", "properties": { "medium": { "type": "string", "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": "string", "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "medium", "sizeLimit" ] } } }, "kubernetes:core/v1:EmptyDirVolumeSourcePatch": { "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", "properties": { "medium": { "type": "string", "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": "string", "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "medium", "sizeLimit" ] } } }, "kubernetes:core/v1:EndpointAddress": { "description": "EndpointAddress is a tuple that describes single IP address.", "properties": { "hostname": { "type": "string", "description": "The Hostname of this endpoint" }, "ip": { "type": "string", "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16)." }, "nodeName": { "type": "string", "description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node." }, "targetRef": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "Reference to object providing the endpoint." } }, "type": "object", "required": [ "ip" ], "language": { "nodejs": { "requiredOutputs": [ "hostname", "ip", "nodeName", "targetRef" ] } } }, "kubernetes:core/v1:EndpointAddressPatch": { "description": "EndpointAddress is a tuple that describes single IP address.", "properties": { "hostname": { "type": "string", "description": "The Hostname of this endpoint" }, "ip": { "type": "string", "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16)." }, "nodeName": { "type": "string", "description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node." }, "targetRef": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "Reference to object providing the endpoint." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "hostname", "ip", "nodeName", "targetRef" ] } } }, "kubernetes:core/v1:EndpointPort": { "description": "EndpointPort is a tuple that describes a single port.", "properties": { "appProtocol": { "type": "string", "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol." }, "name": { "type": "string", "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": "integer", "description": "The port number of the endpoint." }, "protocol": { "type": "string", "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP." } }, "type": "object", "required": [ "port" ], "language": { "nodejs": { "requiredOutputs": [ "appProtocol", "name", "port", "protocol" ] } } }, "kubernetes:core/v1:EndpointPortPatch": { "description": "EndpointPort is a tuple that describes a single port.", "properties": { "appProtocol": { "type": "string", "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol." }, "name": { "type": "string", "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": "integer", "description": "The port number of the endpoint." }, "protocol": { "type": "string", "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "appProtocol", "name", "port", "protocol" ] } } }, "kubernetes:core/v1:EndpointSubset": { "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]", "properties": { "addresses": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointAddress" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointAddress" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointPort" }, "description": "Port numbers available on the related IP addresses." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "addresses", "notReadyAddresses", "ports" ] } } }, "kubernetes:core/v1:EndpointSubsetPatch": { "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]", "properties": { "addresses": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointAddressPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointAddressPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointPortPatch" }, "description": "Port numbers available on the related IP addresses." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "addresses", "notReadyAddresses", "ports" ] } } }, "kubernetes:core/v1:Endpoints": { "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t {\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t },\n\t {\n\t Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t },\n\t]", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Endpoints" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "subsets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointSubset" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "subsets" ] } } }, "kubernetes:core/v1:EndpointsList": { "description": "EndpointsList is a list of endpoints.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Endpoints" }, "description": "List of endpoints." }, "kind": { "type": "string", "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", "const": "EndpointsList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:EndpointsPatch": { "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t {\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t },\n\t {\n\t Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t },\n\t]", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Endpoints" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "subsets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointSubsetPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "subsets" ] } } }, "kubernetes:core/v1:EnvFromSource": { "description": "EnvFromSource represents the source of a set of ConfigMaps", "properties": { "configMapRef": { "$ref": "#/types/kubernetes:core/v1:ConfigMapEnvSource", "description": "The ConfigMap to select from" }, "prefix": { "type": "string", "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:SecretEnvSource", "description": "The Secret to select from" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "configMapRef", "prefix", "secretRef" ] } } }, "kubernetes:core/v1:EnvFromSourcePatch": { "description": "EnvFromSource represents the source of a set of ConfigMaps", "properties": { "configMapRef": { "$ref": "#/types/kubernetes:core/v1:ConfigMapEnvSourcePatch", "description": "The ConfigMap to select from" }, "prefix": { "type": "string", "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:SecretEnvSourcePatch", "description": "The Secret to select from" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "configMapRef", "prefix", "secretRef" ] } } }, "kubernetes:core/v1:EnvVar": { "description": "EnvVar represents an environment variable present in a Container.", "properties": { "name": { "type": "string", "description": "Name of the environment variable. Must be a C_IDENTIFIER." }, "value": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:EnvVarSource", "description": "Source for the environment variable's value. Cannot be used if value is not empty." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name", "value", "valueFrom" ] } } }, "kubernetes:core/v1:EnvVarPatch": { "description": "EnvVar represents an environment variable present in a Container.", "properties": { "name": { "type": "string", "description": "Name of the environment variable. Must be a C_IDENTIFIER." }, "value": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:EnvVarSourcePatch", "description": "Source for the environment variable's value. Cannot be used if value is not empty." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "value", "valueFrom" ] } } }, "kubernetes:core/v1:EnvVarSource": { "description": "EnvVarSource represents a source for the value of an EnvVar.", "properties": { "configMapKeyRef": { "$ref": "#/types/kubernetes:core/v1:ConfigMapKeySelector", "description": "Selects a key of a ConfigMap." }, "fieldRef": { "$ref": "#/types/kubernetes:core/v1:ObjectFieldSelector", "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." }, "resourceFieldRef": { "$ref": "#/types/kubernetes:core/v1:ResourceFieldSelector", "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." }, "secretKeyRef": { "$ref": "#/types/kubernetes:core/v1:SecretKeySelector", "description": "Selects a key of a secret in the pod's namespace" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "configMapKeyRef", "fieldRef", "resourceFieldRef", "secretKeyRef" ] } } }, "kubernetes:core/v1:EnvVarSourcePatch": { "description": "EnvVarSource represents a source for the value of an EnvVar.", "properties": { "configMapKeyRef": { "$ref": "#/types/kubernetes:core/v1:ConfigMapKeySelectorPatch", "description": "Selects a key of a ConfigMap." }, "fieldRef": { "$ref": "#/types/kubernetes:core/v1:ObjectFieldSelectorPatch", "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." }, "resourceFieldRef": { "$ref": "#/types/kubernetes:core/v1:ResourceFieldSelectorPatch", "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." }, "secretKeyRef": { "$ref": "#/types/kubernetes:core/v1:SecretKeySelectorPatch", "description": "Selects a key of a secret in the pod's namespace" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "configMapKeyRef", "fieldRef", "resourceFieldRef", "secretKeyRef" ] } } }, "kubernetes:core/v1:EphemeralContainer": { "description": "An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.\n\nTo add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.", "properties": { "args": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvVar" }, "description": "List of environment variables to set in the container. Cannot be updated." }, "envFrom": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvFromSource" }, "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": "string", "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images" }, "imagePullPolicy": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:Lifecycle", "description": "Lifecycle is not allowed for ephemeral containers." }, "livenessProbe": { "$ref": "#/types/kubernetes:core/v1:Probe", "description": "Probes are not allowed for ephemeral containers." }, "name": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerPort" }, "description": "Ports are not allowed for ephemeral containers." }, "readinessProbe": { "$ref": "#/types/kubernetes:core/v1:Probe", "description": "Probes are not allowed for ephemeral containers." }, "resizePolicy": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerResizePolicy" }, "description": "Resources resize policy for the container." }, "resources": { "$ref": "#/types/kubernetes:core/v1:ResourceRequirements", "description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod." }, "restartPolicy": { "type": "string", "description": "Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers." }, "securityContext": { "$ref": "#/types/kubernetes:core/v1:SecurityContext", "description": "Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext." }, "startupProbe": { "$ref": "#/types/kubernetes:core/v1:Probe", "description": "Probes are not allowed for ephemeral containers." }, "stdin": { "type": "boolean", "description": "Whether this container should allocate a buffer for 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": "boolean", "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until 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": "string", "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": "string", "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if 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": "string", "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": "boolean", "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." }, "volumeDevices": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeDevice" }, "description": "volumeDevices is the list of block devices to be used by the container." }, "volumeMounts": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeMount" }, "description": "Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated." }, "workingDir": { "type": "string", "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": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "args", "command", "env", "envFrom", "image", "imagePullPolicy", "lifecycle", "livenessProbe", "name", "ports", "readinessProbe", "resizePolicy", "resources", "restartPolicy", "securityContext", "startupProbe", "stdin", "stdinOnce", "targetContainerName", "terminationMessagePath", "terminationMessagePolicy", "tty", "volumeDevices", "volumeMounts", "workingDir" ] } } }, "kubernetes:core/v1:EphemeralContainerPatch": { "description": "An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.\n\nTo add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.", "properties": { "args": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvVarPatch" }, "description": "List of environment variables to set in the container. Cannot be updated." }, "envFrom": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvFromSourcePatch" }, "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": "string", "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images" }, "imagePullPolicy": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:LifecyclePatch", "description": "Lifecycle is not allowed for ephemeral containers." }, "livenessProbe": { "$ref": "#/types/kubernetes:core/v1:ProbePatch", "description": "Probes are not allowed for ephemeral containers." }, "name": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerPortPatch" }, "description": "Ports are not allowed for ephemeral containers." }, "readinessProbe": { "$ref": "#/types/kubernetes:core/v1:ProbePatch", "description": "Probes are not allowed for ephemeral containers." }, "resizePolicy": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerResizePolicyPatch" }, "description": "Resources resize policy for the container." }, "resources": { "$ref": "#/types/kubernetes:core/v1:ResourceRequirementsPatch", "description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod." }, "restartPolicy": { "type": "string", "description": "Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers." }, "securityContext": { "$ref": "#/types/kubernetes:core/v1:SecurityContextPatch", "description": "Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext." }, "startupProbe": { "$ref": "#/types/kubernetes:core/v1:ProbePatch", "description": "Probes are not allowed for ephemeral containers." }, "stdin": { "type": "boolean", "description": "Whether this container should allocate a buffer for 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": "boolean", "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until 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": "string", "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": "string", "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if 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": "string", "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": "boolean", "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." }, "volumeDevices": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeDevicePatch" }, "description": "volumeDevices is the list of block devices to be used by the container." }, "volumeMounts": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeMountPatch" }, "description": "Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated." }, "workingDir": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "args", "command", "env", "envFrom", "image", "imagePullPolicy", "lifecycle", "livenessProbe", "name", "ports", "readinessProbe", "resizePolicy", "resources", "restartPolicy", "securityContext", "startupProbe", "stdin", "stdinOnce", "targetContainerName", "terminationMessagePath", "terminationMessagePolicy", "tty", "volumeDevices", "volumeMounts", "workingDir" ] } } }, "kubernetes:core/v1:EphemeralVolumeSource": { "description": "Represents an ephemeral volume that is handled by a normal storage driver.", "properties": { "readOnly": { "type": "boolean", "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write)." }, "volumeClaimTemplate": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimTemplate", "description": "Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes to the PVC after it has been created.\n\nRequired, must not be nil." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "readOnly", "volumeClaimTemplate" ] } } }, "kubernetes:core/v1:EphemeralVolumeSourcePatch": { "description": "Represents an ephemeral volume that is handled by a normal storage driver.", "properties": { "readOnly": { "type": "boolean", "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write)." }, "volumeClaimTemplate": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimTemplatePatch", "description": "Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes to the PVC after it has been created.\n\nRequired, must not be nil." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "readOnly", "volumeClaimTemplate" ] } } }, "kubernetes:core/v1:Event": { "description": "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", "properties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the Regarding object." }, "apiVersion": { "type": "string", "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", "const": "v1" }, "count": { "type": "integer", "description": "The number of times this event has occurred." }, "eventTime": { "type": "string", "description": "Time when this Event was first observed." }, "firstTimestamp": { "type": "string", "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)" }, "involvedObject": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "The object that this event is about." }, "kind": { "type": "string", "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", "const": "Event" }, "lastTimestamp": { "type": "string", "description": "The time at which the most recent occurrence of this event was recorded." }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "reason": { "type": "string", "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "Optional secondary object for more complex actions." }, "reportingComponent": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:core/v1:EventSeries", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "source": { "$ref": "#/types/kubernetes:core/v1:EventSource", "description": "The component reporting this event. Should be a short machine understandable string." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future" } }, "type": "object", "required": [ "involvedObject", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "count", "eventTime", "firstTimestamp", "involvedObject", "kind", "lastTimestamp", "message", "metadata", "reason", "related", "reportingComponent", "reportingInstance", "series", "source", "type" ] } } }, "kubernetes:core/v1:EventList": { "description": "EventList is a list of events.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Event" }, "description": "List of events" }, "kind": { "type": "string", "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", "const": "EventList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:EventPatch": { "description": "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", "properties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the Regarding object." }, "apiVersion": { "type": "string", "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", "const": "v1" }, "count": { "type": "integer", "description": "The number of times this event has occurred." }, "eventTime": { "type": "string", "description": "Time when this Event was first observed." }, "firstTimestamp": { "type": "string", "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)" }, "involvedObject": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "The object that this event is about." }, "kind": { "type": "string", "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", "const": "Event" }, "lastTimestamp": { "type": "string", "description": "The time at which the most recent occurrence of this event was recorded." }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "reason": { "type": "string", "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "Optional secondary object for more complex actions." }, "reportingComponent": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:core/v1:EventSeriesPatch", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "source": { "$ref": "#/types/kubernetes:core/v1:EventSourcePatch", "description": "The component reporting this event. Should be a short machine understandable string." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "count", "eventTime", "firstTimestamp", "involvedObject", "kind", "lastTimestamp", "message", "metadata", "reason", "related", "reportingComponent", "reportingInstance", "series", "source", "type" ] } } }, "kubernetes:core/v1:EventSeries": { "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "properties": { "count": { "type": "integer", "description": "Number of occurrences in this series up to the last heartbeat time" }, "lastObservedTime": { "type": "string", "description": "Time of the last occurrence observed" }, "state": { "type": "string", "description": "State of this Series: Ongoing or Finished Deprecated. Planned removal for 1.18" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "count", "lastObservedTime", "state" ] } } }, "kubernetes:core/v1:EventSeriesPatch": { "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "properties": { "count": { "type": "integer", "description": "Number of occurrences in this series up to the last heartbeat time" }, "lastObservedTime": { "type": "string", "description": "Time of the last occurrence observed" }, "state": { "type": "string", "description": "State of this Series: Ongoing or Finished Deprecated. Planned removal for 1.18" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "count", "lastObservedTime", "state" ] } } }, "kubernetes:core/v1:EventSource": { "description": "EventSource contains information for an event.", "properties": { "component": { "type": "string", "description": "Component from which the event is generated." }, "host": { "type": "string", "description": "Node name on which the event is generated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "component", "host" ] } } }, "kubernetes:core/v1:EventSourcePatch": { "description": "EventSource contains information for an event.", "properties": { "component": { "type": "string", "description": "Component from which the event is generated." }, "host": { "type": "string", "description": "Node name on which the event is generated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "component", "host" ] } } }, "kubernetes:core/v1:ExecAction": { "description": "ExecAction describes a \"run in container\" action.", "properties": { "command": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "command" ] } } }, "kubernetes:core/v1:ExecActionPatch": { "description": "ExecAction describes a \"run in container\" action.", "properties": { "command": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "command" ] } } }, "kubernetes:core/v1:FCVolumeSource": { "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.", "properties": { "fsType": { "type": "string", "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": "integer", "description": "lun is Optional: FC target lun number" }, "readOnly": { "type": "boolean", "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "targetWWNs": { "type": "array", "items": { "type": "string" }, "description": "targetWWNs is Optional: FC target worldwide names (WWNs)" }, "wwids": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "lun", "readOnly", "targetWWNs", "wwids" ] } } }, "kubernetes:core/v1:FCVolumeSourcePatch": { "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.", "properties": { "fsType": { "type": "string", "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": "integer", "description": "lun is Optional: FC target lun number" }, "readOnly": { "type": "boolean", "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "targetWWNs": { "type": "array", "items": { "type": "string" }, "description": "targetWWNs is Optional: FC target worldwide names (WWNs)" }, "wwids": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "lun", "readOnly", "targetWWNs", "wwids" ] } } }, "kubernetes:core/v1:FlexPersistentVolumeSource": { "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", "properties": { "driver": { "type": "string", "description": "driver is the name of the driver to use for this volume." }, "fsType": { "type": "string", "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": "object", "additionalProperties": { "type": "string" }, "description": "options is Optional: this field holds extra command options if any." }, "readOnly": { "type": "boolean", "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReference", "description": "secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts." } }, "type": "object", "required": [ "driver" ], "language": { "nodejs": { "requiredOutputs": [ "driver", "fsType", "options", "readOnly", "secretRef" ] } } }, "kubernetes:core/v1:FlexPersistentVolumeSourcePatch": { "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", "properties": { "driver": { "type": "string", "description": "driver is the name of the driver to use for this volume." }, "fsType": { "type": "string", "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": "object", "additionalProperties": { "type": "string" }, "description": "options is Optional: this field holds extra command options if any." }, "readOnly": { "type": "boolean", "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReferencePatch", "description": "secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "driver", "fsType", "options", "readOnly", "secretRef" ] } } }, "kubernetes:core/v1:FlexVolumeSource": { "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", "properties": { "driver": { "type": "string", "description": "driver is the name of the driver to use for this volume." }, "fsType": { "type": "string", "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": "object", "additionalProperties": { "type": "string" }, "description": "options is Optional: this field holds extra command options if any." }, "readOnly": { "type": "boolean", "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference", "description": "secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts." } }, "type": "object", "required": [ "driver" ], "language": { "nodejs": { "requiredOutputs": [ "driver", "fsType", "options", "readOnly", "secretRef" ] } } }, "kubernetes:core/v1:FlexVolumeSourcePatch": { "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", "properties": { "driver": { "type": "string", "description": "driver is the name of the driver to use for this volume." }, "fsType": { "type": "string", "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": "object", "additionalProperties": { "type": "string" }, "description": "options is Optional: this field holds extra command options if any." }, "readOnly": { "type": "boolean", "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch", "description": "secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "driver", "fsType", "options", "readOnly", "secretRef" ] } } }, "kubernetes:core/v1:FlockerVolumeSource": { "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.", "properties": { "datasetName": { "type": "string", "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" }, "datasetUUID": { "type": "string", "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "datasetName", "datasetUUID" ] } } }, "kubernetes:core/v1:FlockerVolumeSourcePatch": { "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.", "properties": { "datasetName": { "type": "string", "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" }, "datasetUUID": { "type": "string", "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "datasetName", "datasetUUID" ] } } }, "kubernetes:core/v1:GCEPersistentDiskVolumeSource": { "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.", "properties": { "fsType": { "type": "string", "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": "integer", "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": "string", "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": "boolean", "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" } }, "type": "object", "required": [ "pdName" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "partition", "pdName", "readOnly" ] } } }, "kubernetes:core/v1:GCEPersistentDiskVolumeSourcePatch": { "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.", "properties": { "fsType": { "type": "string", "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": "integer", "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": "string", "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": "boolean", "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "partition", "pdName", "readOnly" ] } } }, "kubernetes:core/v1:GRPCAction": { "properties": { "port": { "type": "integer", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535." }, "service": { "type": "string", "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": "object", "required": [ "port" ], "language": { "nodejs": { "requiredOutputs": [ "port", "service" ] } } }, "kubernetes:core/v1:GRPCActionPatch": { "properties": { "port": { "type": "integer", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535." }, "service": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "port", "service" ] } } }, "kubernetes:core/v1:GitRepoVolumeSource": { "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.", "properties": { "directory": { "type": "string", "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": "string", "description": "repository is the URL" }, "revision": { "type": "string", "description": "revision is the commit hash for the specified revision." } }, "type": "object", "required": [ "repository" ], "language": { "nodejs": { "requiredOutputs": [ "directory", "repository", "revision" ] } } }, "kubernetes:core/v1:GitRepoVolumeSourcePatch": { "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.", "properties": { "directory": { "type": "string", "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": "string", "description": "repository is the URL" }, "revision": { "type": "string", "description": "revision is the commit hash for the specified revision." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "directory", "repository", "revision" ] } } }, "kubernetes:core/v1:GlusterfsPersistentVolumeSource": { "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", "properties": { "endpoints": { "type": "string", "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": "string", "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": "string", "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" }, "readOnly": { "type": "boolean", "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": "object", "required": [ "endpoints", "path" ], "language": { "nodejs": { "requiredOutputs": [ "endpoints", "endpointsNamespace", "path", "readOnly" ] } } }, "kubernetes:core/v1:GlusterfsPersistentVolumeSourcePatch": { "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", "properties": { "endpoints": { "type": "string", "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": "string", "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": "string", "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" }, "readOnly": { "type": "boolean", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "endpoints", "endpointsNamespace", "path", "readOnly" ] } } }, "kubernetes:core/v1:GlusterfsVolumeSource": { "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", "properties": { "endpoints": { "type": "string", "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": "string", "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" }, "readOnly": { "type": "boolean", "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": "object", "required": [ "endpoints", "path" ], "language": { "nodejs": { "requiredOutputs": [ "endpoints", "path", "readOnly" ] } } }, "kubernetes:core/v1:GlusterfsVolumeSourcePatch": { "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", "properties": { "endpoints": { "type": "string", "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": "string", "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" }, "readOnly": { "type": "boolean", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "endpoints", "path", "readOnly" ] } } }, "kubernetes:core/v1:HTTPGetAction": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { "host": { "type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." }, "httpHeaders": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:HTTPHeader" }, "description": "Custom headers to set in the request. HTTP allows repeated headers." }, "path": { "type": "string", "description": "Path to access on the HTTP server." }, "port": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." }, "scheme": { "type": "string", "description": "Scheme to use for connecting to the host. Defaults to HTTP." } }, "type": "object", "required": [ "port" ], "language": { "nodejs": { "requiredOutputs": [ "host", "httpHeaders", "path", "port", "scheme" ] } } }, "kubernetes:core/v1:HTTPGetActionPatch": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { "host": { "type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." }, "httpHeaders": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:HTTPHeaderPatch" }, "description": "Custom headers to set in the request. HTTP allows repeated headers." }, "path": { "type": "string", "description": "Path to access on the HTTP server." }, "port": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." }, "scheme": { "type": "string", "description": "Scheme to use for connecting to the host. Defaults to HTTP." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "host", "httpHeaders", "path", "port", "scheme" ] } } }, "kubernetes:core/v1:HTTPHeader": { "description": "HTTPHeader describes a custom header to be used in HTTP probes", "properties": { "name": { "type": "string", "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header." }, "value": { "type": "string", "description": "The header field value" } }, "type": "object", "required": [ "name", "value" ], "language": { "nodejs": { "requiredOutputs": [ "name", "value" ] } } }, "kubernetes:core/v1:HTTPHeaderPatch": { "description": "HTTPHeader describes a custom header to be used in HTTP probes", "properties": { "name": { "type": "string", "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header." }, "value": { "type": "string", "description": "The header field value" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "value" ] } } }, "kubernetes:core/v1:Handler": { "description": "Handler defines a specific action that should be taken", "properties": { "exec": { "$ref": "#/types/kubernetes:core/v1:ExecAction", "description": "One and only one of the following should be specified. Exec specifies the action to take." }, "httpGet": { "$ref": "#/types/kubernetes:core/v1:HTTPGetAction", "description": "HTTPGet specifies the http request to perform." }, "tcpSocket": { "$ref": "#/types/kubernetes:core/v1:TCPSocketAction", "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "exec", "httpGet", "tcpSocket" ] } } }, "kubernetes:core/v1:HandlerPatch": { "description": "Handler defines a specific action that should be taken", "properties": { "exec": { "$ref": "#/types/kubernetes:core/v1:ExecActionPatch", "description": "One and only one of the following should be specified. Exec specifies the action to take." }, "httpGet": { "$ref": "#/types/kubernetes:core/v1:HTTPGetActionPatch", "description": "HTTPGet specifies the http request to perform." }, "tcpSocket": { "$ref": "#/types/kubernetes:core/v1:TCPSocketActionPatch", "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "exec", "httpGet", "tcpSocket" ] } } }, "kubernetes:core/v1:HostAlias": { "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", "properties": { "hostnames": { "type": "array", "items": { "type": "string" }, "description": "Hostnames for the above IP address." }, "ip": { "type": "string", "description": "IP address of the host file entry." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "hostnames", "ip" ] } } }, "kubernetes:core/v1:HostAliasPatch": { "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", "properties": { "hostnames": { "type": "array", "items": { "type": "string" }, "description": "Hostnames for the above IP address." }, "ip": { "type": "string", "description": "IP address of the host file entry." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "hostnames", "ip" ] } } }, "kubernetes:core/v1:HostIP": { "description": "HostIP represents a single IP address allocated to the host.", "properties": { "ip": { "type": "string", "description": "IP is the IP address assigned to the host" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ip" ] } } }, "kubernetes:core/v1:HostIPPatch": { "description": "HostIP represents a single IP address allocated to the host.", "properties": { "ip": { "type": "string", "description": "IP is the IP address assigned to the host" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ip" ] } } }, "kubernetes:core/v1:HostPathVolumeSource": { "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", "properties": { "path": { "type": "string", "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": "string", "description": "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" } }, "type": "object", "required": [ "path" ], "language": { "nodejs": { "requiredOutputs": [ "path", "type" ] } } }, "kubernetes:core/v1:HostPathVolumeSourcePatch": { "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", "properties": { "path": { "type": "string", "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": "string", "description": "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "path", "type" ] } } }, "kubernetes:core/v1:ISCSIPersistentVolumeSource": { "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", "properties": { "chapAuthDiscovery": { "type": "boolean", "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication" }, "chapAuthSession": { "type": "boolean", "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication" }, "fsType": { "type": "string", "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": "string", "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": "string", "description": "iqn is Target iSCSI Qualified Name." }, "iscsiInterface": { "type": "string", "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." }, "lun": { "type": "integer", "description": "lun is iSCSI Target Lun number." }, "portals": { "type": "array", "items": { "type": "string" }, "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": "boolean", "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReference", "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication" }, "targetPortal": { "type": "string", "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": "object", "required": [ "iqn", "lun", "targetPortal" ], "language": { "nodejs": { "requiredOutputs": [ "chapAuthDiscovery", "chapAuthSession", "fsType", "initiatorName", "iqn", "iscsiInterface", "lun", "portals", "readOnly", "secretRef", "targetPortal" ] } } }, "kubernetes:core/v1:ISCSIPersistentVolumeSourcePatch": { "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", "properties": { "chapAuthDiscovery": { "type": "boolean", "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication" }, "chapAuthSession": { "type": "boolean", "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication" }, "fsType": { "type": "string", "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": "string", "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": "string", "description": "iqn is Target iSCSI Qualified Name." }, "iscsiInterface": { "type": "string", "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." }, "lun": { "type": "integer", "description": "lun is iSCSI Target Lun number." }, "portals": { "type": "array", "items": { "type": "string" }, "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": "boolean", "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReferencePatch", "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication" }, "targetPortal": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "chapAuthDiscovery", "chapAuthSession", "fsType", "initiatorName", "iqn", "iscsiInterface", "lun", "portals", "readOnly", "secretRef", "targetPortal" ] } } }, "kubernetes:core/v1:ISCSIVolumeSource": { "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", "properties": { "chapAuthDiscovery": { "type": "boolean", "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication" }, "chapAuthSession": { "type": "boolean", "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication" }, "fsType": { "type": "string", "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": "string", "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": "string", "description": "iqn is the target iSCSI Qualified Name." }, "iscsiInterface": { "type": "string", "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." }, "lun": { "type": "integer", "description": "lun represents iSCSI Target Lun number." }, "portals": { "type": "array", "items": { "type": "string" }, "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": "boolean", "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference", "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication" }, "targetPortal": { "type": "string", "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": "object", "required": [ "iqn", "lun", "targetPortal" ], "language": { "nodejs": { "requiredOutputs": [ "chapAuthDiscovery", "chapAuthSession", "fsType", "initiatorName", "iqn", "iscsiInterface", "lun", "portals", "readOnly", "secretRef", "targetPortal" ] } } }, "kubernetes:core/v1:ISCSIVolumeSourcePatch": { "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", "properties": { "chapAuthDiscovery": { "type": "boolean", "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication" }, "chapAuthSession": { "type": "boolean", "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication" }, "fsType": { "type": "string", "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": "string", "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": "string", "description": "iqn is the target iSCSI Qualified Name." }, "iscsiInterface": { "type": "string", "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." }, "lun": { "type": "integer", "description": "lun represents iSCSI Target Lun number." }, "portals": { "type": "array", "items": { "type": "string" }, "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": "boolean", "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch", "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication" }, "targetPortal": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "chapAuthDiscovery", "chapAuthSession", "fsType", "initiatorName", "iqn", "iscsiInterface", "lun", "portals", "readOnly", "secretRef", "targetPortal" ] } } }, "kubernetes:core/v1:KeyToPath": { "description": "Maps a string key to a path within a volume.", "properties": { "key": { "type": "string", "description": "key is the key to project." }, "mode": { "type": "integer", "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": "string", "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": "object", "required": [ "key", "path" ], "language": { "nodejs": { "requiredOutputs": [ "key", "mode", "path" ] } } }, "kubernetes:core/v1:KeyToPathPatch": { "description": "Maps a string key to a path within a volume.", "properties": { "key": { "type": "string", "description": "key is the key to project." }, "mode": { "type": "integer", "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "key", "mode", "path" ] } } }, "kubernetes:core/v1:Lifecycle": { "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.", "properties": { "postStart": { "$ref": "#/types/kubernetes:core/v1:LifecycleHandler", "description": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks" }, "preStop": { "$ref": "#/types/kubernetes:core/v1:LifecycleHandler", "description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "postStart", "preStop" ] } } }, "kubernetes:core/v1:LifecycleHandler": { "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.", "properties": { "exec": { "$ref": "#/types/kubernetes:core/v1:ExecAction", "description": "Exec specifies the action to take." }, "httpGet": { "$ref": "#/types/kubernetes:core/v1:HTTPGetAction", "description": "HTTPGet specifies the http request to perform." }, "sleep": { "$ref": "#/types/kubernetes:core/v1:SleepAction", "description": "Sleep represents the duration that the container should sleep before being terminated." }, "tcpSocket": { "$ref": "#/types/kubernetes:core/v1:TCPSocketAction", "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "exec", "httpGet", "sleep", "tcpSocket" ] } } }, "kubernetes:core/v1:LifecycleHandlerPatch": { "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.", "properties": { "exec": { "$ref": "#/types/kubernetes:core/v1:ExecActionPatch", "description": "Exec specifies the action to take." }, "httpGet": { "$ref": "#/types/kubernetes:core/v1:HTTPGetActionPatch", "description": "HTTPGet specifies the http request to perform." }, "sleep": { "$ref": "#/types/kubernetes:core/v1:SleepActionPatch", "description": "Sleep represents the duration that the container should sleep before being terminated." }, "tcpSocket": { "$ref": "#/types/kubernetes:core/v1:TCPSocketActionPatch", "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "exec", "httpGet", "sleep", "tcpSocket" ] } } }, "kubernetes:core/v1:LifecyclePatch": { "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.", "properties": { "postStart": { "$ref": "#/types/kubernetes:core/v1:LifecycleHandlerPatch", "description": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks" }, "preStop": { "$ref": "#/types/kubernetes:core/v1:LifecycleHandlerPatch", "description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "postStart", "preStop" ] } } }, "kubernetes:core/v1:LimitRange": { "description": "LimitRange sets resource usage limits for each kind of resource in a Namespace.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "LimitRange" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:LimitRangeSpec", "description": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:core/v1:LimitRangeItem": { "description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", "properties": { "default": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Default resource requirement limit value by resource name if resource limit is omitted." }, "defaultRequest": { "type": "object", "additionalProperties": { "type": "string" }, "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted." }, "max": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Max usage constraints on this kind by resource name." }, "maxLimitRequestRatio": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "description": "Min usage constraints on this kind by resource name." }, "type": { "type": "string", "description": "Type of resource that this limit applies to." } }, "type": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "default", "defaultRequest", "max", "maxLimitRequestRatio", "min", "type" ] } } }, "kubernetes:core/v1:LimitRangeItemPatch": { "description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", "properties": { "default": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Default resource requirement limit value by resource name if resource limit is omitted." }, "defaultRequest": { "type": "object", "additionalProperties": { "type": "string" }, "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted." }, "max": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Max usage constraints on this kind by resource name." }, "maxLimitRequestRatio": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "description": "Min usage constraints on this kind by resource name." }, "type": { "type": "string", "description": "Type of resource that this limit applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "default", "defaultRequest", "max", "maxLimitRequestRatio", "min", "type" ] } } }, "kubernetes:core/v1:LimitRangeList": { "description": "LimitRangeList is a list of LimitRange items.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LimitRange" }, "description": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" }, "kind": { "type": "string", "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", "const": "LimitRangeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:LimitRangePatch": { "description": "LimitRange sets resource usage limits for each kind of resource in a Namespace.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "LimitRange" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:LimitRangeSpecPatch", "description": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:core/v1:LimitRangeSpec": { "description": "LimitRangeSpec defines a min/max usage limit for resources that match on kind.", "properties": { "limits": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LimitRangeItem" }, "description": "Limits is the list of LimitRangeItem objects that are enforced." } }, "type": "object", "required": [ "limits" ], "language": { "nodejs": { "requiredOutputs": [ "limits" ] } } }, "kubernetes:core/v1:LimitRangeSpecPatch": { "description": "LimitRangeSpec defines a min/max usage limit for resources that match on kind.", "properties": { "limits": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LimitRangeItemPatch" }, "description": "Limits is the list of LimitRangeItem objects that are enforced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "limits" ] } } }, "kubernetes:core/v1:LoadBalancerIngress": { "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", "properties": { "hostname": { "type": "string", "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)" }, "ip": { "type": "string", "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)" }, "ipMode": { "type": "string", "description": "IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to \"VIP\" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to \"Proxy\" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PortStatus" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "hostname", "ip", "ipMode", "ports" ] } } }, "kubernetes:core/v1:LoadBalancerIngressPatch": { "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", "properties": { "hostname": { "type": "string", "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)" }, "ip": { "type": "string", "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)" }, "ipMode": { "type": "string", "description": "IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to \"VIP\" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to \"Proxy\" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PortStatusPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "hostname", "ip", "ipMode", "ports" ] } } }, "kubernetes:core/v1:LoadBalancerStatus": { "description": "LoadBalancerStatus represents the status of a load-balancer.", "properties": { "ingress": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LoadBalancerIngress" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "ingress" ] } } }, "kubernetes:core/v1:LoadBalancerStatusPatch": { "description": "LoadBalancerStatus represents the status of a load-balancer.", "properties": { "ingress": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LoadBalancerIngressPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "ingress" ] } } }, "kubernetes:core/v1:LocalObjectReference": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", "properties": { "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:core/v1:LocalObjectReferencePatch": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", "properties": { "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:core/v1:LocalVolumeSource": { "description": "Local represents directly-attached storage with node affinity (Beta feature)", "properties": { "fsType": { "type": "string", "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": "string", "description": "path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)." } }, "type": "object", "required": [ "path" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "path" ] } } }, "kubernetes:core/v1:LocalVolumeSourcePatch": { "description": "Local represents directly-attached storage with node affinity (Beta feature)", "properties": { "fsType": { "type": "string", "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": "string", "description": "path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "path" ] } } }, "kubernetes:core/v1:ModifyVolumeStatus": { "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation", "properties": { "status": { "type": "string", "description": "status is the status of the ControllerModifyVolume operation. It can be in any of following states:\n - Pending\n Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as\n the specified VolumeAttributesClass not existing.\n - InProgress\n InProgress indicates that the volume is being modified.\n - Infeasible\n Infeasible indicates that the request has been rejected as invalid by the CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass needs to be specified.\nNote: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately." }, "targetVolumeAttributesClassName": { "type": "string", "description": "targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled" } }, "type": "object", "required": [ "status" ], "language": { "nodejs": { "requiredOutputs": [ "status", "targetVolumeAttributesClassName" ] } } }, "kubernetes:core/v1:ModifyVolumeStatusPatch": { "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation", "properties": { "status": { "type": "string", "description": "status is the status of the ControllerModifyVolume operation. It can be in any of following states:\n - Pending\n Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as\n the specified VolumeAttributesClass not existing.\n - InProgress\n InProgress indicates that the volume is being modified.\n - Infeasible\n Infeasible indicates that the request has been rejected as invalid by the CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass needs to be specified.\nNote: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately." }, "targetVolumeAttributesClassName": { "type": "string", "description": "targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "status", "targetVolumeAttributesClassName" ] } } }, "kubernetes:core/v1:NFSVolumeSource": { "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", "properties": { "path": { "type": "string", "description": "path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" }, "readOnly": { "type": "boolean", "description": "readOnly here will 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": "string", "description": "server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" } }, "type": "object", "required": [ "path", "server" ], "language": { "nodejs": { "requiredOutputs": [ "path", "readOnly", "server" ] } } }, "kubernetes:core/v1:NFSVolumeSourcePatch": { "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", "properties": { "path": { "type": "string", "description": "path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" }, "readOnly": { "type": "boolean", "description": "readOnly here will 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": "string", "description": "server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "path", "readOnly", "server" ] } } }, "kubernetes:core/v1:Namespace": { "description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Namespace" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NamespaceSpec", "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:NamespaceStatus", "description": "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:NamespaceCondition": { "description": "NamespaceCondition contains details about state of namespace.", "properties": { "lastTransitionTime": { "type": "string" }, "message": { "type": "string" }, "reason": { "type": "string" }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of namespace controller condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:core/v1:NamespaceConditionPatch": { "description": "NamespaceCondition contains details about state of namespace.", "properties": { "lastTransitionTime": { "type": "string" }, "message": { "type": "string" }, "reason": { "type": "string" }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of namespace controller condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:core/v1:NamespaceList": { "description": "NamespaceList is a list of Namespaces.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Namespace" }, "description": "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" }, "kind": { "type": "string", "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", "const": "NamespaceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:NamespacePatch": { "description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Namespace" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NamespaceSpecPatch", "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:NamespaceStatusPatch", "description": "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:NamespaceSpec": { "description": "NamespaceSpec describes the attributes on a Namespace.", "properties": { "finalizers": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "finalizers" ] } } }, "kubernetes:core/v1:NamespaceSpecPatch": { "description": "NamespaceSpec describes the attributes on a Namespace.", "properties": { "finalizers": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "finalizers" ] } } }, "kubernetes:core/v1:NamespaceStatus": { "description": "NamespaceStatus is information about the current status of a Namespace.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NamespaceCondition" }, "description": "Represents the latest available observations of a namespace's current state." }, "phase": { "type": "string", "description": "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "phase" ] } } }, "kubernetes:core/v1:NamespaceStatusPatch": { "description": "NamespaceStatus is information about the current status of a Namespace.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NamespaceConditionPatch" }, "description": "Represents the latest available observations of a namespace's current state." }, "phase": { "type": "string", "description": "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "phase" ] } } }, "kubernetes:core/v1:Node": { "description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Node" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NodeSpec", "description": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:NodeStatus", "description": "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:NodeAddress": { "description": "NodeAddress contains information for the node's address.", "properties": { "address": { "type": "string", "description": "The node address." }, "type": { "type": "string", "description": "Node address type, one of Hostname, ExternalIP or InternalIP." } }, "type": "object", "required": [ "address", "type" ], "language": { "nodejs": { "requiredOutputs": [ "address", "type" ] } } }, "kubernetes:core/v1:NodeAddressPatch": { "description": "NodeAddress contains information for the node's address.", "properties": { "address": { "type": "string", "description": "The node address." }, "type": { "type": "string", "description": "Node address type, one of Hostname, ExternalIP or InternalIP." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "address", "type" ] } } }, "kubernetes:core/v1:NodeAffinity": { "description": "Node affinity is a group of node affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PreferredSchedulingTerm" }, "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": { "$ref": "#/types/kubernetes:core/v1:NodeSelector", "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 an update), the system may or may not try to eventually evict the pod from its node." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "preferredDuringSchedulingIgnoredDuringExecution", "requiredDuringSchedulingIgnoredDuringExecution" ] } } }, "kubernetes:core/v1:NodeAffinityPatch": { "description": "Node affinity is a group of node affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PreferredSchedulingTermPatch" }, "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": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorPatch", "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 an update), the system may or may not try to eventually evict the pod from its node." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "preferredDuringSchedulingIgnoredDuringExecution", "requiredDuringSchedulingIgnoredDuringExecution" ] } } }, "kubernetes:core/v1:NodeCondition": { "description": "NodeCondition contains condition information for a node.", "properties": { "lastHeartbeatTime": { "type": "string", "description": "Last time we got an update on a given condition." }, "lastTransitionTime": { "type": "string", "description": "Last time the condition transit from one status to another." }, "message": { "type": "string", "description": "Human readable message indicating details about last transition." }, "reason": { "type": "string", "description": "(brief) reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of node condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastHeartbeatTime", "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:core/v1:NodeConditionPatch": { "description": "NodeCondition contains condition information for a node.", "properties": { "lastHeartbeatTime": { "type": "string", "description": "Last time we got an update on a given condition." }, "lastTransitionTime": { "type": "string", "description": "Last time the condition transit from one status to another." }, "message": { "type": "string", "description": "Human readable message indicating details about last transition." }, "reason": { "type": "string", "description": "(brief) reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of node condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastHeartbeatTime", "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:core/v1:NodeConfigSource": { "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22", "properties": { "configMap": { "$ref": "#/types/kubernetes:core/v1:ConfigMapNodeConfigSource", "description": "ConfigMap is a reference to a Node's ConfigMap" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "configMap" ] } } }, "kubernetes:core/v1:NodeConfigSourcePatch": { "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22", "properties": { "configMap": { "$ref": "#/types/kubernetes:core/v1:ConfigMapNodeConfigSourcePatch", "description": "ConfigMap is a reference to a Node's ConfigMap" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "configMap" ] } } }, "kubernetes:core/v1:NodeConfigStatus": { "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", "properties": { "active": { "$ref": "#/types/kubernetes:core/v1:NodeConfigSource", "description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error." }, "assigned": { "$ref": "#/types/kubernetes:core/v1:NodeConfigSource", "description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned." }, "error": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:NodeConfigSource", "description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "active", "assigned", "error", "lastKnownGood" ] } } }, "kubernetes:core/v1:NodeConfigStatusPatch": { "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", "properties": { "active": { "$ref": "#/types/kubernetes:core/v1:NodeConfigSourcePatch", "description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error." }, "assigned": { "$ref": "#/types/kubernetes:core/v1:NodeConfigSourcePatch", "description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned." }, "error": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:NodeConfigSourcePatch", "description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "active", "assigned", "error", "lastKnownGood" ] } } }, "kubernetes:core/v1:NodeDaemonEndpoints": { "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", "properties": { "kubeletEndpoint": { "$ref": "#/types/kubernetes:core/v1:DaemonEndpoint", "description": "Endpoint on which Kubelet is listening." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "kubeletEndpoint" ] } } }, "kubernetes:core/v1:NodeDaemonEndpointsPatch": { "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", "properties": { "kubeletEndpoint": { "$ref": "#/types/kubernetes:core/v1:DaemonEndpointPatch", "description": "Endpoint on which Kubelet is listening." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "kubeletEndpoint" ] } } }, "kubernetes:core/v1:NodeList": { "description": "NodeList is the whole list of all Nodes which have been registered with master.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Node" }, "description": "List of nodes" }, "kind": { "type": "string", "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", "const": "NodeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:NodePatch": { "description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Node" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NodeSpecPatch", "description": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:NodeStatusPatch", "description": "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:NodeRuntimeHandler": { "description": "NodeRuntimeHandler is a set of runtime handler information.", "properties": { "features": { "$ref": "#/types/kubernetes:core/v1:NodeRuntimeHandlerFeatures", "description": "Supported features." }, "name": { "type": "string", "description": "Runtime handler name. Empty for the default runtime handler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "features", "name" ] } } }, "kubernetes:core/v1:NodeRuntimeHandlerFeatures": { "description": "NodeRuntimeHandlerFeatures is a set of runtime features.", "properties": { "recursiveReadOnlyMounts": { "type": "boolean", "description": "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "recursiveReadOnlyMounts" ] } } }, "kubernetes:core/v1:NodeRuntimeHandlerFeaturesPatch": { "description": "NodeRuntimeHandlerFeatures is a set of runtime features.", "properties": { "recursiveReadOnlyMounts": { "type": "boolean", "description": "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "recursiveReadOnlyMounts" ] } } }, "kubernetes:core/v1:NodeRuntimeHandlerPatch": { "description": "NodeRuntimeHandler is a set of runtime handler information.", "properties": { "features": { "$ref": "#/types/kubernetes:core/v1:NodeRuntimeHandlerFeaturesPatch", "description": "Supported features." }, "name": { "type": "string", "description": "Runtime handler name. Empty for the default runtime handler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "features", "name" ] } } }, "kubernetes:core/v1:NodeSelector": { "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.", "properties": { "nodeSelectorTerms": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorTerm" }, "description": "Required. A list of node selector terms. The terms are ORed." } }, "type": "object", "required": [ "nodeSelectorTerms" ], "language": { "nodejs": { "requiredOutputs": [ "nodeSelectorTerms" ] } } }, "kubernetes:core/v1:NodeSelectorPatch": { "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.", "properties": { "nodeSelectorTerms": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorTermPatch" }, "description": "Required. A list of node selector terms. The terms are ORed." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "nodeSelectorTerms" ] } } }, "kubernetes:core/v1:NodeSelectorRequirement": { "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "properties": { "key": { "type": "string", "description": "The label key that the selector applies to." }, "operator": { "type": "string", "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." }, "values": { "type": "array", "items": { "type": "string" }, "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": "object", "required": [ "key", "operator" ], "language": { "nodejs": { "requiredOutputs": [ "key", "operator", "values" ] } } }, "kubernetes:core/v1:NodeSelectorRequirementPatch": { "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "properties": { "key": { "type": "string", "description": "The label key that the selector applies to." }, "operator": { "type": "string", "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." }, "values": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "key", "operator", "values" ] } } }, "kubernetes:core/v1:NodeSelectorTerm": { "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.", "properties": { "matchExpressions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorRequirement" }, "description": "A list of node selector requirements by node's labels." }, "matchFields": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorRequirement" }, "description": "A list of node selector requirements by node's fields." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchExpressions", "matchFields" ] } } }, "kubernetes:core/v1:NodeSelectorTermPatch": { "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.", "properties": { "matchExpressions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorRequirementPatch" }, "description": "A list of node selector requirements by node's labels." }, "matchFields": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorRequirementPatch" }, "description": "A list of node selector requirements by node's fields." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchExpressions", "matchFields" ] } } }, "kubernetes:core/v1:NodeSpec": { "description": "NodeSpec describes the attributes that a node is created with.", "properties": { "configSource": { "$ref": "#/types/kubernetes:core/v1:NodeConfigSource", "description": "Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed." }, "externalID": { "type": "string", "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966" }, "podCIDR": { "type": "string", "description": "PodCIDR represents the pod IP range assigned to the node." }, "podCIDRs": { "type": "array", "items": { "type": "string" }, "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": "string", "description": "ID of the node assigned by the cloud provider in the format: ://" }, "taints": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Taint" }, "description": "If specified, the node's taints." }, "unschedulable": { "type": "boolean", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "configSource", "externalID", "podCIDR", "podCIDRs", "providerID", "taints", "unschedulable" ] } } }, "kubernetes:core/v1:NodeSpecPatch": { "description": "NodeSpec describes the attributes that a node is created with.", "properties": { "configSource": { "$ref": "#/types/kubernetes:core/v1:NodeConfigSourcePatch", "description": "Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed." }, "externalID": { "type": "string", "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966" }, "podCIDR": { "type": "string", "description": "PodCIDR represents the pod IP range assigned to the node." }, "podCIDRs": { "type": "array", "items": { "type": "string" }, "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": "string", "description": "ID of the node assigned by the cloud provider in the format: ://" }, "taints": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TaintPatch" }, "description": "If specified, the node's taints." }, "unschedulable": { "type": "boolean", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "configSource", "externalID", "podCIDR", "podCIDRs", "providerID", "taints", "unschedulable" ] } } }, "kubernetes:core/v1:NodeStatus": { "description": "NodeStatus is information about the current status of a node.", "properties": { "addresses": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeAddress" }, "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 https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP)." }, "allocatable": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity." }, "capacity": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity" }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeCondition" }, "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition" }, "config": { "$ref": "#/types/kubernetes:core/v1:NodeConfigStatus", "description": "Status of the config assigned to the node via the dynamic Kubelet config feature." }, "daemonEndpoints": { "$ref": "#/types/kubernetes:core/v1:NodeDaemonEndpoints", "description": "Endpoints of daemons running on the Node." }, "images": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerImage" }, "description": "List of container images on this node" }, "nodeInfo": { "$ref": "#/types/kubernetes:core/v1:NodeSystemInfo", "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info" }, "phase": { "type": "string", "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." }, "runtimeHandlers": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeRuntimeHandler" }, "description": "The available runtime handlers." }, "volumesAttached": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:AttachedVolume" }, "description": "List of volumes that are attached to the node." }, "volumesInUse": { "type": "array", "items": { "type": "string" }, "description": "List of attachable volumes in use (mounted) by the node." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "addresses", "allocatable", "capacity", "conditions", "config", "daemonEndpoints", "images", "nodeInfo", "phase", "runtimeHandlers", "volumesAttached", "volumesInUse" ] } } }, "kubernetes:core/v1:NodeStatusPatch": { "description": "NodeStatus is information about the current status of a node.", "properties": { "addresses": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeAddressPatch" }, "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 https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP)." }, "allocatable": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity." }, "capacity": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity" }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeConditionPatch" }, "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition" }, "config": { "$ref": "#/types/kubernetes:core/v1:NodeConfigStatusPatch", "description": "Status of the config assigned to the node via the dynamic Kubelet config feature." }, "daemonEndpoints": { "$ref": "#/types/kubernetes:core/v1:NodeDaemonEndpointsPatch", "description": "Endpoints of daemons running on the Node." }, "images": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerImagePatch" }, "description": "List of container images on this node" }, "nodeInfo": { "$ref": "#/types/kubernetes:core/v1:NodeSystemInfoPatch", "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info" }, "phase": { "type": "string", "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." }, "runtimeHandlers": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:NodeRuntimeHandlerPatch" }, "description": "The available runtime handlers." }, "volumesAttached": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:AttachedVolumePatch" }, "description": "List of volumes that are attached to the node." }, "volumesInUse": { "type": "array", "items": { "type": "string" }, "description": "List of attachable volumes in use (mounted) by the node." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "addresses", "allocatable", "capacity", "conditions", "config", "daemonEndpoints", "images", "nodeInfo", "phase", "runtimeHandlers", "volumesAttached", "volumesInUse" ] } } }, "kubernetes:core/v1:NodeSystemInfo": { "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", "properties": { "architecture": { "type": "string", "description": "The Architecture reported by the node" }, "bootID": { "type": "string", "description": "Boot ID reported by the node." }, "containerRuntimeVersion": { "type": "string", "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2)." }, "kernelVersion": { "type": "string", "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)." }, "kubeProxyVersion": { "type": "string", "description": "KubeProxy Version reported by the node." }, "kubeletVersion": { "type": "string", "description": "Kubelet Version reported by the node." }, "machineID": { "type": "string", "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": "string", "description": "The Operating System reported by the node" }, "osImage": { "type": "string", "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))." }, "systemUUID": { "type": "string", "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": "object", "required": [ "architecture", "bootID", "containerRuntimeVersion", "kernelVersion", "kubeProxyVersion", "kubeletVersion", "machineID", "operatingSystem", "osImage", "systemUUID" ], "language": { "nodejs": { "requiredOutputs": [ "architecture", "bootID", "containerRuntimeVersion", "kernelVersion", "kubeProxyVersion", "kubeletVersion", "machineID", "operatingSystem", "osImage", "systemUUID" ] } } }, "kubernetes:core/v1:NodeSystemInfoPatch": { "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", "properties": { "architecture": { "type": "string", "description": "The Architecture reported by the node" }, "bootID": { "type": "string", "description": "Boot ID reported by the node." }, "containerRuntimeVersion": { "type": "string", "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2)." }, "kernelVersion": { "type": "string", "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)." }, "kubeProxyVersion": { "type": "string", "description": "KubeProxy Version reported by the node." }, "kubeletVersion": { "type": "string", "description": "Kubelet Version reported by the node." }, "machineID": { "type": "string", "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": "string", "description": "The Operating System reported by the node" }, "osImage": { "type": "string", "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))." }, "systemUUID": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "architecture", "bootID", "containerRuntimeVersion", "kernelVersion", "kubeProxyVersion", "kubeletVersion", "machineID", "operatingSystem", "osImage", "systemUUID" ] } } }, "kubernetes:core/v1:ObjectFieldSelector": { "description": "ObjectFieldSelector selects an APIVersioned field of an object.", "properties": { "apiVersion": { "type": "string", "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." }, "fieldPath": { "type": "string", "description": "Path of the field to select in the specified API version." } }, "type": "object", "required": [ "fieldPath" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "fieldPath" ] } } }, "kubernetes:core/v1:ObjectFieldSelectorPatch": { "description": "ObjectFieldSelector selects an APIVersioned field of an object.", "properties": { "apiVersion": { "type": "string", "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." }, "fieldPath": { "type": "string", "description": "Path of the field to select in the specified API version." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "fieldPath" ] } } }, "kubernetes:core/v1:ObjectReference": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", "properties": { "apiVersion": { "type": "string", "description": "API version of the referent." }, "fieldPath": { "type": "string", "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": "string", "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "namespace": { "type": "string", "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" }, "resourceVersion": { "type": "string", "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": "string", "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "fieldPath", "kind", "name", "namespace", "resourceVersion", "uid" ] } } }, "kubernetes:core/v1:ObjectReferencePatch": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", "properties": { "apiVersion": { "type": "string", "description": "API version of the referent." }, "fieldPath": { "type": "string", "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": "string", "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "namespace": { "type": "string", "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" }, "resourceVersion": { "type": "string", "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": "string", "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "fieldPath", "kind", "name", "namespace", "resourceVersion", "uid" ] } } }, "kubernetes:core/v1:PersistentVolume": { "description": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolume" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpec", "description": "spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" }, "status": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeStatus", "description": "status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:PersistentVolumeClaim": { "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolumeClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimSpec", "description": "spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "status": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimStatus", "description": "status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimCondition": { "description": "PersistentVolumeClaimCondition contains details about state of pvc", "properties": { "lastProbeTime": { "type": "string", "description": "lastProbeTime is the time we probed the condition." }, "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "message is the human-readable message indicating details about last transition." }, "reason": { "type": "string", "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 \"Resizing\" that means the underlying persistent volume is being resized." }, "status": { "type": "string" }, "type": { "type": "string" } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastProbeTime", "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimConditionPatch": { "description": "PersistentVolumeClaimCondition contains details about state of pvc", "properties": { "lastProbeTime": { "type": "string", "description": "lastProbeTime is the time we probed the condition." }, "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "message is the human-readable message indicating details about last transition." }, "reason": { "type": "string", "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 \"Resizing\" that means the underlying persistent volume is being resized." }, "status": { "type": "string" }, "type": { "type": "string" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastProbeTime", "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimList": { "description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaim" }, "description": "items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "kind": { "type": "string", "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", "const": "PersistentVolumeClaimList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimPatch": { "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolumeClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimSpecPatch", "description": "spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "status": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimStatusPatch", "description": "status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimSpec": { "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", "properties": { "accessModes": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:core/v1:TypedLocalObjectReference", "description": "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource." }, "dataSourceRef": { "$ref": "#/types/kubernetes:core/v1:TypedObjectReference", "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled." }, "resources": { "$ref": "#/types/kubernetes:core/v1:VolumeResourceRequirements", "description": "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "selector is a label query over volumes to consider for binding." }, "storageClassName": { "type": "string", "description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" }, "volumeAttributesClassName": { "type": "string", "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." }, "volumeMode": { "type": "string", "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": "string", "description": "volumeName is the binding reference to the PersistentVolume backing this claim." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "accessModes", "dataSource", "dataSourceRef", "resources", "selector", "storageClassName", "volumeAttributesClassName", "volumeMode", "volumeName" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimSpecPatch": { "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", "properties": { "accessModes": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:core/v1:TypedLocalObjectReferencePatch", "description": "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource." }, "dataSourceRef": { "$ref": "#/types/kubernetes:core/v1:TypedObjectReferencePatch", "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled." }, "resources": { "$ref": "#/types/kubernetes:core/v1:VolumeResourceRequirementsPatch", "description": "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "selector is a label query over volumes to consider for binding." }, "storageClassName": { "type": "string", "description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" }, "volumeAttributesClassName": { "type": "string", "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." }, "volumeMode": { "type": "string", "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": "string", "description": "volumeName is the binding reference to the PersistentVolume backing this claim." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "accessModes", "dataSource", "dataSourceRef", "resources", "selector", "storageClassName", "volumeAttributesClassName", "volumeMode", "volumeName" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimStatus": { "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", "properties": { "accessModes": { "type": "array", "items": { "type": "string" }, "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" }, "allocatedResourceStatuses": { "type": "object", "additionalProperties": { "type": "string" }, "description": "allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.\n\nClaimResourceStatus can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState set when resize controller starts resizing the volume in control-plane.\n\t- ControllerResizeFailed:\n\t\tState set when resize has failed in resize controller with a terminal error.\n\t- NodeResizePending:\n\t\tState set when resize controller has finished resizing the volume but further resizing of\n\t\tvolume is needed on the node.\n\t- NodeResizeInProgress:\n\t\tState set when kubelet starts resizing the volume.\n\t- NodeResizeFailed:\n\t\tState set when resizing has failed in kubelet with a terminal error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor example: if expanding a PVC for more capacity - this field can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeFailed\"\nWhen this field is not set, it means that no resize operation is in progress for the given PVC.\n\nA controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature." }, "allocatedResources": { "type": "object", "additionalProperties": { "type": "string" }, "description": "allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.\n\nCapacity reported here 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.\n\nA controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature." }, "capacity": { "type": "object", "additionalProperties": { "type": "string" }, "description": "capacity represents the actual resources of the underlying volume." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimCondition" }, "description": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'." }, "currentVolumeAttributesClassName": { "type": "string", "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature." }, "modifyVolumeStatus": { "$ref": "#/types/kubernetes:core/v1:ModifyVolumeStatus", "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature." }, "phase": { "type": "string", "description": "phase represents the current phase of PersistentVolumeClaim." }, "resizeStatus": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "accessModes", "allocatedResourceStatuses", "allocatedResources", "capacity", "conditions", "currentVolumeAttributesClassName", "modifyVolumeStatus", "phase", "resizeStatus" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimStatusPatch": { "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", "properties": { "accessModes": { "type": "array", "items": { "type": "string" }, "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" }, "allocatedResourceStatuses": { "type": "object", "additionalProperties": { "type": "string" }, "description": "allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.\n\nClaimResourceStatus can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState set when resize controller starts resizing the volume in control-plane.\n\t- ControllerResizeFailed:\n\t\tState set when resize has failed in resize controller with a terminal error.\n\t- NodeResizePending:\n\t\tState set when resize controller has finished resizing the volume but further resizing of\n\t\tvolume is needed on the node.\n\t- NodeResizeInProgress:\n\t\tState set when kubelet starts resizing the volume.\n\t- NodeResizeFailed:\n\t\tState set when resizing has failed in kubelet with a terminal error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor example: if expanding a PVC for more capacity - this field can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeFailed\"\nWhen this field is not set, it means that no resize operation is in progress for the given PVC.\n\nA controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature." }, "allocatedResources": { "type": "object", "additionalProperties": { "type": "string" }, "description": "allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.\n\nCapacity reported here 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.\n\nA controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature." }, "capacity": { "type": "object", "additionalProperties": { "type": "string" }, "description": "capacity represents the actual resources of the underlying volume." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimConditionPatch" }, "description": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'." }, "currentVolumeAttributesClassName": { "type": "string", "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature." }, "modifyVolumeStatus": { "$ref": "#/types/kubernetes:core/v1:ModifyVolumeStatusPatch", "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature." }, "phase": { "type": "string", "description": "phase represents the current phase of PersistentVolumeClaim." }, "resizeStatus": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "accessModes", "allocatedResourceStatuses", "allocatedResources", "capacity", "conditions", "currentVolumeAttributesClassName", "modifyVolumeStatus", "phase", "resizeStatus" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimTemplate": { "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimSpec", "description": "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimTemplatePatch": { "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimSpecPatch", "description": "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimVolumeSource": { "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).", "properties": { "claimName": { "type": "string", "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": "boolean", "description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." } }, "type": "object", "required": [ "claimName" ], "language": { "nodejs": { "requiredOutputs": [ "claimName", "readOnly" ] } } }, "kubernetes:core/v1:PersistentVolumeClaimVolumeSourcePatch": { "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).", "properties": { "claimName": { "type": "string", "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": "boolean", "description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "claimName", "readOnly" ] } } }, "kubernetes:core/v1:PersistentVolumeList": { "description": "PersistentVolumeList is a list of PersistentVolume items.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolume" }, "description": "items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes" }, "kind": { "type": "string", "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", "const": "PersistentVolumeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:PersistentVolumePatch": { "description": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolume" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpecPatch", "description": "spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" }, "status": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeStatusPatch", "description": "status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:PersistentVolumeSpec": { "description": "PersistentVolumeSpec is the specification of a persistent volume.", "properties": { "accessModes": { "type": "array", "items": { "type": "string" }, "description": "accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes" }, "awsElasticBlockStore": { "$ref": "#/types/kubernetes:core/v1:AWSElasticBlockStoreVolumeSource", "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" }, "azureDisk": { "$ref": "#/types/kubernetes:core/v1:AzureDiskVolumeSource", "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." }, "azureFile": { "$ref": "#/types/kubernetes:core/v1:AzureFilePersistentVolumeSource", "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod." }, "capacity": { "type": "object", "additionalProperties": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:core/v1:CephFSPersistentVolumeSource", "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime" }, "cinder": { "$ref": "#/types/kubernetes:core/v1:CinderPersistentVolumeSource", "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" }, "claimRef": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding" }, "csi": { "$ref": "#/types/kubernetes:core/v1:CSIPersistentVolumeSource", "description": "csi represents storage that is handled by an external CSI driver (Beta feature)." }, "fc": { "$ref": "#/types/kubernetes:core/v1:FCVolumeSource", "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." }, "flexVolume": { "$ref": "#/types/kubernetes:core/v1:FlexPersistentVolumeSource", "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." }, "flocker": { "$ref": "#/types/kubernetes:core/v1:FlockerVolumeSource", "description": "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running" }, "gcePersistentDisk": { "$ref": "#/types/kubernetes:core/v1:GCEPersistentDiskVolumeSource", "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" }, "glusterfs": { "$ref": "#/types/kubernetes:core/v1:GlusterfsPersistentVolumeSource", "description": "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md" }, "hostPath": { "$ref": "#/types/kubernetes:core/v1:HostPathVolumeSource", "description": "hostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" }, "iscsi": { "$ref": "#/types/kubernetes:core/v1:ISCSIPersistentVolumeSource", "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin." }, "local": { "$ref": "#/types/kubernetes:core/v1:LocalVolumeSource", "description": "local represents directly-attached storage with node affinity" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:core/v1:NFSVolumeSource", "description": "nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" }, "nodeAffinity": { "$ref": "#/types/kubernetes:core/v1:VolumeNodeAffinity", "description": "nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume." }, "persistentVolumeReclaimPolicy": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:PhotonPersistentDiskVolumeSource", "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" }, "portworxVolume": { "$ref": "#/types/kubernetes:core/v1:PortworxVolumeSource", "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine" }, "quobyte": { "$ref": "#/types/kubernetes:core/v1:QuobyteVolumeSource", "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" }, "rbd": { "$ref": "#/types/kubernetes:core/v1:RBDPersistentVolumeSource", "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" }, "scaleIO": { "$ref": "#/types/kubernetes:core/v1:ScaleIOPersistentVolumeSource", "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." }, "storageClassName": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:StorageOSPersistentVolumeSource", "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" }, "volumeAttributesClassName": { "type": "string", "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature." }, "volumeMode": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:VsphereVirtualDiskVolumeSource", "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "accessModes", "awsElasticBlockStore", "azureDisk", "azureFile", "capacity", "cephfs", "cinder", "claimRef", "csi", "fc", "flexVolume", "flocker", "gcePersistentDisk", "glusterfs", "hostPath", "iscsi", "local", "mountOptions", "nfs", "nodeAffinity", "persistentVolumeReclaimPolicy", "photonPersistentDisk", "portworxVolume", "quobyte", "rbd", "scaleIO", "storageClassName", "storageos", "volumeAttributesClassName", "volumeMode", "vsphereVolume" ] } } }, "kubernetes:core/v1:PersistentVolumeSpecPatch": { "description": "PersistentVolumeSpec is the specification of a persistent volume.", "properties": { "accessModes": { "type": "array", "items": { "type": "string" }, "description": "accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes" }, "awsElasticBlockStore": { "$ref": "#/types/kubernetes:core/v1:AWSElasticBlockStoreVolumeSourcePatch", "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" }, "azureDisk": { "$ref": "#/types/kubernetes:core/v1:AzureDiskVolumeSourcePatch", "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." }, "azureFile": { "$ref": "#/types/kubernetes:core/v1:AzureFilePersistentVolumeSourcePatch", "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod." }, "capacity": { "type": "object", "additionalProperties": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:core/v1:CephFSPersistentVolumeSourcePatch", "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime" }, "cinder": { "$ref": "#/types/kubernetes:core/v1:CinderPersistentVolumeSourcePatch", "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" }, "claimRef": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding" }, "csi": { "$ref": "#/types/kubernetes:core/v1:CSIPersistentVolumeSourcePatch", "description": "csi represents storage that is handled by an external CSI driver (Beta feature)." }, "fc": { "$ref": "#/types/kubernetes:core/v1:FCVolumeSourcePatch", "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." }, "flexVolume": { "$ref": "#/types/kubernetes:core/v1:FlexPersistentVolumeSourcePatch", "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." }, "flocker": { "$ref": "#/types/kubernetes:core/v1:FlockerVolumeSourcePatch", "description": "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running" }, "gcePersistentDisk": { "$ref": "#/types/kubernetes:core/v1:GCEPersistentDiskVolumeSourcePatch", "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" }, "glusterfs": { "$ref": "#/types/kubernetes:core/v1:GlusterfsPersistentVolumeSourcePatch", "description": "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md" }, "hostPath": { "$ref": "#/types/kubernetes:core/v1:HostPathVolumeSourcePatch", "description": "hostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" }, "iscsi": { "$ref": "#/types/kubernetes:core/v1:ISCSIPersistentVolumeSourcePatch", "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin." }, "local": { "$ref": "#/types/kubernetes:core/v1:LocalVolumeSourcePatch", "description": "local represents directly-attached storage with node affinity" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:core/v1:NFSVolumeSourcePatch", "description": "nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" }, "nodeAffinity": { "$ref": "#/types/kubernetes:core/v1:VolumeNodeAffinityPatch", "description": "nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume." }, "persistentVolumeReclaimPolicy": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:PhotonPersistentDiskVolumeSourcePatch", "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" }, "portworxVolume": { "$ref": "#/types/kubernetes:core/v1:PortworxVolumeSourcePatch", "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine" }, "quobyte": { "$ref": "#/types/kubernetes:core/v1:QuobyteVolumeSourcePatch", "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" }, "rbd": { "$ref": "#/types/kubernetes:core/v1:RBDPersistentVolumeSourcePatch", "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" }, "scaleIO": { "$ref": "#/types/kubernetes:core/v1:ScaleIOPersistentVolumeSourcePatch", "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." }, "storageClassName": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:StorageOSPersistentVolumeSourcePatch", "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" }, "volumeAttributesClassName": { "type": "string", "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature." }, "volumeMode": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:VsphereVirtualDiskVolumeSourcePatch", "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "accessModes", "awsElasticBlockStore", "azureDisk", "azureFile", "capacity", "cephfs", "cinder", "claimRef", "csi", "fc", "flexVolume", "flocker", "gcePersistentDisk", "glusterfs", "hostPath", "iscsi", "local", "mountOptions", "nfs", "nodeAffinity", "persistentVolumeReclaimPolicy", "photonPersistentDisk", "portworxVolume", "quobyte", "rbd", "scaleIO", "storageClassName", "storageos", "volumeAttributesClassName", "volumeMode", "vsphereVolume" ] } } }, "kubernetes:core/v1:PersistentVolumeStatus": { "description": "PersistentVolumeStatus is the current status of a persistent volume.", "properties": { "lastPhaseTransitionTime": { "type": "string", "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." }, "message": { "type": "string", "description": "message is a human-readable message indicating details about why the volume is in this state." }, "phase": { "type": "string", "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": "string", "description": "reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastPhaseTransitionTime", "message", "phase", "reason" ] } } }, "kubernetes:core/v1:PersistentVolumeStatusPatch": { "description": "PersistentVolumeStatus is the current status of a persistent volume.", "properties": { "lastPhaseTransitionTime": { "type": "string", "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." }, "message": { "type": "string", "description": "message is a human-readable message indicating details about why the volume is in this state." }, "phase": { "type": "string", "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": "string", "description": "reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastPhaseTransitionTime", "message", "phase", "reason" ] } } }, "kubernetes:core/v1:PhotonPersistentDiskVolumeSource": { "description": "Represents a Photon Controller persistent disk resource.", "properties": { "fsType": { "type": "string", "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": "string", "description": "pdID is the ID that identifies Photon Controller persistent disk" } }, "type": "object", "required": [ "pdID" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "pdID" ] } } }, "kubernetes:core/v1:PhotonPersistentDiskVolumeSourcePatch": { "description": "Represents a Photon Controller persistent disk resource.", "properties": { "fsType": { "type": "string", "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": "string", "description": "pdID is the ID that identifies Photon Controller persistent disk" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "pdID" ] } } }, "kubernetes:core/v1:Pod": { "description": "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Pod is scheduled (\"PodScheduled\"\" '.status.condition' is true).\n2. The Pod is initialized (\"Initialized\" '.status.condition' is true).\n3. The Pod is ready (\"Ready\" '.status.condition' is true) and the '.status.phase' is\n set to \"Running\".\nOr (for Jobs): The Pod succeeded ('.status.phase' set to \"Succeeded\").\n\nIf the Pod has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Pod" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PodSpec", "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:PodStatus", "description": "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:PodAffinity": { "description": "Pod affinity is a group of inter pod affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:WeightedPodAffinityTerm" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodAffinityTerm" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "preferredDuringSchedulingIgnoredDuringExecution", "requiredDuringSchedulingIgnoredDuringExecution" ] } } }, "kubernetes:core/v1:PodAffinityPatch": { "description": "Pod affinity is a group of inter pod affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:WeightedPodAffinityTermPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodAffinityTermPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "preferredDuringSchedulingIgnoredDuringExecution", "requiredDuringSchedulingIgnoredDuringExecution" ] } } }, "kubernetes:core/v1:PodAffinityTerm": { "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", "properties": { "labelSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods." }, "matchLabelKeys": { "type": "array", "items": { "type": "string" }, "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." }, "mismatchLabelKeys": { "type": "array", "items": { "type": "string" }, "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." }, "namespaces": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "required": [ "topologyKey" ], "language": { "nodejs": { "requiredOutputs": [ "labelSelector", "matchLabelKeys", "mismatchLabelKeys", "namespaceSelector", "namespaces", "topologyKey" ] } } }, "kubernetes:core/v1:PodAffinityTermPatch": { "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", "properties": { "labelSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods." }, "matchLabelKeys": { "type": "array", "items": { "type": "string" }, "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." }, "mismatchLabelKeys": { "type": "array", "items": { "type": "string" }, "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." }, "namespaces": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "labelSelector", "matchLabelKeys", "mismatchLabelKeys", "namespaceSelector", "namespaces", "topologyKey" ] } } }, "kubernetes:core/v1:PodAntiAffinity": { "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:WeightedPodAffinityTerm" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodAffinityTerm" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "preferredDuringSchedulingIgnoredDuringExecution", "requiredDuringSchedulingIgnoredDuringExecution" ] } } }, "kubernetes:core/v1:PodAntiAffinityPatch": { "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:WeightedPodAffinityTermPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodAffinityTermPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "preferredDuringSchedulingIgnoredDuringExecution", "requiredDuringSchedulingIgnoredDuringExecution" ] } } }, "kubernetes:core/v1:PodCondition": { "description": "PodCondition contains details for the current condition of this pod.", "properties": { "lastProbeTime": { "type": "string", "description": "Last time we probed the condition." }, "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "Human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "Unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "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": "string", "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions" } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastProbeTime", "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:core/v1:PodConditionPatch": { "description": "PodCondition contains details for the current condition of this pod.", "properties": { "lastProbeTime": { "type": "string", "description": "Last time we probed the condition." }, "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "Human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "Unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "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": "string", "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastProbeTime", "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:core/v1:PodDNSConfig": { "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", "properties": { "nameservers": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodDNSConfigOption" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nameservers", "options", "searches" ] } } }, "kubernetes:core/v1:PodDNSConfigOption": { "description": "PodDNSConfigOption defines DNS resolver options of a pod.", "properties": { "name": { "type": "string", "description": "Required." }, "value": { "type": "string" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "value" ] } } }, "kubernetes:core/v1:PodDNSConfigOptionPatch": { "description": "PodDNSConfigOption defines DNS resolver options of a pod.", "properties": { "name": { "type": "string", "description": "Required." }, "value": { "type": "string" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "value" ] } } }, "kubernetes:core/v1:PodDNSConfigPatch": { "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", "properties": { "nameservers": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodDNSConfigOptionPatch" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nameservers", "options", "searches" ] } } }, "kubernetes:core/v1:PodIP": { "description": "PodIP represents a single IP address allocated to the pod.", "properties": { "ip": { "type": "string", "description": "IP is the IP address assigned to the pod" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ip" ] } } }, "kubernetes:core/v1:PodIPPatch": { "description": "PodIP represents a single IP address allocated to the pod.", "properties": { "ip": { "type": "string", "description": "IP is the IP address assigned to the pod" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ip" ] } } }, "kubernetes:core/v1:PodList": { "description": "PodList is a list of Pods.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Pod" }, "description": "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md" }, "kind": { "type": "string", "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", "const": "PodList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:PodOS": { "description": "PodOS defines the OS parameters of a pod.", "properties": { "name": { "type": "string", "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": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:core/v1:PodOSPatch": { "description": "PodOS defines the OS parameters of a pod.", "properties": { "name": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:core/v1:PodPatch": { "description": "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Pod is scheduled (\"PodScheduled\"\" '.status.condition' is true).\n2. The Pod is initialized (\"Initialized\" '.status.condition' is true).\n3. The Pod is ready (\"Ready\" '.status.condition' is true) and the '.status.phase' is\n set to \"Running\".\nOr (for Jobs): The Pod succeeded ('.status.phase' set to \"Succeeded\").\n\nIf the Pod has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Pod" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PodSpecPatch", "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:PodStatusPatch", "description": "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:PodReadinessGate": { "description": "PodReadinessGate contains the reference to a pod condition", "properties": { "conditionType": { "type": "string", "description": "ConditionType refers to a condition in the pod's condition list with matching type." } }, "type": "object", "required": [ "conditionType" ], "language": { "nodejs": { "requiredOutputs": [ "conditionType" ] } } }, "kubernetes:core/v1:PodReadinessGatePatch": { "description": "PodReadinessGate contains the reference to a pod condition", "properties": { "conditionType": { "type": "string", "description": "ConditionType refers to a condition in the pod's condition list with matching type." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditionType" ] } } }, "kubernetes:core/v1:PodResourceClaim": { "description": "PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", "properties": { "name": { "type": "string", "description": "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL." }, "source": { "$ref": "#/types/kubernetes:core/v1:ClaimSource", "description": "Source describes where to find the ResourceClaim." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name", "source" ] } } }, "kubernetes:core/v1:PodResourceClaimPatch": { "description": "PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", "properties": { "name": { "type": "string", "description": "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL." }, "source": { "$ref": "#/types/kubernetes:core/v1:ClaimSourcePatch", "description": "Source describes where to find the ResourceClaim." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "source" ] } } }, "kubernetes:core/v1:PodResourceClaimStatus": { "description": "PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.", "properties": { "name": { "type": "string", "description": "Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL." }, "resourceClaimName": { "type": "string", "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name", "resourceClaimName" ] } } }, "kubernetes:core/v1:PodResourceClaimStatusPatch": { "description": "PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.", "properties": { "name": { "type": "string", "description": "Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL." }, "resourceClaimName": { "type": "string", "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "resourceClaimName" ] } } }, "kubernetes:core/v1:PodSchedulingGate": { "description": "PodSchedulingGate is associated to a Pod to guard its scheduling.", "properties": { "name": { "type": "string", "description": "Name of the scheduling gate. Each scheduling gate must have a unique name field." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:core/v1:PodSchedulingGatePatch": { "description": "PodSchedulingGate is associated to a Pod to guard its scheduling.", "properties": { "name": { "type": "string", "description": "Name of the scheduling gate. Each scheduling gate must have a unique name field." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:core/v1:PodSecurityContext": { "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.", "properties": { "appArmorProfile": { "$ref": "#/types/kubernetes:core/v1:AppArmorProfile", "description": "appArmorProfile is the AppArmor options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows." }, "fsGroup": { "type": "integer", "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. 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": "string", "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": "integer", "description": "The GID to run the entrypoint of the container process. Uses runtime default if 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": "boolean", "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such 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": "integer", "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if 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": { "$ref": "#/types/kubernetes:core/v1:SELinuxOptions", "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. 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." }, "seccompProfile": { "$ref": "#/types/kubernetes:core/v1:SeccompProfile", "description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows." }, "supplementalGroups": { "type": "array", "items": { "type": "integer" }, "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows." }, "sysctls": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Sysctl" }, "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": { "$ref": "#/types/kubernetes:core/v1:WindowsSecurityContextOptions", "description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. 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 linux." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "appArmorProfile", "fsGroup", "fsGroupChangePolicy", "runAsGroup", "runAsNonRoot", "runAsUser", "seLinuxOptions", "seccompProfile", "supplementalGroups", "sysctls", "windowsOptions" ] } } }, "kubernetes:core/v1:PodSecurityContextPatch": { "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.", "properties": { "appArmorProfile": { "$ref": "#/types/kubernetes:core/v1:AppArmorProfilePatch", "description": "appArmorProfile is the AppArmor options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows." }, "fsGroup": { "type": "integer", "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. 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": "string", "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": "integer", "description": "The GID to run the entrypoint of the container process. Uses runtime default if 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": "boolean", "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such 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": "integer", "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if 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": { "$ref": "#/types/kubernetes:core/v1:SELinuxOptionsPatch", "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. 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." }, "seccompProfile": { "$ref": "#/types/kubernetes:core/v1:SeccompProfilePatch", "description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows." }, "supplementalGroups": { "type": "array", "items": { "type": "integer" }, "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows." }, "sysctls": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:SysctlPatch" }, "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": { "$ref": "#/types/kubernetes:core/v1:WindowsSecurityContextOptionsPatch", "description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. 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 linux." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "appArmorProfile", "fsGroup", "fsGroupChangePolicy", "runAsGroup", "runAsNonRoot", "runAsUser", "seLinuxOptions", "seccompProfile", "supplementalGroups", "sysctls", "windowsOptions" ] } } }, "kubernetes:core/v1:PodSpec": { "description": "PodSpec is a description of a pod.", "properties": { "activeDeadlineSeconds": { "type": "integer", "description": "Optional duration in seconds the pod may be active on the 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": { "$ref": "#/types/kubernetes:core/v1:Affinity", "description": "If specified, the pod's scheduling constraints" }, "automountServiceAccountToken": { "type": "boolean", "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted." }, "containers": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Container" }, "description": "List of containers 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": { "$ref": "#/types/kubernetes:core/v1:PodDNSConfig", "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy." }, "dnsPolicy": { "type": "string", "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": "boolean", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EphemeralContainer" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:HostAlias" }, "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified." }, "hostIPC": { "type": "boolean", "description": "Use the host's ipc namespace. Optional: Default to false." }, "hostNetwork": { "type": "boolean", "description": "Host networking requested for this 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": "boolean", "description": "Use the host's pid namespace. Optional: Default to false." }, "hostUsers": { "type": "boolean", "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": "string", "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value." }, "imagePullSecrets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Container" }, "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": "string", "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": "object", "additionalProperties": { "type": "string" }, "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match 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": { "$ref": "#/types/kubernetes:core/v1:PodOS", "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" }, "overhead": { "type": "object", "additionalProperties": { "type": "string" }, "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": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." }, "priority": { "type": "integer", "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is 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": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodReadinessGate" }, "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" }, "resourceClaims": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodResourceClaim" }, "description": "ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable." }, "restartPolicy": { "type": "string", "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy" }, "runtimeClassName": { "type": "string", "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": "string", "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler." }, "schedulingGates": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodSchedulingGate" }, "description": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the scheduler will not attempt to schedule the pod.\n\nSchedulingGates can only be set at pod creation time, and be removed only afterwards." }, "securityContext": { "$ref": "#/types/kubernetes:core/v1:PodSecurityContext", "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field." }, "serviceAccount": { "type": "string", "description": "DeprecatedServiceAccount is a deprecated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead." }, "serviceAccountName": { "type": "string", "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": "boolean", "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": "boolean", "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, 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": "string", "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": "integer", "description": "Optional duration 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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Toleration" }, "description": "If specified, the pod's tolerations." }, "topologySpreadConstraints": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySpreadConstraint" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Volume" }, "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes" } }, "type": "object", "required": [ "containers" ], "language": { "nodejs": { "requiredOutputs": [ "activeDeadlineSeconds", "affinity", "automountServiceAccountToken", "containers", "dnsConfig", "dnsPolicy", "enableServiceLinks", "ephemeralContainers", "hostAliases", "hostIPC", "hostNetwork", "hostPID", "hostUsers", "hostname", "imagePullSecrets", "initContainers", "nodeName", "nodeSelector", "os", "overhead", "preemptionPolicy", "priority", "priorityClassName", "readinessGates", "resourceClaims", "restartPolicy", "runtimeClassName", "schedulerName", "schedulingGates", "securityContext", "serviceAccount", "serviceAccountName", "setHostnameAsFQDN", "shareProcessNamespace", "subdomain", "terminationGracePeriodSeconds", "tolerations", "topologySpreadConstraints", "volumes" ] } } }, "kubernetes:core/v1:PodSpecPatch": { "description": "PodSpec is a description of a pod.", "properties": { "activeDeadlineSeconds": { "type": "integer", "description": "Optional duration in seconds the pod may be active on the 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": { "$ref": "#/types/kubernetes:core/v1:AffinityPatch", "description": "If specified, the pod's scheduling constraints" }, "automountServiceAccountToken": { "type": "boolean", "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted." }, "containers": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerPatch" }, "description": "List of containers 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": { "$ref": "#/types/kubernetes:core/v1:PodDNSConfigPatch", "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy." }, "dnsPolicy": { "type": "string", "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": "boolean", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EphemeralContainerPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:HostAliasPatch" }, "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified." }, "hostIPC": { "type": "boolean", "description": "Use the host's ipc namespace. Optional: Default to false." }, "hostNetwork": { "type": "boolean", "description": "Host networking requested for this 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": "boolean", "description": "Use the host's pid namespace. Optional: Default to false." }, "hostUsers": { "type": "boolean", "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": "string", "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value." }, "imagePullSecrets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerPatch" }, "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": "string", "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": "object", "additionalProperties": { "type": "string" }, "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match 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": { "$ref": "#/types/kubernetes:core/v1:PodOSPatch", "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" }, "overhead": { "type": "object", "additionalProperties": { "type": "string" }, "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": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." }, "priority": { "type": "integer", "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is 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": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodReadinessGatePatch" }, "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" }, "resourceClaims": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodResourceClaimPatch" }, "description": "ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable." }, "restartPolicy": { "type": "string", "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy" }, "runtimeClassName": { "type": "string", "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": "string", "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler." }, "schedulingGates": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodSchedulingGatePatch" }, "description": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the scheduler will not attempt to schedule the pod.\n\nSchedulingGates can only be set at pod creation time, and be removed only afterwards." }, "securityContext": { "$ref": "#/types/kubernetes:core/v1:PodSecurityContextPatch", "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field." }, "serviceAccount": { "type": "string", "description": "DeprecatedServiceAccount is a deprecated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead." }, "serviceAccountName": { "type": "string", "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": "boolean", "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": "boolean", "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, 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": "string", "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": "integer", "description": "Optional duration 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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TolerationPatch" }, "description": "If specified, the pod's tolerations." }, "topologySpreadConstraints": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySpreadConstraintPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumePatch" }, "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "activeDeadlineSeconds", "affinity", "automountServiceAccountToken", "containers", "dnsConfig", "dnsPolicy", "enableServiceLinks", "ephemeralContainers", "hostAliases", "hostIPC", "hostNetwork", "hostPID", "hostUsers", "hostname", "imagePullSecrets", "initContainers", "nodeName", "nodeSelector", "os", "overhead", "preemptionPolicy", "priority", "priorityClassName", "readinessGates", "resourceClaims", "restartPolicy", "runtimeClassName", "schedulerName", "schedulingGates", "securityContext", "serviceAccount", "serviceAccountName", "setHostnameAsFQDN", "shareProcessNamespace", "subdomain", "terminationGracePeriodSeconds", "tolerations", "topologySpreadConstraints", "volumes" ] } } }, "kubernetes:core/v1:PodStatus": { "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.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodCondition" }, "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions" }, "containerStatuses": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerStatus" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerStatus" }, "description": "Status for any ephemeral containers that have run in this pod." }, "hostIP": { "type": "string", "description": "hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will not be updated even if there is a node is assigned to pod" }, "hostIPs": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:HostIP" }, "description": "hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must match the hostIP field. This list is empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will not be updated even if there is a node is assigned to this pod." }, "initContainerStatuses": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerStatus" }, "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": "string", "description": "A human readable message indicating details about why the pod is in this condition." }, "nominatedNodeName": { "type": "string", "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": "string", "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": "string", "description": "podIP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated." }, "podIPs": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodIP" }, "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": "string", "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://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes" }, "reason": { "type": "string", "description": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'" }, "resize": { "type": "string", "description": "Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\"" }, "resourceClaimStatuses": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodResourceClaimStatus" }, "description": "Status of resource claims." }, "startTime": { "type": "string", "description": "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "containerStatuses", "ephemeralContainerStatuses", "hostIP", "hostIPs", "initContainerStatuses", "message", "nominatedNodeName", "phase", "podIP", "podIPs", "qosClass", "reason", "resize", "resourceClaimStatuses", "startTime" ] } } }, "kubernetes:core/v1:PodStatusPatch": { "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.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodConditionPatch" }, "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions" }, "containerStatuses": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerStatusPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerStatusPatch" }, "description": "Status for any ephemeral containers that have run in this pod." }, "hostIP": { "type": "string", "description": "hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will not be updated even if there is a node is assigned to pod" }, "hostIPs": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:HostIPPatch" }, "description": "hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must match the hostIP field. This list is empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will not be updated even if there is a node is assigned to this pod." }, "initContainerStatuses": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ContainerStatusPatch" }, "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": "string", "description": "A human readable message indicating details about why the pod is in this condition." }, "nominatedNodeName": { "type": "string", "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": "string", "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": "string", "description": "podIP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated." }, "podIPs": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodIPPatch" }, "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": "string", "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://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes" }, "reason": { "type": "string", "description": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'" }, "resize": { "type": "string", "description": "Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\"" }, "resourceClaimStatuses": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodResourceClaimStatusPatch" }, "description": "Status of resource claims." }, "startTime": { "type": "string", "description": "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "containerStatuses", "ephemeralContainerStatuses", "hostIP", "hostIPs", "initContainerStatuses", "message", "nominatedNodeName", "phase", "podIP", "podIPs", "qosClass", "reason", "resize", "resourceClaimStatuses", "startTime" ] } } }, "kubernetes:core/v1:PodTemplate": { "description": "PodTemplate describes a template for creating copies of a predefined pod.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PodTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "template" ] } } }, "kubernetes:core/v1:PodTemplateList": { "description": "PodTemplateList is a list of PodTemplates.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodTemplate" }, "description": "List of pod templates" }, "kind": { "type": "string", "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", "const": "PodTemplateList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:PodTemplatePatch": { "description": "PodTemplate describes a template for creating copies of a predefined pod.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PodTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "template" ] } } }, "kubernetes:core/v1:PodTemplateSpec": { "description": "PodTemplateSpec describes the data a pod should have when created from a template", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PodSpec", "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:core/v1:PodTemplateSpecPatch": { "description": "PodTemplateSpec describes the data a pod should have when created from a template", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PodSpecPatch", "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:core/v1:PortStatus": { "properties": { "error": { "type": "string", "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": "integer", "description": "Port is the port number of the service port of which status is recorded here" }, "protocol": { "type": "string", "description": "Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\"" } }, "type": "object", "required": [ "port", "protocol" ], "language": { "nodejs": { "requiredOutputs": [ "error", "port", "protocol" ] } } }, "kubernetes:core/v1:PortStatusPatch": { "properties": { "error": { "type": "string", "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": "integer", "description": "Port is the port number of the service port of which status is recorded here" }, "protocol": { "type": "string", "description": "Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\"" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "error", "port", "protocol" ] } } }, "kubernetes:core/v1:PortworxVolumeSource": { "description": "PortworxVolumeSource represents a Portworx volume resource.", "properties": { "fsType": { "type": "string", "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": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "volumeID": { "type": "string", "description": "volumeID uniquely identifies a Portworx volume" } }, "type": "object", "required": [ "volumeID" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "readOnly", "volumeID" ] } } }, "kubernetes:core/v1:PortworxVolumeSourcePatch": { "description": "PortworxVolumeSource represents a Portworx volume resource.", "properties": { "fsType": { "type": "string", "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": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "volumeID": { "type": "string", "description": "volumeID uniquely identifies a Portworx volume" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "readOnly", "volumeID" ] } } }, "kubernetes:core/v1:PreferredSchedulingTerm": { "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", "properties": { "preference": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorTerm", "description": "A node selector term, associated with the corresponding weight." }, "weight": { "type": "integer", "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." } }, "type": "object", "required": [ "preference", "weight" ], "language": { "nodejs": { "requiredOutputs": [ "preference", "weight" ] } } }, "kubernetes:core/v1:PreferredSchedulingTermPatch": { "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", "properties": { "preference": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorTermPatch", "description": "A node selector term, associated with the corresponding weight." }, "weight": { "type": "integer", "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "preference", "weight" ] } } }, "kubernetes:core/v1:Probe": { "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", "properties": { "exec": { "$ref": "#/types/kubernetes:core/v1:ExecAction", "description": "Exec specifies the action to take." }, "failureThreshold": { "type": "integer", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." }, "grpc": { "$ref": "#/types/kubernetes:core/v1:GRPCAction", "description": "GRPC specifies an action involving a GRPC port." }, "httpGet": { "$ref": "#/types/kubernetes:core/v1:HTTPGetAction", "description": "HTTPGet specifies the http request to perform." }, "initialDelaySeconds": { "type": "integer", "description": "Number of 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": "integer", "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." }, "successThreshold": { "type": "integer", "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": { "$ref": "#/types/kubernetes:core/v1:TCPSocketAction", "description": "TCPSocket specifies an action involving a TCP port." }, "terminationGracePeriodSeconds": { "type": "integer", "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": "integer", "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "exec", "failureThreshold", "grpc", "httpGet", "initialDelaySeconds", "periodSeconds", "successThreshold", "tcpSocket", "terminationGracePeriodSeconds", "timeoutSeconds" ] } } }, "kubernetes:core/v1:ProbePatch": { "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", "properties": { "exec": { "$ref": "#/types/kubernetes:core/v1:ExecActionPatch", "description": "Exec specifies the action to take." }, "failureThreshold": { "type": "integer", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." }, "grpc": { "$ref": "#/types/kubernetes:core/v1:GRPCActionPatch", "description": "GRPC specifies an action involving a GRPC port." }, "httpGet": { "$ref": "#/types/kubernetes:core/v1:HTTPGetActionPatch", "description": "HTTPGet specifies the http request to perform." }, "initialDelaySeconds": { "type": "integer", "description": "Number of 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": "integer", "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." }, "successThreshold": { "type": "integer", "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": { "$ref": "#/types/kubernetes:core/v1:TCPSocketActionPatch", "description": "TCPSocket specifies an action involving a TCP port." }, "terminationGracePeriodSeconds": { "type": "integer", "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": "integer", "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "exec", "failureThreshold", "grpc", "httpGet", "initialDelaySeconds", "periodSeconds", "successThreshold", "tcpSocket", "terminationGracePeriodSeconds", "timeoutSeconds" ] } } }, "kubernetes:core/v1:ProjectedVolumeSource": { "description": "Represents a projected volume source", "properties": { "defaultMode": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeProjection" }, "description": "sources is the list of volume projections" } }, "type": "object", "required": [ "sources" ], "language": { "nodejs": { "requiredOutputs": [ "defaultMode", "sources" ] } } }, "kubernetes:core/v1:ProjectedVolumeSourcePatch": { "description": "Represents a projected volume source", "properties": { "defaultMode": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeProjectionPatch" }, "description": "sources is the list of volume projections" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "defaultMode", "sources" ] } } }, "kubernetes:core/v1:QuobyteVolumeSource": { "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", "properties": { "group": { "type": "string", "description": "group to map volume access to Default is no group" }, "readOnly": { "type": "boolean", "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." }, "registry": { "type": "string", "description": "registry represents a single or multiple Quobyte 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": "string", "description": "tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" }, "user": { "type": "string", "description": "user to map volume access to Defaults to serivceaccount user" }, "volume": { "type": "string", "description": "volume is a string that references an already created Quobyte volume by name." } }, "type": "object", "required": [ "registry", "volume" ], "language": { "nodejs": { "requiredOutputs": [ "group", "readOnly", "registry", "tenant", "user", "volume" ] } } }, "kubernetes:core/v1:QuobyteVolumeSourcePatch": { "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", "properties": { "group": { "type": "string", "description": "group to map volume access to Default is no group" }, "readOnly": { "type": "boolean", "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." }, "registry": { "type": "string", "description": "registry represents a single or multiple Quobyte 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": "string", "description": "tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" }, "user": { "type": "string", "description": "user to map volume access to Defaults to serivceaccount user" }, "volume": { "type": "string", "description": "volume is a string that references an already created Quobyte volume by name." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "readOnly", "registry", "tenant", "user", "volume" ] } } }, "kubernetes:core/v1:RBDPersistentVolumeSource": { "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "properties": { "fsType": { "type": "string", "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": "string", "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "keyring": { "type": "string", "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": "array", "items": { "type": "string" }, "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "pool": { "type": "string", "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": "boolean", "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": { "$ref": "#/types/kubernetes:core/v1:SecretReference", "description": "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "user": { "type": "string", "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": "object", "required": [ "image", "monitors" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "image", "keyring", "monitors", "pool", "readOnly", "secretRef", "user" ] } } }, "kubernetes:core/v1:RBDPersistentVolumeSourcePatch": { "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "properties": { "fsType": { "type": "string", "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": "string", "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "keyring": { "type": "string", "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": "array", "items": { "type": "string" }, "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "pool": { "type": "string", "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": "boolean", "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": { "$ref": "#/types/kubernetes:core/v1:SecretReferencePatch", "description": "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "user": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "image", "keyring", "monitors", "pool", "readOnly", "secretRef", "user" ] } } }, "kubernetes:core/v1:RBDVolumeSource": { "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "properties": { "fsType": { "type": "string", "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": "string", "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "keyring": { "type": "string", "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": "array", "items": { "type": "string" }, "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "pool": { "type": "string", "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": "boolean", "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": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference", "description": "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "user": { "type": "string", "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": "object", "required": [ "image", "monitors" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "image", "keyring", "monitors", "pool", "readOnly", "secretRef", "user" ] } } }, "kubernetes:core/v1:RBDVolumeSourcePatch": { "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "properties": { "fsType": { "type": "string", "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": "string", "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "keyring": { "type": "string", "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": "array", "items": { "type": "string" }, "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "pool": { "type": "string", "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": "boolean", "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": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch", "description": "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "user": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "image", "keyring", "monitors", "pool", "readOnly", "secretRef", "user" ] } } }, "kubernetes:core/v1:ReplicationController": { "description": "ReplicationController represents the configuration of a replication controller.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ReplicationController" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerSpec", "description": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerStatus", "description": "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:ReplicationControllerCondition": { "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "The last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of replication controller condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:core/v1:ReplicationControllerConditionPatch": { "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "The last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of replication controller condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:core/v1:ReplicationControllerList": { "description": "ReplicationControllerList is a collection of replication controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ReplicationController" }, "description": "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicationControllerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:ReplicationControllerPatch": { "description": "ReplicationController represents the configuration of a replication controller.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ReplicationController" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerSpecPatch", "description": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerStatusPatch", "description": "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:ReplicationControllerSpec": { "description": "ReplicationControllerSpec is the specification of a replication controller.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": "object", "additionalProperties": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "replicas", "selector", "template" ] } } }, "kubernetes:core/v1:ReplicationControllerSpecPatch": { "description": "ReplicationControllerSpec is the specification of a replication controller.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": "object", "additionalProperties": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "replicas", "selector", "template" ] } } }, "kubernetes:core/v1:ReplicationControllerStatus": { "description": "ReplicationControllerStatus represents the current status of a replication controller.", "properties": { "availableReplicas": { "type": "integer", "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerCondition" }, "description": "Represents the latest available observations of a replication controller's current state." }, "fullyLabeledReplicas": { "type": "integer", "description": "The number of pods that have labels matching the labels of the pod template of the replication controller." }, "observedGeneration": { "type": "integer", "description": "ObservedGeneration reflects the generation of the most recently observed replication controller." }, "readyReplicas": { "type": "integer", "description": "The number of ready replicas for this replication controller." }, "replicas": { "type": "integer", "description": "Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller" } }, "type": "object", "required": [ "replicas" ], "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "conditions", "fullyLabeledReplicas", "observedGeneration", "readyReplicas", "replicas" ] } } }, "kubernetes:core/v1:ReplicationControllerStatusPatch": { "description": "ReplicationControllerStatus represents the current status of a replication controller.", "properties": { "availableReplicas": { "type": "integer", "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerConditionPatch" }, "description": "Represents the latest available observations of a replication controller's current state." }, "fullyLabeledReplicas": { "type": "integer", "description": "The number of pods that have labels matching the labels of the pod template of the replication controller." }, "observedGeneration": { "type": "integer", "description": "ObservedGeneration reflects the generation of the most recently observed replication controller." }, "readyReplicas": { "type": "integer", "description": "The number of ready replicas for this replication controller." }, "replicas": { "type": "integer", "description": "Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "conditions", "fullyLabeledReplicas", "observedGeneration", "readyReplicas", "replicas" ] } } }, "kubernetes:core/v1:ResourceClaim": { "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", "properties": { "name": { "type": "string", "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:core/v1:ResourceClaimPatch": { "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", "properties": { "name": { "type": "string", "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:core/v1:ResourceFieldSelector": { "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", "properties": { "containerName": { "type": "string", "description": "Container name: required for volumes, optional for env vars" }, "divisor": { "type": "string", "description": "Specifies the output format of the exposed resources, defaults to \"1\"" }, "resource": { "type": "string", "description": "Required: resource to select" } }, "type": "object", "required": [ "resource" ], "language": { "nodejs": { "requiredOutputs": [ "containerName", "divisor", "resource" ] } } }, "kubernetes:core/v1:ResourceFieldSelectorPatch": { "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", "properties": { "containerName": { "type": "string", "description": "Container name: required for volumes, optional for env vars" }, "divisor": { "type": "string", "description": "Specifies the output format of the exposed resources, defaults to \"1\"" }, "resource": { "type": "string", "description": "Required: resource to select" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "containerName", "divisor", "resource" ] } } }, "kubernetes:core/v1:ResourceQuota": { "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ResourceQuota" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ResourceQuotaSpec", "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ResourceQuotaStatus", "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:ResourceQuotaList": { "description": "ResourceQuotaList is a list of ResourceQuota items.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ResourceQuota" }, "description": "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/" }, "kind": { "type": "string", "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", "const": "ResourceQuotaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:ResourceQuotaPatch": { "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ResourceQuota" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ResourceQuotaSpecPatch", "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ResourceQuotaStatusPatch", "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:ResourceQuotaSpec": { "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", "properties": { "hard": { "type": "object", "additionalProperties": { "type": "string" }, "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/" }, "scopeSelector": { "$ref": "#/types/kubernetes:core/v1:ScopeSelector", "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched." }, "scopes": { "type": "array", "items": { "type": "string" }, "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "hard", "scopeSelector", "scopes" ] } } }, "kubernetes:core/v1:ResourceQuotaSpecPatch": { "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", "properties": { "hard": { "type": "object", "additionalProperties": { "type": "string" }, "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/" }, "scopeSelector": { "$ref": "#/types/kubernetes:core/v1:ScopeSelectorPatch", "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched." }, "scopes": { "type": "array", "items": { "type": "string" }, "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "hard", "scopeSelector", "scopes" ] } } }, "kubernetes:core/v1:ResourceQuotaStatus": { "description": "ResourceQuotaStatus defines the enforced hard limits and observed use.", "properties": { "hard": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "description": "Used is the current observed total usage of the resource in the namespace." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "hard", "used" ] } } }, "kubernetes:core/v1:ResourceQuotaStatusPatch": { "description": "ResourceQuotaStatus defines the enforced hard limits and observed use.", "properties": { "hard": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "description": "Used is the current observed total usage of the resource in the namespace." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "hard", "used" ] } } }, "kubernetes:core/v1:ResourceRequirements": { "description": "ResourceRequirements describes the compute resource requirements.", "properties": { "claims": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ResourceClaim" }, "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers." }, "limits": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" }, "requests": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "claims", "limits", "requests" ] } } }, "kubernetes:core/v1:ResourceRequirementsPatch": { "description": "ResourceRequirements describes the compute resource requirements.", "properties": { "claims": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ResourceClaimPatch" }, "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers." }, "limits": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" }, "requests": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "claims", "limits", "requests" ] } } }, "kubernetes:core/v1:SELinuxOptions": { "description": "SELinuxOptions are the labels to be applied to the container", "properties": { "level": { "type": "string", "description": "Level is SELinux level label that applies to the container." }, "role": { "type": "string", "description": "Role is a SELinux role label that applies to the container." }, "type": { "type": "string", "description": "Type is a SELinux type label that applies to the container." }, "user": { "type": "string", "description": "User is a SELinux user label that applies to the container." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "level", "role", "type", "user" ] } } }, "kubernetes:core/v1:SELinuxOptionsPatch": { "description": "SELinuxOptions are the labels to be applied to the container", "properties": { "level": { "type": "string", "description": "Level is SELinux level label that applies to the container." }, "role": { "type": "string", "description": "Role is a SELinux role label that applies to the container." }, "type": { "type": "string", "description": "Type is a SELinux type label that applies to the container." }, "user": { "type": "string", "description": "User is a SELinux user label that applies to the container." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "level", "role", "type", "user" ] } } }, "kubernetes:core/v1:ScaleIOPersistentVolumeSource": { "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume", "properties": { "fsType": { "type": "string", "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": "string", "description": "gateway is the host address of the ScaleIO API Gateway." }, "protectionDomain": { "type": "string", "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage." }, "readOnly": { "type": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReference", "description": "secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail." }, "sslEnabled": { "type": "boolean", "description": "sslEnabled is the flag to enable/disable SSL communication with Gateway, default false" }, "storageMode": { "type": "string", "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." }, "storagePool": { "type": "string", "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain." }, "system": { "type": "string", "description": "system is the name of the storage system as configured in ScaleIO." }, "volumeName": { "type": "string", "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source." } }, "type": "object", "required": [ "gateway", "secretRef", "system" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "gateway", "protectionDomain", "readOnly", "secretRef", "sslEnabled", "storageMode", "storagePool", "system", "volumeName" ] } } }, "kubernetes:core/v1:ScaleIOPersistentVolumeSourcePatch": { "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume", "properties": { "fsType": { "type": "string", "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": "string", "description": "gateway is the host address of the ScaleIO API Gateway." }, "protectionDomain": { "type": "string", "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage." }, "readOnly": { "type": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:SecretReferencePatch", "description": "secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail." }, "sslEnabled": { "type": "boolean", "description": "sslEnabled is the flag to enable/disable SSL communication with Gateway, default false" }, "storageMode": { "type": "string", "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." }, "storagePool": { "type": "string", "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain." }, "system": { "type": "string", "description": "system is the name of the storage system as configured in ScaleIO." }, "volumeName": { "type": "string", "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "gateway", "protectionDomain", "readOnly", "secretRef", "sslEnabled", "storageMode", "storagePool", "system", "volumeName" ] } } }, "kubernetes:core/v1:ScaleIOVolumeSource": { "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", "properties": { "fsType": { "type": "string", "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": "string", "description": "gateway is the host address of the ScaleIO API Gateway." }, "protectionDomain": { "type": "string", "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage." }, "readOnly": { "type": "boolean", "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference", "description": "secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail." }, "sslEnabled": { "type": "boolean", "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false" }, "storageMode": { "type": "string", "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." }, "storagePool": { "type": "string", "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain." }, "system": { "type": "string", "description": "system is the name of the storage system as configured in ScaleIO." }, "volumeName": { "type": "string", "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source." } }, "type": "object", "required": [ "gateway", "secretRef", "system" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "gateway", "protectionDomain", "readOnly", "secretRef", "sslEnabled", "storageMode", "storagePool", "system", "volumeName" ] } } }, "kubernetes:core/v1:ScaleIOVolumeSourcePatch": { "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", "properties": { "fsType": { "type": "string", "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": "string", "description": "gateway is the host address of the ScaleIO API Gateway." }, "protectionDomain": { "type": "string", "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage." }, "readOnly": { "type": "boolean", "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch", "description": "secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail." }, "sslEnabled": { "type": "boolean", "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false" }, "storageMode": { "type": "string", "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." }, "storagePool": { "type": "string", "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain." }, "system": { "type": "string", "description": "system is the name of the storage system as configured in ScaleIO." }, "volumeName": { "type": "string", "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "gateway", "protectionDomain", "readOnly", "secretRef", "sslEnabled", "storageMode", "storagePool", "system", "volumeName" ] } } }, "kubernetes:core/v1:ScopeSelector": { "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", "properties": { "matchExpressions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ScopedResourceSelectorRequirement" }, "description": "A list of scope selector requirements by scope of the resources." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchExpressions" ] } } }, "kubernetes:core/v1:ScopeSelectorPatch": { "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", "properties": { "matchExpressions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ScopedResourceSelectorRequirementPatch" }, "description": "A list of scope selector requirements by scope of the resources." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchExpressions" ] } } }, "kubernetes:core/v1:ScopedResourceSelectorRequirement": { "description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", "properties": { "operator": { "type": "string", "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist." }, "scopeName": { "type": "string", "description": "The name of the scope that the selector applies to." }, "values": { "type": "array", "items": { "type": "string" }, "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": "object", "required": [ "operator", "scopeName" ], "language": { "nodejs": { "requiredOutputs": [ "operator", "scopeName", "values" ] } } }, "kubernetes:core/v1:ScopedResourceSelectorRequirementPatch": { "description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", "properties": { "operator": { "type": "string", "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist." }, "scopeName": { "type": "string", "description": "The name of the scope that the selector applies to." }, "values": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "operator", "scopeName", "values" ] } } }, "kubernetes:core/v1:SeccompProfile": { "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", "properties": { "localhostProfile": { "type": "string", "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 be set if type is \"Localhost\". Must NOT be set for any other type." }, "type": { "type": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "localhostProfile", "type" ] } } }, "kubernetes:core/v1:SeccompProfilePatch": { "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", "properties": { "localhostProfile": { "type": "string", "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 be set if type is \"Localhost\". Must NOT be set for any other type." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "localhostProfile", "type" ] } } }, "kubernetes:core/v1:Secret": { "description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.\n\nNote: While Pulumi automatically encrypts the 'data' and 'stringData'\nfields, this encryption only applies to Pulumi's context, including the state file, \nthe Service, the CLI, etc. Kubernetes does not encrypt Secret resources by default,\nand the contents are visible to users with access to the Secret in Kubernetes using\ntools like 'kubectl'.\n\nFor more information on securing Kubernetes Secrets, see the following links:\nhttps://kubernetes.io/docs/concepts/configuration/secret/#security-properties\nhttps://kubernetes.io/docs/concepts/configuration/secret/#risks", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "data": { "type": "object", "additionalProperties": { "type": "string" }, "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", "secret": true }, "immutable": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "Secret" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "stringData": { "type": "object", "additionalProperties": { "type": "string" }, "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.", "secret": true }, "type": { "type": "string", "description": "Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "immutable", "kind", "metadata", "stringData", "type" ] } } }, "kubernetes:core/v1:SecretEnvSource": { "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.", "properties": { "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "Specify whether the Secret must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "optional" ] } } }, "kubernetes:core/v1:SecretEnvSourcePatch": { "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.", "properties": { "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "Specify whether the Secret must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "optional" ] } } }, "kubernetes:core/v1:SecretKeySelector": { "description": "SecretKeySelector selects a key of a Secret.", "properties": { "key": { "type": "string", "description": "The key of the secret to select from. Must be a valid secret key." }, "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "Specify whether the Secret or its key must be defined" } }, "type": "object", "required": [ "key" ], "language": { "nodejs": { "requiredOutputs": [ "key", "name", "optional" ] } } }, "kubernetes:core/v1:SecretKeySelectorPatch": { "description": "SecretKeySelector selects a key of a Secret.", "properties": { "key": { "type": "string", "description": "The key of the secret to select from. Must be a valid secret key." }, "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "Specify whether the Secret or its key must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "key", "name", "optional" ] } } }, "kubernetes:core/v1:SecretList": { "description": "SecretList is a list of Secret.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Secret" }, "description": "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret" }, "kind": { "type": "string", "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", "const": "SecretList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:SecretPatch": { "description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.\n\nNote: While Pulumi automatically encrypts the 'data' and 'stringData'\nfields, this encryption only applies to Pulumi's context, including the state file, \nthe Service, the CLI, etc. Kubernetes does not encrypt Secret resources by default,\nand the contents are visible to users with access to the Secret in Kubernetes using\ntools like 'kubectl'.\n\nFor more information on securing Kubernetes Secrets, see the following links:\nhttps://kubernetes.io/docs/concepts/configuration/secret/#security-properties\nhttps://kubernetes.io/docs/concepts/configuration/secret/#risks", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "data": { "type": "object", "additionalProperties": { "type": "string" }, "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": "boolean", "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." }, "kind": { "type": "string", "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", "const": "Secret" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "stringData": { "type": "object", "additionalProperties": { "type": "string" }, "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": "string", "description": "Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "immutable", "kind", "metadata", "stringData", "type" ] } } }, "kubernetes:core/v1:SecretProjection": { "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.", "properties": { "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:KeyToPath" }, "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": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "optional field specify whether the Secret or its key must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "items", "name", "optional" ] } } }, "kubernetes:core/v1:SecretProjectionPatch": { "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.", "properties": { "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:KeyToPathPatch" }, "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": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "optional": { "type": "boolean", "description": "optional field specify whether the Secret or its key must be defined" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "items", "name", "optional" ] } } }, "kubernetes:core/v1:SecretReference": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", "properties": { "name": { "type": "string", "description": "name is unique within a namespace to reference a secret resource." }, "namespace": { "type": "string", "description": "namespace defines the space within which the secret name must be unique." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:core/v1:SecretReferencePatch": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", "properties": { "name": { "type": "string", "description": "name is unique within a namespace to reference a secret resource." }, "namespace": { "type": "string", "description": "namespace defines the space within which the secret name must be unique." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:core/v1:SecretVolumeSource": { "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.", "properties": { "defaultMode": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:KeyToPath" }, "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": "boolean", "description": "optional field specify whether the Secret or its keys must be defined" }, "secretName": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "defaultMode", "items", "optional", "secretName" ] } } }, "kubernetes:core/v1:SecretVolumeSourcePatch": { "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.", "properties": { "defaultMode": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:KeyToPathPatch" }, "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": "boolean", "description": "optional field specify whether the Secret or its keys must be defined" }, "secretName": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "defaultMode", "items", "optional", "secretName" ] } } }, "kubernetes:core/v1:SecurityContext": { "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.", "properties": { "allowPrivilegeEscalation": { "type": "boolean", "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag 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." }, "appArmorProfile": { "$ref": "#/types/kubernetes:core/v1:AppArmorProfile", "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile overrides the pod's appArmorProfile. Note that this field cannot be set when spec.os.name is windows." }, "capabilities": { "$ref": "#/types/kubernetes:core/v1:Capabilities", "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows." }, "privileged": { "type": "boolean", "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": "string", "description": "procMount denotes the type of proc mount to use for the containers. The 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": "boolean", "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": "integer", "description": "The GID to run the entrypoint of the container process. Uses 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": "boolean", "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such 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": "integer", "description": "The UID to run the entrypoint of the container process. Defaults to user specified in 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": { "$ref": "#/types/kubernetes:core/v1:SELinuxOptions", "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. 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." }, "seccompProfile": { "$ref": "#/types/kubernetes:core/v1:SeccompProfile", "description": "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows." }, "windowsOptions": { "$ref": "#/types/kubernetes:core/v1:WindowsSecurityContextOptions", "description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. 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 linux." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allowPrivilegeEscalation", "appArmorProfile", "capabilities", "privileged", "procMount", "readOnlyRootFilesystem", "runAsGroup", "runAsNonRoot", "runAsUser", "seLinuxOptions", "seccompProfile", "windowsOptions" ] } } }, "kubernetes:core/v1:SecurityContextPatch": { "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.", "properties": { "allowPrivilegeEscalation": { "type": "boolean", "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag 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." }, "appArmorProfile": { "$ref": "#/types/kubernetes:core/v1:AppArmorProfilePatch", "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile overrides the pod's appArmorProfile. Note that this field cannot be set when spec.os.name is windows." }, "capabilities": { "$ref": "#/types/kubernetes:core/v1:CapabilitiesPatch", "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows." }, "privileged": { "type": "boolean", "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": "string", "description": "procMount denotes the type of proc mount to use for the containers. The 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": "boolean", "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": "integer", "description": "The GID to run the entrypoint of the container process. Uses 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": "boolean", "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such 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": "integer", "description": "The UID to run the entrypoint of the container process. Defaults to user specified in 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": { "$ref": "#/types/kubernetes:core/v1:SELinuxOptionsPatch", "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. 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." }, "seccompProfile": { "$ref": "#/types/kubernetes:core/v1:SeccompProfilePatch", "description": "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows." }, "windowsOptions": { "$ref": "#/types/kubernetes:core/v1:WindowsSecurityContextOptionsPatch", "description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. 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 linux." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allowPrivilegeEscalation", "appArmorProfile", "capabilities", "privileged", "procMount", "readOnlyRootFilesystem", "runAsGroup", "runAsNonRoot", "runAsUser", "seLinuxOptions", "seccompProfile", "windowsOptions" ] } } }, "kubernetes:core/v1:Service": { "description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Service object exists.\n2. Related Endpoint objects are created. Each time we get an update, wait 10 seconds\n for any stragglers.\n3. The endpoints objects target some number of living objects (unless the Service is\n an \"empty headless\" Service [1] or a Service with '.spec.type: ExternalName').\n4. External IP address is allocated (if Service has '.spec.type: LoadBalancer').\n\nKnown limitations: \nServices targeting ReplicaSets (and, by extension, Deployments,\nStatefulSets, etc.) with '.spec.replicas' set to 0 are not handled, and will time\nout. To work around this limitation, set 'pulumi.com/skipAwait: \"true\"' on\n'.metadata.annotations' for the Service. Work to handle this case is in progress [2].\n\n[1] https://kubernetes.io/docs/concepts/services-networking/service/#headless-services\n[2] https://github.com/pulumi/pulumi-kubernetes/pull/703\n\nIf the Service has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Service" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ServiceSpec", "description": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ServiceStatus", "description": "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:ServiceAccount": { "description": "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "automountServiceAccountToken": { "type": "boolean", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference" }, "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" }, "kind": { "type": "string", "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", "const": "ServiceAccount" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "secrets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReference" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "automountServiceAccountToken", "imagePullSecrets", "kind", "metadata", "secrets" ] } } }, "kubernetes:core/v1:ServiceAccountList": { "description": "ServiceAccountList is a list of ServiceAccount objects", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ServiceAccount" }, "description": "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" }, "kind": { "type": "string", "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", "const": "ServiceAccountList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:ServiceAccountPatch": { "description": "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "automountServiceAccountToken": { "type": "boolean", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch" }, "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" }, "kind": { "type": "string", "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", "const": "ServiceAccount" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "secrets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "automountServiceAccountToken", "imagePullSecrets", "kind", "metadata", "secrets" ] } } }, "kubernetes:core/v1:ServiceAccountTokenProjection": { "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).", "properties": { "audience": { "type": "string", "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": "integer", "description": "expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of 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": "string", "description": "path is the path relative to the mount point of the file to project the token into." } }, "type": "object", "required": [ "path" ], "language": { "nodejs": { "requiredOutputs": [ "audience", "expirationSeconds", "path" ] } } }, "kubernetes:core/v1:ServiceAccountTokenProjectionPatch": { "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).", "properties": { "audience": { "type": "string", "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": "integer", "description": "expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of 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": "string", "description": "path is the path relative to the mount point of the file to project the token into." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audience", "expirationSeconds", "path" ] } } }, "kubernetes:core/v1:ServiceList": { "description": "ServiceList holds a list of services.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Service" }, "description": "List of services" }, "kind": { "type": "string", "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", "const": "ServiceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:core/v1:ServicePatch": { "description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Service object exists.\n2. Related Endpoint objects are created. Each time we get an update, wait 10 seconds\n for any stragglers.\n3. The endpoints objects target some number of living objects (unless the Service is\n an \"empty headless\" Service [1] or a Service with '.spec.type: ExternalName').\n4. External IP address is allocated (if Service has '.spec.type: LoadBalancer').\n\nKnown limitations: \nServices targeting ReplicaSets (and, by extension, Deployments,\nStatefulSets, etc.) with '.spec.replicas' set to 0 are not handled, and will time\nout. To work around this limitation, set 'pulumi.com/skipAwait: \"true\"' on\n'.metadata.annotations' for the Service. Work to handle this case is in progress [2].\n\n[1] https://kubernetes.io/docs/concepts/services-networking/service/#headless-services\n[2] https://github.com/pulumi/pulumi-kubernetes/pull/703\n\nIf the Service has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Service" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ServiceSpecPatch", "description": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ServiceStatusPatch", "description": "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:core/v1:ServicePort": { "description": "ServicePort contains information on service's port.", "properties": { "appProtocol": { "type": "string", "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol." }, "name": { "type": "string", "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": "integer", "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": "integer", "description": "The port that will be exposed by this service." }, "protocol": { "type": "string", "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP." }, "targetPort": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service" } }, "type": "object", "required": [ "port" ], "language": { "nodejs": { "requiredOutputs": [ "appProtocol", "name", "nodePort", "port", "protocol", "targetPort" ] } } }, "kubernetes:core/v1:ServicePortPatch": { "description": "ServicePort contains information on service's port.", "properties": { "appProtocol": { "type": "string", "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol." }, "name": { "type": "string", "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": "integer", "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": "integer", "description": "The port that will be exposed by this service." }, "protocol": { "type": "string", "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP." }, "targetPort": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "appProtocol", "name", "nodePort", "port", "protocol", "targetPort" ] } } }, "kubernetes:core/v1:ServiceSpec": { "description": "ServiceSpec describes the attributes that a user creates on a service.", "properties": { "allocateLoadBalancerNodePorts": { "type": "boolean", "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": "string", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "string", "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": "string", "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": "integer", "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": "string", "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": "array", "items": { "type": "string" }, "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." }, "ipFamily": { "type": "string", "description": "ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6). If a specific IP family is requested, the clusterIP field will be allocated from that family, if it is available in the cluster. If no IP family is requested, the cluster's primary IP family will be used. Other IP fields (loadBalancerIP, loadBalancerSourceRanges, externalIPs) and controllers which allocate external load-balancers should use the same IP family. Endpoints for this Service will be of this family. This field is immutable after creation. Assigning a ServiceIPFamily not available in the cluster (e.g. IPv6 in IPv4 only cluster) is an error condition and will fail during clusterIP assignment." }, "ipFamilyPolicy": { "type": "string", "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": "string", "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": "string", "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. Using it is non-portable and it may not support dual-stack. Users are encouraged to use implementation-specific annotations when available." }, "loadBalancerSourceRanges": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ServicePort" }, "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": "boolean", "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": "object", "additionalProperties": { "type": "string" }, "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:SessionAffinityConfig", "description": "sessionAffinityConfig contains the configurations of session affinity." }, "topologyKeys": { "type": "array", "items": { "type": "string" }, "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." }, "trafficDistribution": { "type": "string", "description": "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone)." }, "type": { "oneOf": [ { "type": "string" }, { "$ref": "#/types/kubernetes:core/v1:ServiceSpecType" } ], "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": "object", "language": { "nodejs": { "requiredOutputs": [ "allocateLoadBalancerNodePorts", "clusterIP", "clusterIPs", "externalIPs", "externalName", "externalTrafficPolicy", "healthCheckNodePort", "internalTrafficPolicy", "ipFamilies", "ipFamily", "ipFamilyPolicy", "loadBalancerClass", "loadBalancerIP", "loadBalancerSourceRanges", "ports", "publishNotReadyAddresses", "selector", "sessionAffinity", "sessionAffinityConfig", "topologyKeys", "trafficDistribution", "type" ] } } }, "kubernetes:core/v1:ServiceSpecPatch": { "description": "ServiceSpec describes the attributes that a user creates on a service.", "properties": { "allocateLoadBalancerNodePorts": { "type": "boolean", "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": "string", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "string", "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": "string", "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": "integer", "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": "string", "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": "array", "items": { "type": "string" }, "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." }, "ipFamily": { "type": "string", "description": "ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6). If a specific IP family is requested, the clusterIP field will be allocated from that family, if it is available in the cluster. If no IP family is requested, the cluster's primary IP family will be used. Other IP fields (loadBalancerIP, loadBalancerSourceRanges, externalIPs) and controllers which allocate external load-balancers should use the same IP family. Endpoints for this Service will be of this family. This field is immutable after creation. Assigning a ServiceIPFamily not available in the cluster (e.g. IPv6 in IPv4 only cluster) is an error condition and will fail during clusterIP assignment." }, "ipFamilyPolicy": { "type": "string", "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": "string", "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": "string", "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. Using it is non-portable and it may not support dual-stack. Users are encouraged to use implementation-specific annotations when available." }, "loadBalancerSourceRanges": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ServicePortPatch" }, "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": "boolean", "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": "object", "additionalProperties": { "type": "string" }, "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:SessionAffinityConfigPatch", "description": "sessionAffinityConfig contains the configurations of session affinity." }, "topologyKeys": { "type": "array", "items": { "type": "string" }, "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." }, "trafficDistribution": { "type": "string", "description": "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone)." }, "type": { "oneOf": [ { "type": "string" }, { "$ref": "#/types/kubernetes:core/v1:ServiceSpecType" } ], "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": "object", "language": { "nodejs": { "requiredOutputs": [ "allocateLoadBalancerNodePorts", "clusterIP", "clusterIPs", "externalIPs", "externalName", "externalTrafficPolicy", "healthCheckNodePort", "internalTrafficPolicy", "ipFamilies", "ipFamily", "ipFamilyPolicy", "loadBalancerClass", "loadBalancerIP", "loadBalancerSourceRanges", "ports", "publishNotReadyAddresses", "selector", "sessionAffinity", "sessionAffinityConfig", "topologyKeys", "trafficDistribution", "type" ] } } }, "kubernetes:core/v1:ServiceSpecType": { "type": "string", "enum": [ { "value": "ExternalName" }, { "value": "ClusterIP" }, { "value": "NodePort" }, { "value": "LoadBalancer" } ] }, "kubernetes:core/v1:ServiceStatus": { "description": "ServiceStatus represents the current status of a service.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:Condition" }, "description": "Current service state" }, "loadBalancer": { "$ref": "#/types/kubernetes:core/v1:LoadBalancerStatus", "description": "LoadBalancer contains the current status of the load-balancer, if one is present." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "loadBalancer" ] } } }, "kubernetes:core/v1:ServiceStatusPatch": { "description": "ServiceStatus represents the current status of a service.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ConditionPatch" }, "description": "Current service state" }, "loadBalancer": { "$ref": "#/types/kubernetes:core/v1:LoadBalancerStatusPatch", "description": "LoadBalancer contains the current status of the load-balancer, if one is present." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "loadBalancer" ] } } }, "kubernetes:core/v1:SessionAffinityConfig": { "description": "SessionAffinityConfig represents the configurations of session affinity.", "properties": { "clientIP": { "$ref": "#/types/kubernetes:core/v1:ClientIPConfig", "description": "clientIP contains the configurations of Client IP based session affinity." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "clientIP" ] } } }, "kubernetes:core/v1:SessionAffinityConfigPatch": { "description": "SessionAffinityConfig represents the configurations of session affinity.", "properties": { "clientIP": { "$ref": "#/types/kubernetes:core/v1:ClientIPConfigPatch", "description": "clientIP contains the configurations of Client IP based session affinity." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "clientIP" ] } } }, "kubernetes:core/v1:SleepAction": { "description": "SleepAction describes a \"sleep\" action.", "properties": { "seconds": { "type": "integer", "description": "Seconds is the number of seconds to sleep." } }, "type": "object", "required": [ "seconds" ], "language": { "nodejs": { "requiredOutputs": [ "seconds" ] } } }, "kubernetes:core/v1:SleepActionPatch": { "description": "SleepAction describes a \"sleep\" action.", "properties": { "seconds": { "type": "integer", "description": "Seconds is the number of seconds to sleep." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "seconds" ] } } }, "kubernetes:core/v1:StorageOSPersistentVolumeSource": { "description": "Represents a StorageOS persistent volume resource.", "properties": { "fsType": { "type": "string", "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": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." }, "volumeName": { "type": "string", "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." }, "volumeNamespace": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "readOnly", "secretRef", "volumeName", "volumeNamespace" ] } } }, "kubernetes:core/v1:StorageOSPersistentVolumeSourcePatch": { "description": "Represents a StorageOS persistent volume resource.", "properties": { "fsType": { "type": "string", "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": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." }, "volumeName": { "type": "string", "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." }, "volumeNamespace": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "readOnly", "secretRef", "volumeName", "volumeNamespace" ] } } }, "kubernetes:core/v1:StorageOSVolumeSource": { "description": "Represents a StorageOS persistent volume resource.", "properties": { "fsType": { "type": "string", "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": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference", "description": "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." }, "volumeName": { "type": "string", "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." }, "volumeNamespace": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "readOnly", "secretRef", "volumeName", "volumeNamespace" ] } } }, "kubernetes:core/v1:StorageOSVolumeSourcePatch": { "description": "Represents a StorageOS persistent volume resource.", "properties": { "fsType": { "type": "string", "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": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." }, "secretRef": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch", "description": "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." }, "volumeName": { "type": "string", "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." }, "volumeNamespace": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "readOnly", "secretRef", "volumeName", "volumeNamespace" ] } } }, "kubernetes:core/v1:Sysctl": { "description": "Sysctl defines a kernel parameter to be set", "properties": { "name": { "type": "string", "description": "Name of a property to set" }, "value": { "type": "string", "description": "Value of a property to set" } }, "type": "object", "required": [ "name", "value" ], "language": { "nodejs": { "requiredOutputs": [ "name", "value" ] } } }, "kubernetes:core/v1:SysctlPatch": { "description": "Sysctl defines a kernel parameter to be set", "properties": { "name": { "type": "string", "description": "Name of a property to set" }, "value": { "type": "string", "description": "Value of a property to set" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "value" ] } } }, "kubernetes:core/v1:TCPSocketAction": { "description": "TCPSocketAction describes an action based on opening a socket", "properties": { "host": { "type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP." }, "port": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." } }, "type": "object", "required": [ "port" ], "language": { "nodejs": { "requiredOutputs": [ "host", "port" ] } } }, "kubernetes:core/v1:TCPSocketActionPatch": { "description": "TCPSocketAction describes an action based on opening a socket", "properties": { "host": { "type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP." }, "port": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "host", "port" ] } } }, "kubernetes:core/v1:Taint": { "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", "properties": { "effect": { "type": "string", "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute." }, "key": { "type": "string", "description": "Required. The taint key to be applied to a node." }, "timeAdded": { "type": "string", "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints." }, "value": { "type": "string", "description": "The taint value corresponding to the taint key." } }, "type": "object", "required": [ "effect", "key" ], "language": { "nodejs": { "requiredOutputs": [ "effect", "key", "timeAdded", "value" ] } } }, "kubernetes:core/v1:TaintPatch": { "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", "properties": { "effect": { "type": "string", "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute." }, "key": { "type": "string", "description": "Required. The taint key to be applied to a node." }, "timeAdded": { "type": "string", "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints." }, "value": { "type": "string", "description": "The taint value corresponding to the taint key." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "effect", "key", "timeAdded", "value" ] } } }, "kubernetes:core/v1:Toleration": { "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", "properties": { "effect": { "type": "string", "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": "string", "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": "string", "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": "integer", "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "effect", "key", "operator", "tolerationSeconds", "value" ] } } }, "kubernetes:core/v1:TolerationPatch": { "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", "properties": { "effect": { "type": "string", "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": "string", "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": "string", "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": "integer", "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "effect", "key", "operator", "tolerationSeconds", "value" ] } } }, "kubernetes:core/v1:TopologySelectorLabelRequirement": { "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", "properties": { "key": { "type": "string", "description": "The label key that the selector applies to." }, "values": { "type": "array", "items": { "type": "string" }, "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed." } }, "type": "object", "required": [ "key", "values" ], "language": { "nodejs": { "requiredOutputs": [ "key", "values" ] } } }, "kubernetes:core/v1:TopologySelectorLabelRequirementPatch": { "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", "properties": { "key": { "type": "string", "description": "The label key that the selector applies to." }, "values": { "type": "array", "items": { "type": "string" }, "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "key", "values" ] } } }, "kubernetes:core/v1:TopologySelectorTerm": { "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", "properties": { "matchLabelExpressions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorLabelRequirement" }, "description": "A list of topology selector requirements by labels." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchLabelExpressions" ] } } }, "kubernetes:core/v1:TopologySelectorTermPatch": { "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", "properties": { "matchLabelExpressions": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorLabelRequirementPatch" }, "description": "A list of topology selector requirements by labels." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchLabelExpressions" ] } } }, "kubernetes:core/v1:TopologySpreadConstraint": { "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", "properties": { "labelSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." }, "matchLabelKeys": { "type": "array", "items": { "type": "string" }, "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. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default)." }, "maxSkew": { "type": "integer", "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": "integer", "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." }, "nodeAffinityPolicy": { "type": "string", "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 beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." }, "nodeTaintsPolicy": { "type": "string", "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 beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." }, "topologyKey": { "type": "string", "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": "string", "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": "object", "required": [ "maxSkew", "topologyKey", "whenUnsatisfiable" ], "language": { "nodejs": { "requiredOutputs": [ "labelSelector", "matchLabelKeys", "maxSkew", "minDomains", "nodeAffinityPolicy", "nodeTaintsPolicy", "topologyKey", "whenUnsatisfiable" ] } } }, "kubernetes:core/v1:TopologySpreadConstraintPatch": { "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", "properties": { "labelSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." }, "matchLabelKeys": { "type": "array", "items": { "type": "string" }, "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. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default)." }, "maxSkew": { "type": "integer", "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": "integer", "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." }, "nodeAffinityPolicy": { "type": "string", "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 beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." }, "nodeTaintsPolicy": { "type": "string", "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 beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." }, "topologyKey": { "type": "string", "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "labelSelector", "matchLabelKeys", "maxSkew", "minDomains", "nodeAffinityPolicy", "nodeTaintsPolicy", "topologyKey", "whenUnsatisfiable" ] } } }, "kubernetes:core/v1:TypedLocalObjectReference": { "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", "properties": { "apiGroup": { "type": "string", "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": "string", "description": "Kind is the type of resource being referenced" }, "name": { "type": "string", "description": "Name is the name of resource being referenced" } }, "type": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:core/v1:TypedLocalObjectReferencePatch": { "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", "properties": { "apiGroup": { "type": "string", "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": "string", "description": "Kind is the type of resource being referenced" }, "name": { "type": "string", "description": "Name is the name of resource being referenced" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:core/v1:TypedObjectReference": { "properties": { "apiGroup": { "type": "string", "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": "string", "description": "Kind is the type of resource being referenced" }, "name": { "type": "string", "description": "Name is the name of resource being referenced" }, "namespace": { "type": "string", "description": "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." } }, "type": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace" ] } } }, "kubernetes:core/v1:TypedObjectReferencePatch": { "properties": { "apiGroup": { "type": "string", "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": "string", "description": "Kind is the type of resource being referenced" }, "name": { "type": "string", "description": "Name is the name of resource being referenced" }, "namespace": { "type": "string", "description": "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace" ] } } }, "kubernetes:core/v1:Volume": { "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", "properties": { "awsElasticBlockStore": { "$ref": "#/types/kubernetes:core/v1:AWSElasticBlockStoreVolumeSource", "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" }, "azureDisk": { "$ref": "#/types/kubernetes:core/v1:AzureDiskVolumeSource", "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." }, "azureFile": { "$ref": "#/types/kubernetes:core/v1:AzureFileVolumeSource", "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod." }, "cephfs": { "$ref": "#/types/kubernetes:core/v1:CephFSVolumeSource", "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime" }, "cinder": { "$ref": "#/types/kubernetes:core/v1:CinderVolumeSource", "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" }, "configMap": { "$ref": "#/types/kubernetes:core/v1:ConfigMapVolumeSource", "description": "configMap represents a configMap that should populate this volume" }, "csi": { "$ref": "#/types/kubernetes:core/v1:CSIVolumeSource", "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)." }, "downwardAPI": { "$ref": "#/types/kubernetes:core/v1:DownwardAPIVolumeSource", "description": "downwardAPI represents downward API about the pod that should populate this volume" }, "emptyDir": { "$ref": "#/types/kubernetes:core/v1:EmptyDirVolumeSource", "description": "emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" }, "ephemeral": { "$ref": "#/types/kubernetes:core/v1:EphemeralVolumeSource", "description": "ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.\n\nUse this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.\n\nA pod can use both types of ephemeral volumes and persistent volumes at the same time." }, "fc": { "$ref": "#/types/kubernetes:core/v1:FCVolumeSource", "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." }, "flexVolume": { "$ref": "#/types/kubernetes:core/v1:FlexVolumeSource", "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." }, "flocker": { "$ref": "#/types/kubernetes:core/v1:FlockerVolumeSource", "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running" }, "gcePersistentDisk": { "$ref": "#/types/kubernetes:core/v1:GCEPersistentDiskVolumeSource", "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" }, "gitRepo": { "$ref": "#/types/kubernetes:core/v1:GitRepoVolumeSource", "description": "gitRepo represents a git repository at a particular revision. DEPRECATED: 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": { "$ref": "#/types/kubernetes:core/v1:GlusterfsVolumeSource", "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md" }, "hostPath": { "$ref": "#/types/kubernetes:core/v1:HostPathVolumeSource", "description": "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" }, "iscsi": { "$ref": "#/types/kubernetes:core/v1:ISCSIVolumeSource", "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md" }, "name": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:NFSVolumeSource", "description": "nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" }, "persistentVolumeClaim": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimVolumeSource", "description": "persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "photonPersistentDisk": { "$ref": "#/types/kubernetes:core/v1:PhotonPersistentDiskVolumeSource", "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" }, "portworxVolume": { "$ref": "#/types/kubernetes:core/v1:PortworxVolumeSource", "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine" }, "projected": { "$ref": "#/types/kubernetes:core/v1:ProjectedVolumeSource", "description": "projected items for all in one resources secrets, configmaps, and downward API" }, "quobyte": { "$ref": "#/types/kubernetes:core/v1:QuobyteVolumeSource", "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" }, "rbd": { "$ref": "#/types/kubernetes:core/v1:RBDVolumeSource", "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" }, "scaleIO": { "$ref": "#/types/kubernetes:core/v1:ScaleIOVolumeSource", "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." }, "secret": { "$ref": "#/types/kubernetes:core/v1:SecretVolumeSource", "description": "secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" }, "storageos": { "$ref": "#/types/kubernetes:core/v1:StorageOSVolumeSource", "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes." }, "vsphereVolume": { "$ref": "#/types/kubernetes:core/v1:VsphereVirtualDiskVolumeSource", "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "awsElasticBlockStore", "azureDisk", "azureFile", "cephfs", "cinder", "configMap", "csi", "downwardAPI", "emptyDir", "ephemeral", "fc", "flexVolume", "flocker", "gcePersistentDisk", "gitRepo", "glusterfs", "hostPath", "iscsi", "name", "nfs", "persistentVolumeClaim", "photonPersistentDisk", "portworxVolume", "projected", "quobyte", "rbd", "scaleIO", "secret", "storageos", "vsphereVolume" ] } } }, "kubernetes:core/v1:VolumeDevice": { "description": "volumeDevice describes a mapping of a raw block device within a container.", "properties": { "devicePath": { "type": "string", "description": "devicePath is the path inside of the container that the device will be mapped to." }, "name": { "type": "string", "description": "name must match the name of a persistentVolumeClaim in the pod" } }, "type": "object", "required": [ "devicePath", "name" ], "language": { "nodejs": { "requiredOutputs": [ "devicePath", "name" ] } } }, "kubernetes:core/v1:VolumeDevicePatch": { "description": "volumeDevice describes a mapping of a raw block device within a container.", "properties": { "devicePath": { "type": "string", "description": "devicePath is the path inside of the container that the device will be mapped to." }, "name": { "type": "string", "description": "name must match the name of a persistentVolumeClaim in the pod" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "devicePath", "name" ] } } }, "kubernetes:core/v1:VolumeMount": { "description": "VolumeMount describes a mounting of a Volume within a container.", "properties": { "mountPath": { "type": "string", "description": "Path within the container at which the volume should be mounted. Must not contain ':'." }, "mountPropagation": { "type": "string", "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. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None)." }, "name": { "type": "string", "description": "This must match the Name of a Volume." }, "readOnly": { "type": "boolean", "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false." }, "recursiveReadOnly": { "type": "string", "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled." }, "subPath": { "type": "string", "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)." }, "subPathExpr": { "type": "string", "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": "object", "required": [ "mountPath", "name" ], "language": { "nodejs": { "requiredOutputs": [ "mountPath", "mountPropagation", "name", "readOnly", "recursiveReadOnly", "subPath", "subPathExpr" ] } } }, "kubernetes:core/v1:VolumeMountPatch": { "description": "VolumeMount describes a mounting of a Volume within a container.", "properties": { "mountPath": { "type": "string", "description": "Path within the container at which the volume should be mounted. Must not contain ':'." }, "mountPropagation": { "type": "string", "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. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None)." }, "name": { "type": "string", "description": "This must match the Name of a Volume." }, "readOnly": { "type": "boolean", "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false." }, "recursiveReadOnly": { "type": "string", "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled." }, "subPath": { "type": "string", "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)." }, "subPathExpr": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "mountPath", "mountPropagation", "name", "readOnly", "recursiveReadOnly", "subPath", "subPathExpr" ] } } }, "kubernetes:core/v1:VolumeMountStatus": { "description": "VolumeMountStatus shows status of volume mounts.", "properties": { "mountPath": { "type": "string", "description": "MountPath corresponds to the original VolumeMount." }, "name": { "type": "string", "description": "Name corresponds to the name of the original VolumeMount." }, "readOnly": { "type": "boolean", "description": "ReadOnly corresponds to the original VolumeMount." }, "recursiveReadOnly": { "type": "string", "description": "RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result." } }, "type": "object", "required": [ "mountPath", "name" ], "language": { "nodejs": { "requiredOutputs": [ "mountPath", "name", "readOnly", "recursiveReadOnly" ] } } }, "kubernetes:core/v1:VolumeMountStatusPatch": { "description": "VolumeMountStatus shows status of volume mounts.", "properties": { "mountPath": { "type": "string", "description": "MountPath corresponds to the original VolumeMount." }, "name": { "type": "string", "description": "Name corresponds to the name of the original VolumeMount." }, "readOnly": { "type": "boolean", "description": "ReadOnly corresponds to the original VolumeMount." }, "recursiveReadOnly": { "type": "string", "description": "RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "mountPath", "name", "readOnly", "recursiveReadOnly" ] } } }, "kubernetes:core/v1:VolumeNodeAffinity": { "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", "properties": { "required": { "$ref": "#/types/kubernetes:core/v1:NodeSelector", "description": "required specifies hard node constraints that must be met." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "required" ] } } }, "kubernetes:core/v1:VolumeNodeAffinityPatch": { "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", "properties": { "required": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorPatch", "description": "required specifies hard node constraints that must be met." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "required" ] } } }, "kubernetes:core/v1:VolumePatch": { "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", "properties": { "awsElasticBlockStore": { "$ref": "#/types/kubernetes:core/v1:AWSElasticBlockStoreVolumeSourcePatch", "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" }, "azureDisk": { "$ref": "#/types/kubernetes:core/v1:AzureDiskVolumeSourcePatch", "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." }, "azureFile": { "$ref": "#/types/kubernetes:core/v1:AzureFileVolumeSourcePatch", "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod." }, "cephfs": { "$ref": "#/types/kubernetes:core/v1:CephFSVolumeSourcePatch", "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime" }, "cinder": { "$ref": "#/types/kubernetes:core/v1:CinderVolumeSourcePatch", "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" }, "configMap": { "$ref": "#/types/kubernetes:core/v1:ConfigMapVolumeSourcePatch", "description": "configMap represents a configMap that should populate this volume" }, "csi": { "$ref": "#/types/kubernetes:core/v1:CSIVolumeSourcePatch", "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)." }, "downwardAPI": { "$ref": "#/types/kubernetes:core/v1:DownwardAPIVolumeSourcePatch", "description": "downwardAPI represents downward API about the pod that should populate this volume" }, "emptyDir": { "$ref": "#/types/kubernetes:core/v1:EmptyDirVolumeSourcePatch", "description": "emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" }, "ephemeral": { "$ref": "#/types/kubernetes:core/v1:EphemeralVolumeSourcePatch", "description": "ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.\n\nUse this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.\n\nA pod can use both types of ephemeral volumes and persistent volumes at the same time." }, "fc": { "$ref": "#/types/kubernetes:core/v1:FCVolumeSourcePatch", "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." }, "flexVolume": { "$ref": "#/types/kubernetes:core/v1:FlexVolumeSourcePatch", "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." }, "flocker": { "$ref": "#/types/kubernetes:core/v1:FlockerVolumeSourcePatch", "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running" }, "gcePersistentDisk": { "$ref": "#/types/kubernetes:core/v1:GCEPersistentDiskVolumeSourcePatch", "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" }, "gitRepo": { "$ref": "#/types/kubernetes:core/v1:GitRepoVolumeSourcePatch", "description": "gitRepo represents a git repository at a particular revision. DEPRECATED: 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": { "$ref": "#/types/kubernetes:core/v1:GlusterfsVolumeSourcePatch", "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md" }, "hostPath": { "$ref": "#/types/kubernetes:core/v1:HostPathVolumeSourcePatch", "description": "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" }, "iscsi": { "$ref": "#/types/kubernetes:core/v1:ISCSIVolumeSourcePatch", "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md" }, "name": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:NFSVolumeSourcePatch", "description": "nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" }, "persistentVolumeClaim": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimVolumeSourcePatch", "description": "persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "photonPersistentDisk": { "$ref": "#/types/kubernetes:core/v1:PhotonPersistentDiskVolumeSourcePatch", "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" }, "portworxVolume": { "$ref": "#/types/kubernetes:core/v1:PortworxVolumeSourcePatch", "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine" }, "projected": { "$ref": "#/types/kubernetes:core/v1:ProjectedVolumeSourcePatch", "description": "projected items for all in one resources secrets, configmaps, and downward API" }, "quobyte": { "$ref": "#/types/kubernetes:core/v1:QuobyteVolumeSourcePatch", "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" }, "rbd": { "$ref": "#/types/kubernetes:core/v1:RBDVolumeSourcePatch", "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" }, "scaleIO": { "$ref": "#/types/kubernetes:core/v1:ScaleIOVolumeSourcePatch", "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." }, "secret": { "$ref": "#/types/kubernetes:core/v1:SecretVolumeSourcePatch", "description": "secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" }, "storageos": { "$ref": "#/types/kubernetes:core/v1:StorageOSVolumeSourcePatch", "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes." }, "vsphereVolume": { "$ref": "#/types/kubernetes:core/v1:VsphereVirtualDiskVolumeSourcePatch", "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "awsElasticBlockStore", "azureDisk", "azureFile", "cephfs", "cinder", "configMap", "csi", "downwardAPI", "emptyDir", "ephemeral", "fc", "flexVolume", "flocker", "gcePersistentDisk", "gitRepo", "glusterfs", "hostPath", "iscsi", "name", "nfs", "persistentVolumeClaim", "photonPersistentDisk", "portworxVolume", "projected", "quobyte", "rbd", "scaleIO", "secret", "storageos", "vsphereVolume" ] } } }, "kubernetes:core/v1:VolumeProjection": { "description": "Projection that may be projected along with other supported volume types", "properties": { "clusterTrustBundle": { "$ref": "#/types/kubernetes:core/v1:ClusterTrustBundleProjection", "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time." }, "configMap": { "$ref": "#/types/kubernetes:core/v1:ConfigMapProjection", "description": "configMap information about the configMap data to project" }, "downwardAPI": { "$ref": "#/types/kubernetes:core/v1:DownwardAPIProjection", "description": "downwardAPI information about the downwardAPI data to project" }, "secret": { "$ref": "#/types/kubernetes:core/v1:SecretProjection", "description": "secret information about the secret data to project" }, "serviceAccountToken": { "$ref": "#/types/kubernetes:core/v1:ServiceAccountTokenProjection", "description": "serviceAccountToken is information about the serviceAccountToken data to project" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "clusterTrustBundle", "configMap", "downwardAPI", "secret", "serviceAccountToken" ] } } }, "kubernetes:core/v1:VolumeProjectionPatch": { "description": "Projection that may be projected along with other supported volume types", "properties": { "clusterTrustBundle": { "$ref": "#/types/kubernetes:core/v1:ClusterTrustBundleProjectionPatch", "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time." }, "configMap": { "$ref": "#/types/kubernetes:core/v1:ConfigMapProjectionPatch", "description": "configMap information about the configMap data to project" }, "downwardAPI": { "$ref": "#/types/kubernetes:core/v1:DownwardAPIProjectionPatch", "description": "downwardAPI information about the downwardAPI data to project" }, "secret": { "$ref": "#/types/kubernetes:core/v1:SecretProjectionPatch", "description": "secret information about the secret data to project" }, "serviceAccountToken": { "$ref": "#/types/kubernetes:core/v1:ServiceAccountTokenProjectionPatch", "description": "serviceAccountToken is information about the serviceAccountToken data to project" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "clusterTrustBundle", "configMap", "downwardAPI", "secret", "serviceAccountToken" ] } } }, "kubernetes:core/v1:VolumeResourceRequirements": { "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.", "properties": { "limits": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" }, "requests": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "limits", "requests" ] } } }, "kubernetes:core/v1:VolumeResourceRequirementsPatch": { "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.", "properties": { "limits": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" }, "requests": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "limits", "requests" ] } } }, "kubernetes:core/v1:VsphereVirtualDiskVolumeSource": { "description": "Represents a vSphere volume resource.", "properties": { "fsType": { "type": "string", "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": "string", "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." }, "storagePolicyName": { "type": "string", "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name." }, "volumePath": { "type": "string", "description": "volumePath is the path that identifies vSphere volume vmdk" } }, "type": "object", "required": [ "volumePath" ], "language": { "nodejs": { "requiredOutputs": [ "fsType", "storagePolicyID", "storagePolicyName", "volumePath" ] } } }, "kubernetes:core/v1:VsphereVirtualDiskVolumeSourcePatch": { "description": "Represents a vSphere volume resource.", "properties": { "fsType": { "type": "string", "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": "string", "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." }, "storagePolicyName": { "type": "string", "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name." }, "volumePath": { "type": "string", "description": "volumePath is the path that identifies vSphere volume vmdk" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "fsType", "storagePolicyID", "storagePolicyName", "volumePath" ] } } }, "kubernetes:core/v1:WeightedPodAffinityTerm": { "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", "properties": { "podAffinityTerm": { "$ref": "#/types/kubernetes:core/v1:PodAffinityTerm", "description": "Required. A pod affinity term, associated with the corresponding weight." }, "weight": { "type": "integer", "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." } }, "type": "object", "required": [ "podAffinityTerm", "weight" ], "language": { "nodejs": { "requiredOutputs": [ "podAffinityTerm", "weight" ] } } }, "kubernetes:core/v1:WeightedPodAffinityTermPatch": { "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", "properties": { "podAffinityTerm": { "$ref": "#/types/kubernetes:core/v1:PodAffinityTermPatch", "description": "Required. A pod affinity term, associated with the corresponding weight." }, "weight": { "type": "integer", "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "podAffinityTerm", "weight" ] } } }, "kubernetes:core/v1:WindowsSecurityContextOptions": { "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", "properties": { "gmsaCredentialSpec": { "type": "string", "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": "string", "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use." }, "hostProcess": { "type": "boolean", "description": "HostProcess determines if a container should be run as a 'Host Process' container. 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "gmsaCredentialSpec", "gmsaCredentialSpecName", "hostProcess", "runAsUserName" ] } } }, "kubernetes:core/v1:WindowsSecurityContextOptionsPatch": { "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", "properties": { "gmsaCredentialSpec": { "type": "string", "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": "string", "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use." }, "hostProcess": { "type": "boolean", "description": "HostProcess determines if a container should be run as a 'Host Process' container. 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "gmsaCredentialSpec", "gmsaCredentialSpecName", "hostProcess", "runAsUserName" ] } } }, "kubernetes:discovery.k8s.io/v1:Endpoint": { "description": "Endpoint represents a single logical \"backend\" implementing a service.", "properties": { "addresses": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointConditions", "description": "conditions contains information about the current status of the endpoint." }, "deprecatedTopology": { "type": "object", "additionalProperties": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointHints", "description": "hints contains information associated with how an endpoint should be consumed." }, "hostname": { "type": "string", "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": "string", "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node." }, "targetRef": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." }, "zone": { "type": "string", "description": "zone is the name of the Zone this endpoint exists in." } }, "type": "object", "required": [ "addresses" ], "language": { "nodejs": { "requiredOutputs": [ "addresses", "conditions", "deprecatedTopology", "hints", "hostname", "nodeName", "targetRef", "zone" ] } } }, "kubernetes:discovery.k8s.io/v1:EndpointConditions": { "description": "EndpointConditions represents the current condition of an endpoint.", "properties": { "ready": { "type": "boolean", "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, except when the normal readiness behavior is being explicitly overridden, for example when the associated Service has set the publishNotReadyAddresses flag." }, "serving": { "type": "boolean", "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." }, "terminating": { "type": "boolean", "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." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ready", "serving", "terminating" ] } } }, "kubernetes:discovery.k8s.io/v1:EndpointConditionsPatch": { "description": "EndpointConditions represents the current condition of an endpoint.", "properties": { "ready": { "type": "boolean", "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, except when the normal readiness behavior is being explicitly overridden, for example when the associated Service has set the publishNotReadyAddresses flag." }, "serving": { "type": "boolean", "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." }, "terminating": { "type": "boolean", "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." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ready", "serving", "terminating" ] } } }, "kubernetes:discovery.k8s.io/v1:EndpointHints": { "description": "EndpointHints provides hints describing how an endpoint should be consumed.", "properties": { "forZones": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:ForZone" }, "description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "forZones" ] } } }, "kubernetes:discovery.k8s.io/v1:EndpointHintsPatch": { "description": "EndpointHints provides hints describing how an endpoint should be consumed.", "properties": { "forZones": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:ForZonePatch" }, "description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "forZones" ] } } }, "kubernetes:discovery.k8s.io/v1:EndpointPatch": { "description": "Endpoint represents a single logical \"backend\" implementing a service.", "properties": { "addresses": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointConditionsPatch", "description": "conditions contains information about the current status of the endpoint." }, "deprecatedTopology": { "type": "object", "additionalProperties": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointHintsPatch", "description": "hints contains information associated with how an endpoint should be consumed." }, "hostname": { "type": "string", "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": "string", "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node." }, "targetRef": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." }, "zone": { "type": "string", "description": "zone is the name of the Zone this endpoint exists in." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "addresses", "conditions", "deprecatedTopology", "hints", "hostname", "nodeName", "targetRef", "zone" ] } } }, "kubernetes:discovery.k8s.io/v1:EndpointPort": { "description": "EndpointPort represents a Port used by an EndpointSlice", "properties": { "appProtocol": { "type": "string", "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol." }, "name": { "type": "string", "description": "name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is derived 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": "integer", "description": "port represents 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": "string", "description": "protocol represents the IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "appProtocol", "name", "port", "protocol" ] } } }, "kubernetes:discovery.k8s.io/v1:EndpointPortPatch": { "description": "EndpointPort represents a Port used by an EndpointSlice", "properties": { "appProtocol": { "type": "string", "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol." }, "name": { "type": "string", "description": "name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is derived 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": "integer", "description": "port represents 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": "string", "description": "protocol represents the IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "appProtocol", "name", "port", "protocol" ] } } }, "kubernetes:discovery.k8s.io/v1:EndpointSlice": { "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", "properties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:Endpoint" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointPort" }, "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": "object", "required": [ "addressType", "endpoints" ], "language": { "nodejs": { "requiredOutputs": [ "addressType", "apiVersion", "endpoints", "kind", "metadata", "ports" ] } } }, "kubernetes:discovery.k8s.io/v1:EndpointSliceList": { "description": "EndpointSliceList represents a list of endpoint slices", "properties": { "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointSlice" }, "description": "items is the list of endpoint slices" }, "kind": { "type": "string", "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", "const": "EndpointSliceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:discovery.k8s.io/v1:EndpointSlicePatch": { "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", "properties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointPatch" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointPortPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "addressType", "apiVersion", "endpoints", "kind", "metadata", "ports" ] } } }, "kubernetes:discovery.k8s.io/v1:ForZone": { "description": "ForZone provides information about which zones should consume this endpoint.", "properties": { "name": { "type": "string", "description": "name represents the name of the zone." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:discovery.k8s.io/v1:ForZonePatch": { "description": "ForZone provides information about which zones should consume this endpoint.", "properties": { "name": { "type": "string", "description": "name represents the name of the zone." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:discovery.k8s.io/v1beta1:Endpoint": { "description": "Endpoint represents a single logical \"backend\" implementing a service.", "properties": { "addresses": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointConditions", "description": "conditions contains information about the current status of the endpoint." }, "hostname": { "type": "string", "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." }, "nodeName": { "type": "string", "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate." }, "targetRef": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." }, "topology": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "required": [ "addresses" ], "language": { "nodejs": { "requiredOutputs": [ "addresses", "conditions", "hostname", "nodeName", "targetRef", "topology" ] } } }, "kubernetes:discovery.k8s.io/v1beta1:EndpointConditions": { "description": "EndpointConditions represents the current condition of an endpoint.", "properties": { "ready": { "type": "boolean", "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." }, "serving": { "type": "boolean", "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": "boolean", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "ready", "serving", "terminating" ] } } }, "kubernetes:discovery.k8s.io/v1beta1:EndpointConditionsPatch": { "description": "EndpointConditions represents the current condition of an endpoint.", "properties": { "ready": { "type": "boolean", "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." }, "serving": { "type": "boolean", "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": "boolean", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "ready", "serving", "terminating" ] } } }, "kubernetes:discovery.k8s.io/v1beta1:EndpointPatch": { "description": "Endpoint represents a single logical \"backend\" implementing a service.", "properties": { "addresses": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointConditionsPatch", "description": "conditions contains information about the current status of the endpoint." }, "hostname": { "type": "string", "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." }, "nodeName": { "type": "string", "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate." }, "targetRef": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." }, "topology": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "addresses", "conditions", "hostname", "nodeName", "targetRef", "topology" ] } } }, "kubernetes:discovery.k8s.io/v1beta1:EndpointPort": { "description": "EndpointPort represents a Port used by an EndpointSlice", "properties": { "appProtocol": { "type": "string", "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. Default is empty string." }, "name": { "type": "string", "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": "integer", "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": "string", "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "appProtocol", "name", "port", "protocol" ] } } }, "kubernetes:discovery.k8s.io/v1beta1:EndpointPortPatch": { "description": "EndpointPort represents a Port used by an EndpointSlice", "properties": { "appProtocol": { "type": "string", "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. Default is empty string." }, "name": { "type": "string", "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": "integer", "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": "string", "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "appProtocol", "name", "port", "protocol" ] } } }, "kubernetes:discovery.k8s.io/v1beta1:EndpointSlice": { "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", "properties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1beta1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:Endpoint" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointPort" }, "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": "object", "required": [ "addressType", "endpoints" ], "language": { "nodejs": { "requiredOutputs": [ "addressType", "apiVersion", "endpoints", "kind", "metadata", "ports" ] } } }, "kubernetes:discovery.k8s.io/v1beta1:EndpointSliceList": { "description": "EndpointSliceList represents a list of endpoint slices", "properties": { "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointSlice" }, "description": "List of endpoint slices" }, "kind": { "type": "string", "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", "const": "EndpointSliceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:discovery.k8s.io/v1beta1:EndpointSlicePatch": { "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", "properties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1beta1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointPortPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "addressType", "apiVersion", "endpoints", "kind", "metadata", "ports" ] } } }, "kubernetes:events.k8s.io/v1:Event": { "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", "properties": { "action": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1" }, "deprecatedCount": { "type": "integer", "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedFirstTimestamp": { "type": "string", "description": "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedLastTimestamp": { "type": "string", "description": "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSource", "description": "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type." }, "eventTime": { "type": "string", "description": "eventTime is the time when this Event was first observed. It is required." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "note": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:events.k8s.io/v1:EventSeries", "description": "series is data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "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": "object", "required": [ "eventTime" ], "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "deprecatedCount", "deprecatedFirstTimestamp", "deprecatedLastTimestamp", "deprecatedSource", "eventTime", "kind", "metadata", "note", "reason", "regarding", "related", "reportingController", "reportingInstance", "series", "type" ] } } }, "kubernetes:events.k8s.io/v1:EventList": { "description": "EventList is a list of Event objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:events.k8s.io/v1:Event" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "EventList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:events.k8s.io/v1:EventPatch": { "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", "properties": { "action": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1" }, "deprecatedCount": { "type": "integer", "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedFirstTimestamp": { "type": "string", "description": "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedLastTimestamp": { "type": "string", "description": "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSourcePatch", "description": "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type." }, "eventTime": { "type": "string", "description": "eventTime is the time when this Event was first observed. It is required." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "note": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:events.k8s.io/v1:EventSeriesPatch", "description": "series is data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "deprecatedCount", "deprecatedFirstTimestamp", "deprecatedLastTimestamp", "deprecatedSource", "eventTime", "kind", "metadata", "note", "reason", "regarding", "related", "reportingController", "reportingInstance", "series", "type" ] } } }, "kubernetes:events.k8s.io/v1:EventSeries": { "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.", "properties": { "count": { "type": "integer", "description": "count is the number of occurrences in this series up to the last heartbeat time." }, "lastObservedTime": { "type": "string", "description": "lastObservedTime is the time when last Event from the series was seen before last heartbeat." } }, "type": "object", "required": [ "count", "lastObservedTime" ], "language": { "nodejs": { "requiredOutputs": [ "count", "lastObservedTime" ] } } }, "kubernetes:events.k8s.io/v1:EventSeriesPatch": { "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.", "properties": { "count": { "type": "integer", "description": "count is the number of occurrences in this series up to the last heartbeat time." }, "lastObservedTime": { "type": "string", "description": "lastObservedTime is the time when last Event from the series was seen before last heartbeat." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "count", "lastObservedTime" ] } } }, "kubernetes:events.k8s.io/v1beta1:Event": { "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.", "properties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the regarding object." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1beta1" }, "deprecatedCount": { "type": "integer", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedFirstTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedLastTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSource", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "eventTime": { "type": "string", "description": "Required. Time when this Event was first observed." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "note": { "type": "string", "description": "Optional. 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": "string", "description": "Why the action was taken." }, "regarding": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:events.k8s.io/v1beta1:EventSeries", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future." } }, "type": "object", "required": [ "eventTime" ], "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "deprecatedCount", "deprecatedFirstTimestamp", "deprecatedLastTimestamp", "deprecatedSource", "eventTime", "kind", "metadata", "note", "reason", "regarding", "related", "reportingController", "reportingInstance", "series", "type" ] } } }, "kubernetes:events.k8s.io/v1beta1:EventList": { "description": "EventList is a list of Event objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:events.k8s.io/v1beta1:Event" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "EventList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:events.k8s.io/v1beta1:EventPatch": { "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.", "properties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the regarding object." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1beta1" }, "deprecatedCount": { "type": "integer", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedFirstTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedLastTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSourcePatch", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "eventTime": { "type": "string", "description": "Required. Time when this Event was first observed." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "note": { "type": "string", "description": "Optional. 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": "string", "description": "Why the action was taken." }, "regarding": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:events.k8s.io/v1beta1:EventSeriesPatch", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "deprecatedCount", "deprecatedFirstTimestamp", "deprecatedLastTimestamp", "deprecatedSource", "eventTime", "kind", "metadata", "note", "reason", "regarding", "related", "reportingController", "reportingInstance", "series", "type" ] } } }, "kubernetes:events.k8s.io/v1beta1:EventSeries": { "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "properties": { "count": { "type": "integer", "description": "Number of occurrences in this series up to the last heartbeat time" }, "lastObservedTime": { "type": "string", "description": "Time when last Event from the series was seen before last heartbeat." }, "state": { "type": "string", "description": "Information whether this series is ongoing or finished. Deprecated. Planned removal for 1.18" } }, "type": "object", "required": [ "count", "lastObservedTime", "state" ], "language": { "nodejs": { "requiredOutputs": [ "count", "lastObservedTime", "state" ] } } }, "kubernetes:events.k8s.io/v1beta1:EventSeriesPatch": { "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "properties": { "count": { "type": "integer", "description": "Number of occurrences in this series up to the last heartbeat time" }, "lastObservedTime": { "type": "string", "description": "Time when last Event from the series was seen before last heartbeat." }, "state": { "type": "string", "description": "Information whether this series is ongoing or finished. Deprecated. Planned removal for 1.18" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "count", "lastObservedTime", "state" ] } } }, "kubernetes:extensions/v1beta1:AllowedCSIDriver": { "description": "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.", "properties": { "name": { "type": "string", "description": "Name is the registered name of the CSI driver" } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:extensions/v1beta1:AllowedCSIDriverPatch": { "description": "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.", "properties": { "name": { "type": "string", "description": "Name is the registered name of the CSI driver" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:extensions/v1beta1:AllowedFlexVolume": { "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.", "properties": { "driver": { "type": "string", "description": "driver is the name of the Flexvolume driver." } }, "type": "object", "required": [ "driver" ], "language": { "nodejs": { "requiredOutputs": [ "driver" ] } } }, "kubernetes:extensions/v1beta1:AllowedFlexVolumePatch": { "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.", "properties": { "driver": { "type": "string", "description": "driver is the name of the Flexvolume driver." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "driver" ] } } }, "kubernetes:extensions/v1beta1:AllowedHostPath": { "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.", "properties": { "pathPrefix": { "type": "string", "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": "boolean", "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "pathPrefix", "readOnly" ] } } }, "kubernetes:extensions/v1beta1:AllowedHostPathPatch": { "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.", "properties": { "pathPrefix": { "type": "string", "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": "boolean", "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "pathPrefix", "readOnly" ] } } }, "kubernetes:extensions/v1beta1:DaemonSet": { "description": "DaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetSpec", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetStatus", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:extensions/v1beta1:DaemonSetCondition": { "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of DaemonSet condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:extensions/v1beta1:DaemonSetConditionPatch": { "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of DaemonSet condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:extensions/v1beta1:DaemonSetList": { "description": "DaemonSetList is a collection of daemon sets.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSet" }, "description": "A list of daemon sets." }, "kind": { "type": "string", "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", "const": "DaemonSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:extensions/v1beta1:DaemonSetPatch": { "description": "DaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetSpecPatch", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetStatusPatch", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:extensions/v1beta1:DaemonSetSpec": { "description": "DaemonSetSpec is the specification of a daemon set.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" }, "templateGeneration": { "type": "integer", "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation." }, "updateStrategy": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetUpdateStrategy", "description": "An update strategy to replace existing DaemonSet pods with new pods." } }, "type": "object", "required": [ "template" ], "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "revisionHistoryLimit", "selector", "template", "templateGeneration", "updateStrategy" ] } } }, "kubernetes:extensions/v1beta1:DaemonSetSpecPatch": { "description": "DaemonSetSpec is the specification of a daemon set.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" }, "templateGeneration": { "type": "integer", "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation." }, "updateStrategy": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetUpdateStrategyPatch", "description": "An update strategy to replace existing DaemonSet pods with new pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "revisionHistoryLimit", "selector", "template", "templateGeneration", "updateStrategy" ] } } }, "kubernetes:extensions/v1beta1:DaemonSetStatus": { "description": "DaemonSetStatus represents the current status of a daemon set.", "properties": { "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetCondition" }, "description": "Represents the latest available observations of a DaemonSet's current state." }, "currentNumberScheduled": { "type": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "description": "The most recent generation observed by the daemon set controller." }, "updatedNumberScheduled": { "type": "integer", "description": "The total number of nodes that are running updated daemon pod" } }, "type": "object", "required": [ "currentNumberScheduled", "desiredNumberScheduled", "numberMisscheduled", "numberReady" ], "language": { "nodejs": { "requiredOutputs": [ "collisionCount", "conditions", "currentNumberScheduled", "desiredNumberScheduled", "numberAvailable", "numberMisscheduled", "numberReady", "numberUnavailable", "observedGeneration", "updatedNumberScheduled" ] } } }, "kubernetes:extensions/v1beta1:DaemonSetStatusPatch": { "description": "DaemonSetStatus represents the current status of a daemon set.", "properties": { "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetConditionPatch" }, "description": "Represents the latest available observations of a DaemonSet's current state." }, "currentNumberScheduled": { "type": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "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": "integer", "description": "The most recent generation observed by the daemon set controller." }, "updatedNumberScheduled": { "type": "integer", "description": "The total number of nodes that are running updated daemon pod" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "collisionCount", "conditions", "currentNumberScheduled", "desiredNumberScheduled", "numberAvailable", "numberMisscheduled", "numberReady", "numberUnavailable", "observedGeneration", "updatedNumberScheduled" ] } } }, "kubernetes:extensions/v1beta1:DaemonSetUpdateStrategy": { "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:extensions/v1beta1:RollingUpdateDaemonSet", "description": "Rolling update config params. Present only if type = \"RollingUpdate\"." }, "type": { "type": "string", "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:extensions/v1beta1:DaemonSetUpdateStrategyPatch": { "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:extensions/v1beta1:RollingUpdateDaemonSetPatch", "description": "Rolling update config params. Present only if type = \"RollingUpdate\"." }, "type": { "type": "string", "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:extensions/v1beta1:Deployment": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentStatus", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:extensions/v1beta1:DeploymentCondition": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "lastUpdateTime": { "type": "string", "description": "The last time this condition was updated." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of deployment condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:extensions/v1beta1:DeploymentConditionPatch": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "Last time the condition transitioned from one status to another." }, "lastUpdateTime": { "type": "string", "description": "The last time this condition was updated." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of deployment condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:extensions/v1beta1:DeploymentList": { "description": "DeploymentList is a list of Deployments.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:extensions/v1beta1:DeploymentPatch": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentStatusPatch", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:extensions/v1beta1:DeploymentRollback": { "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", "properties": { "apiVersion": { "type": "string", "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": "string", "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" }, "name": { "type": "string", "description": "Required: This must match the Name of a deployment." }, "rollbackTo": { "$ref": "#/types/kubernetes:extensions/v1beta1:RollbackConfig", "description": "The config of this deployment rollback." }, "updatedAnnotations": { "type": "object", "additionalProperties": { "type": "string" }, "description": "The annotations to be updated to a deployment" } }, "type": "object", "required": [ "name", "rollbackTo" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name", "rollbackTo", "updatedAnnotations" ] } } }, "kubernetes:extensions/v1beta1:DeploymentRollbackPatch": { "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", "properties": { "apiVersion": { "type": "string", "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": "string", "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" }, "name": { "type": "string", "description": "Required: This must match the Name of a deployment." }, "rollbackTo": { "$ref": "#/types/kubernetes:extensions/v1beta1:RollbackConfigPatch", "description": "The config of this deployment rollback." }, "updatedAnnotations": { "type": "object", "additionalProperties": { "type": "string" }, "description": "The annotations to be updated to a deployment" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name", "rollbackTo", "updatedAnnotations" ] } } }, "kubernetes:extensions/v1beta1:DeploymentSpec": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "properties": { "minReadySeconds": { "type": "integer", "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": "boolean", "description": "Indicates that the deployment is paused and will not be processed by the deployment controller." }, "progressDeadlineSeconds": { "type": "integer", "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\"." }, "replicas": { "type": "integer", "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." }, "revisionHistoryLimit": { "type": "integer", "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\"." }, "rollbackTo": { "$ref": "#/types/kubernetes:extensions/v1beta1:RollbackConfig", "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment." }, "strategy": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentStrategy", "description": "The deployment strategy to use to replace existing pods with new ones." }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Template describes the pods that will be created." } }, "type": "object", "required": [ "template" ], "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "paused", "progressDeadlineSeconds", "replicas", "revisionHistoryLimit", "rollbackTo", "selector", "strategy", "template" ] } } }, "kubernetes:extensions/v1beta1:DeploymentSpecPatch": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "properties": { "minReadySeconds": { "type": "integer", "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": "boolean", "description": "Indicates that the deployment is paused and will not be processed by the deployment controller." }, "progressDeadlineSeconds": { "type": "integer", "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\"." }, "replicas": { "type": "integer", "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." }, "revisionHistoryLimit": { "type": "integer", "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\"." }, "rollbackTo": { "$ref": "#/types/kubernetes:extensions/v1beta1:RollbackConfigPatch", "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment." }, "strategy": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentStrategyPatch", "description": "The deployment strategy to use to replace existing pods with new ones." }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Template describes the pods that will be created." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "paused", "progressDeadlineSeconds", "replicas", "revisionHistoryLimit", "rollbackTo", "selector", "strategy", "template" ] } } }, "kubernetes:extensions/v1beta1:DeploymentStatus": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { "availableReplicas": { "type": "integer", "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment." }, "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentCondition" }, "description": "Represents the latest available observations of a deployment's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the deployment controller." }, "readyReplicas": { "type": "integer", "description": "Total number of ready pods targeted by this deployment." }, "replicas": { "type": "integer", "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector)." }, "unavailableReplicas": { "type": "integer", "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": "integer", "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "collisionCount", "conditions", "observedGeneration", "readyReplicas", "replicas", "unavailableReplicas", "updatedReplicas" ] } } }, "kubernetes:extensions/v1beta1:DeploymentStatusPatch": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { "availableReplicas": { "type": "integer", "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment." }, "collisionCount": { "type": "integer", "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentConditionPatch" }, "description": "Represents the latest available observations of a deployment's current state." }, "observedGeneration": { "type": "integer", "description": "The generation observed by the deployment controller." }, "readyReplicas": { "type": "integer", "description": "Total number of ready pods targeted by this deployment." }, "replicas": { "type": "integer", "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector)." }, "unavailableReplicas": { "type": "integer", "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": "integer", "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "collisionCount", "conditions", "observedGeneration", "readyReplicas", "replicas", "unavailableReplicas", "updatedReplicas" ] } } }, "kubernetes:extensions/v1beta1:DeploymentStrategy": { "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:extensions/v1beta1:RollingUpdateDeployment", "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." }, "type": { "type": "string", "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:extensions/v1beta1:DeploymentStrategyPatch": { "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { "rollingUpdate": { "$ref": "#/types/kubernetes:extensions/v1beta1:RollingUpdateDeploymentPatch", "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." }, "type": { "type": "string", "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rollingUpdate", "type" ] } } }, "kubernetes:extensions/v1beta1:FSGroupStrategyOptions": { "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IDRange" }, "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": "string", "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:extensions/v1beta1:FSGroupStrategyOptionsPatch": { "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IDRangePatch" }, "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": "string", "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:extensions/v1beta1:HTTPIngressPath": { "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { "backend": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressBackend", "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." }, "path": { "type": "string", "description": "Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) 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 '/'. If unspecified, the path defaults to a catch all sending traffic to the backend." }, "pathType": { "type": "string", "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": "object", "required": [ "backend" ], "language": { "nodejs": { "requiredOutputs": [ "backend", "path", "pathType" ] } } }, "kubernetes:extensions/v1beta1:HTTPIngressPathPatch": { "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { "backend": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressBackendPatch", "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." }, "path": { "type": "string", "description": "Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) 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 '/'. If unspecified, the path defaults to a catch all sending traffic to the backend." }, "pathType": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "backend", "path", "pathType" ] } } }, "kubernetes:extensions/v1beta1:HTTPIngressRuleValue": { "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 '#'.", "properties": { "paths": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:HTTPIngressPath" }, "description": "A collection of paths that map requests to backends." } }, "type": "object", "required": [ "paths" ], "language": { "nodejs": { "requiredOutputs": [ "paths" ] } } }, "kubernetes:extensions/v1beta1:HTTPIngressRuleValuePatch": { "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 '#'.", "properties": { "paths": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:HTTPIngressPathPatch" }, "description": "A collection of paths that map requests to backends." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "paths" ] } } }, "kubernetes:extensions/v1beta1:HostPortRange": { "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.", "properties": { "max": { "type": "integer", "description": "max is the end of the range, inclusive." }, "min": { "type": "integer", "description": "min is the start of the range, inclusive." } }, "type": "object", "required": [ "max", "min" ], "language": { "nodejs": { "requiredOutputs": [ "max", "min" ] } } }, "kubernetes:extensions/v1beta1:HostPortRangePatch": { "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.", "properties": { "max": { "type": "integer", "description": "max is the end of the range, inclusive." }, "min": { "type": "integer", "description": "min is the start of the range, inclusive." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "max", "min" ] } } }, "kubernetes:extensions/v1beta1:IDRange": { "description": "IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.", "properties": { "max": { "type": "integer", "description": "max is the end of the range, inclusive." }, "min": { "type": "integer", "description": "min is the start of the range, inclusive." } }, "type": "object", "required": [ "max", "min" ], "language": { "nodejs": { "requiredOutputs": [ "max", "min" ] } } }, "kubernetes:extensions/v1beta1:IDRangePatch": { "description": "IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.", "properties": { "max": { "type": "integer", "description": "max is the end of the range, inclusive." }, "min": { "type": "integer", "description": "min is the start of the range, inclusive." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "max", "min" ] } } }, "kubernetes:extensions/v1beta1:IPBlock": { "description": "DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") 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.", "properties": { "cidr": { "type": "string", "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"" }, "except": { "type": "array", "items": { "type": "string" }, "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range" } }, "type": "object", "required": [ "cidr" ], "language": { "nodejs": { "requiredOutputs": [ "cidr", "except" ] } } }, "kubernetes:extensions/v1beta1:IPBlockPatch": { "description": "DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") 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.", "properties": { "cidr": { "type": "string", "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"" }, "except": { "type": "array", "items": { "type": "string" }, "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "cidr", "except" ] } } }, "kubernetes:extensions/v1beta1:Ingress": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. \n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressSpec", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressStatus", "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:extensions/v1beta1:IngressBackend": { "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { "resource": { "$ref": "#/types/kubernetes:core/v1:TypedLocalObjectReference", "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." }, "serviceName": { "type": "string", "description": "Specifies the name of the referenced service." }, "servicePort": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Specifies the port of the referenced service." } }, "type": "object", "required": [ "serviceName", "servicePort" ], "language": { "nodejs": { "requiredOutputs": [ "resource", "serviceName", "servicePort" ] } } }, "kubernetes:extensions/v1beta1:IngressBackendPatch": { "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { "resource": { "$ref": "#/types/kubernetes:core/v1:TypedLocalObjectReferencePatch", "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." }, "serviceName": { "type": "string", "description": "Specifies the name of the referenced service." }, "servicePort": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Specifies the port of the referenced service." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resource", "serviceName", "servicePort" ] } } }, "kubernetes:extensions/v1beta1:IngressList": { "description": "IngressList is a collection of Ingress.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:Ingress" }, "description": "Items is the list of Ingress." }, "kind": { "type": "string", "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", "const": "IngressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:extensions/v1beta1:IngressPatch": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. \n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressSpecPatch", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressStatusPatch", "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:extensions/v1beta1:IngressRule": { "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", "properties": { "host": { "type": "string", "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 the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the\n\t 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." }, "http": { "$ref": "#/types/kubernetes:extensions/v1beta1:HTTPIngressRuleValue" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "host", "http" ] } } }, "kubernetes:extensions/v1beta1:IngressRulePatch": { "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", "properties": { "host": { "type": "string", "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 the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the\n\t 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." }, "http": { "$ref": "#/types/kubernetes:extensions/v1beta1:HTTPIngressRuleValuePatch" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "host", "http" ] } } }, "kubernetes:extensions/v1beta1:IngressSpec": { "description": "IngressSpec describes the Ingress the user wishes to exist.", "properties": { "backend": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressBackend", "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default." }, "ingressClassName": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressRule" }, "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressTLS" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "backend", "ingressClassName", "rules", "tls" ] } } }, "kubernetes:extensions/v1beta1:IngressSpecPatch": { "description": "IngressSpec describes the Ingress the user wishes to exist.", "properties": { "backend": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressBackendPatch", "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default." }, "ingressClassName": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressRulePatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressTLSPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "backend", "ingressClassName", "rules", "tls" ] } } }, "kubernetes:extensions/v1beta1:IngressStatus": { "description": "IngressStatus describe the current state of the Ingress.", "properties": { "loadBalancer": { "$ref": "#/types/kubernetes:core/v1:LoadBalancerStatus", "description": "LoadBalancer contains the current status of the load-balancer." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "loadBalancer" ] } } }, "kubernetes:extensions/v1beta1:IngressStatusPatch": { "description": "IngressStatus describe the current state of the Ingress.", "properties": { "loadBalancer": { "$ref": "#/types/kubernetes:core/v1:LoadBalancerStatusPatch", "description": "LoadBalancer contains the current status of the load-balancer." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "loadBalancer" ] } } }, "kubernetes:extensions/v1beta1:IngressTLS": { "description": "IngressTLS describes the transport layer security associated with an Ingress.", "properties": { "hosts": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "hosts", "secretName" ] } } }, "kubernetes:extensions/v1beta1:IngressTLSPatch": { "description": "IngressTLS describes the transport layer security associated with an Ingress.", "properties": { "hosts": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "hosts", "secretName" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicy": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicySpec", "description": "Specification of the desired behavior for this NetworkPolicy." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicyEgressRule": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", "properties": { "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyPort" }, "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyPeer" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "ports", "to" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicyEgressRulePatch": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", "properties": { "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyPortPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyPeerPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "ports", "to" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicyIngressRule": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.", "properties": { "from": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyPeer" }, "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyPort" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "from", "ports" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicyIngressRulePatch": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.", "properties": { "from": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyPeerPatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyPortPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "from", "ports" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicyList": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicy" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "NetworkPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicyPatch": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicySpecPatch", "description": "Specification of the desired behavior for this NetworkPolicy." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicyPeer": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.", "properties": { "ipBlock": { "$ref": "#/types/kubernetes:extensions/v1beta1:IPBlock", "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector." }, "podSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ipBlock", "namespaceSelector", "podSelector" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicyPeerPatch": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.", "properties": { "ipBlock": { "$ref": "#/types/kubernetes:extensions/v1beta1:IPBlockPatch", "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector." }, "podSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ipBlock", "namespaceSelector", "podSelector" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicyPort": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.", "properties": { "port": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched." }, "protocol": { "type": "string", "description": "Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "port", "protocol" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicyPortPatch": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.", "properties": { "port": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched." }, "protocol": { "type": "string", "description": "Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "port", "protocol" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicySpec": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.", "properties": { "egress": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyEgressRule" }, "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyIngressRule" }, "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 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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." }, "policyTypes": { "type": "array", "items": { "type": "string" }, "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": "object", "required": [ "podSelector" ], "language": { "nodejs": { "requiredOutputs": [ "egress", "ingress", "podSelector", "policyTypes" ] } } }, "kubernetes:extensions/v1beta1:NetworkPolicySpecPatch": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.", "properties": { "egress": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyEgressRulePatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicyIngressRulePatch" }, "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 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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." }, "policyTypes": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "egress", "ingress", "podSelector", "policyTypes" ] } } }, "kubernetes:extensions/v1beta1:PodSecurityPolicy": { "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:PodSecurityPolicySpec", "description": "spec defines the policy enforced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:extensions/v1beta1:PodSecurityPolicyList": { "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:PodSecurityPolicy" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "PodSecurityPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:extensions/v1beta1:PodSecurityPolicyPatch": { "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:PodSecurityPolicySpecPatch", "description": "spec defines the policy enforced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:extensions/v1beta1:PodSecurityPolicySpec": { "description": "PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.", "properties": { "allowPrivilegeEscalation": { "type": "boolean", "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true." }, "allowedCSIDrivers": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:AllowedCSIDriver" }, "description": "AllowedCSIDrivers is a whitelist 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." }, "allowedCapabilities": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:AllowedFlexVolume" }, "description": "allowedFlexVolumes is a whitelist of allowed 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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:AllowedHostPath" }, "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used." }, "allowedProcMountTypes": { "type": "array", "items": { "type": "string" }, "description": "AllowedProcMountTypes is a whitelist 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": "array", "items": { "type": "string" }, "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 whitelist 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": "array", "items": { "type": "string" }, "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": "boolean", "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process." }, "forbiddenSysctls": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:extensions/v1beta1:FSGroupStrategyOptions", "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext." }, "hostIPC": { "type": "boolean", "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec." }, "hostNetwork": { "type": "boolean", "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec." }, "hostPID": { "type": "boolean", "description": "hostPID determines if the policy allows the use of HostPID in the pod spec." }, "hostPorts": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:HostPortRange" }, "description": "hostPorts determines which host port ranges are allowed to be exposed." }, "privileged": { "type": "boolean", "description": "privileged determines if a pod can request to be run as privileged." }, "readOnlyRootFilesystem": { "type": "boolean", "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": "array", "items": { "type": "string" }, "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added." }, "runAsGroup": { "$ref": "#/types/kubernetes:extensions/v1beta1:RunAsGroupStrategyOptions", "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled." }, "runAsUser": { "$ref": "#/types/kubernetes:extensions/v1beta1:RunAsUserStrategyOptions", "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set." }, "runtimeClass": { "$ref": "#/types/kubernetes:extensions/v1beta1:RuntimeClassStrategyOptions", "description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled." }, "seLinux": { "$ref": "#/types/kubernetes:extensions/v1beta1:SELinuxStrategyOptions", "description": "seLinux is the strategy that will dictate the allowable labels that may be set." }, "supplementalGroups": { "$ref": "#/types/kubernetes:extensions/v1beta1:SupplementalGroupsStrategyOptions", "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext." }, "volumes": { "type": "array", "items": { "type": "string" }, "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'." } }, "type": "object", "required": [ "fsGroup", "runAsUser", "seLinux", "supplementalGroups" ], "language": { "nodejs": { "requiredOutputs": [ "allowPrivilegeEscalation", "allowedCSIDrivers", "allowedCapabilities", "allowedFlexVolumes", "allowedHostPaths", "allowedProcMountTypes", "allowedUnsafeSysctls", "defaultAddCapabilities", "defaultAllowPrivilegeEscalation", "forbiddenSysctls", "fsGroup", "hostIPC", "hostNetwork", "hostPID", "hostPorts", "privileged", "readOnlyRootFilesystem", "requiredDropCapabilities", "runAsGroup", "runAsUser", "runtimeClass", "seLinux", "supplementalGroups", "volumes" ] } } }, "kubernetes:extensions/v1beta1:PodSecurityPolicySpecPatch": { "description": "PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.", "properties": { "allowPrivilegeEscalation": { "type": "boolean", "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true." }, "allowedCSIDrivers": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:AllowedCSIDriverPatch" }, "description": "AllowedCSIDrivers is a whitelist 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." }, "allowedCapabilities": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:AllowedFlexVolumePatch" }, "description": "allowedFlexVolumes is a whitelist of allowed 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": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:AllowedHostPathPatch" }, "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used." }, "allowedProcMountTypes": { "type": "array", "items": { "type": "string" }, "description": "AllowedProcMountTypes is a whitelist 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": "array", "items": { "type": "string" }, "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 whitelist 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": "array", "items": { "type": "string" }, "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": "boolean", "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process." }, "forbiddenSysctls": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:extensions/v1beta1:FSGroupStrategyOptionsPatch", "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext." }, "hostIPC": { "type": "boolean", "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec." }, "hostNetwork": { "type": "boolean", "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec." }, "hostPID": { "type": "boolean", "description": "hostPID determines if the policy allows the use of HostPID in the pod spec." }, "hostPorts": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:HostPortRangePatch" }, "description": "hostPorts determines which host port ranges are allowed to be exposed." }, "privileged": { "type": "boolean", "description": "privileged determines if a pod can request to be run as privileged." }, "readOnlyRootFilesystem": { "type": "boolean", "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": "array", "items": { "type": "string" }, "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added." }, "runAsGroup": { "$ref": "#/types/kubernetes:extensions/v1beta1:RunAsGroupStrategyOptionsPatch", "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled." }, "runAsUser": { "$ref": "#/types/kubernetes:extensions/v1beta1:RunAsUserStrategyOptionsPatch", "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set." }, "runtimeClass": { "$ref": "#/types/kubernetes:extensions/v1beta1:RuntimeClassStrategyOptionsPatch", "description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled." }, "seLinux": { "$ref": "#/types/kubernetes:extensions/v1beta1:SELinuxStrategyOptionsPatch", "description": "seLinux is the strategy that will dictate the allowable labels that may be set." }, "supplementalGroups": { "$ref": "#/types/kubernetes:extensions/v1beta1:SupplementalGroupsStrategyOptionsPatch", "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext." }, "volumes": { "type": "array", "items": { "type": "string" }, "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allowPrivilegeEscalation", "allowedCSIDrivers", "allowedCapabilities", "allowedFlexVolumes", "allowedHostPaths", "allowedProcMountTypes", "allowedUnsafeSysctls", "defaultAddCapabilities", "defaultAllowPrivilegeEscalation", "forbiddenSysctls", "fsGroup", "hostIPC", "hostNetwork", "hostPID", "hostPorts", "privileged", "readOnlyRootFilesystem", "requiredDropCapabilities", "runAsGroup", "runAsUser", "runtimeClass", "seLinux", "supplementalGroups", "volumes" ] } } }, "kubernetes:extensions/v1beta1:ReplicaSet": { "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetSpec", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetStatus", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:extensions/v1beta1:ReplicaSetCondition": { "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "The last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of replica set condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:extensions/v1beta1:ReplicaSetConditionPatch": { "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", "properties": { "lastTransitionTime": { "type": "string", "description": "The last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of replica set condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:extensions/v1beta1:ReplicaSetList": { "description": "ReplicaSetList is a collection of ReplicaSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSet" }, "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicaSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:extensions/v1beta1:ReplicaSetPatch": { "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetSpecPatch", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetStatusPatch", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:extensions/v1beta1:ReplicaSetSpec": { "description": "ReplicaSetSpec is the specification of a ReplicaSet.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Selector is a label query over pods that should match the replica count. If the 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 replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "replicas", "selector", "template" ] } } }, "kubernetes:extensions/v1beta1:ReplicaSetSpecPatch": { "description": "ReplicaSetSpec is the specification of a ReplicaSet.", "properties": { "minReadySeconds": { "type": "integer", "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": "integer", "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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Selector is a label query over pods that should match the replica count. If the 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 replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "minReadySeconds", "replicas", "selector", "template" ] } } }, "kubernetes:extensions/v1beta1:ReplicaSetStatus": { "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", "properties": { "availableReplicas": { "type": "integer", "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetCondition" }, "description": "Represents the latest available observations of a replica set's current state." }, "fullyLabeledReplicas": { "type": "integer", "description": "The number of pods that have labels matching the labels of the pod template of the replicaset." }, "observedGeneration": { "type": "integer", "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet." }, "readyReplicas": { "type": "integer", "description": "The number of ready replicas for this replica set." }, "replicas": { "type": "integer", "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": "object", "required": [ "replicas" ], "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "conditions", "fullyLabeledReplicas", "observedGeneration", "readyReplicas", "replicas" ] } } }, "kubernetes:extensions/v1beta1:ReplicaSetStatusPatch": { "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", "properties": { "availableReplicas": { "type": "integer", "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set." }, "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetConditionPatch" }, "description": "Represents the latest available observations of a replica set's current state." }, "fullyLabeledReplicas": { "type": "integer", "description": "The number of pods that have labels matching the labels of the pod template of the replicaset." }, "observedGeneration": { "type": "integer", "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet." }, "readyReplicas": { "type": "integer", "description": "The number of ready replicas for this replica set." }, "replicas": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "availableReplicas", "conditions", "fullyLabeledReplicas", "observedGeneration", "readyReplicas", "replicas" ] } } }, "kubernetes:extensions/v1beta1:RollbackConfig": { "description": "DEPRECATED.", "properties": { "revision": { "type": "integer", "description": "The revision to rollback to. If set to 0, rollback to the last revision." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "revision" ] } } }, "kubernetes:extensions/v1beta1:RollbackConfigPatch": { "description": "DEPRECATED.", "properties": { "revision": { "type": "integer", "description": "The revision to rollback to. If set to 0, rollback to the last revision." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "revision" ] } } }, "kubernetes:extensions/v1beta1:RollingUpdateDaemonSet": { "description": "Spec to control the desired behavior of daemon set rolling update.", "properties": { "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxUnavailable" ] } } }, "kubernetes:extensions/v1beta1:RollingUpdateDaemonSetPatch": { "description": "Spec to control the desired behavior of daemon set rolling update.", "properties": { "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxUnavailable" ] } } }, "kubernetes:extensions/v1beta1:RollingUpdateDeployment": { "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." }, "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxSurge", "maxUnavailable" ] } } }, "kubernetes:extensions/v1beta1:RollingUpdateDeploymentPatch": { "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." }, "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxSurge", "maxUnavailable" ] } } }, "kubernetes:extensions/v1beta1:RunAsGroupStrategyOptions": { "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IDRange" }, "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": "string", "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set." } }, "type": "object", "required": [ "rule" ], "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:extensions/v1beta1:RunAsGroupStrategyOptionsPatch": { "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IDRangePatch" }, "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": "string", "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:extensions/v1beta1:RunAsUserStrategyOptions": { "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IDRange" }, "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": "string", "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set." } }, "type": "object", "required": [ "rule" ], "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:extensions/v1beta1:RunAsUserStrategyOptionsPatch": { "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IDRangePatch" }, "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": "string", "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:extensions/v1beta1:RuntimeClassStrategyOptions": { "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.", "properties": { "allowedRuntimeClassNames": { "type": "array", "items": { "type": "string" }, "description": "allowedRuntimeClassNames is a whitelist 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": "string", "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": "object", "required": [ "allowedRuntimeClassNames" ], "language": { "nodejs": { "requiredOutputs": [ "allowedRuntimeClassNames", "defaultRuntimeClassName" ] } } }, "kubernetes:extensions/v1beta1:RuntimeClassStrategyOptionsPatch": { "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.", "properties": { "allowedRuntimeClassNames": { "type": "array", "items": { "type": "string" }, "description": "allowedRuntimeClassNames is a whitelist 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "allowedRuntimeClassNames", "defaultRuntimeClassName" ] } } }, "kubernetes:extensions/v1beta1:SELinuxStrategyOptions": { "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.", "properties": { "rule": { "type": "string", "description": "rule is the strategy that will dictate the allowable labels that may be set." }, "seLinuxOptions": { "$ref": "#/types/kubernetes:core/v1:SELinuxOptions", "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" } }, "type": "object", "required": [ "rule" ], "language": { "nodejs": { "requiredOutputs": [ "rule", "seLinuxOptions" ] } } }, "kubernetes:extensions/v1beta1:SELinuxStrategyOptionsPatch": { "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.", "properties": { "rule": { "type": "string", "description": "rule is the strategy that will dictate the allowable labels that may be set." }, "seLinuxOptions": { "$ref": "#/types/kubernetes:core/v1:SELinuxOptionsPatch", "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rule", "seLinuxOptions" ] } } }, "kubernetes:extensions/v1beta1:Scale": { "description": "represents a scaling request for a resource.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:ScaleSpec", "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:ScaleStatus", "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:extensions/v1beta1:ScalePatch": { "description": "represents a scaling request for a resource.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:ScaleSpecPatch", "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:ScaleStatusPatch", "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:extensions/v1beta1:ScaleSpec": { "description": "describes the attributes of a scale subresource", "properties": { "replicas": { "type": "integer", "description": "desired number of instances for the scaled object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas" ] } } }, "kubernetes:extensions/v1beta1:ScaleSpecPatch": { "description": "describes the attributes of a scale subresource", "properties": { "replicas": { "type": "integer", "description": "desired number of instances for the scaled object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas" ] } } }, "kubernetes:extensions/v1beta1:ScaleStatus": { "description": "represents the current status of a scale subresource.", "properties": { "replicas": { "type": "integer", "description": "actual number of observed instances of the scaled object." }, "selector": { "type": "object", "additionalProperties": { "type": "string" }, "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "targetSelector": { "type": "string", "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" } }, "type": "object", "required": [ "replicas" ], "language": { "nodejs": { "requiredOutputs": [ "replicas", "selector", "targetSelector" ] } } }, "kubernetes:extensions/v1beta1:ScaleStatusPatch": { "description": "represents the current status of a scale subresource.", "properties": { "replicas": { "type": "integer", "description": "actual number of observed instances of the scaled object." }, "selector": { "type": "object", "additionalProperties": { "type": "string" }, "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "targetSelector": { "type": "string", "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "replicas", "selector", "targetSelector" ] } } }, "kubernetes:extensions/v1beta1:SupplementalGroupsStrategyOptions": { "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IDRange" }, "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": "string", "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:extensions/v1beta1:SupplementalGroupsStrategyOptionsPatch": { "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:IDRangePatch" }, "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": "string", "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:ExemptPriorityLevelConfiguration": { "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", "properties": { "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "nominalConcurrencyShares": { "type": "integer", "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lendablePercent", "nominalConcurrencyShares" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:ExemptPriorityLevelConfigurationPatch": { "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", "properties": { "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "nominalConcurrencyShares": { "type": "integer", "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lendablePercent", "nominalConcurrencyShares" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowDistinguisherMethod": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { "type": "string", "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." } }, "type": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowDistinguisherMethodPatch": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { "type": "string", "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaCondition": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaConditionPatch": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaPatch": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaStatusPatch", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaSpec": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowDistinguisherMethod", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationReference", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PolicyRulesWithSubjects" }, "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": "object", "required": [ "priorityLevelConfiguration" ], "language": { "nodejs": { "requiredOutputs": [ "distinguisherMethod", "matchingPrecedence", "priorityLevelConfiguration", "rules" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaSpecPatch": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowDistinguisherMethodPatch", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationReferencePatch", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PolicyRulesWithSubjectsPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "distinguisherMethod", "matchingPrecedence", "priorityLevelConfiguration", "rules" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaStatus": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaCondition" }, "description": "`conditions` is a list of the current states of FlowSchema." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaStatusPatch": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaConditionPatch" }, "description": "`conditions` is a list of the current states of FlowSchema." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:GroupSubject": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { "type": "string", "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": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:GroupSubjectPatch": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:LimitResponse": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:QueuingConfiguration", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { "type": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "queuing", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:LimitResponsePatch": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:QueuingConfigurationPatch", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "queuing", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:LimitedPriorityLevelConfiguration": { "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?", "properties": { "borrowingLimitPercent": { "type": "integer", "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite." }, "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "limitResponse": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:LimitResponse", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" }, "nominalConcurrencyShares": { "type": "integer", "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level.\n\nIf not specified, this field defaults to a value of 30.\n\nSetting this field to zero supports the construction of a \"jail\" for this priority level that is used to hold some request(s)" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "borrowingLimitPercent", "lendablePercent", "limitResponse", "nominalConcurrencyShares" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:LimitedPriorityLevelConfigurationPatch": { "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?", "properties": { "borrowingLimitPercent": { "type": "integer", "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite." }, "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "limitResponse": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:LimitResponsePatch", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" }, "nominalConcurrencyShares": { "type": "integer", "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level.\n\nIf not specified, this field defaults to a value of 30.\n\nSetting this field to zero supports the construction of a \"jail\" for this priority level that is used to hold some request(s)" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "borrowingLimitPercent", "lendablePercent", "limitResponse", "nominalConcurrencyShares" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:NonResourcePolicyRule": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "nonResourceURLs", "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:NonResourcePolicyRulePatch": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PolicyRulesWithSubjects": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:NonResourcePolicyRule" }, "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:ResourcePolicyRule" }, "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": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:Subject" }, "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": "object", "required": [ "subjects" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceRules", "resourceRules", "subjects" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PolicyRulesWithSubjectsPatch": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:NonResourcePolicyRulePatch" }, "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:ResourcePolicyRulePatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:SubjectPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceRules", "resourceRules", "subjects" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationCondition": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationConditionPatch": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationPatch": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationStatusPatch", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationReference": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { "type": "string", "description": "`name` is the name of the priority level configuration being referenced Required." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationReferencePatch": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { "type": "string", "description": "`name` is the name of the priority level configuration being referenced Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationSpec": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "exempt": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:ExemptPriorityLevelConfiguration", "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply." }, "limited": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:LimitedPriorityLevelConfiguration", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { "type": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "exempt", "limited", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationSpecPatch": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "exempt": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:ExemptPriorityLevelConfigurationPatch", "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply." }, "limited": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:LimitedPriorityLevelConfigurationPatch", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "exempt", "limited", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationStatus": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationCondition" }, "description": "`conditions` is the current state of \"request-priority\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationStatusPatch": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationConditionPatch" }, "description": "`conditions` is the current state of \"request-priority\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:QueuingConfiguration": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { "type": "integer", "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": "integer", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "handSize", "queueLengthLimit", "queues" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:QueuingConfigurationPatch": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { "type": "integer", "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": "integer", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "handSize", "queueLengthLimit", "queues" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:ResourcePolicyRule": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "apiGroups", "resources", "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "clusterScope", "namespaces", "resources", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:ResourcePolicyRulePatch": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "clusterScope", "namespaces", "resources", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:ServiceAccountSubject": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." }, "namespace": { "type": "string", "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." } }, "type": "object", "required": [ "name", "namespace" ], "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:ServiceAccountSubjectPatch": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." }, "namespace": { "type": "string", "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:Subject": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:GroupSubject", "description": "`group` matches based on user group name." }, "kind": { "type": "string", "description": "`kind` indicates which one of the other fields is non-empty. Required" }, "serviceAccount": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:ServiceAccountSubject", "description": "`serviceAccount` matches ServiceAccounts." }, "user": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:UserSubject", "description": "`user` matches based on username." } }, "type": "object", "required": [ "kind" ], "language": { "nodejs": { "requiredOutputs": [ "group", "kind", "serviceAccount", "user" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:SubjectPatch": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:GroupSubjectPatch", "description": "`group` matches based on user group name." }, "kind": { "type": "string", "description": "`kind` indicates which one of the other fields is non-empty. Required" }, "serviceAccount": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:ServiceAccountSubjectPatch", "description": "`serviceAccount` matches ServiceAccounts." }, "user": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:UserSubjectPatch", "description": "`user` matches based on username." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "kind", "serviceAccount", "user" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:UserSubject": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:UserSubjectPatch": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowDistinguisherMethod": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { "type": "string", "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." } }, "type": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowDistinguisherMethodPatch": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { "type": "string", "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaCondition": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaConditionPatch": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaPatch": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaStatusPatch", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaSpec": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowDistinguisherMethod", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { "type": "integer", "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 non-negative. Note that if the precedence is not specified or zero, it will be set to 1000 as default." }, "priorityLevelConfiguration": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationReference", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PolicyRulesWithSubjects" }, "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": "object", "required": [ "priorityLevelConfiguration" ], "language": { "nodejs": { "requiredOutputs": [ "distinguisherMethod", "matchingPrecedence", "priorityLevelConfiguration", "rules" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaSpecPatch": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowDistinguisherMethodPatch", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { "type": "integer", "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 non-negative. Note that if the precedence is not specified or zero, it will be set to 1000 as default." }, "priorityLevelConfiguration": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationReferencePatch", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PolicyRulesWithSubjectsPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "distinguisherMethod", "matchingPrecedence", "priorityLevelConfiguration", "rules" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaStatus": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaCondition" }, "description": "`conditions` is a list of the current states of FlowSchema." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaStatusPatch": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaConditionPatch" }, "description": "`conditions` is a list of the current states of FlowSchema." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:GroupSubject": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { "type": "string", "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": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:GroupSubjectPatch": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:LimitResponse": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:QueuingConfiguration", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { "type": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "queuing", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:LimitResponsePatch": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:QueuingConfigurationPatch", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "queuing", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:LimitedPriorityLevelConfiguration": { "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?", "properties": { "assuredConcurrencyShares": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:LimitResponse", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "assuredConcurrencyShares", "limitResponse" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:LimitedPriorityLevelConfigurationPatch": { "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?", "properties": { "assuredConcurrencyShares": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:LimitResponsePatch", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "assuredConcurrencyShares", "limitResponse" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:NonResourcePolicyRule": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "nonResourceURLs", "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:NonResourcePolicyRulePatch": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PolicyRulesWithSubjects": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:NonResourcePolicyRule" }, "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:ResourcePolicyRule" }, "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": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:Subject" }, "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": "object", "required": [ "subjects" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceRules", "resourceRules", "subjects" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PolicyRulesWithSubjectsPatch": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:NonResourcePolicyRulePatch" }, "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:ResourcePolicyRulePatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:SubjectPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceRules", "resourceRules", "subjects" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationCondition": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationConditionPatch": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationPatch": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationStatusPatch", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationReference": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { "type": "string", "description": "`name` is the name of the priority level configuration being referenced Required." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationReferencePatch": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { "type": "string", "description": "`name` is the name of the priority level configuration being referenced Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationSpec": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "limited": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:LimitedPriorityLevelConfiguration", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { "type": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "limited", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationSpecPatch": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "limited": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:LimitedPriorityLevelConfigurationPatch", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "limited", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationStatus": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationCondition" }, "description": "`conditions` is the current state of \"request-priority\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationStatusPatch": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationConditionPatch" }, "description": "`conditions` is the current state of \"request-priority\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:QueuingConfiguration": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { "type": "integer", "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": "integer", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "handSize", "queueLengthLimit", "queues" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:QueuingConfigurationPatch": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { "type": "integer", "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": "integer", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "handSize", "queueLengthLimit", "queues" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:ResourcePolicyRule": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "apiGroups", "resources", "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "clusterScope", "namespaces", "resources", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:ResourcePolicyRulePatch": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "clusterScope", "namespaces", "resources", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:ServiceAccountSubject": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." }, "namespace": { "type": "string", "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." } }, "type": "object", "required": [ "name", "namespace" ], "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:ServiceAccountSubjectPatch": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." }, "namespace": { "type": "string", "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:Subject": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:GroupSubject" }, "kind": { "type": "string", "description": "Required" }, "serviceAccount": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:ServiceAccountSubject" }, "user": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:UserSubject" } }, "type": "object", "required": [ "kind" ], "language": { "nodejs": { "requiredOutputs": [ "group", "kind", "serviceAccount", "user" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:SubjectPatch": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:GroupSubjectPatch" }, "kind": { "type": "string", "description": "Required" }, "serviceAccount": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:ServiceAccountSubjectPatch" }, "user": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:UserSubjectPatch" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "kind", "serviceAccount", "user" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:UserSubject": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:UserSubjectPatch": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowDistinguisherMethod": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { "type": "string", "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." } }, "type": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowDistinguisherMethodPatch": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { "type": "string", "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaCondition": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaConditionPatch": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaPatch": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaStatusPatch", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaSpec": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowDistinguisherMethod", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationReference", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PolicyRulesWithSubjects" }, "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": "object", "required": [ "priorityLevelConfiguration" ], "language": { "nodejs": { "requiredOutputs": [ "distinguisherMethod", "matchingPrecedence", "priorityLevelConfiguration", "rules" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaSpecPatch": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowDistinguisherMethodPatch", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationReferencePatch", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PolicyRulesWithSubjectsPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "distinguisherMethod", "matchingPrecedence", "priorityLevelConfiguration", "rules" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaStatus": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaCondition" }, "description": "`conditions` is a list of the current states of FlowSchema." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaStatusPatch": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaConditionPatch" }, "description": "`conditions` is a list of the current states of FlowSchema." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:GroupSubject": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { "type": "string", "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": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:GroupSubjectPatch": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:LimitResponse": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:QueuingConfiguration", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { "type": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "queuing", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:LimitResponsePatch": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:QueuingConfigurationPatch", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "queuing", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:LimitedPriorityLevelConfiguration": { "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?", "properties": { "assuredConcurrencyShares": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:LimitResponse", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "assuredConcurrencyShares", "limitResponse" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:LimitedPriorityLevelConfigurationPatch": { "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?", "properties": { "assuredConcurrencyShares": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:LimitResponsePatch", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "assuredConcurrencyShares", "limitResponse" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:NonResourcePolicyRule": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "nonResourceURLs", "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:NonResourcePolicyRulePatch": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PolicyRulesWithSubjects": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:NonResourcePolicyRule" }, "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:ResourcePolicyRule" }, "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": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:Subject" }, "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": "object", "required": [ "subjects" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceRules", "resourceRules", "subjects" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PolicyRulesWithSubjectsPatch": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:NonResourcePolicyRulePatch" }, "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:ResourcePolicyRulePatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:SubjectPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceRules", "resourceRules", "subjects" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationCondition": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationConditionPatch": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationPatch": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationStatusPatch", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationReference": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { "type": "string", "description": "`name` is the name of the priority level configuration being referenced Required." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationReferencePatch": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { "type": "string", "description": "`name` is the name of the priority level configuration being referenced Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationSpec": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "limited": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:LimitedPriorityLevelConfiguration", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { "type": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "limited", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationSpecPatch": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "limited": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:LimitedPriorityLevelConfigurationPatch", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "limited", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationStatus": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationCondition" }, "description": "`conditions` is the current state of \"request-priority\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationStatusPatch": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationConditionPatch" }, "description": "`conditions` is the current state of \"request-priority\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:QueuingConfiguration": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { "type": "integer", "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": "integer", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "handSize", "queueLengthLimit", "queues" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:QueuingConfigurationPatch": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { "type": "integer", "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": "integer", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "handSize", "queueLengthLimit", "queues" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:ResourcePolicyRule": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "apiGroups", "resources", "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "clusterScope", "namespaces", "resources", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:ResourcePolicyRulePatch": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "clusterScope", "namespaces", "resources", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:ServiceAccountSubject": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." }, "namespace": { "type": "string", "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." } }, "type": "object", "required": [ "name", "namespace" ], "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:ServiceAccountSubjectPatch": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." }, "namespace": { "type": "string", "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:Subject": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:GroupSubject" }, "kind": { "type": "string", "description": "Required" }, "serviceAccount": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:ServiceAccountSubject" }, "user": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:UserSubject" } }, "type": "object", "required": [ "kind" ], "language": { "nodejs": { "requiredOutputs": [ "group", "kind", "serviceAccount", "user" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:SubjectPatch": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:GroupSubjectPatch" }, "kind": { "type": "string", "description": "Required" }, "serviceAccount": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:ServiceAccountSubjectPatch" }, "user": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:UserSubjectPatch" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "kind", "serviceAccount", "user" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:UserSubject": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:UserSubjectPatch": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ExemptPriorityLevelConfiguration": { "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", "properties": { "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "nominalConcurrencyShares": { "type": "integer", "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lendablePercent", "nominalConcurrencyShares" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ExemptPriorityLevelConfigurationPatch": { "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", "properties": { "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "nominalConcurrencyShares": { "type": "integer", "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lendablePercent", "nominalConcurrencyShares" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowDistinguisherMethod": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { "type": "string", "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." } }, "type": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowDistinguisherMethodPatch": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { "type": "string", "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaCondition": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaConditionPatch": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaPatch": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaStatusPatch", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaSpec": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowDistinguisherMethod", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationReference", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PolicyRulesWithSubjects" }, "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": "object", "required": [ "priorityLevelConfiguration" ], "language": { "nodejs": { "requiredOutputs": [ "distinguisherMethod", "matchingPrecedence", "priorityLevelConfiguration", "rules" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaSpecPatch": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowDistinguisherMethodPatch", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationReferencePatch", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PolicyRulesWithSubjectsPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "distinguisherMethod", "matchingPrecedence", "priorityLevelConfiguration", "rules" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaStatus": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaCondition" }, "description": "`conditions` is a list of the current states of FlowSchema." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaStatusPatch": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaConditionPatch" }, "description": "`conditions` is a list of the current states of FlowSchema." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:GroupSubject": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { "type": "string", "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": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:GroupSubjectPatch": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:LimitResponse": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:QueuingConfiguration", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { "type": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "queuing", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:LimitResponsePatch": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:QueuingConfigurationPatch", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "queuing", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:LimitedPriorityLevelConfiguration": { "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?", "properties": { "assuredConcurrencyShares": { "type": "integer", "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." }, "borrowingLimitPercent": { "type": "integer", "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite." }, "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "limitResponse": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:LimitResponse", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "assuredConcurrencyShares", "borrowingLimitPercent", "lendablePercent", "limitResponse" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:LimitedPriorityLevelConfigurationPatch": { "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?", "properties": { "assuredConcurrencyShares": { "type": "integer", "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." }, "borrowingLimitPercent": { "type": "integer", "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite." }, "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "limitResponse": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:LimitResponsePatch", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "assuredConcurrencyShares", "borrowingLimitPercent", "lendablePercent", "limitResponse" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:NonResourcePolicyRule": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "nonResourceURLs", "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:NonResourcePolicyRulePatch": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PolicyRulesWithSubjects": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:NonResourcePolicyRule" }, "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ResourcePolicyRule" }, "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": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:Subject" }, "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": "object", "required": [ "subjects" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceRules", "resourceRules", "subjects" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PolicyRulesWithSubjectsPatch": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:NonResourcePolicyRulePatch" }, "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ResourcePolicyRulePatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:SubjectPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceRules", "resourceRules", "subjects" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationCondition": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationConditionPatch": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationPatch": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationStatusPatch", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationReference": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { "type": "string", "description": "`name` is the name of the priority level configuration being referenced Required." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationReferencePatch": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { "type": "string", "description": "`name` is the name of the priority level configuration being referenced Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationSpec": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "exempt": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ExemptPriorityLevelConfiguration", "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply." }, "limited": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:LimitedPriorityLevelConfiguration", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { "type": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "exempt", "limited", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationSpecPatch": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "exempt": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ExemptPriorityLevelConfigurationPatch", "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply." }, "limited": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:LimitedPriorityLevelConfigurationPatch", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "exempt", "limited", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationStatus": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationCondition" }, "description": "`conditions` is the current state of \"request-priority\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationStatusPatch": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationConditionPatch" }, "description": "`conditions` is the current state of \"request-priority\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:QueuingConfiguration": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { "type": "integer", "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": "integer", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "handSize", "queueLengthLimit", "queues" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:QueuingConfigurationPatch": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { "type": "integer", "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": "integer", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "handSize", "queueLengthLimit", "queues" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ResourcePolicyRule": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "apiGroups", "resources", "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "clusterScope", "namespaces", "resources", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ResourcePolicyRulePatch": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "clusterScope", "namespaces", "resources", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ServiceAccountSubject": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." }, "namespace": { "type": "string", "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." } }, "type": "object", "required": [ "name", "namespace" ], "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ServiceAccountSubjectPatch": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." }, "namespace": { "type": "string", "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:Subject": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:GroupSubject", "description": "`group` matches based on user group name." }, "kind": { "type": "string", "description": "`kind` indicates which one of the other fields is non-empty. Required" }, "serviceAccount": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ServiceAccountSubject", "description": "`serviceAccount` matches ServiceAccounts." }, "user": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:UserSubject", "description": "`user` matches based on username." } }, "type": "object", "required": [ "kind" ], "language": { "nodejs": { "requiredOutputs": [ "group", "kind", "serviceAccount", "user" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:SubjectPatch": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:GroupSubjectPatch", "description": "`group` matches based on user group name." }, "kind": { "type": "string", "description": "`kind` indicates which one of the other fields is non-empty. Required" }, "serviceAccount": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:ServiceAccountSubjectPatch", "description": "`serviceAccount` matches ServiceAccounts." }, "user": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:UserSubjectPatch", "description": "`user` matches based on username." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "kind", "serviceAccount", "user" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:UserSubject": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:UserSubjectPatch": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ExemptPriorityLevelConfiguration": { "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", "properties": { "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "nominalConcurrencyShares": { "type": "integer", "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lendablePercent", "nominalConcurrencyShares" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ExemptPriorityLevelConfigurationPatch": { "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", "properties": { "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "nominalConcurrencyShares": { "type": "integer", "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lendablePercent", "nominalConcurrencyShares" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowDistinguisherMethod": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { "type": "string", "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." } }, "type": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowDistinguisherMethodPatch": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { "type": "string", "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaCondition": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaConditionPatch": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaPatch": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaStatusPatch", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaSpec": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowDistinguisherMethod", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationReference", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PolicyRulesWithSubjects" }, "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": "object", "required": [ "priorityLevelConfiguration" ], "language": { "nodejs": { "requiredOutputs": [ "distinguisherMethod", "matchingPrecedence", "priorityLevelConfiguration", "rules" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaSpecPatch": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowDistinguisherMethodPatch", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { "type": "integer", "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": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationReferencePatch", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PolicyRulesWithSubjectsPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "distinguisherMethod", "matchingPrecedence", "priorityLevelConfiguration", "rules" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaStatus": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaCondition" }, "description": "`conditions` is a list of the current states of FlowSchema." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaStatusPatch": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaConditionPatch" }, "description": "`conditions` is a list of the current states of FlowSchema." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:GroupSubject": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { "type": "string", "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": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:GroupSubjectPatch": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:LimitResponse": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:QueuingConfiguration", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { "type": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "queuing", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:LimitResponsePatch": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:QueuingConfigurationPatch", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "queuing", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:LimitedPriorityLevelConfiguration": { "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?", "properties": { "borrowingLimitPercent": { "type": "integer", "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite." }, "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "limitResponse": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:LimitResponse", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" }, "nominalConcurrencyShares": { "type": "integer", "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of 30." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "borrowingLimitPercent", "lendablePercent", "limitResponse", "nominalConcurrencyShares" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:LimitedPriorityLevelConfigurationPatch": { "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?", "properties": { "borrowingLimitPercent": { "type": "integer", "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite." }, "lendablePercent": { "type": "integer", "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )" }, "limitResponse": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:LimitResponsePatch", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" }, "nominalConcurrencyShares": { "type": "integer", "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of 30." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "borrowingLimitPercent", "lendablePercent", "limitResponse", "nominalConcurrencyShares" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:NonResourcePolicyRule": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "nonResourceURLs", "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:NonResourcePolicyRulePatch": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceURLs", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PolicyRulesWithSubjects": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:NonResourcePolicyRule" }, "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ResourcePolicyRule" }, "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": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:Subject" }, "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": "object", "required": [ "subjects" ], "language": { "nodejs": { "requiredOutputs": [ "nonResourceRules", "resourceRules", "subjects" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PolicyRulesWithSubjectsPatch": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:NonResourcePolicyRulePatch" }, "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." }, "resourceRules": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ResourcePolicyRulePatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:SubjectPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nonResourceRules", "resourceRules", "subjects" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationCondition": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationConditionPatch": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { "type": "string", "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { "type": "string", "description": "`message` is a human-readable message indicating details about last transition." }, "reason": { "type": "string", "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." }, "status": { "type": "string", "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." }, "type": { "type": "string", "description": "`type` is the type of the condition. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "reason", "status", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationPatch": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationStatusPatch", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationReference": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { "type": "string", "description": "`name` is the name of the priority level configuration being referenced Required." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationReferencePatch": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { "type": "string", "description": "`name` is the name of the priority level configuration being referenced Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationSpec": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "exempt": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ExemptPriorityLevelConfiguration", "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply." }, "limited": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:LimitedPriorityLevelConfiguration", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { "type": "string", "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": "object", "required": [ "type" ], "language": { "nodejs": { "requiredOutputs": [ "exempt", "limited", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationSpecPatch": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "exempt": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ExemptPriorityLevelConfigurationPatch", "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply." }, "limited": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:LimitedPriorityLevelConfigurationPatch", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "exempt", "limited", "type" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationStatus": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationCondition" }, "description": "`conditions` is the current state of \"request-priority\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationStatusPatch": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationConditionPatch" }, "description": "`conditions` is the current state of \"request-priority\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:QueuingConfiguration": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { "type": "integer", "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": "integer", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "handSize", "queueLengthLimit", "queues" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:QueuingConfigurationPatch": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { "type": "integer", "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": "integer", "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": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "handSize", "queueLengthLimit", "queues" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ResourcePolicyRule": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "apiGroups", "resources", "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "clusterScope", "namespaces", "resources", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ResourcePolicyRulePatch": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "boolean", "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "clusterScope", "namespaces", "resources", "verbs" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ServiceAccountSubject": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." }, "namespace": { "type": "string", "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." } }, "type": "object", "required": [ "name", "namespace" ], "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ServiceAccountSubjectPatch": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." }, "namespace": { "type": "string", "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "namespace" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:Subject": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:GroupSubject", "description": "`group` matches based on user group name." }, "kind": { "type": "string", "description": "`kind` indicates which one of the other fields is non-empty. Required" }, "serviceAccount": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ServiceAccountSubject", "description": "`serviceAccount` matches ServiceAccounts." }, "user": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:UserSubject", "description": "`user` matches based on username." } }, "type": "object", "required": [ "kind" ], "language": { "nodejs": { "requiredOutputs": [ "group", "kind", "serviceAccount", "user" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:SubjectPatch": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:GroupSubjectPatch", "description": "`group` matches based on user group name." }, "kind": { "type": "string", "description": "`kind` indicates which one of the other fields is non-empty. Required" }, "serviceAccount": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:ServiceAccountSubjectPatch", "description": "`serviceAccount` matches ServiceAccounts." }, "user": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:UserSubjectPatch", "description": "`user` matches based on username." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "kind", "serviceAccount", "user" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:UserSubject": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:UserSubjectPatch": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { "type": "string", "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:helm.sh/v3:FetchOpts": { "description": "Additional options to customize the fetching of the Helm chart.", "properties": { "caFile": { "type": "string", "description": "Verify certificates of HTTPS-enabled servers using this CA bundle." }, "certFile": { "type": "string", "description": "Identify HTTPS client using this SSL certificate file." }, "destination": { "type": "string", "description": "Location to write the chart. If this and tardir are specified, tardir is appended to this (default \".\")." }, "devel": { "type": "boolean", "description": "Use development versions, too. Equivalent to version '>0.0.0-0'. If –version is set, this is ignored." }, "home": { "type": "string", "description": "Location of your Helm config. Overrides $HELM_HOME (default \"/Users/abc/.helm\")." }, "keyFile": { "type": "string", "description": "Identify HTTPS client using this SSL key file." }, "keyring": { "type": "string", "description": "Keyring containing public keys (default “/Users/abc/.gnupg/pubring.gpg”)." }, "password": { "type": "string", "description": "Chart repository password." }, "prov": { "type": "string", "description": "Fetch the provenance file, but don’t perform verification." }, "repo": { "type": "string", "description": "Chart repository url where to locate the requested chart." }, "untar": { "type": "boolean", "description": "If set to false, will leave the chart as a tarball after downloading." }, "untardir": { "type": "string", "description": "If untar is specified, this flag specifies the name of the directory into which the chart is expanded (default \".\")." }, "username": { "type": "string", "description": "Chart repository username." }, "verify": { "type": "boolean", "description": "Verify the package against its signature." }, "version": { "type": "string", "description": "Specific version of a chart. Without this, the latest version is fetched." } }, "type": "object", "isOverlay": true }, "kubernetes:helm.sh/v3:ReleaseStatus": { "properties": { "appVersion": { "type": "string", "description": "The version number of the application being deployed." }, "chart": { "type": "string", "description": "The name of the chart." }, "name": { "type": "string", "description": "Name is the name of the release." }, "namespace": { "type": "string", "description": "Namespace is the kubernetes namespace of the release." }, "revision": { "type": "integer", "description": "Version is an int32 which represents the version of the release." }, "status": { "type": "string", "description": "Status of the release." }, "version": { "type": "string", "description": "A SemVer 2 conformant version string of the chart." } }, "type": "object", "required": [ "status" ], "language": { "nodejs": { "requiredOutputs": [ "name", "revision", "namespace", "chart", "version", "appVersion", "values", "status" ] } } }, "kubernetes:helm.sh/v3:RepositoryOpts": { "description": "Specification defining the Helm chart repository to use.", "properties": { "caFile": { "type": "string", "description": "The Repository's CA File" }, "certFile": { "type": "string", "description": "The repository's cert file" }, "keyFile": { "type": "string", "description": "The repository's cert key file" }, "password": { "type": "string", "description": "Password for HTTP basic authentication", "secret": true }, "repo": { "type": "string", "description": "Repository where to locate the requested chart. If is a URL the chart is installed without installing the repository." }, "username": { "type": "string", "description": "Username for HTTP basic authentication" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "repo", "keyFile", "certFile", "caFile", "username", "password" ] } } }, "kubernetes:index:HelmReleaseSettings": { "description": "Options to configure the Helm Release resource.", "properties": { "driver": { "type": "string", "description": "The backend storage driver for Helm. Values are: configmap, secret, memory, sql.", "defaultInfo": { "environment": [ "PULUMI_K8S_HELM_DRIVER" ] } }, "pluginsPath": { "type": "string", "description": "The path to the helm plugins directory.", "defaultInfo": { "environment": [ "PULUMI_K8S_HELM_PLUGINS_PATH" ] } }, "registryConfigPath": { "type": "string", "description": "The path to the registry config file.", "defaultInfo": { "environment": [ "PULUMI_K8S_HELM_REGISTRY_CONFIG_PATH" ] } }, "repositoryCache": { "type": "string", "description": "The path to the file containing cached repository indexes.", "defaultInfo": { "environment": [ "PULUMI_K8S_HELM_REPOSITORY_CACHE" ] } }, "repositoryConfigPath": { "type": "string", "description": "The path to the file containing repository names and URLs.", "defaultInfo": { "environment": [ "PULUMI_K8S_HELM_REPOSITORY_CONFIG_PATH" ] } } }, "type": "object" }, "kubernetes:index:KubeClientSettings": { "description": "Options for tuning the Kubernetes client used by a Provider.", "properties": { "burst": { "type": "integer", "description": "Maximum burst for throttle. Default value is 10.", "defaultInfo": { "environment": [ "PULUMI_K8S_CLIENT_BURST" ] } }, "qps": { "type": "number", "description": "Maximum queries per second (QPS) to the API server from this client. Default value is 5.", "defaultInfo": { "environment": [ "PULUMI_K8S_CLIENT_QPS" ] } }, "timeout": { "type": "integer", "description": "Maximum time in seconds to wait before cancelling a HTTP request to the Kubernetes server. Default value is 32.", "defaultInfo": { "environment": [ "PULUMI_K8S_CLIENT_TIMEOUT" ] } } }, "type": "object" }, "kubernetes:meta/v1:APIGroup": { "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "properties": { "apiVersion": { "type": "string", "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": "string", "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" }, "name": { "type": "string", "description": "name is the name of the group." }, "preferredVersion": { "$ref": "#/types/kubernetes:meta/v1:GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." }, "versions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." } }, "type": "object", "required": [ "name", "versions" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name", "preferredVersion", "serverAddressByClientCIDRs", "versions" ] } } }, "kubernetes:meta/v1:APIGroupList": { "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", "properties": { "apiVersion": { "type": "string", "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" }, "groups": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:APIGroup" }, "description": "groups is a list of APIGroup." }, "kind": { "type": "string", "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" } }, "type": "object", "required": [ "groups" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "groups", "kind" ] } } }, "kubernetes:meta/v1:APIGroupPatch": { "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "properties": { "apiVersion": { "type": "string", "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": "string", "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" }, "name": { "type": "string", "description": "name is the name of the group." }, "preferredVersion": { "$ref": "#/types/kubernetes:meta/v1:GroupVersionForDiscoveryPatch", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ServerAddressByClientCIDRPatch" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." }, "versions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:GroupVersionForDiscoveryPatch" }, "description": "versions are the versions supported in this group." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name", "preferredVersion", "serverAddressByClientCIDRs", "versions" ] } } }, "kubernetes:meta/v1:APIResource": { "description": "APIResource specifies the name of a resource and whether it is namespaced.", "properties": { "categories": { "type": "array", "items": { "type": "string" }, "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')" }, "group": { "type": "string", "description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\"." }, "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" }, "name": { "type": "string", "description": "name is the plural name of the resource." }, "namespaced": { "type": "boolean", "description": "namespaced indicates if a resource is namespaced or not." }, "shortNames": { "type": "array", "items": { "type": "string" }, "description": "shortNames is a list of suggested short names of the resource." }, "singularName": { "type": "string", "description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface." }, "storageVersionHash": { "type": "string", "description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)" }, "version": { "type": "string", "description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\"." } }, "type": "object", "required": [ "kind", "name", "namespaced", "singularName", "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "categories", "group", "kind", "name", "namespaced", "shortNames", "singularName", "storageVersionHash", "verbs", "version" ] } } }, "kubernetes:meta/v1:APIResourceList": { "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "properties": { "apiVersion": { "type": "string", "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" }, "groupVersion": { "type": "string", "description": "groupVersion is the group and version this APIResourceList is for." }, "kind": { "type": "string", "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" }, "resources": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } }, "type": "object", "required": [ "groupVersion", "resources" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "groupVersion", "kind", "resources" ] } } }, "kubernetes:meta/v1:APIResourcePatch": { "description": "APIResource specifies the name of a resource and whether it is namespaced.", "properties": { "categories": { "type": "array", "items": { "type": "string" }, "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')" }, "group": { "type": "string", "description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\"." }, "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" }, "name": { "type": "string", "description": "name is the plural name of the resource." }, "namespaced": { "type": "boolean", "description": "namespaced indicates if a resource is namespaced or not." }, "shortNames": { "type": "array", "items": { "type": "string" }, "description": "shortNames is a list of suggested short names of the resource." }, "singularName": { "type": "string", "description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface." }, "storageVersionHash": { "type": "string", "description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)" }, "version": { "type": "string", "description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "categories", "group", "kind", "name", "namespaced", "shortNames", "singularName", "storageVersionHash", "verbs", "version" ] } } }, "kubernetes:meta/v1:APIVersions": { "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", "properties": { "apiVersion": { "type": "string", "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": "string", "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" }, "serverAddressByClientCIDRs": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." }, "versions": { "type": "array", "items": { "type": "string" }, "description": "versions are the api versions that are available." } }, "type": "object", "required": [ "serverAddressByClientCIDRs", "versions" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "serverAddressByClientCIDRs", "versions" ] } } }, "kubernetes:meta/v1:APIVersionsPatch": { "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", "properties": { "apiVersion": { "type": "string", "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": "string", "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" }, "serverAddressByClientCIDRs": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ServerAddressByClientCIDRPatch" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." }, "versions": { "type": "array", "items": { "type": "string" }, "description": "versions are the api versions that are available." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "serverAddressByClientCIDRs", "versions" ] } } }, "kubernetes:meta/v1:Condition": { "description": "Condition contains details for one aspect of the current state of this API Resource.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." }, "message": { "type": "string", "description": "message is a human readable message indicating details about the transition. This may be an empty string." }, "observedGeneration": { "type": "integer", "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": "string", "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": "string", "description": "status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "type of condition in CamelCase or in foo.example.com/CamelCase." } }, "type": "object", "required": [ "lastTransitionTime", "message", "reason", "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "observedGeneration", "reason", "status", "type" ] } } }, "kubernetes:meta/v1:ConditionPatch": { "description": "Condition contains details for one aspect of the current state of this API Resource.", "properties": { "lastTransitionTime": { "type": "string", "description": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." }, "message": { "type": "string", "description": "message is a human readable message indicating details about the transition. This may be an empty string." }, "observedGeneration": { "type": "integer", "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": "string", "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": "string", "description": "status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "type of condition in CamelCase or in foo.example.com/CamelCase." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastTransitionTime", "message", "observedGeneration", "reason", "status", "type" ] } } }, "kubernetes:meta/v1:DeleteOptions": { "description": "DeleteOptions may be provided when deleting an API object.", "properties": { "apiVersion": { "type": "string", "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" }, "dryRun": { "type": "array", "items": { "type": "string" }, "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed" }, "gracePeriodSeconds": { "type": "integer", "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." }, "kind": { "type": "string", "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" }, "orphanDependents": { "type": "boolean", "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." }, "preconditions": { "$ref": "#/types/kubernetes:meta/v1:Preconditions", "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned." }, "propagationPolicy": { "type": "string", "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "dryRun", "gracePeriodSeconds", "kind", "orphanDependents", "preconditions", "propagationPolicy" ] } } }, "kubernetes:meta/v1:DeleteOptionsPatch": { "description": "DeleteOptions may be provided when deleting an API object.", "properties": { "apiVersion": { "type": "string", "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" }, "dryRun": { "type": "array", "items": { "type": "string" }, "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed" }, "gracePeriodSeconds": { "type": "integer", "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." }, "kind": { "type": "string", "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" }, "orphanDependents": { "type": "boolean", "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." }, "preconditions": { "$ref": "#/types/kubernetes:meta/v1:PreconditionsPatch", "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned." }, "propagationPolicy": { "type": "string", "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "dryRun", "gracePeriodSeconds", "kind", "orphanDependents", "preconditions", "propagationPolicy" ] } } }, "kubernetes:meta/v1:GroupVersionForDiscovery": { "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "properties": { "groupVersion": { "type": "string", "description": "groupVersion specifies the API group and version in the form \"group/version\"" }, "version": { "type": "string", "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion." } }, "type": "object", "required": [ "groupVersion", "version" ], "language": { "nodejs": { "requiredOutputs": [ "groupVersion", "version" ] } } }, "kubernetes:meta/v1:GroupVersionForDiscoveryPatch": { "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "properties": { "groupVersion": { "type": "string", "description": "groupVersion specifies the API group and version in the form \"group/version\"" }, "version": { "type": "string", "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "groupVersion", "version" ] } } }, "kubernetes:meta/v1:LabelSelector": { "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.", "properties": { "matchExpressions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorRequirement" }, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." }, "matchLabels": { "type": "object", "additionalProperties": { "type": "string" }, "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchExpressions", "matchLabels" ] } } }, "kubernetes:meta/v1:LabelSelectorPatch": { "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.", "properties": { "matchExpressions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorRequirementPatch" }, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." }, "matchLabels": { "type": "object", "additionalProperties": { "type": "string" }, "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "matchExpressions", "matchLabels" ] } } }, "kubernetes:meta/v1:LabelSelectorRequirement": { "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "properties": { "key": { "type": "string", "description": "key is the label key that the selector applies to." }, "operator": { "type": "string", "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." }, "values": { "type": "array", "items": { "type": "string" }, "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": "object", "required": [ "key", "operator" ], "language": { "nodejs": { "requiredOutputs": [ "key", "operator", "values" ] } } }, "kubernetes:meta/v1:LabelSelectorRequirementPatch": { "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "properties": { "key": { "type": "string", "description": "key is the label key that the selector applies to." }, "operator": { "type": "string", "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." }, "values": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "key", "operator", "values" ] } } }, "kubernetes:meta/v1:ListMeta": { "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "continue": { "type": "string", "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message." }, "remainingItemCount": { "type": "integer", "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact." }, "resourceVersion": { "type": "string", "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" }, "selfLink": { "type": "string", "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "continue", "remainingItemCount", "resourceVersion", "selfLink" ] } } }, "kubernetes:meta/v1:ListMetaPatch": { "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "continue": { "type": "string", "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message." }, "remainingItemCount": { "type": "integer", "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact." }, "resourceVersion": { "type": "string", "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" }, "selfLink": { "type": "string", "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "continue", "remainingItemCount", "resourceVersion", "selfLink" ] } } }, "kubernetes:meta/v1:ManagedFieldsEntry": { "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", "properties": { "apiVersion": { "type": "string", "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": "string", "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"" }, "fieldsV1": { "type": "object", "$ref": "pulumi.json#/Json", "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type." }, "manager": { "type": "string", "description": "Manager is an identifier of the workflow managing these fields." }, "operation": { "type": "string", "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": "string", "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": "string", "description": "Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "fieldsType", "fieldsV1", "manager", "operation", "subresource", "time" ] } } }, "kubernetes:meta/v1:ManagedFieldsEntryPatch": { "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", "properties": { "apiVersion": { "type": "string", "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": "string", "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"" }, "fieldsV1": { "type": "object", "$ref": "pulumi.json#/Json", "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type." }, "manager": { "type": "string", "description": "Manager is an identifier of the workflow managing these fields." }, "operation": { "type": "string", "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": "string", "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": "string", "description": "Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "fieldsType", "fieldsV1", "manager", "operation", "subresource", "time" ] } } }, "kubernetes:meta/v1:ObjectMeta": { "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", "properties": { "annotations": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations" }, "clusterName": { "type": "string", "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": "string", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { "type": "integer", "description": "Number of seconds allowed for this object 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": "string", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "finalizers": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "integer", "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only." }, "labels": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels" }, "managedFields": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ManagedFieldsEntry" }, "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": "string", "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names" }, "namespace": { "type": "string", "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces" }, "ownerReferences": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:OwnerReference" }, "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": "string", "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": "string", "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system." }, "uid": { "type": "string", "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "annotations", "clusterName", "creationTimestamp", "deletionGracePeriodSeconds", "deletionTimestamp", "finalizers", "generateName", "generation", "labels", "managedFields", "name", "namespace", "ownerReferences", "resourceVersion", "selfLink", "uid" ] } } }, "kubernetes:meta/v1:ObjectMetaPatch": { "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", "properties": { "annotations": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations" }, "clusterName": { "type": "string", "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": "string", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { "type": "integer", "description": "Number of seconds allowed for this object 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": "string", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "finalizers": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "integer", "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only." }, "labels": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels" }, "managedFields": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ManagedFieldsEntryPatch" }, "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": "string", "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names" }, "namespace": { "type": "string", "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces" }, "ownerReferences": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:OwnerReferencePatch" }, "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": "string", "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": "string", "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system." }, "uid": { "type": "string", "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "annotations", "clusterName", "creationTimestamp", "deletionGracePeriodSeconds", "deletionTimestamp", "finalizers", "generateName", "generation", "labels", "managedFields", "name", "namespace", "ownerReferences", "resourceVersion", "selfLink", "uid" ] } } }, "kubernetes:meta/v1:OwnerReference": { "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", "properties": { "apiVersion": { "type": "string", "description": "API version of the referent." }, "blockOwnerDeletion": { "type": "boolean", "description": "If true, 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": "boolean", "description": "If true, this reference points to the managing controller." }, "kind": { "type": "string", "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names" }, "uid": { "type": "string", "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids" } }, "type": "object", "required": [ "apiVersion", "kind", "name", "uid" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "blockOwnerDeletion", "controller", "kind", "name", "uid" ] } } }, "kubernetes:meta/v1:OwnerReferencePatch": { "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", "properties": { "apiVersion": { "type": "string", "description": "API version of the referent." }, "blockOwnerDeletion": { "type": "boolean", "description": "If true, 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": "boolean", "description": "If true, this reference points to the managing controller." }, "kind": { "type": "string", "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "name": { "type": "string", "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names" }, "uid": { "type": "string", "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "blockOwnerDeletion", "controller", "kind", "name", "uid" ] } } }, "kubernetes:meta/v1:Preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", "properties": { "resourceVersion": { "type": "string", "description": "Specifies the target ResourceVersion" }, "uid": { "type": "string", "description": "Specifies the target UID." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resourceVersion", "uid" ] } } }, "kubernetes:meta/v1:PreconditionsPatch": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", "properties": { "resourceVersion": { "type": "string", "description": "Specifies the target ResourceVersion" }, "uid": { "type": "string", "description": "Specifies the target UID." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resourceVersion", "uid" ] } } }, "kubernetes:meta/v1:ServerAddressByClientCIDR": { "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "properties": { "clientCIDR": { "type": "string", "description": "The CIDR with which clients can match their IP to figure out the server address that they should use." }, "serverAddress": { "type": "string", "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port." } }, "type": "object", "required": [ "clientCIDR", "serverAddress" ], "language": { "nodejs": { "requiredOutputs": [ "clientCIDR", "serverAddress" ] } } }, "kubernetes:meta/v1:ServerAddressByClientCIDRPatch": { "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "properties": { "clientCIDR": { "type": "string", "description": "The CIDR with which clients can match their IP to figure out the server address that they should use." }, "serverAddress": { "type": "string", "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "clientCIDR", "serverAddress" ] } } }, "kubernetes:meta/v1:Status": { "description": "Status is a return value for calls that don't return other objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "code": { "type": "integer", "description": "Suggested HTTP return code for this status, 0 if not set." }, "details": { "$ref": "#/types/kubernetes:meta/v1:StatusDetails", "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type." }, "kind": { "type": "string", "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", "const": "Status" }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "reason": { "type": "string", "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it." }, "status": { "type": "string", "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", "language": { "csharp": { "name": "StatusValue" } } } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "code", "details", "kind", "message", "metadata", "reason", "status" ] } } }, "kubernetes:meta/v1:StatusCause": { "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { "field": { "type": "string", "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"" }, "message": { "type": "string", "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader." }, "reason": { "type": "string", "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "field", "message", "reason" ] } } }, "kubernetes:meta/v1:StatusCausePatch": { "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { "field": { "type": "string", "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"" }, "message": { "type": "string", "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader." }, "reason": { "type": "string", "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "field", "message", "reason" ] } } }, "kubernetes:meta/v1:StatusDetails": { "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", "properties": { "causes": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:StatusCause" }, "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." }, "group": { "type": "string", "description": "The group attribute of the resource associated with the status StatusReason." }, "kind": { "type": "string", "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "name": { "type": "string", "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described)." }, "retryAfterSeconds": { "type": "integer", "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action." }, "uid": { "type": "string", "description": "UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "causes", "group", "kind", "name", "retryAfterSeconds", "uid" ] } } }, "kubernetes:meta/v1:StatusDetailsPatch": { "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", "properties": { "causes": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:StatusCausePatch" }, "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." }, "group": { "type": "string", "description": "The group attribute of the resource associated with the status StatusReason." }, "kind": { "type": "string", "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "name": { "type": "string", "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described)." }, "retryAfterSeconds": { "type": "integer", "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action." }, "uid": { "type": "string", "description": "UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "causes", "group", "kind", "name", "retryAfterSeconds", "uid" ] } } }, "kubernetes:meta/v1:StatusPatch": { "description": "Status is a return value for calls that don't return other objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "code": { "type": "integer", "description": "Suggested HTTP return code for this status, 0 if not set." }, "details": { "$ref": "#/types/kubernetes:meta/v1:StatusDetailsPatch", "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type." }, "kind": { "type": "string", "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", "const": "Status" }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMetaPatch", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "reason": { "type": "string", "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it." }, "status": { "type": "string", "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "code", "details", "kind", "message", "metadata", "reason", "status" ] } } }, "kubernetes:meta/v1:WatchEvent": { "description": "Event represents a single event to a watched resource.", "properties": { "object": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context." }, "type": { "type": "string" } }, "type": "object", "required": [ "object", "type" ], "language": { "nodejs": { "requiredOutputs": [ "object", "type" ] } } }, "kubernetes:meta/v1:WatchEventPatch": { "description": "Event represents a single event to a watched resource.", "properties": { "object": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context." }, "type": { "type": "string" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "object", "type" ] } } }, "kubernetes:networking.k8s.io/v1:HTTPIngressPath": { "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { "backend": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressBackend", "description": "backend defines the referenced service endpoint to which the traffic will be forwarded to." }, "path": { "type": "string", "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": "string", "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": "object", "required": [ "backend", "pathType" ], "language": { "nodejs": { "requiredOutputs": [ "backend", "path", "pathType" ] } } }, "kubernetes:networking.k8s.io/v1:HTTPIngressPathPatch": { "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { "backend": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressBackendPatch", "description": "backend defines the referenced service endpoint to which the traffic will be forwarded to." }, "path": { "type": "string", "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "backend", "path", "pathType" ] } } }, "kubernetes:networking.k8s.io/v1:HTTPIngressRuleValue": { "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 '#'.", "properties": { "paths": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:HTTPIngressPath" }, "description": "paths is a collection of paths that map requests to backends." } }, "type": "object", "required": [ "paths" ], "language": { "nodejs": { "requiredOutputs": [ "paths" ] } } }, "kubernetes:networking.k8s.io/v1:HTTPIngressRuleValuePatch": { "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 '#'.", "properties": { "paths": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:HTTPIngressPathPatch" }, "description": "paths is a collection of paths that map requests to backends." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "paths" ] } } }, "kubernetes:networking.k8s.io/v1:IPBlock": { "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/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.", "properties": { "cidr": { "type": "string", "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"" }, "except": { "type": "array", "items": { "type": "string" }, "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range" } }, "type": "object", "required": [ "cidr" ], "language": { "nodejs": { "requiredOutputs": [ "cidr", "except" ] } } }, "kubernetes:networking.k8s.io/v1:IPBlockPatch": { "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/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.", "properties": { "cidr": { "type": "string", "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"" }, "except": { "type": "array", "items": { "type": "string" }, "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "cidr", "except" ] } } }, "kubernetes:networking.k8s.io/v1:Ingress": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressSpec", "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressStatus", "description": "status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:networking.k8s.io/v1:IngressBackend": { "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { "resource": { "$ref": "#/types/kubernetes:core/v1:TypedLocalObjectReference", "description": "resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with \"Service\"." }, "service": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressServiceBackend", "description": "service references a service as a backend. This is a mutually exclusive setting with \"Resource\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resource", "service" ] } } }, "kubernetes:networking.k8s.io/v1:IngressBackendPatch": { "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { "resource": { "$ref": "#/types/kubernetes:core/v1:TypedLocalObjectReferencePatch", "description": "resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with \"Service\"." }, "service": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressServiceBackendPatch", "description": "service references a service as a backend. This is a mutually exclusive setting with \"Resource\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resource", "service" ] } } }, "kubernetes:networking.k8s.io/v1:IngressClass": { "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressClassSpec", "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:networking.k8s.io/v1:IngressClassList": { "description": "IngressClassList is a collection of IngressClasses.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressClass" }, "description": "items is the list of IngressClasses." }, "kind": { "type": "string", "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", "const": "IngressClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:networking.k8s.io/v1:IngressClassParametersReference": { "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.", "properties": { "apiGroup": { "type": "string", "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": "string", "description": "kind is the type of resource being referenced." }, "name": { "type": "string", "description": "name is the name of resource being referenced." }, "namespace": { "type": "string", "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": "string", "description": "scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\"." } }, "type": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace", "scope" ] } } }, "kubernetes:networking.k8s.io/v1:IngressClassParametersReferencePatch": { "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.", "properties": { "apiGroup": { "type": "string", "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": "string", "description": "kind is the type of resource being referenced." }, "name": { "type": "string", "description": "name is the name of resource being referenced." }, "namespace": { "type": "string", "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": "string", "description": "scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace", "scope" ] } } }, "kubernetes:networking.k8s.io/v1:IngressClassPatch": { "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressClassSpecPatch", "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:networking.k8s.io/v1:IngressClassSpec": { "description": "IngressClassSpec provides information about the class of an Ingress.", "properties": { "controller": { "type": "string", "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": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressClassParametersReference", "description": "parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "controller", "parameters" ] } } }, "kubernetes:networking.k8s.io/v1:IngressClassSpecPatch": { "description": "IngressClassSpec provides information about the class of an Ingress.", "properties": { "controller": { "type": "string", "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": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressClassParametersReferencePatch", "description": "parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "controller", "parameters" ] } } }, "kubernetes:networking.k8s.io/v1:IngressList": { "description": "IngressList is a collection of Ingress.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:Ingress" }, "description": "items is the list of Ingress." }, "kind": { "type": "string", "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", "const": "IngressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:networking.k8s.io/v1:IngressLoadBalancerIngress": { "description": "IngressLoadBalancerIngress represents the status of a load-balancer ingress point.", "properties": { "hostname": { "type": "string", "description": "hostname is set for load-balancer ingress points that are DNS based." }, "ip": { "type": "string", "description": "ip is set for load-balancer ingress points that are IP based." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressPortStatus" }, "description": "ports provides information about the ports exposed by this LoadBalancer." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "hostname", "ip", "ports" ] } } }, "kubernetes:networking.k8s.io/v1:IngressLoadBalancerIngressPatch": { "description": "IngressLoadBalancerIngress represents the status of a load-balancer ingress point.", "properties": { "hostname": { "type": "string", "description": "hostname is set for load-balancer ingress points that are DNS based." }, "ip": { "type": "string", "description": "ip is set for load-balancer ingress points that are IP based." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressPortStatusPatch" }, "description": "ports provides information about the ports exposed by this LoadBalancer." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "hostname", "ip", "ports" ] } } }, "kubernetes:networking.k8s.io/v1:IngressLoadBalancerStatus": { "description": "IngressLoadBalancerStatus represents the status of a load-balancer.", "properties": { "ingress": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressLoadBalancerIngress" }, "description": "ingress is a list containing ingress points for the load-balancer." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ingress" ] } } }, "kubernetes:networking.k8s.io/v1:IngressLoadBalancerStatusPatch": { "description": "IngressLoadBalancerStatus represents the status of a load-balancer.", "properties": { "ingress": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressLoadBalancerIngressPatch" }, "description": "ingress is a list containing ingress points for the load-balancer." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ingress" ] } } }, "kubernetes:networking.k8s.io/v1:IngressPatch": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressSpecPatch", "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressStatusPatch", "description": "status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:networking.k8s.io/v1:IngressPortStatus": { "description": "IngressPortStatus represents the error condition of a service port", "properties": { "error": { "type": "string", "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": "integer", "description": "port is the port number of the ingress port." }, "protocol": { "type": "string", "description": "protocol is the protocol of the ingress port. The supported values are: \"TCP\", \"UDP\", \"SCTP\"" } }, "type": "object", "required": [ "port", "protocol" ], "language": { "nodejs": { "requiredOutputs": [ "error", "port", "protocol" ] } } }, "kubernetes:networking.k8s.io/v1:IngressPortStatusPatch": { "description": "IngressPortStatus represents the error condition of a service port", "properties": { "error": { "type": "string", "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": "integer", "description": "port is the port number of the ingress port." }, "protocol": { "type": "string", "description": "protocol is the protocol of the ingress port. The supported values are: \"TCP\", \"UDP\", \"SCTP\"" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "error", "port", "protocol" ] } } }, "kubernetes:networking.k8s.io/v1:IngressRule": { "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", "properties": { "host": { "type": "string", "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": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:HTTPIngressRuleValue" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "host", "http" ] } } }, "kubernetes:networking.k8s.io/v1:IngressRulePatch": { "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", "properties": { "host": { "type": "string", "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": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:HTTPIngressRuleValuePatch" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "host", "http" ] } } }, "kubernetes:networking.k8s.io/v1:IngressServiceBackend": { "description": "IngressServiceBackend references a Kubernetes Service as a Backend.", "properties": { "name": { "type": "string", "description": "name is the referenced service. The service must exist in the same namespace as the Ingress object." }, "port": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:ServiceBackendPort", "description": "port of the referenced service. A port name or port number is required for a IngressServiceBackend." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name", "port" ] } } }, "kubernetes:networking.k8s.io/v1:IngressServiceBackendPatch": { "description": "IngressServiceBackend references a Kubernetes Service as a Backend.", "properties": { "name": { "type": "string", "description": "name is the referenced service. The service must exist in the same namespace as the Ingress object." }, "port": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:ServiceBackendPortPatch", "description": "port of the referenced service. A port name or port number is required for a IngressServiceBackend." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "port" ] } } }, "kubernetes:networking.k8s.io/v1:IngressSpec": { "description": "IngressSpec describes the Ingress the user wishes to exist.", "properties": { "defaultBackend": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressBackend", "description": "defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller." }, "ingressClassName": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressRule" }, "description": "rules is 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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressTLS" }, "description": "tls represents the 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": "object", "language": { "nodejs": { "requiredOutputs": [ "defaultBackend", "ingressClassName", "rules", "tls" ] } } }, "kubernetes:networking.k8s.io/v1:IngressSpecPatch": { "description": "IngressSpec describes the Ingress the user wishes to exist.", "properties": { "defaultBackend": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressBackendPatch", "description": "defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller." }, "ingressClassName": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressRulePatch" }, "description": "rules is 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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressTLSPatch" }, "description": "tls represents the 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": "object", "language": { "nodejs": { "requiredOutputs": [ "defaultBackend", "ingressClassName", "rules", "tls" ] } } }, "kubernetes:networking.k8s.io/v1:IngressStatus": { "description": "IngressStatus describe the current state of the Ingress.", "properties": { "loadBalancer": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressLoadBalancerStatus", "description": "loadBalancer contains the current status of the load-balancer." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "loadBalancer" ] } } }, "kubernetes:networking.k8s.io/v1:IngressStatusPatch": { "description": "IngressStatus describe the current state of the Ingress.", "properties": { "loadBalancer": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressLoadBalancerStatusPatch", "description": "loadBalancer contains the current status of the load-balancer." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "loadBalancer" ] } } }, "kubernetes:networking.k8s.io/v1:IngressTLS": { "description": "IngressTLS describes the transport layer security associated with an ingress.", "properties": { "hosts": { "type": "array", "items": { "type": "string" }, "description": "hosts is 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "hosts", "secretName" ] } } }, "kubernetes:networking.k8s.io/v1:IngressTLSPatch": { "description": "IngressTLS describes the transport layer security associated with an ingress.", "properties": { "hosts": { "type": "array", "items": { "type": "string" }, "description": "hosts is 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "hosts", "secretName" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicy": { "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicySpec", "description": "spec represents the specification of the desired behavior for this NetworkPolicy." }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyStatus", "description": "Status is the current state of the NetworkPolicy. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyEgressRule": { "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", "properties": { "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyPort" }, "description": "ports is a 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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyPeer" }, "description": "to is a 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": "object", "language": { "nodejs": { "requiredOutputs": [ "ports", "to" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyEgressRulePatch": { "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", "properties": { "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyPortPatch" }, "description": "ports is a 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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyPeerPatch" }, "description": "to is a 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": "object", "language": { "nodejs": { "requiredOutputs": [ "ports", "to" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyIngressRule": { "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", "properties": { "from": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyPeer" }, "description": "from is a 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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyPort" }, "description": "ports is a 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": "object", "language": { "nodejs": { "requiredOutputs": [ "from", "ports" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyIngressRulePatch": { "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", "properties": { "from": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyPeerPatch" }, "description": "from is a 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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyPortPatch" }, "description": "ports is a 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": "object", "language": { "nodejs": { "requiredOutputs": [ "from", "ports" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyList": { "description": "NetworkPolicyList is a list of NetworkPolicy objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicy" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "NetworkPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyPatch": { "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicySpecPatch", "description": "spec represents the specification of the desired behavior for this NetworkPolicy." }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyStatusPatch", "description": "Status is the current state of the NetworkPolicy. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyPeer": { "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", "properties": { "ipBlock": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IPBlock", "description": "ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector." }, "podSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ipBlock", "namespaceSelector", "podSelector" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyPeerPatch": { "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", "properties": { "ipBlock": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IPBlockPatch", "description": "ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." }, "namespaceSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector." }, "podSelector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ipBlock", "namespaceSelector", "podSelector" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyPort": { "description": "NetworkPolicyPort describes a port to allow traffic on", "properties": { "endPort": { "type": "integer", "description": "endPort indicates that the range of ports from port to endPort if set, 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": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "port represents the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched." }, "protocol": { "type": "string", "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "endPort", "port", "protocol" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyPortPatch": { "description": "NetworkPolicyPort describes a port to allow traffic on", "properties": { "endPort": { "type": "integer", "description": "endPort indicates that the range of ports from port to endPort if set, 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": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "port represents the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched." }, "protocol": { "type": "string", "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "endPort", "port", "protocol" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicySpec": { "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", "properties": { "egress": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyEgressRule" }, "description": "egress is a 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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyIngressRule" }, "description": "ingress is a 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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." }, "policyTypes": { "type": "array", "items": { "type": "string" }, "description": "policyTypes is a 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": "object", "required": [ "podSelector" ], "language": { "nodejs": { "requiredOutputs": [ "egress", "ingress", "podSelector", "policyTypes" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicySpecPatch": { "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", "properties": { "egress": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyEgressRulePatch" }, "description": "egress is a 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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyIngressRulePatch" }, "description": "ingress is a 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": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." }, "policyTypes": { "type": "array", "items": { "type": "string" }, "description": "policyTypes is a 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": "object", "language": { "nodejs": { "requiredOutputs": [ "egress", "ingress", "podSelector", "policyTypes" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyStatus": { "description": "NetworkPolicyStatus describe the current state of the NetworkPolicy.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:Condition" }, "description": "Conditions holds an array of metav1.Condition that describe the state of the NetworkPolicy. Current service state" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:networking.k8s.io/v1:NetworkPolicyStatusPatch": { "description": "NetworkPolicyStatus describe the current state of the NetworkPolicy.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ConditionPatch" }, "description": "Conditions holds an array of metav1.Condition that describe the state of the NetworkPolicy. Current service state" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:networking.k8s.io/v1:ServiceBackendPort": { "description": "ServiceBackendPort is the service port being referenced.", "properties": { "name": { "type": "string", "description": "name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\"." }, "number": { "type": "integer", "description": "number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "number" ] } } }, "kubernetes:networking.k8s.io/v1:ServiceBackendPortPatch": { "description": "ServiceBackendPort is the service port being referenced.", "properties": { "name": { "type": "string", "description": "name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\"." }, "number": { "type": "integer", "description": "number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "number" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ClusterCIDR": { "description": "ClusterCIDR represents a single configuration for per-Node Pod CIDR allocations when the MultiCIDRRangeAllocator is enabled (see the config for kube-controller-manager). A cluster may have any number of ClusterCIDR resources, all of which will be considered when allocating a CIDR for a Node. A ClusterCIDR is eligible to be used for a given Node when the node selector matches the node in question and has free CIDRs to allocate. In case of multiple matching ClusterCIDR resources, the allocator will attempt to break ties using internal heuristics, but any ClusterCIDR whose node selector matches the Node may be used.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRSpec", "description": "Spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRList": { "description": "ClusterCIDRList contains a list of ClusterCIDR.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ClusterCIDR" }, "description": "Items is the list of ClusterCIDRs." }, "kind": { "type": "string", "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", "const": "ClusterCIDRList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch": { "description": "ClusterCIDR represents a single configuration for per-Node Pod CIDR allocations when the MultiCIDRRangeAllocator is enabled (see the config for kube-controller-manager). A cluster may have any number of ClusterCIDR resources, all of which will be considered when allocating a CIDR for a Node. A ClusterCIDR is eligible to be used for a given Node when the node selector matches the node in question and has free CIDRs to allocate. In case of multiple matching ClusterCIDR resources, the allocator will attempt to break ties using internal heuristics, but any ClusterCIDR whose node selector matches the Node may be used.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRSpecPatch", "description": "Spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRSpec": { "description": "ClusterCIDRSpec defines the desired state of ClusterCIDR.", "properties": { "ipv4": { "type": "string", "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": "string", "description": "IPv6 defines an IPv6 IP block in CIDR notation(e.g. \"2001:db8::/64\"). At least one of IPv4 and IPv6 must be specified. This field is immutable." }, "nodeSelector": { "$ref": "#/types/kubernetes:core/v1:NodeSelector", "description": "NodeSelector defines which nodes the config is applicable to. An empty or nil NodeSelector selects all nodes. This field is immutable." }, "perNodeHostBits": { "type": "integer", "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": "object", "required": [ "perNodeHostBits" ], "language": { "nodejs": { "requiredOutputs": [ "ipv4", "ipv6", "nodeSelector", "perNodeHostBits" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRSpecPatch": { "description": "ClusterCIDRSpec defines the desired state of ClusterCIDR.", "properties": { "ipv4": { "type": "string", "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": "string", "description": "IPv6 defines an IPv6 IP block in CIDR notation(e.g. \"2001:db8::/64\"). At least one of IPv4 and IPv6 must be specified. This field is immutable." }, "nodeSelector": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorPatch", "description": "NodeSelector defines which nodes the config is applicable to. An empty or nil NodeSelector selects all nodes. This field is immutable." }, "perNodeHostBits": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "ipv4", "ipv6", "nodeSelector", "perNodeHostBits" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:IPAddress": { "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "IPAddress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:IPAddressSpec", "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:IPAddressList": { "description": "IPAddressList contains a list of IPAddress.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:IPAddress" }, "description": "items is the list of IPAddresses." }, "kind": { "type": "string", "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", "const": "IPAddressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:IPAddressPatch": { "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "IPAddress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:IPAddressSpecPatch", "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:IPAddressSpec": { "description": "IPAddressSpec describe the attributes in an IP Address.", "properties": { "parentRef": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ParentReference", "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." } }, "type": "object", "required": [ "parentRef" ], "language": { "nodejs": { "requiredOutputs": [ "parentRef" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:IPAddressSpecPatch": { "description": "IPAddressSpec describe the attributes in an IP Address.", "properties": { "parentRef": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ParentReferencePatch", "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "parentRef" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ParentReference": { "description": "ParentReference describes a reference to a parent object.", "properties": { "group": { "type": "string", "description": "Group is the group of the object being referenced." }, "name": { "type": "string", "description": "Name is the name of the object being referenced." }, "namespace": { "type": "string", "description": "Namespace is the namespace of the object being referenced." }, "resource": { "type": "string", "description": "Resource is the resource of the object being referenced." }, "uid": { "type": "string", "description": "UID is the uid of the object being referenced." } }, "type": "object", "required": [ "name", "resource" ], "language": { "nodejs": { "requiredOutputs": [ "group", "name", "namespace", "resource", "uid" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ParentReferencePatch": { "description": "ParentReference describes a reference to a parent object.", "properties": { "group": { "type": "string", "description": "Group is the group of the object being referenced." }, "name": { "type": "string", "description": "Name is the name of the object being referenced." }, "namespace": { "type": "string", "description": "Namespace is the namespace of the object being referenced." }, "resource": { "type": "string", "description": "Resource is the resource of the object being referenced." }, "uid": { "type": "string", "description": "UID is the uid of the object being referenced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "name", "namespace", "resource", "uid" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ServiceCIDR": { "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ServiceCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRSpec", "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRStatus", "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRList": { "description": "ServiceCIDRList contains a list of ServiceCIDR objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDR" }, "description": "items is the list of ServiceCIDRs." }, "kind": { "type": "string", "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", "const": "ServiceCIDRList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRPatch": { "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ServiceCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRSpecPatch", "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRStatusPatch", "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRSpec": { "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.", "properties": { "cidrs": { "type": "array", "items": { "type": "string" }, "description": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "cidrs" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRSpecPatch": { "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.", "properties": { "cidrs": { "type": "array", "items": { "type": "string" }, "description": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "cidrs" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRStatus": { "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:Condition" }, "description": "conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRStatusPatch": { "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ConditionPatch" }, "description": "conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions" ] } } }, "kubernetes:networking.k8s.io/v1beta1:HTTPIngressPath": { "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { "backend": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressBackend", "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." }, "path": { "type": "string", "description": "Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) 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 '/'. If unspecified, the path defaults to a catch all sending traffic to the backend." }, "pathType": { "type": "string", "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": "object", "required": [ "backend" ], "language": { "nodejs": { "requiredOutputs": [ "backend", "path", "pathType" ] } } }, "kubernetes:networking.k8s.io/v1beta1:HTTPIngressPathPatch": { "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { "backend": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressBackendPatch", "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." }, "path": { "type": "string", "description": "Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) 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 '/'. If unspecified, the path defaults to a catch all sending traffic to the backend." }, "pathType": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "backend", "path", "pathType" ] } } }, "kubernetes:networking.k8s.io/v1beta1:HTTPIngressRuleValue": { "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 '#'.", "properties": { "paths": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:HTTPIngressPath" }, "description": "A collection of paths that map requests to backends." } }, "type": "object", "required": [ "paths" ], "language": { "nodejs": { "requiredOutputs": [ "paths" ] } } }, "kubernetes:networking.k8s.io/v1beta1:HTTPIngressRuleValuePatch": { "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 '#'.", "properties": { "paths": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:HTTPIngressPathPatch" }, "description": "A collection of paths that map requests to backends." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "paths" ] } } }, "kubernetes:networking.k8s.io/v1beta1:Ingress": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressSpec", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressStatus", "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressBackend": { "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { "resource": { "$ref": "#/types/kubernetes:core/v1:TypedLocalObjectReference", "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." }, "serviceName": { "type": "string", "description": "Specifies the name of the referenced service." }, "servicePort": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Specifies the port of the referenced service." } }, "type": "object", "required": [ "serviceName", "servicePort" ], "language": { "nodejs": { "requiredOutputs": [ "resource", "serviceName", "servicePort" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressBackendPatch": { "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { "resource": { "$ref": "#/types/kubernetes:core/v1:TypedLocalObjectReferencePatch", "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." }, "serviceName": { "type": "string", "description": "Specifies the name of the referenced service." }, "servicePort": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Specifies the port of the referenced service." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resource", "serviceName", "servicePort" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressClass": { "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressClassSpec", "description": "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressClassList": { "description": "IngressClassList is a collection of IngressClasses.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressClass" }, "description": "Items is the list of IngressClasses." }, "kind": { "type": "string", "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", "const": "IngressClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressClassPatch": { "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressClassSpecPatch", "description": "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressClassSpec": { "description": "IngressClassSpec provides information about the class of an Ingress.", "properties": { "controller": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:TypedLocalObjectReference", "description": "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "controller", "parameters" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressClassSpecPatch": { "description": "IngressClassSpec provides information about the class of an Ingress.", "properties": { "controller": { "type": "string", "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": { "$ref": "#/types/kubernetes:core/v1:TypedLocalObjectReferencePatch", "description": "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "controller", "parameters" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressList": { "description": "IngressList is a collection of Ingress.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:Ingress" }, "description": "Items is the list of Ingress." }, "kind": { "type": "string", "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", "const": "IngressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressPatch": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressSpecPatch", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressStatusPatch", "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressRule": { "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", "properties": { "host": { "type": "string", "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 the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the\n\t 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." }, "http": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:HTTPIngressRuleValue" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "host", "http" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressRulePatch": { "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", "properties": { "host": { "type": "string", "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 the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the\n\t 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." }, "http": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:HTTPIngressRuleValuePatch" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "host", "http" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressSpec": { "description": "IngressSpec describes the Ingress the user wishes to exist.", "properties": { "backend": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressBackend", "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default." }, "ingressClassName": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressRule" }, "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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressTLS" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "backend", "ingressClassName", "rules", "tls" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressSpecPatch": { "description": "IngressSpec describes the Ingress the user wishes to exist.", "properties": { "backend": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressBackendPatch", "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default." }, "ingressClassName": { "type": "string", "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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressRulePatch" }, "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": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressTLSPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "backend", "ingressClassName", "rules", "tls" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressStatus": { "description": "IngressStatus describe the current state of the Ingress.", "properties": { "loadBalancer": { "$ref": "#/types/kubernetes:core/v1:LoadBalancerStatus", "description": "LoadBalancer contains the current status of the load-balancer." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "loadBalancer" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressStatusPatch": { "description": "IngressStatus describe the current state of the Ingress.", "properties": { "loadBalancer": { "$ref": "#/types/kubernetes:core/v1:LoadBalancerStatusPatch", "description": "LoadBalancer contains the current status of the load-balancer." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "loadBalancer" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressTLS": { "description": "IngressTLS describes the transport layer security associated with an Ingress.", "properties": { "hosts": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "hosts", "secretName" ] } } }, "kubernetes:networking.k8s.io/v1beta1:IngressTLSPatch": { "description": "IngressTLS describes the transport layer security associated with an Ingress.", "properties": { "hosts": { "type": "array", "items": { "type": "string" }, "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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "hosts", "secretName" ] } } }, "kubernetes:node.k8s.io/v1:Overhead": { "description": "Overhead structure represents the resource overhead associated with running a pod.", "properties": { "podFixed": { "type": "object", "additionalProperties": { "type": "string" }, "description": "podFixed represents the fixed resource overhead associated with running a pod." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "podFixed" ] } } }, "kubernetes:node.k8s.io/v1:OverheadPatch": { "description": "Overhead structure represents the resource overhead associated with running a pod.", "properties": { "podFixed": { "type": "object", "additionalProperties": { "type": "string" }, "description": "podFixed represents the fixed resource overhead associated with running a pod." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "podFixed" ] } } }, "kubernetes:node.k8s.io/v1:RuntimeClass": { "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1:Overhead", "description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/" }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1:Scheduling", "description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "type": "object", "required": [ "handler" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "handler", "kind", "metadata", "overhead", "scheduling" ] } } }, "kubernetes:node.k8s.io/v1:RuntimeClassList": { "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:node.k8s.io/v1:RuntimeClass" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "RuntimeClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:node.k8s.io/v1:RuntimeClassPatch": { "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1:OverheadPatch", "description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/" }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1:SchedulingPatch", "description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "handler", "kind", "metadata", "overhead", "scheduling" ] } } }, "kubernetes:node.k8s.io/v1:Scheduling": { "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", "properties": { "nodeSelector": { "type": "object", "additionalProperties": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Toleration" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nodeSelector", "tolerations" ] } } }, "kubernetes:node.k8s.io/v1:SchedulingPatch": { "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", "properties": { "nodeSelector": { "type": "object", "additionalProperties": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TolerationPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nodeSelector", "tolerations" ] } } }, "kubernetes:node.k8s.io/v1alpha1:Overhead": { "description": "Overhead structure represents the resource overhead associated with running a pod.", "properties": { "podFixed": { "type": "object", "additionalProperties": { "type": "string" }, "description": "PodFixed represents the fixed resource overhead associated with running a pod." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "podFixed" ] } } }, "kubernetes:node.k8s.io/v1alpha1:OverheadPatch": { "description": "Overhead structure represents the resource overhead associated with running a pod.", "properties": { "podFixed": { "type": "object", "additionalProperties": { "type": "string" }, "description": "PodFixed represents the fixed resource overhead associated with running a pod." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "podFixed" ] } } }, "kubernetes:node.k8s.io/v1alpha1:RuntimeClass": { "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:RuntimeClassSpec", "description": "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:node.k8s.io/v1alpha1:RuntimeClassList": { "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:RuntimeClass" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "RuntimeClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:node.k8s.io/v1alpha1:RuntimeClassPatch": { "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:RuntimeClassSpecPatch", "description": "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:node.k8s.io/v1alpha1:RuntimeClassSpec": { "description": "RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.", "properties": { "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:Overhead", "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." }, "runtimeHandler": { "type": "string", "description": "RuntimeHandler 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 RuntimeHandler must conform to the DNS Label (RFC 1123) requirements and is immutable." }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:Scheduling", "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "type": "object", "required": [ "runtimeHandler" ], "language": { "nodejs": { "requiredOutputs": [ "overhead", "runtimeHandler", "scheduling" ] } } }, "kubernetes:node.k8s.io/v1alpha1:RuntimeClassSpecPatch": { "description": "RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.", "properties": { "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:OverheadPatch", "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." }, "runtimeHandler": { "type": "string", "description": "RuntimeHandler 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 RuntimeHandler must conform to the DNS Label (RFC 1123) requirements and is immutable." }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:SchedulingPatch", "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "overhead", "runtimeHandler", "scheduling" ] } } }, "kubernetes:node.k8s.io/v1alpha1:Scheduling": { "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", "properties": { "nodeSelector": { "type": "object", "additionalProperties": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Toleration" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nodeSelector", "tolerations" ] } } }, "kubernetes:node.k8s.io/v1alpha1:SchedulingPatch": { "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", "properties": { "nodeSelector": { "type": "object", "additionalProperties": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TolerationPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nodeSelector", "tolerations" ] } } }, "kubernetes:node.k8s.io/v1beta1:Overhead": { "description": "Overhead structure represents the resource overhead associated with running a pod.", "properties": { "podFixed": { "type": "object", "additionalProperties": { "type": "string" }, "description": "PodFixed represents the fixed resource overhead associated with running a pod." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "podFixed" ] } } }, "kubernetes:node.k8s.io/v1beta1:OverheadPatch": { "description": "Overhead structure represents the resource overhead associated with running a pod.", "properties": { "podFixed": { "type": "object", "additionalProperties": { "type": "string" }, "description": "PodFixed represents the fixed resource overhead associated with running a pod." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "podFixed" ] } } }, "kubernetes:node.k8s.io/v1beta1:RuntimeClass": { "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1beta1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:Overhead", "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:Scheduling", "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "type": "object", "required": [ "handler" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "handler", "kind", "metadata", "overhead", "scheduling" ] } } }, "kubernetes:node.k8s.io/v1beta1:RuntimeClassList": { "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:RuntimeClass" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "RuntimeClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:node.k8s.io/v1beta1:RuntimeClassPatch": { "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1beta1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:OverheadPatch", "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:SchedulingPatch", "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "handler", "kind", "metadata", "overhead", "scheduling" ] } } }, "kubernetes:node.k8s.io/v1beta1:Scheduling": { "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", "properties": { "nodeSelector": { "type": "object", "additionalProperties": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Toleration" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nodeSelector", "tolerations" ] } } }, "kubernetes:node.k8s.io/v1beta1:SchedulingPatch": { "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", "properties": { "nodeSelector": { "type": "object", "additionalProperties": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TolerationPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "nodeSelector", "tolerations" ] } } }, "kubernetes:pkg/version:Info": { "description": "Info contains versioning information. how we'll want to distribute that information.", "properties": { "buildDate": { "type": "string" }, "compiler": { "type": "string" }, "gitCommit": { "type": "string" }, "gitTreeState": { "type": "string" }, "gitVersion": { "type": "string" }, "goVersion": { "type": "string" }, "major": { "type": "string" }, "minor": { "type": "string" }, "platform": { "type": "string" } }, "type": "object", "required": [ "buildDate", "compiler", "gitCommit", "gitTreeState", "gitVersion", "goVersion", "major", "minor", "platform" ], "language": { "nodejs": { "requiredOutputs": [ "buildDate", "compiler", "gitCommit", "gitTreeState", "gitVersion", "goVersion", "major", "minor", "platform" ] } } }, "kubernetes:pkg/version:InfoPatch": { "description": "Info contains versioning information. how we'll want to distribute that information.", "properties": { "buildDate": { "type": "string" }, "compiler": { "type": "string" }, "gitCommit": { "type": "string" }, "gitTreeState": { "type": "string" }, "gitVersion": { "type": "string" }, "goVersion": { "type": "string" }, "major": { "type": "string" }, "minor": { "type": "string" }, "platform": { "type": "string" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "buildDate", "compiler", "gitCommit", "gitTreeState", "gitVersion", "goVersion", "major", "minor", "platform" ] } } }, "kubernetes:policy/v1:Eviction": { "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", "properties": { "apiVersion": { "type": "string", "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" }, "deleteOptions": { "$ref": "#/types/kubernetes:meta/v1:DeleteOptions", "description": "DeleteOptions may be provided" }, "kind": { "type": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "ObjectMeta describes the pod that is being evicted." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "deleteOptions", "kind", "metadata" ] } } }, "kubernetes:policy/v1:EvictionPatch": { "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", "properties": { "apiVersion": { "type": "string", "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" }, "deleteOptions": { "$ref": "#/types/kubernetes:meta/v1:DeleteOptionsPatch", "description": "DeleteOptions may be provided" }, "kind": { "type": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "ObjectMeta describes the pod that is being evicted." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "deleteOptions", "kind", "metadata" ] } } }, "kubernetes:policy/v1:PodDisruptionBudget": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudgetSpec", "description": "Specification of the desired behavior of the PodDisruptionBudget." }, "status": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudgetStatus", "description": "Most recently observed status of the PodDisruptionBudget." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:policy/v1:PodDisruptionBudgetList": { "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudget" }, "description": "Items is a list of PodDisruptionBudgets" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudgetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:policy/v1:PodDisruptionBudgetPatch": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudgetSpecPatch", "description": "Specification of the desired behavior of the PodDisruptionBudget." }, "status": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudgetStatusPatch", "description": "Most recently observed status of the PodDisruptionBudget." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:policy/v1:PodDisruptionBudgetSpec": { "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", "properties": { "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\"." }, "minAvailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\"." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace." }, "unhealthyPodEvictionPolicy": { "type": "string", "description": "UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".\n\nValid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.\n\nThis field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxUnavailable", "minAvailable", "selector", "unhealthyPodEvictionPolicy" ] } } }, "kubernetes:policy/v1:PodDisruptionBudgetSpecPatch": { "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", "properties": { "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\"." }, "minAvailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\"." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace." }, "unhealthyPodEvictionPolicy": { "type": "string", "description": "UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".\n\nValid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.\n\nThis field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default)." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxUnavailable", "minAvailable", "selector", "unhealthyPodEvictionPolicy" ] } } }, "kubernetes:policy/v1:PodDisruptionBudgetStatus": { "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:Condition" }, "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": "integer", "description": "current number of healthy pods" }, "desiredHealthy": { "type": "integer", "description": "minimum desired number of healthy pods" }, "disruptedPods": { "type": "object", "additionalProperties": { "type": "string" }, "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": "integer", "description": "Number of pod disruptions that are currently allowed." }, "expectedPods": { "type": "integer", "description": "total number of pods counted by this disruption budget" }, "observedGeneration": { "type": "integer", "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": "object", "required": [ "currentHealthy", "desiredHealthy", "disruptionsAllowed", "expectedPods" ], "language": { "nodejs": { "requiredOutputs": [ "conditions", "currentHealthy", "desiredHealthy", "disruptedPods", "disruptionsAllowed", "expectedPods", "observedGeneration" ] } } }, "kubernetes:policy/v1:PodDisruptionBudgetStatusPatch": { "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:ConditionPatch" }, "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": "integer", "description": "current number of healthy pods" }, "desiredHealthy": { "type": "integer", "description": "minimum desired number of healthy pods" }, "disruptedPods": { "type": "object", "additionalProperties": { "type": "string" }, "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": "integer", "description": "Number of pod disruptions that are currently allowed." }, "expectedPods": { "type": "integer", "description": "total number of pods counted by this disruption budget" }, "observedGeneration": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "currentHealthy", "desiredHealthy", "disruptedPods", "disruptionsAllowed", "expectedPods", "observedGeneration" ] } } }, "kubernetes:policy/v1beta1:AllowedCSIDriver": { "description": "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.", "properties": { "name": { "type": "string", "description": "Name is the registered name of the CSI driver" } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:policy/v1beta1:AllowedCSIDriverPatch": { "description": "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.", "properties": { "name": { "type": "string", "description": "Name is the registered name of the CSI driver" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:policy/v1beta1:AllowedFlexVolume": { "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", "properties": { "driver": { "type": "string", "description": "driver is the name of the Flexvolume driver." } }, "type": "object", "required": [ "driver" ], "language": { "nodejs": { "requiredOutputs": [ "driver" ] } } }, "kubernetes:policy/v1beta1:AllowedFlexVolumePatch": { "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", "properties": { "driver": { "type": "string", "description": "driver is the name of the Flexvolume driver." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "driver" ] } } }, "kubernetes:policy/v1beta1:AllowedHostPath": { "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", "properties": { "pathPrefix": { "type": "string", "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": "boolean", "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "pathPrefix", "readOnly" ] } } }, "kubernetes:policy/v1beta1:AllowedHostPathPatch": { "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", "properties": { "pathPrefix": { "type": "string", "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": "boolean", "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "pathPrefix", "readOnly" ] } } }, "kubernetes:policy/v1beta1:Eviction": { "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", "properties": { "apiVersion": { "type": "string", "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" }, "deleteOptions": { "$ref": "#/types/kubernetes:meta/v1:DeleteOptions", "description": "DeleteOptions may be provided" }, "kind": { "type": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "ObjectMeta describes the pod that is being evicted." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "deleteOptions", "kind", "metadata" ] } } }, "kubernetes:policy/v1beta1:EvictionPatch": { "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", "properties": { "apiVersion": { "type": "string", "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" }, "deleteOptions": { "$ref": "#/types/kubernetes:meta/v1:DeleteOptionsPatch", "description": "DeleteOptions may be provided" }, "kind": { "type": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "ObjectMeta describes the pod that is being evicted." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "deleteOptions", "kind", "metadata" ] } } }, "kubernetes:policy/v1beta1:FSGroupStrategyOptions": { "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:IDRange" }, "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": "string", "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:policy/v1beta1:FSGroupStrategyOptionsPatch": { "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:IDRangePatch" }, "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": "string", "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:policy/v1beta1:HostPortRange": { "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", "properties": { "max": { "type": "integer", "description": "max is the end of the range, inclusive." }, "min": { "type": "integer", "description": "min is the start of the range, inclusive." } }, "type": "object", "required": [ "max", "min" ], "language": { "nodejs": { "requiredOutputs": [ "max", "min" ] } } }, "kubernetes:policy/v1beta1:HostPortRangePatch": { "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", "properties": { "max": { "type": "integer", "description": "max is the end of the range, inclusive." }, "min": { "type": "integer", "description": "min is the start of the range, inclusive." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "max", "min" ] } } }, "kubernetes:policy/v1beta1:IDRange": { "description": "IDRange provides a min/max of an allowed range of IDs.", "properties": { "max": { "type": "integer", "description": "max is the end of the range, inclusive." }, "min": { "type": "integer", "description": "min is the start of the range, inclusive." } }, "type": "object", "required": [ "max", "min" ], "language": { "nodejs": { "requiredOutputs": [ "max", "min" ] } } }, "kubernetes:policy/v1beta1:IDRangePatch": { "description": "IDRange provides a min/max of an allowed range of IDs.", "properties": { "max": { "type": "integer", "description": "max is the end of the range, inclusive." }, "min": { "type": "integer", "description": "min is the start of the range, inclusive." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "max", "min" ] } } }, "kubernetes:policy/v1beta1:PodDisruptionBudget": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudgetSpec", "description": "Specification of the desired behavior of the PodDisruptionBudget." }, "status": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudgetStatus", "description": "Most recently observed status of the PodDisruptionBudget." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:policy/v1beta1:PodDisruptionBudgetList": { "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudget" } }, "kind": { "type": "string", "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", "const": "PodDisruptionBudgetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:policy/v1beta1:PodDisruptionBudgetPatch": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudgetSpecPatch", "description": "Specification of the desired behavior of the PodDisruptionBudget." }, "status": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch", "description": "Most recently observed status of the PodDisruptionBudget." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:policy/v1beta1:PodDisruptionBudgetSpec": { "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", "properties": { "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\"." }, "minAvailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\"." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Label query over pods whose evictions are managed by the disruption budget." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxUnavailable", "minAvailable", "selector" ] } } }, "kubernetes:policy/v1beta1:PodDisruptionBudgetSpecPatch": { "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", "properties": { "maxUnavailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\"." }, "minAvailable": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\"." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Label query over pods whose evictions are managed by the disruption budget." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "maxUnavailable", "minAvailable", "selector" ] } } }, "kubernetes:policy/v1beta1:PodDisruptionBudgetStatus": { "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", "properties": { "currentHealthy": { "type": "integer", "description": "current number of healthy pods" }, "desiredHealthy": { "type": "integer", "description": "minimum desired number of healthy pods" }, "disruptedPods": { "type": "object", "additionalProperties": { "type": "string" }, "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": "integer", "description": "Number of pod disruptions that are currently allowed." }, "expectedPods": { "type": "integer", "description": "total number of pods counted by this disruption budget" }, "observedGeneration": { "type": "integer", "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation." } }, "type": "object", "required": [ "currentHealthy", "desiredHealthy", "disruptionsAllowed", "expectedPods" ], "language": { "nodejs": { "requiredOutputs": [ "currentHealthy", "desiredHealthy", "disruptedPods", "disruptionsAllowed", "expectedPods", "observedGeneration" ] } } }, "kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch": { "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", "properties": { "currentHealthy": { "type": "integer", "description": "current number of healthy pods" }, "desiredHealthy": { "type": "integer", "description": "minimum desired number of healthy pods" }, "disruptedPods": { "type": "object", "additionalProperties": { "type": "string" }, "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": "integer", "description": "Number of pod disruptions that are currently allowed." }, "expectedPods": { "type": "integer", "description": "total number of pods counted by this disruption budget" }, "observedGeneration": { "type": "integer", "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "currentHealthy", "desiredHealthy", "disruptedPods", "disruptionsAllowed", "expectedPods", "observedGeneration" ] } } }, "kubernetes:policy/v1beta1:PodSecurityPolicy": { "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodSecurityPolicySpec", "description": "spec defines the policy enforced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:policy/v1beta1:PodSecurityPolicyList": { "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:PodSecurityPolicy" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "PodSecurityPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:policy/v1beta1:PodSecurityPolicyPatch": { "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodSecurityPolicySpecPatch", "description": "spec defines the policy enforced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:policy/v1beta1:PodSecurityPolicySpec": { "description": "PodSecurityPolicySpec defines the policy enforced.", "properties": { "allowPrivilegeEscalation": { "type": "boolean", "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true." }, "allowedCSIDrivers": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:AllowedCSIDriver" }, "description": "AllowedCSIDrivers is a whitelist 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 an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate." }, "allowedCapabilities": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:AllowedFlexVolume" }, "description": "allowedFlexVolumes is a whitelist of allowed 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": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:AllowedHostPath" }, "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used." }, "allowedProcMountTypes": { "type": "array", "items": { "type": "string" }, "description": "AllowedProcMountTypes is a whitelist 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": "array", "items": { "type": "string" }, "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 whitelist 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": "array", "items": { "type": "string" }, "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": "boolean", "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process." }, "forbiddenSysctls": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:policy/v1beta1:FSGroupStrategyOptions", "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext." }, "hostIPC": { "type": "boolean", "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec." }, "hostNetwork": { "type": "boolean", "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec." }, "hostPID": { "type": "boolean", "description": "hostPID determines if the policy allows the use of HostPID in the pod spec." }, "hostPorts": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:HostPortRange" }, "description": "hostPorts determines which host port ranges are allowed to be exposed." }, "privileged": { "type": "boolean", "description": "privileged determines if a pod can request to be run as privileged." }, "readOnlyRootFilesystem": { "type": "boolean", "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": "array", "items": { "type": "string" }, "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added." }, "runAsGroup": { "$ref": "#/types/kubernetes:policy/v1beta1:RunAsGroupStrategyOptions", "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled." }, "runAsUser": { "$ref": "#/types/kubernetes:policy/v1beta1:RunAsUserStrategyOptions", "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set." }, "runtimeClass": { "$ref": "#/types/kubernetes:policy/v1beta1:RuntimeClassStrategyOptions", "description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled." }, "seLinux": { "$ref": "#/types/kubernetes:policy/v1beta1:SELinuxStrategyOptions", "description": "seLinux is the strategy that will dictate the allowable labels that may be set." }, "supplementalGroups": { "$ref": "#/types/kubernetes:policy/v1beta1:SupplementalGroupsStrategyOptions", "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext." }, "volumes": { "type": "array", "items": { "type": "string" }, "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'." } }, "type": "object", "required": [ "fsGroup", "runAsUser", "seLinux", "supplementalGroups" ], "language": { "nodejs": { "requiredOutputs": [ "allowPrivilegeEscalation", "allowedCSIDrivers", "allowedCapabilities", "allowedFlexVolumes", "allowedHostPaths", "allowedProcMountTypes", "allowedUnsafeSysctls", "defaultAddCapabilities", "defaultAllowPrivilegeEscalation", "forbiddenSysctls", "fsGroup", "hostIPC", "hostNetwork", "hostPID", "hostPorts", "privileged", "readOnlyRootFilesystem", "requiredDropCapabilities", "runAsGroup", "runAsUser", "runtimeClass", "seLinux", "supplementalGroups", "volumes" ] } } }, "kubernetes:policy/v1beta1:PodSecurityPolicySpecPatch": { "description": "PodSecurityPolicySpec defines the policy enforced.", "properties": { "allowPrivilegeEscalation": { "type": "boolean", "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true." }, "allowedCSIDrivers": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:AllowedCSIDriverPatch" }, "description": "AllowedCSIDrivers is a whitelist 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 an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate." }, "allowedCapabilities": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:AllowedFlexVolumePatch" }, "description": "allowedFlexVolumes is a whitelist of allowed 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": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:AllowedHostPathPatch" }, "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used." }, "allowedProcMountTypes": { "type": "array", "items": { "type": "string" }, "description": "AllowedProcMountTypes is a whitelist 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": "array", "items": { "type": "string" }, "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 whitelist 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": "array", "items": { "type": "string" }, "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": "boolean", "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process." }, "forbiddenSysctls": { "type": "array", "items": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:policy/v1beta1:FSGroupStrategyOptionsPatch", "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext." }, "hostIPC": { "type": "boolean", "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec." }, "hostNetwork": { "type": "boolean", "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec." }, "hostPID": { "type": "boolean", "description": "hostPID determines if the policy allows the use of HostPID in the pod spec." }, "hostPorts": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:HostPortRangePatch" }, "description": "hostPorts determines which host port ranges are allowed to be exposed." }, "privileged": { "type": "boolean", "description": "privileged determines if a pod can request to be run as privileged." }, "readOnlyRootFilesystem": { "type": "boolean", "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": "array", "items": { "type": "string" }, "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added." }, "runAsGroup": { "$ref": "#/types/kubernetes:policy/v1beta1:RunAsGroupStrategyOptionsPatch", "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled." }, "runAsUser": { "$ref": "#/types/kubernetes:policy/v1beta1:RunAsUserStrategyOptionsPatch", "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set." }, "runtimeClass": { "$ref": "#/types/kubernetes:policy/v1beta1:RuntimeClassStrategyOptionsPatch", "description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled." }, "seLinux": { "$ref": "#/types/kubernetes:policy/v1beta1:SELinuxStrategyOptionsPatch", "description": "seLinux is the strategy that will dictate the allowable labels that may be set." }, "supplementalGroups": { "$ref": "#/types/kubernetes:policy/v1beta1:SupplementalGroupsStrategyOptionsPatch", "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext." }, "volumes": { "type": "array", "items": { "type": "string" }, "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allowPrivilegeEscalation", "allowedCSIDrivers", "allowedCapabilities", "allowedFlexVolumes", "allowedHostPaths", "allowedProcMountTypes", "allowedUnsafeSysctls", "defaultAddCapabilities", "defaultAllowPrivilegeEscalation", "forbiddenSysctls", "fsGroup", "hostIPC", "hostNetwork", "hostPID", "hostPorts", "privileged", "readOnlyRootFilesystem", "requiredDropCapabilities", "runAsGroup", "runAsUser", "runtimeClass", "seLinux", "supplementalGroups", "volumes" ] } } }, "kubernetes:policy/v1beta1:RunAsGroupStrategyOptions": { "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:IDRange" }, "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": "string", "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set." } }, "type": "object", "required": [ "rule" ], "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:policy/v1beta1:RunAsGroupStrategyOptionsPatch": { "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:IDRangePatch" }, "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": "string", "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:policy/v1beta1:RunAsUserStrategyOptions": { "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:IDRange" }, "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": "string", "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set." } }, "type": "object", "required": [ "rule" ], "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:policy/v1beta1:RunAsUserStrategyOptionsPatch": { "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:IDRangePatch" }, "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": "string", "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:policy/v1beta1:RuntimeClassStrategyOptions": { "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.", "properties": { "allowedRuntimeClassNames": { "type": "array", "items": { "type": "string" }, "description": "allowedRuntimeClassNames is a whitelist 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": "string", "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": "object", "required": [ "allowedRuntimeClassNames" ], "language": { "nodejs": { "requiredOutputs": [ "allowedRuntimeClassNames", "defaultRuntimeClassName" ] } } }, "kubernetes:policy/v1beta1:RuntimeClassStrategyOptionsPatch": { "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.", "properties": { "allowedRuntimeClassNames": { "type": "array", "items": { "type": "string" }, "description": "allowedRuntimeClassNames is a whitelist 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": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "allowedRuntimeClassNames", "defaultRuntimeClassName" ] } } }, "kubernetes:policy/v1beta1:SELinuxStrategyOptions": { "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", "properties": { "rule": { "type": "string", "description": "rule is the strategy that will dictate the allowable labels that may be set." }, "seLinuxOptions": { "$ref": "#/types/kubernetes:core/v1:SELinuxOptions", "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" } }, "type": "object", "required": [ "rule" ], "language": { "nodejs": { "requiredOutputs": [ "rule", "seLinuxOptions" ] } } }, "kubernetes:policy/v1beta1:SELinuxStrategyOptionsPatch": { "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", "properties": { "rule": { "type": "string", "description": "rule is the strategy that will dictate the allowable labels that may be set." }, "seLinuxOptions": { "$ref": "#/types/kubernetes:core/v1:SELinuxOptionsPatch", "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "rule", "seLinuxOptions" ] } } }, "kubernetes:policy/v1beta1:SupplementalGroupsStrategyOptions": { "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:IDRange" }, "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": "string", "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:policy/v1beta1:SupplementalGroupsStrategyOptionsPatch": { "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:IDRangePatch" }, "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": "string", "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ranges", "rule" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:AggregationRule": { "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { "clusterRoleSelectors": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "clusterRoleSelectors" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:AggregationRulePatch": { "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { "clusterRoleSelectors": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "clusterRoleSelectors" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRole": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:AggregationRule", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRef", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "roleRef" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBindingList": { "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBinding" }, "description": "Items is a list of ClusterRoleBindings" }, "kind": { "type": "string", "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", "const": "ClusterRoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBindingPatch": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRefPatch", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:ClusterRole" }, "description": "Items is a list of ClusterRoles" }, "kind": { "type": "string", "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", "const": "ClusterRoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRolePatch": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:AggregationRulePatch", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:PolicyRule": { "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "description": "Resources is a list of resources this rule applies to. '*' represents all resources." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs." } }, "type": "object", "required": [ "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "nonResourceURLs", "resourceNames", "resources", "verbs" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:PolicyRulePatch": { "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "description": "Resources is a list of resources this rule applies to. '*' represents all resources." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "nonResourceURLs", "resourceNames", "resources", "verbs" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:Role": { "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRef", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "roleRef" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:RoleBindingList": { "description": "RoleBindingList is a collection of RoleBindings", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleBinding" }, "description": "Items is a list of RoleBindings" }, "kind": { "type": "string", "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", "const": "RoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:RoleBindingPatch": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRefPatch", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:RoleList": { "description": "RoleList is a collection of Roles", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:Role" }, "description": "Items is a list of Roles" }, "kind": { "type": "string", "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", "const": "RoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:RolePatch": { "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:RoleRef": { "description": "RoleRef contains information that points to the role being used", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced" }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced" }, "name": { "type": "string", "description": "Name is the name of resource being referenced" } }, "type": "object", "required": [ "apiGroup", "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:RoleRefPatch": { "description": "RoleRef contains information that points to the role being used", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced" }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced" }, "name": { "type": "string", "description": "Name is the name of resource being referenced" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:Subject": { "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", "properties": { "apiGroup": { "type": "string", "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": "string", "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": "string", "description": "Name of the object being referenced." }, "namespace": { "type": "string", "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": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1:SubjectPatch": { "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", "properties": { "apiGroup": { "type": "string", "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": "string", "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": "string", "description": "Name of the object being referenced." }, "namespace": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:AggregationRule": { "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { "clusterRoleSelectors": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "clusterRoleSelectors" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:AggregationRulePatch": { "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { "clusterRoleSelectors": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "clusterRoleSelectors" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRole": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:AggregationRule", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRef", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "roleRef" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBindingList": { "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBinding" }, "description": "Items is a list of ClusterRoleBindings" }, "kind": { "type": "string", "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", "const": "ClusterRoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBindingPatch": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRefPatch", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRole" }, "description": "Items is a list of ClusterRoles" }, "kind": { "type": "string", "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", "const": "ClusterRoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRolePatch": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:AggregationRulePatch", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRule": { "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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 This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. 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": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds." } }, "type": "object", "required": [ "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "nonResourceURLs", "resourceNames", "resources", "verbs" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRulePatch": { "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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 This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. 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": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources." }, "verbs": { "type": "array", "items": { "type": "string" }, "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "nonResourceURLs", "resourceNames", "resources", "verbs" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:Role": { "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRef", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "roleRef" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBindingList": { "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBinding" }, "description": "Items is a list of RoleBindings" }, "kind": { "type": "string", "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", "const": "RoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBindingPatch": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRefPatch", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleList": { "description": "RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:Role" }, "description": "Items is a list of Roles" }, "kind": { "type": "string", "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", "const": "RoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RolePatch": { "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRef": { "description": "RoleRef contains information that points to the role being used", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced" }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced" }, "name": { "type": "string", "description": "Name is the name of resource being referenced" } }, "type": "object", "required": [ "apiGroup", "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRefPatch": { "description": "RoleRef contains information that points to the role being used", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced" }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced" }, "name": { "type": "string", "description": "Name is the name of resource being referenced" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:Subject": { "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", "properties": { "apiVersion": { "type": "string", "description": "APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects." }, "kind": { "type": "string", "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": "string", "description": "Name of the object being referenced." }, "namespace": { "type": "string", "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": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name", "namespace" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:SubjectPatch": { "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", "properties": { "apiVersion": { "type": "string", "description": "APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects." }, "kind": { "type": "string", "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": "string", "description": "Name of the object being referenced." }, "namespace": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "name", "namespace" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:AggregationRule": { "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { "clusterRoleSelectors": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "clusterRoleSelectors" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:AggregationRulePatch": { "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { "clusterRoleSelectors": { "type": "array", "items": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "clusterRoleSelectors" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRole": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:AggregationRule", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRef", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "roleRef" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBindingList": { "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBinding" }, "description": "Items is a list of ClusterRoleBindings" }, "kind": { "type": "string", "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", "const": "ClusterRoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBindingPatch": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRefPatch", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRole" }, "description": "Items is a list of ClusterRoles" }, "kind": { "type": "string", "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", "const": "ClusterRoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRolePatch": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:AggregationRulePatch", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRule": { "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds." } }, "type": "object", "required": [ "verbs" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "nonResourceURLs", "resourceNames", "resources", "verbs" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRulePatch": { "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", "properties": { "apiGroups": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." }, "resources": { "type": "array", "items": { "type": "string" }, "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": "array", "items": { "type": "string" }, "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroups", "nonResourceURLs", "resourceNames", "resources", "verbs" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:Role": { "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRef", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "roleRef" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBindingList": { "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBinding" }, "description": "Items is a list of RoleBindings" }, "kind": { "type": "string", "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", "const": "RoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBindingPatch": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRefPatch", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleList": { "description": "RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:Role" }, "description": "Items is a list of Roles" }, "kind": { "type": "string", "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", "const": "RoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RolePatch": { "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRef": { "description": "RoleRef contains information that points to the role being used", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced" }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced" }, "name": { "type": "string", "description": "Name is the name of resource being referenced" } }, "type": "object", "required": [ "apiGroup", "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRefPatch": { "description": "RoleRef contains information that points to the role being used", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced" }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced" }, "name": { "type": "string", "description": "Name is the name of resource being referenced" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:Subject": { "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", "properties": { "apiGroup": { "type": "string", "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": "string", "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": "string", "description": "Name of the object being referenced." }, "namespace": { "type": "string", "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": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace" ] } } }, "kubernetes:rbac.authorization.k8s.io/v1beta1:SubjectPatch": { "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", "properties": { "apiGroup": { "type": "string", "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": "string", "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": "string", "description": "Name of the object being referenced." }, "namespace": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:AllocationResult": { "description": "AllocationResult contains attributed of an allocated resource.", "properties": { "availableOnNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelector", "description": "This field will get set by the resource driver after it has allocated the resource driver to inform the scheduler where it can schedule Pods using the ResourceClaim.\n\nSetting this field is optional. If null, the resource is available everywhere." }, "resourceHandle": { "type": "string", "description": "ResourceHandle contains arbitrary data returned by the driver after a successful allocation. This is opaque for Kubernetes. Driver documentation may explain to users how to interpret this data if needed.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced." }, "shareable": { "type": "boolean", "description": "Shareable determines whether the resource supports more than one consumer at a time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableOnNodes", "resourceHandle", "shareable" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:AllocationResultPatch": { "description": "AllocationResult contains attributed of an allocated resource.", "properties": { "availableOnNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorPatch", "description": "This field will get set by the resource driver after it has allocated the resource driver to inform the scheduler where it can schedule Pods using the ResourceClaim.\n\nSetting this field is optional. If null, the resource is available everywhere." }, "resourceHandle": { "type": "string", "description": "ResourceHandle contains arbitrary data returned by the driver after a successful allocation. This is opaque for Kubernetes. Driver documentation may explain to users how to interpret this data if needed.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced." }, "shareable": { "type": "boolean", "description": "Shareable determines whether the resource supports more than one consumer at a time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableOnNodes", "resourceHandle", "shareable" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:PodScheduling": { "description": "PodScheduling objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodScheduling" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodSchedulingSpec", "description": "Spec describes where resources for the Pod are needed." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodSchedulingStatus", "description": "Status describes where resources for the Pod can be allocated." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:PodSchedulingList": { "description": "PodSchedulingList is a collection of Pod scheduling objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodScheduling" }, "description": "Items is the list of PodScheduling objects." }, "kind": { "type": "string", "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", "const": "PodSchedulingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:PodSchedulingPatch": { "description": "PodScheduling objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodScheduling" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodSchedulingSpecPatch", "description": "Spec describes where resources for the Pod are needed." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodSchedulingStatusPatch", "description": "Status describes where resources for the Pod can be allocated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:PodSchedulingSpec": { "description": "PodSchedulingSpec describes where resources for the Pod are needed.", "properties": { "potentialNodes": { "type": "array", "items": { "type": "string" }, "description": "PotentialNodes lists nodes where the Pod might be able to run.\n\nThe size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced." }, "selectedNode": { "type": "string", "description": "SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "potentialNodes", "selectedNode" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:PodSchedulingSpecPatch": { "description": "PodSchedulingSpec describes where resources for the Pod are needed.", "properties": { "potentialNodes": { "type": "array", "items": { "type": "string" }, "description": "PotentialNodes lists nodes where the Pod might be able to run.\n\nThe size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced." }, "selectedNode": { "type": "string", "description": "SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "potentialNodes", "selectedNode" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:PodSchedulingStatus": { "description": "PodSchedulingStatus describes where resources for the Pod can be allocated.", "properties": { "resourceClaims": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSchedulingStatus" }, "description": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resourceClaims" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:PodSchedulingStatusPatch": { "description": "PodSchedulingStatus describes where resources for the Pod can be allocated.", "properties": { "resourceClaims": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSchedulingStatusPatch" }, "description": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resourceClaims" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaim": { "description": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSpec", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimStatus", "description": "Status describes whether the resource is available and with which attributes." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimConsumerReference": { "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." }, "resource": { "type": "string", "description": "Resource is the type of resource being referenced, for example \"pods\"." }, "uid": { "type": "string", "description": "UID identifies exactly one incarnation of the resource." } }, "type": "object", "required": [ "name", "resource", "uid" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "name", "resource", "uid" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimConsumerReferencePatch": { "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." }, "resource": { "type": "string", "description": "Resource is the type of resource being referenced, for example \"pods\"." }, "uid": { "type": "string", "description": "UID identifies exactly one incarnation of the resource." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "name", "resource", "uid" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimList": { "description": "ResourceClaimList is a collection of claims.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaim" }, "description": "Items is the list of resource claims." }, "kind": { "type": "string", "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", "const": "ResourceClaimList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimParametersReference": { "description": "ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\"." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." } }, "type": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimParametersReferencePatch": { "description": "ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\"." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimPatch": { "description": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSpecPatch", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimStatusPatch", "description": "Status describes whether the resource is available and with which attributes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSchedulingStatus": { "description": "ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.", "properties": { "name": { "type": "string", "description": "Name matches the pod.spec.resourceClaims[*].Name field." }, "unsuitableNodes": { "type": "array", "items": { "type": "string" }, "description": "UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.\n\nThe size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "unsuitableNodes" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSchedulingStatusPatch": { "description": "ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.", "properties": { "name": { "type": "string", "description": "Name matches the pod.spec.resourceClaims[*].Name field." }, "unsuitableNodes": { "type": "array", "items": { "type": "string" }, "description": "UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.\n\nThe size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "unsuitableNodes" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSpec": { "description": "ResourceClaimSpec defines how a resource is to be allocated.", "properties": { "allocationMode": { "type": "string", "description": "Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default." }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimParametersReference", "description": "ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.\n\nThe object must be in the same namespace as the ResourceClaim." }, "resourceClassName": { "type": "string", "description": "ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment." } }, "type": "object", "required": [ "resourceClassName" ], "language": { "nodejs": { "requiredOutputs": [ "allocationMode", "parametersRef", "resourceClassName" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSpecPatch": { "description": "ResourceClaimSpec defines how a resource is to be allocated.", "properties": { "allocationMode": { "type": "string", "description": "Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default." }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimParametersReferencePatch", "description": "ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.\n\nThe object must be in the same namespace as the ResourceClaim." }, "resourceClassName": { "type": "string", "description": "ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allocationMode", "parametersRef", "resourceClassName" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimStatus": { "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.", "properties": { "allocation": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:AllocationResult", "description": "Allocation is set by the resource driver once a resource has been allocated successfully. If this is not specified, the resource is not yet allocated." }, "deallocationRequested": { "type": "boolean", "description": "DeallocationRequested indicates that a ResourceClaim is to be deallocated.\n\nThe driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nWhile DeallocationRequested is set, no new consumers may be added to ReservedFor." }, "driverName": { "type": "string", "description": "DriverName is a copy of the driver name from the ResourceClass at the time when allocation started." }, "reservedFor": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimConsumerReference" }, "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allocation", "deallocationRequested", "driverName", "reservedFor" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimStatusPatch": { "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.", "properties": { "allocation": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:AllocationResultPatch", "description": "Allocation is set by the resource driver once a resource has been allocated successfully. If this is not specified, the resource is not yet allocated." }, "deallocationRequested": { "type": "boolean", "description": "DeallocationRequested indicates that a ResourceClaim is to be deallocated.\n\nThe driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nWhile DeallocationRequested is set, no new consumers may be added to ReservedFor." }, "driverName": { "type": "string", "description": "DriverName is a copy of the driver name from the ResourceClass at the time when allocation started." }, "reservedFor": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimConsumerReferencePatch" }, "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allocation", "deallocationRequested", "driverName", "reservedFor" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplate": { "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplateSpec", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplateList": { "description": "ResourceClaimTemplateList is a collection of claim templates.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplate" }, "description": "Items is the list of resource claim templates." }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplateList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplatePatch": { "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplateSpecPatch", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplateSpec": { "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSpec", "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplateSpecPatch": { "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSpecPatch", "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClass": { "description": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClassParametersReference", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelector", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "type": "object", "required": [ "driverName" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parametersRef", "suitableNodes" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClassList": { "description": "ResourceClassList is a collection of classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClass" }, "description": "Items is the list of resource classes." }, "kind": { "type": "string", "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", "const": "ResourceClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClassParametersReference": { "description": "ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." }, "namespace": { "type": "string", "description": "Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources." } }, "type": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClassParametersReferencePatch": { "description": "ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." }, "namespace": { "type": "string", "description": "Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace" ] } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClassPatch": { "description": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClassParametersReferencePatch", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorPatch", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parametersRef", "suitableNodes" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:AllocationResult": { "description": "AllocationResult contains attributes of an allocated resource.", "properties": { "availableOnNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelector", "description": "This field will get set by the resource driver after it has allocated the resource to inform the scheduler where it can schedule Pods using the ResourceClaim.\n\nSetting this field is optional. If null, the resource is available everywhere." }, "resourceHandles": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceHandle" }, "description": "ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed.\n\nSetting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in." }, "shareable": { "type": "boolean", "description": "Shareable determines whether the resource supports more than one consumer at a time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableOnNodes", "resourceHandles", "shareable" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:AllocationResultPatch": { "description": "AllocationResult contains attributes of an allocated resource.", "properties": { "availableOnNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorPatch", "description": "This field will get set by the resource driver after it has allocated the resource to inform the scheduler where it can schedule Pods using the ResourceClaim.\n\nSetting this field is optional. If null, the resource is available everywhere." }, "resourceHandles": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceHandlePatch" }, "description": "ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed.\n\nSetting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in." }, "shareable": { "type": "boolean", "description": "Shareable determines whether the resource supports more than one consumer at a time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "availableOnNodes", "resourceHandles", "shareable" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:DriverAllocationResult": { "description": "DriverAllocationResult contains vendor parameters and the allocation result for one request.", "properties": { "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesAllocationResult", "description": "NamedResources describes the allocation result when using the named resources model." }, "vendorRequestParameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "namedResources", "vendorRequestParameters" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:DriverAllocationResultPatch": { "description": "DriverAllocationResult contains vendor parameters and the allocation result for one request.", "properties": { "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesAllocationResultPatch", "description": "NamedResources describes the allocation result when using the named resources model." }, "vendorRequestParameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "namedResources", "vendorRequestParameters" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:DriverRequests": { "description": "DriverRequests describes all resources that are needed from one particular driver.", "properties": { "driverName": { "type": "string", "description": "DriverName is the name used by the DRA driver kubelet plugin." }, "requests": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceRequest" }, "description": "Requests describes all resources that are needed from the driver." }, "vendorParameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "driverName", "requests", "vendorParameters" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:DriverRequestsPatch": { "description": "DriverRequests describes all resources that are needed from one particular driver.", "properties": { "driverName": { "type": "string", "description": "DriverName is the name used by the DRA driver kubelet plugin." }, "requests": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceRequestPatch" }, "description": "Requests describes all resources that are needed from the driver." }, "vendorParameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "driverName", "requests", "vendorParameters" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesAllocationResult": { "description": "NamedResourcesAllocationResult is used in AllocationResultModel.", "properties": { "name": { "type": "string", "description": "Name is the name of the selected resource instance." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesAllocationResultPatch": { "description": "NamedResourcesAllocationResult is used in AllocationResultModel.", "properties": { "name": { "type": "string", "description": "Name is the name of the selected resource instance." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesAttribute": { "description": "NamedResourcesAttribute is a combination of an attribute name and its value.", "properties": { "bool": { "type": "boolean", "description": "BoolValue is a true/false value." }, "int": { "type": "integer", "description": "IntValue is a 64-bit integer." }, "intSlice": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesIntSlice", "description": "IntSliceValue is an array of 64-bit integers." }, "name": { "type": "string", "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain." }, "quantity": { "type": "string", "description": "QuantityValue is a quantity." }, "string": { "type": "string", "description": "StringValue is a string." }, "stringSlice": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesStringSlice", "description": "StringSliceValue is an array of strings." }, "version": { "type": "string", "description": "VersionValue is a semantic version according to semver.org spec 2.0.0." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "bool", "int", "intSlice", "name", "quantity", "string", "stringSlice", "version" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesAttributePatch": { "description": "NamedResourcesAttribute is a combination of an attribute name and its value.", "properties": { "bool": { "type": "boolean", "description": "BoolValue is a true/false value." }, "int": { "type": "integer", "description": "IntValue is a 64-bit integer." }, "intSlice": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesIntSlicePatch", "description": "IntSliceValue is an array of 64-bit integers." }, "name": { "type": "string", "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain." }, "quantity": { "type": "string", "description": "QuantityValue is a quantity." }, "string": { "type": "string", "description": "StringValue is a string." }, "stringSlice": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesStringSlicePatch", "description": "StringSliceValue is an array of strings." }, "version": { "type": "string", "description": "VersionValue is a semantic version according to semver.org spec 2.0.0." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "bool", "int", "intSlice", "name", "quantity", "string", "stringSlice", "version" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesFilter": { "description": "NamedResourcesFilter is used in ResourceFilterModel.", "properties": { "selector": { "type": "string", "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()" } }, "type": "object", "required": [ "selector" ], "language": { "nodejs": { "requiredOutputs": [ "selector" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesFilterPatch": { "description": "NamedResourcesFilter is used in ResourceFilterModel.", "properties": { "selector": { "type": "string", "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "selector" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesInstance": { "description": "NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.", "properties": { "attributes": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesAttribute" }, "description": "Attributes defines the attributes of this resource instance. The name of each attribute must be unique." }, "name": { "type": "string", "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain." } }, "type": "object", "required": [ "name" ], "language": { "nodejs": { "requiredOutputs": [ "attributes", "name" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesInstancePatch": { "description": "NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.", "properties": { "attributes": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesAttributePatch" }, "description": "Attributes defines the attributes of this resource instance. The name of each attribute must be unique." }, "name": { "type": "string", "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "attributes", "name" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesIntSlice": { "description": "NamedResourcesIntSlice contains a slice of 64-bit integers.", "properties": { "ints": { "type": "array", "items": { "type": "integer" }, "description": "Ints is the slice of 64-bit integers." } }, "type": "object", "required": [ "ints" ], "language": { "nodejs": { "requiredOutputs": [ "ints" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesIntSlicePatch": { "description": "NamedResourcesIntSlice contains a slice of 64-bit integers.", "properties": { "ints": { "type": "array", "items": { "type": "integer" }, "description": "Ints is the slice of 64-bit integers." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "ints" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesRequest": { "description": "NamedResourcesRequest is used in ResourceRequestModel.", "properties": { "selector": { "type": "string", "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()" } }, "type": "object", "required": [ "selector" ], "language": { "nodejs": { "requiredOutputs": [ "selector" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesRequestPatch": { "description": "NamedResourcesRequest is used in ResourceRequestModel.", "properties": { "selector": { "type": "string", "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "selector" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesResources": { "description": "NamedResourcesResources is used in ResourceModel.", "properties": { "instances": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesInstance" }, "description": "The list of all individual resources instances currently available." } }, "type": "object", "required": [ "instances" ], "language": { "nodejs": { "requiredOutputs": [ "instances" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesResourcesPatch": { "description": "NamedResourcesResources is used in ResourceModel.", "properties": { "instances": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesInstancePatch" }, "description": "The list of all individual resources instances currently available." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "instances" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesStringSlice": { "description": "NamedResourcesStringSlice contains a slice of strings.", "properties": { "strings": { "type": "array", "items": { "type": "string" }, "description": "Strings is the slice of strings." } }, "type": "object", "required": [ "strings" ], "language": { "nodejs": { "requiredOutputs": [ "strings" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:NamedResourcesStringSlicePatch": { "description": "NamedResourcesStringSlice contains a slice of strings.", "properties": { "strings": { "type": "array", "items": { "type": "string" }, "description": "Strings is the slice of strings." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "strings" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContext": { "description": "PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "PodSchedulingContext" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextSpec", "description": "Spec describes where resources for the Pod are needed." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextStatus", "description": "Status describes where resources for the Pod can be allocated." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextList": { "description": "PodSchedulingContextList is a collection of Pod scheduling objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContext" }, "description": "Items is the list of PodSchedulingContext objects." }, "kind": { "type": "string", "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", "const": "PodSchedulingContextList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextPatch": { "description": "PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "PodSchedulingContext" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextSpecPatch", "description": "Spec describes where resources for the Pod are needed." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextStatusPatch", "description": "Status describes where resources for the Pod can be allocated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextSpec": { "description": "PodSchedulingContextSpec describes where resources for the Pod are needed.", "properties": { "potentialNodes": { "type": "array", "items": { "type": "string" }, "description": "PotentialNodes lists nodes where the Pod might be able to run.\n\nThe size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced." }, "selectedNode": { "type": "string", "description": "SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "potentialNodes", "selectedNode" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextSpecPatch": { "description": "PodSchedulingContextSpec describes where resources for the Pod are needed.", "properties": { "potentialNodes": { "type": "array", "items": { "type": "string" }, "description": "PotentialNodes lists nodes where the Pod might be able to run.\n\nThe size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced." }, "selectedNode": { "type": "string", "description": "SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "potentialNodes", "selectedNode" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextStatus": { "description": "PodSchedulingContextStatus describes where resources for the Pod can be allocated.", "properties": { "resourceClaims": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSchedulingStatus" }, "description": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resourceClaims" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextStatusPatch": { "description": "PodSchedulingContextStatus describes where resources for the Pod can be allocated.", "properties": { "resourceClaims": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSchedulingStatusPatch" }, "description": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "resourceClaims" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaim": { "description": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSpec", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimStatus", "description": "Status describes whether the resource is available and with which attributes." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimConsumerReference": { "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." }, "resource": { "type": "string", "description": "Resource is the type of resource being referenced, for example \"pods\"." }, "uid": { "type": "string", "description": "UID identifies exactly one incarnation of the resource." } }, "type": "object", "required": [ "name", "resource", "uid" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "name", "resource", "uid" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimConsumerReferencePatch": { "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." }, "resource": { "type": "string", "description": "Resource is the type of resource being referenced, for example \"pods\"." }, "uid": { "type": "string", "description": "UID identifies exactly one incarnation of the resource." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "name", "resource", "uid" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimList": { "description": "ResourceClaimList is a collection of claims.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaim" }, "description": "Items is the list of resource claims." }, "kind": { "type": "string", "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", "const": "ResourceClaimList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParameters": { "description": "ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverRequests": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:DriverRequests" }, "description": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersReference", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClaimParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "shareable": { "type": "boolean", "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverRequests", "generatedFrom", "kind", "metadata", "shareable" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersList": { "description": "ResourceClaimParametersList is a collection of ResourceClaimParameters.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParameters" }, "description": "Items is the list of node resource capacity objects." }, "kind": { "type": "string", "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", "const": "ResourceClaimParametersList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersPatch": { "description": "ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverRequests": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:DriverRequestsPatch" }, "description": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersReferencePatch", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClaimParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "shareable": { "type": "boolean", "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverRequests", "generatedFrom", "kind", "metadata", "shareable" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersReference": { "description": "ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\"." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." } }, "type": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersReferencePatch": { "description": "ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\"." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimPatch": { "description": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSpecPatch", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimStatusPatch", "description": "Status describes whether the resource is available and with which attributes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSchedulingStatus": { "description": "ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.", "properties": { "name": { "type": "string", "description": "Name matches the pod.spec.resourceClaims[*].Name field." }, "unsuitableNodes": { "type": "array", "items": { "type": "string" }, "description": "UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.\n\nThe size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "unsuitableNodes" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSchedulingStatusPatch": { "description": "ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.", "properties": { "name": { "type": "string", "description": "Name matches the pod.spec.resourceClaims[*].Name field." }, "unsuitableNodes": { "type": "array", "items": { "type": "string" }, "description": "UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.\n\nThe size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "name", "unsuitableNodes" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSpec": { "description": "ResourceClaimSpec defines how a resource is to be allocated.", "properties": { "allocationMode": { "type": "string", "description": "Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default." }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersReference", "description": "ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.\n\nThe object must be in the same namespace as the ResourceClaim." }, "resourceClassName": { "type": "string", "description": "ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment." } }, "type": "object", "required": [ "resourceClassName" ], "language": { "nodejs": { "requiredOutputs": [ "allocationMode", "parametersRef", "resourceClassName" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSpecPatch": { "description": "ResourceClaimSpec defines how a resource is to be allocated.", "properties": { "allocationMode": { "type": "string", "description": "Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default." }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersReferencePatch", "description": "ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.\n\nThe object must be in the same namespace as the ResourceClaim." }, "resourceClassName": { "type": "string", "description": "ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allocationMode", "parametersRef", "resourceClassName" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimStatus": { "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.", "properties": { "allocation": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:AllocationResult", "description": "Allocation is set by the resource driver once a resource or set of resources has been allocated successfully. If this is not specified, the resources have not been allocated yet." }, "deallocationRequested": { "type": "boolean", "description": "DeallocationRequested indicates that a ResourceClaim is to be deallocated.\n\nThe driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nWhile DeallocationRequested is set, no new consumers may be added to ReservedFor." }, "driverName": { "type": "string", "description": "DriverName is a copy of the driver name from the ResourceClass at the time when allocation started." }, "reservedFor": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimConsumerReference" }, "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allocation", "deallocationRequested", "driverName", "reservedFor" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimStatusPatch": { "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.", "properties": { "allocation": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:AllocationResultPatch", "description": "Allocation is set by the resource driver once a resource or set of resources has been allocated successfully. If this is not specified, the resources have not been allocated yet." }, "deallocationRequested": { "type": "boolean", "description": "DeallocationRequested indicates that a ResourceClaim is to be deallocated.\n\nThe driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nWhile DeallocationRequested is set, no new consumers may be added to ReservedFor." }, "driverName": { "type": "string", "description": "DriverName is a copy of the driver name from the ResourceClass at the time when allocation started." }, "reservedFor": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimConsumerReferencePatch" }, "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "allocation", "deallocationRequested", "driverName", "reservedFor" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplate": { "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplateSpec", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplateList": { "description": "ResourceClaimTemplateList is a collection of claim templates.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplate" }, "description": "Items is the list of resource claim templates." }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplateList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplatePatch": { "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplateSpecPatch", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplateSpec": { "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSpec", "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplateSpecPatch": { "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", "properties": { "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSpecPatch", "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "metadata", "spec" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClass": { "description": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReference", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "structuredParameters": { "type": "boolean", "description": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelector", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "type": "object", "required": [ "driverName" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parametersRef", "structuredParameters", "suitableNodes" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassList": { "description": "ResourceClassList is a collection of classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClass" }, "description": "Items is the list of resource classes." }, "kind": { "type": "string", "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", "const": "ResourceClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassParameters": { "description": "ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "filters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceFilter" }, "description": "Filters describes additional contraints that must be met when using the class." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReference", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClassParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "vendorParameters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:VendorParameters" }, "description": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "filters", "generatedFrom", "kind", "metadata", "vendorParameters" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersList": { "description": "ResourceClassParametersList is a collection of ResourceClassParameters.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParameters" }, "description": "Items is the list of node resource capacity objects." }, "kind": { "type": "string", "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", "const": "ResourceClassParametersList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersPatch": { "description": "ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "filters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceFilterPatch" }, "description": "Filters describes additional contraints that must be met when using the class." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReferencePatch", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClassParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "vendorParameters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:VendorParametersPatch" }, "description": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "filters", "generatedFrom", "kind", "metadata", "vendorParameters" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReference": { "description": "ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." }, "namespace": { "type": "string", "description": "Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources." } }, "type": "object", "required": [ "kind", "name" ], "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReferencePatch": { "description": "ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.", "properties": { "apiGroup": { "type": "string", "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources." }, "kind": { "type": "string", "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata." }, "name": { "type": "string", "description": "Name is the name of resource being referenced." }, "namespace": { "type": "string", "description": "Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiGroup", "kind", "name", "namespace" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassPatch": { "description": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReferencePatch", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "structuredParameters": { "type": "boolean", "description": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorPatch", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parametersRef", "structuredParameters", "suitableNodes" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceFilter": { "description": "ResourceFilter is a filter for resources from one particular driver.", "properties": { "driverName": { "type": "string", "description": "DriverName is the name used by the DRA driver kubelet plugin." }, "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesFilter", "description": "NamedResources describes a resource filter using the named resources model." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "driverName", "namedResources" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceFilterPatch": { "description": "ResourceFilter is a filter for resources from one particular driver.", "properties": { "driverName": { "type": "string", "description": "DriverName is the name used by the DRA driver kubelet plugin." }, "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesFilterPatch", "description": "NamedResources describes a resource filter using the named resources model." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "driverName", "namedResources" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceHandle": { "description": "ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.", "properties": { "data": { "type": "string", "description": "Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced." }, "driverName": { "type": "string", "description": "DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in." }, "structuredData": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:StructuredResourceHandle", "description": "If StructuredData is set, then it needs to be used instead of Data." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "data", "driverName", "structuredData" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceHandlePatch": { "description": "ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.", "properties": { "data": { "type": "string", "description": "Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced." }, "driverName": { "type": "string", "description": "DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in." }, "structuredData": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:StructuredResourceHandlePatch", "description": "If StructuredData is set, then it needs to be used instead of Data." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "data", "driverName", "structuredData" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceRequest": { "description": "ResourceRequest is a request for resources from one particular driver.", "properties": { "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesRequest", "description": "NamedResources describes a request for resources with the named resources model." }, "vendorParameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "namedResources", "vendorParameters" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceRequestPatch": { "description": "ResourceRequest is a request for resources from one particular driver.", "properties": { "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesRequestPatch", "description": "NamedResources describes a request for resources with the named resources model." }, "vendorParameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "namedResources", "vendorParameters" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceSlice": { "description": "ResourceSlice provides information about available resources on individual nodes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name." }, "kind": { "type": "string", "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", "const": "ResourceSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesResources", "description": "NamedResources describes available resources using the named resources model." }, "nodeName": { "type": "string", "description": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name." } }, "type": "object", "required": [ "driverName" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "namedResources", "nodeName" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceSliceList": { "description": "ResourceSliceList is a collection of ResourceSlices.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceSlice" }, "description": "Items is the list of node resource capacity objects." }, "kind": { "type": "string", "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", "const": "ResourceSliceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceSlicePatch": { "description": "ResourceSlice provides information about available resources on individual nodes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name." }, "kind": { "type": "string", "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", "const": "ResourceSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesResourcesPatch", "description": "NamedResources describes available resources using the named resources model." }, "nodeName": { "type": "string", "description": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "namedResources", "nodeName" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:StructuredResourceHandle": { "description": "StructuredResourceHandle is the in-tree representation of the allocation result.", "properties": { "nodeName": { "type": "string", "description": "NodeName is the name of the node providing the necessary resources if the resources are local to a node." }, "results": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:DriverAllocationResult" }, "description": "Results lists all allocated driver resources." }, "vendorClaimParameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated." }, "vendorClassParameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated." } }, "type": "object", "required": [ "results" ], "language": { "nodejs": { "requiredOutputs": [ "nodeName", "results", "vendorClaimParameters", "vendorClassParameters" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:StructuredResourceHandlePatch": { "description": "StructuredResourceHandle is the in-tree representation of the allocation result.", "properties": { "nodeName": { "type": "string", "description": "NodeName is the name of the node providing the necessary resources if the resources are local to a node." }, "results": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:DriverAllocationResultPatch" }, "description": "Results lists all allocated driver resources." }, "vendorClaimParameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated." }, "vendorClassParameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "nodeName", "results", "vendorClaimParameters", "vendorClassParameters" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:VendorParameters": { "description": "VendorParameters are opaque parameters for one particular driver.", "properties": { "driverName": { "type": "string", "description": "DriverName is the name used by the DRA driver kubelet plugin." }, "parameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Parameters can be arbitrary setup parameters. They are ignored while allocating a claim." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "driverName", "parameters" ] } } }, "kubernetes:resource.k8s.io/v1alpha2:VendorParametersPatch": { "description": "VendorParameters are opaque parameters for one particular driver.", "properties": { "driverName": { "type": "string", "description": "DriverName is the name used by the DRA driver kubelet plugin." }, "parameters": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Parameters can be arbitrary setup parameters. They are ignored while allocating a claim." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "driverName", "parameters" ] } } }, "kubernetes:scheduling.k8s.io/v1:PriorityClass": { "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." }, "value": { "type": "integer", "description": "value represents the integer 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": "object", "required": [ "value" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } } }, "kubernetes:scheduling.k8s.io/v1:PriorityClassList": { "description": "PriorityClassList is a collection of priority classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:scheduling.k8s.io/v1:PriorityClass" }, "description": "items is the list of PriorityClasses" }, "kind": { "type": "string", "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", "const": "PriorityClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:scheduling.k8s.io/v1:PriorityClassPatch": { "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." }, "value": { "type": "integer", "description": "value represents the integer 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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } } }, "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClass": { "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1alpha1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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": "object", "required": [ "value" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } } }, "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClassList": { "description": "PriorityClassList is a collection of priority classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:scheduling.k8s.io/v1alpha1:PriorityClass" }, "description": "items is the list of PriorityClasses" }, "kind": { "type": "string", "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", "const": "PriorityClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClassPatch": { "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1alpha1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } } }, "kubernetes:scheduling.k8s.io/v1beta1:PriorityClass": { "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1beta1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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": "object", "required": [ "value" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } } }, "kubernetes:scheduling.k8s.io/v1beta1:PriorityClassList": { "description": "PriorityClassList is a collection of priority classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:scheduling.k8s.io/v1beta1:PriorityClass" }, "description": "items is the list of PriorityClasses" }, "kind": { "type": "string", "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", "const": "PriorityClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:scheduling.k8s.io/v1beta1:PriorityClassPatch": { "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1beta1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } } }, "kubernetes:settings.k8s.io/v1alpha1:PodPreset": { "description": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.", "properties": { "apiVersion": { "type": "string", "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", "const": "settings.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodPreset" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:settings.k8s.io/v1alpha1:PodPresetSpec" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:settings.k8s.io/v1alpha1:PodPresetList": { "description": "PodPresetList is a list of PodPreset objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "settings.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:settings.k8s.io/v1alpha1:PodPreset" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "PodPresetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:settings.k8s.io/v1alpha1:PodPresetPatch": { "description": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.", "properties": { "apiVersion": { "type": "string", "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", "const": "settings.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodPreset" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:settings.k8s.io/v1alpha1:PodPresetSpecPatch" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:settings.k8s.io/v1alpha1:PodPresetSpec": { "description": "PodPresetSpec is a description of a pod preset.", "properties": { "env": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvVar" }, "description": "Env defines the collection of EnvVar to inject into containers." }, "envFrom": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvFromSource" }, "description": "EnvFrom defines the collection of EnvFromSource to inject into containers." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "Selector is a label query over a set of resources, in this case pods. Required." }, "volumeMounts": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeMount" }, "description": "VolumeMounts defines the collection of VolumeMount to inject into containers." }, "volumes": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Volume" }, "description": "Volumes defines the collection of Volume to inject into the pod." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "env", "envFrom", "selector", "volumeMounts", "volumes" ] } } }, "kubernetes:settings.k8s.io/v1alpha1:PodPresetSpecPatch": { "description": "PodPresetSpec is a description of a pod preset.", "properties": { "env": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvVarPatch" }, "description": "Env defines the collection of EnvVar to inject into containers." }, "envFrom": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EnvFromSourcePatch" }, "description": "EnvFrom defines the collection of EnvFromSource to inject into containers." }, "selector": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "Selector is a label query over a set of resources, in this case pods. Required." }, "volumeMounts": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumeMountPatch" }, "description": "VolumeMounts defines the collection of VolumeMount to inject into containers." }, "volumes": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:VolumePatch" }, "description": "Volumes defines the collection of Volume to inject into the pod." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "env", "envFrom", "selector", "volumeMounts", "volumes" ] } } }, "kubernetes:storage.k8s.io/v1:CSIDriver": { "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIDriverSpec", "description": "spec represents the specification of the CSI Driver." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:storage.k8s.io/v1:CSIDriverList": { "description": "CSIDriverList is a collection of CSIDriver objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIDriver" }, "description": "items is the list of CSIDriver" }, "kind": { "type": "string", "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", "const": "CSIDriverList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1:CSIDriverPatch": { "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIDriverSpecPatch", "description": "spec represents the specification of the CSI Driver." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:storage.k8s.io/v1:CSIDriverSpec": { "description": "CSIDriverSpec is the specification of a CSIDriver.", "properties": { "attachRequired": { "type": "boolean", "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": "string", "description": "fsGroupPolicy 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 was immutable in Kubernetes < 1.29 and now is mutable.\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": "boolean", "description": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe 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.\n\nThe following VolumeContext 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 was immutable in Kubernetes < 1.29 and now is mutable." }, "requiresRepublish": { "type": "boolean", "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": "boolean", "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": "boolean", "description": "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, if set to true.\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": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:TokenRequest" }, "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": "array", "items": { "type": "string" }, "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.\n\nThe 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.\n\nFor 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.\n\nThis field is beta. This field is immutable." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "attachRequired", "fsGroupPolicy", "podInfoOnMount", "requiresRepublish", "seLinuxMount", "storageCapacity", "tokenRequests", "volumeLifecycleModes" ] } } }, "kubernetes:storage.k8s.io/v1:CSIDriverSpecPatch": { "description": "CSIDriverSpec is the specification of a CSIDriver.", "properties": { "attachRequired": { "type": "boolean", "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": "string", "description": "fsGroupPolicy 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 was immutable in Kubernetes < 1.29 and now is mutable.\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": "boolean", "description": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe 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.\n\nThe following VolumeContext 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 was immutable in Kubernetes < 1.29 and now is mutable." }, "requiresRepublish": { "type": "boolean", "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": "boolean", "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": "boolean", "description": "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, if set to true.\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": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:TokenRequestPatch" }, "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": "array", "items": { "type": "string" }, "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.\n\nThe 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.\n\nFor 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.\n\nThis field is beta. This field is immutable." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "attachRequired", "fsGroupPolicy", "podInfoOnMount", "requiresRepublish", "seLinuxMount", "storageCapacity", "tokenRequests", "volumeLifecycleModes" ] } } }, "kubernetes:storage.k8s.io/v1:CSINode": { "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSINodeSpec", "description": "spec is the specification of CSINode" } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:storage.k8s.io/v1:CSINodeDriver": { "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", "properties": { "allocatable": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeNodeResources", "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta." }, "name": { "type": "string", "description": "name represents 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": "string", "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "name", "nodeID" ], "language": { "nodejs": { "requiredOutputs": [ "allocatable", "name", "nodeID", "topologyKeys" ] } } }, "kubernetes:storage.k8s.io/v1:CSINodeDriverPatch": { "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", "properties": { "allocatable": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeNodeResourcesPatch", "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta." }, "name": { "type": "string", "description": "name represents 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": "string", "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "allocatable", "name", "nodeID", "topologyKeys" ] } } }, "kubernetes:storage.k8s.io/v1:CSINodeList": { "description": "CSINodeList is a collection of CSINode objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSINode" }, "description": "items is the list of CSINode" }, "kind": { "type": "string", "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", "const": "CSINodeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1:CSINodePatch": { "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSINodeSpecPatch", "description": "spec is the specification of CSINode" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:storage.k8s.io/v1:CSINodeSpec": { "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", "properties": { "drivers": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSINodeDriver" }, "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": "object", "required": [ "drivers" ], "language": { "nodejs": { "requiredOutputs": [ "drivers" ] } } }, "kubernetes:storage.k8s.io/v1:CSINodeSpecPatch": { "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", "properties": { "drivers": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSINodeDriverPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "drivers" ] } } }, "kubernetes:storage.k8s.io/v1:CSIStorageCapacity": { "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "capacity": { "type": "string", "description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "description": "storageClassName represents 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": "object", "required": [ "storageClassName" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "capacity", "kind", "maximumVolumeSize", "metadata", "nodeTopology", "storageClassName" ] } } }, "kubernetes:storage.k8s.io/v1:CSIStorageCapacityList": { "description": "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIStorageCapacity" }, "description": "items is the list of CSIStorageCapacity objects." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacityList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1:CSIStorageCapacityPatch": { "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "capacity": { "type": "string", "description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "description": "storageClassName represents 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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "capacity", "kind", "maximumVolumeSize", "metadata", "nodeTopology", "storageClassName" ] } } }, "kubernetes:storage.k8s.io/v1:StorageClass": { "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "properties": { "allowVolumeExpansion": { "type": "boolean", "description": "allowVolumeExpansion shows whether the storage class allow volume expand." }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTerm" }, "description": "allowedTopologies 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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "description": "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid." }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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": "object", "required": [ "provisioner" ], "language": { "nodejs": { "requiredOutputs": [ "allowVolumeExpansion", "allowedTopologies", "apiVersion", "kind", "metadata", "mountOptions", "parameters", "provisioner", "reclaimPolicy", "volumeBindingMode" ] } } }, "kubernetes:storage.k8s.io/v1:StorageClassList": { "description": "StorageClassList is a collection of storage classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:StorageClass" }, "description": "items is the list of StorageClasses" }, "kind": { "type": "string", "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", "const": "StorageClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1:StorageClassPatch": { "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "properties": { "allowVolumeExpansion": { "type": "boolean", "description": "allowVolumeExpansion shows whether the storage class allow volume expand." }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTermPatch" }, "description": "allowedTopologies 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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "description": "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid." }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "allowVolumeExpansion", "allowedTopologies", "apiVersion", "kind", "metadata", "mountOptions", "parameters", "provisioner", "reclaimPolicy", "volumeBindingMode" ] } } }, "kubernetes:storage.k8s.io/v1:TokenRequest": { "description": "TokenRequest contains parameters of a service account token.", "properties": { "audience": { "type": "string", "description": "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver." }, "expirationSeconds": { "type": "integer", "description": "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\"." } }, "type": "object", "required": [ "audience" ], "language": { "nodejs": { "requiredOutputs": [ "audience", "expirationSeconds" ] } } }, "kubernetes:storage.k8s.io/v1:TokenRequestPatch": { "description": "TokenRequest contains parameters of a service account token.", "properties": { "audience": { "type": "string", "description": "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver." }, "expirationSeconds": { "type": "integer", "description": "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\"." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audience", "expirationSeconds" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeAttachment": { "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentSpec", "description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentStatus", "description": "status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeAttachmentList": { "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachment" }, "description": "items is the list of VolumeAttachments" }, "kind": { "type": "string", "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", "const": "VolumeAttachmentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeAttachmentPatch": { "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentSpecPatch", "description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentStatusPatch", "description": "status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeAttachmentSource": { "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.", "properties": { "inlineVolumeSpec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpec", "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature." }, "persistentVolumeName": { "type": "string", "description": "persistentVolumeName represents the name of the persistent volume to attach." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "inlineVolumeSpec", "persistentVolumeName" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeAttachmentSourcePatch": { "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.", "properties": { "inlineVolumeSpec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpecPatch", "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature." }, "persistentVolumeName": { "type": "string", "description": "persistentVolumeName represents the name of the persistent volume to attach." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "inlineVolumeSpec", "persistentVolumeName" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeAttachmentSpec": { "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", "properties": { "attacher": { "type": "string", "description": "attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()." }, "nodeName": { "type": "string", "description": "nodeName represents the node that the volume should be attached to." }, "source": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentSource", "description": "source represents the volume that should be attached." } }, "type": "object", "required": [ "attacher", "nodeName", "source" ], "language": { "nodejs": { "requiredOutputs": [ "attacher", "nodeName", "source" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeAttachmentSpecPatch": { "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", "properties": { "attacher": { "type": "string", "description": "attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()." }, "nodeName": { "type": "string", "description": "nodeName represents the node that the volume should be attached to." }, "source": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentSourcePatch", "description": "source represents the volume that should be attached." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "attacher", "nodeName", "source" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeAttachmentStatus": { "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", "properties": { "attachError": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeError", "description": "attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." }, "attached": { "type": "boolean", "description": "attached 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": "object", "additionalProperties": { "type": "string" }, "description": "attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, 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": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeError", "description": "detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." } }, "type": "object", "required": [ "attached" ], "language": { "nodejs": { "requiredOutputs": [ "attachError", "attached", "attachmentMetadata", "detachError" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeAttachmentStatusPatch": { "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", "properties": { "attachError": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeErrorPatch", "description": "attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." }, "attached": { "type": "boolean", "description": "attached 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": "object", "additionalProperties": { "type": "string" }, "description": "attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, 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": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeErrorPatch", "description": "detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "attachError", "attached", "attachmentMetadata", "detachError" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeError": { "description": "VolumeError captures an error encountered during a volume operation.", "properties": { "message": { "type": "string", "description": "message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information." }, "time": { "type": "string", "description": "time represents the time the error was encountered." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "message", "time" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeErrorPatch": { "description": "VolumeError captures an error encountered during a volume operation.", "properties": { "message": { "type": "string", "description": "message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information." }, "time": { "type": "string", "description": "time represents the time the error was encountered." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "message", "time" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeNodeResources": { "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", "properties": { "count": { "type": "integer", "description": "count indicates the 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": "object", "language": { "nodejs": { "requiredOutputs": [ "count" ] } } }, "kubernetes:storage.k8s.io/v1:VolumeNodeResourcesPatch": { "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", "properties": { "count": { "type": "integer", "description": "count indicates the 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": "object", "language": { "nodejs": { "requiredOutputs": [ "count" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachment": { "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSpec", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentStatus", "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentList": { "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachment" }, "description": "Items is the list of VolumeAttachments" }, "kind": { "type": "string", "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", "const": "VolumeAttachmentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentPatch": { "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSpecPatch", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentStatusPatch", "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSource": { "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.", "properties": { "inlineVolumeSpec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpec", "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." }, "persistentVolumeName": { "type": "string", "description": "Name of the persistent volume to attach." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "inlineVolumeSpec", "persistentVolumeName" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSourcePatch": { "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.", "properties": { "inlineVolumeSpec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpecPatch", "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." }, "persistentVolumeName": { "type": "string", "description": "Name of the persistent volume to attach." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "inlineVolumeSpec", "persistentVolumeName" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSpec": { "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", "properties": { "attacher": { "type": "string", "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()." }, "nodeName": { "type": "string", "description": "The node that the volume should be attached to." }, "source": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSource", "description": "Source represents the volume that should be attached." } }, "type": "object", "required": [ "attacher", "nodeName", "source" ], "language": { "nodejs": { "requiredOutputs": [ "attacher", "nodeName", "source" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSpecPatch": { "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", "properties": { "attacher": { "type": "string", "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()." }, "nodeName": { "type": "string", "description": "The node that the volume should be attached to." }, "source": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSourcePatch", "description": "Source represents the volume that should be attached." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "attacher", "nodeName", "source" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentStatus": { "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", "properties": { "attachError": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeError", "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." }, "attached": { "type": "boolean", "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": "object", "additionalProperties": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeError", "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." } }, "type": "object", "required": [ "attached" ], "language": { "nodejs": { "requiredOutputs": [ "attachError", "attached", "attachmentMetadata", "detachError" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentStatusPatch": { "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", "properties": { "attachError": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeErrorPatch", "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." }, "attached": { "type": "boolean", "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": "object", "additionalProperties": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeErrorPatch", "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "attachError", "attached", "attachmentMetadata", "detachError" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttributesClass": { "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "Name of the CSI driver This field is immutable." }, "kind": { "type": "string", "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", "const": "VolumeAttributesClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field." } }, "type": "object", "required": [ "driverName" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parameters" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttributesClassList": { "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttributesClass" }, "description": "items is the list of VolumeAttributesClass objects." }, "kind": { "type": "string", "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", "const": "VolumeAttributesClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttributesClassPatch": { "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "Name of the CSI driver This field is immutable." }, "kind": { "type": "string", "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", "const": "VolumeAttributesClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parameters" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeError": { "description": "VolumeError captures an error encountered during a volume operation.", "properties": { "message": { "type": "string", "description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information." }, "time": { "type": "string", "description": "Time the error was encountered." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "message", "time" ] } } }, "kubernetes:storage.k8s.io/v1alpha1:VolumeErrorPatch": { "description": "VolumeError captures an error encountered during a volume operation.", "properties": { "message": { "type": "string", "description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information." }, "time": { "type": "string", "description": "Time the error was encountered." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "message", "time" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSIDriver": { "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIDriverSpec", "description": "Specification of the CSI Driver." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSIDriverList": { "description": "CSIDriverList is a collection of CSIDriver objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIDriver" }, "description": "items is the list of CSIDriver" }, "kind": { "type": "string", "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", "const": "CSIDriverList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSIDriverPatch": { "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIDriverSpecPatch", "description": "Specification of the CSI Driver." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSIDriverSpec": { "description": "CSIDriverSpec is the specification of a CSIDriver.", "properties": { "attachRequired": { "type": "boolean", "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": "string", "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": "boolean", "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." }, "requiresRepublish": { "type": "boolean", "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.\n\nThis is an alpha feature and only available when the CSIServiceAccountToken feature is enabled." }, "storageCapacity": { "type": "boolean", "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." }, "tokenRequests": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:TokenRequest" }, "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.\n\nThis is an alpha feature and only available when the CSIServiceAccountToken feature is enabled." }, "volumeLifecycleModes": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "attachRequired", "fsGroupPolicy", "podInfoOnMount", "requiresRepublish", "storageCapacity", "tokenRequests", "volumeLifecycleModes" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSIDriverSpecPatch": { "description": "CSIDriverSpec is the specification of a CSIDriver.", "properties": { "attachRequired": { "type": "boolean", "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": "string", "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": "boolean", "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." }, "requiresRepublish": { "type": "boolean", "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.\n\nThis is an alpha feature and only available when the CSIServiceAccountToken feature is enabled." }, "storageCapacity": { "type": "boolean", "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." }, "tokenRequests": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:TokenRequestPatch" }, "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.\n\nThis is an alpha feature and only available when the CSIServiceAccountToken feature is enabled." }, "volumeLifecycleModes": { "type": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "attachRequired", "fsGroupPolicy", "podInfoOnMount", "requiresRepublish", "storageCapacity", "tokenRequests", "volumeLifecycleModes" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSINode": { "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSINodeSpec", "description": "spec is the specification of CSINode" } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSINodeDriver": { "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", "properties": { "allocatable": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeNodeResources", "description": "allocatable represents the volume resources of a node that are available for scheduling." }, "name": { "type": "string", "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": "string", "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": "array", "items": { "type": "string" }, "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": "object", "required": [ "name", "nodeID" ], "language": { "nodejs": { "requiredOutputs": [ "allocatable", "name", "nodeID", "topologyKeys" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSINodeDriverPatch": { "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", "properties": { "allocatable": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeNodeResourcesPatch", "description": "allocatable represents the volume resources of a node that are available for scheduling." }, "name": { "type": "string", "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": "string", "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": "array", "items": { "type": "string" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "allocatable", "name", "nodeID", "topologyKeys" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSINodeList": { "description": "CSINodeList is a collection of CSINode objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSINode" }, "description": "items is the list of CSINode" }, "kind": { "type": "string", "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", "const": "CSINodeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSINodePatch": { "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSINodeSpecPatch", "description": "spec is the specification of CSINode" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSINodeSpec": { "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", "properties": { "drivers": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSINodeDriver" }, "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": "object", "required": [ "drivers" ], "language": { "nodejs": { "requiredOutputs": [ "drivers" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSINodeSpecPatch": { "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", "properties": { "drivers": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSINodeDriverPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "drivers" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSIStorageCapacity": { "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "capacity": { "type": "string", "description": "Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "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": "object", "required": [ "storageClassName" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "capacity", "kind", "maximumVolumeSize", "metadata", "nodeTopology", "storageClassName" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSIStorageCapacityList": { "description": "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIStorageCapacity" }, "description": "Items is the list of CSIStorageCapacity objects." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacityList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1beta1:CSIStorageCapacityPatch": { "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "capacity": { "type": "string", "description": "Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "capacity", "kind", "maximumVolumeSize", "metadata", "nodeTopology", "storageClassName" ] } } }, "kubernetes:storage.k8s.io/v1beta1:StorageClass": { "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "properties": { "allowVolumeExpansion": { "type": "boolean", "description": "AllowVolumeExpansion shows whether the storage class allow volume expand" }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTerm" }, "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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "Provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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": "object", "required": [ "provisioner" ], "language": { "nodejs": { "requiredOutputs": [ "allowVolumeExpansion", "allowedTopologies", "apiVersion", "kind", "metadata", "mountOptions", "parameters", "provisioner", "reclaimPolicy", "volumeBindingMode" ] } } }, "kubernetes:storage.k8s.io/v1beta1:StorageClassList": { "description": "StorageClassList is a collection of storage classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:StorageClass" }, "description": "Items is the list of StorageClasses" }, "kind": { "type": "string", "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", "const": "StorageClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1beta1:StorageClassPatch": { "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "properties": { "allowVolumeExpansion": { "type": "boolean", "description": "AllowVolumeExpansion shows whether the storage class allow volume expand" }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTermPatch" }, "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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "Provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "allowVolumeExpansion", "allowedTopologies", "apiVersion", "kind", "metadata", "mountOptions", "parameters", "provisioner", "reclaimPolicy", "volumeBindingMode" ] } } }, "kubernetes:storage.k8s.io/v1beta1:TokenRequest": { "description": "TokenRequest contains parameters of a service account token.", "properties": { "audience": { "type": "string", "description": "Audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver." }, "expirationSeconds": { "type": "integer", "description": "ExpirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\"" } }, "type": "object", "required": [ "audience" ], "language": { "nodejs": { "requiredOutputs": [ "audience", "expirationSeconds" ] } } }, "kubernetes:storage.k8s.io/v1beta1:TokenRequestPatch": { "description": "TokenRequest contains parameters of a service account token.", "properties": { "audience": { "type": "string", "description": "Audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver." }, "expirationSeconds": { "type": "integer", "description": "ExpirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\"" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "audience", "expirationSeconds" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachment": { "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSpec", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentStatus", "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "required": [ "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentList": { "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachment" }, "description": "Items is the list of VolumeAttachments" }, "kind": { "type": "string", "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", "const": "VolumeAttachmentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentPatch": { "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSpecPatch", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentStatusPatch", "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSource": { "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.", "properties": { "inlineVolumeSpec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpec", "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." }, "persistentVolumeName": { "type": "string", "description": "Name of the persistent volume to attach." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "inlineVolumeSpec", "persistentVolumeName" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSourcePatch": { "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.", "properties": { "inlineVolumeSpec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpecPatch", "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." }, "persistentVolumeName": { "type": "string", "description": "Name of the persistent volume to attach." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "inlineVolumeSpec", "persistentVolumeName" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSpec": { "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", "properties": { "attacher": { "type": "string", "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()." }, "nodeName": { "type": "string", "description": "The node that the volume should be attached to." }, "source": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSource", "description": "Source represents the volume that should be attached." } }, "type": "object", "required": [ "attacher", "nodeName", "source" ], "language": { "nodejs": { "requiredOutputs": [ "attacher", "nodeName", "source" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSpecPatch": { "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", "properties": { "attacher": { "type": "string", "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()." }, "nodeName": { "type": "string", "description": "The node that the volume should be attached to." }, "source": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSourcePatch", "description": "Source represents the volume that should be attached." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "attacher", "nodeName", "source" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentStatus": { "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", "properties": { "attachError": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeError", "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." }, "attached": { "type": "boolean", "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": "object", "additionalProperties": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeError", "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." } }, "type": "object", "required": [ "attached" ], "language": { "nodejs": { "requiredOutputs": [ "attachError", "attached", "attachmentMetadata", "detachError" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentStatusPatch": { "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", "properties": { "attachError": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeErrorPatch", "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." }, "attached": { "type": "boolean", "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": "object", "additionalProperties": { "type": "string" }, "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": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeErrorPatch", "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "attachError", "attached", "attachmentMetadata", "detachError" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeError": { "description": "VolumeError captures an error encountered during a volume operation.", "properties": { "message": { "type": "string", "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": "string", "description": "Time the error was encountered." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "message", "time" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeErrorPatch": { "description": "VolumeError captures an error encountered during a volume operation.", "properties": { "message": { "type": "string", "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": "string", "description": "Time the error was encountered." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "message", "time" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeNodeResources": { "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", "properties": { "count": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "count" ] } } }, "kubernetes:storage.k8s.io/v1beta1:VolumeNodeResourcesPatch": { "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", "properties": { "count": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "count" ] } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:GroupVersionResource": { "description": "The names of the group, the version, and the resource.", "properties": { "group": { "type": "string", "description": "The name of the group." }, "resource": { "type": "string", "description": "The name of the resource." }, "version": { "type": "string", "description": "The name of the version." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "resource", "version" ] } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:GroupVersionResourcePatch": { "description": "The names of the group, the version, and the resource.", "properties": { "group": { "type": "string", "description": "The name of the group." }, "resource": { "type": "string", "description": "The name of the resource." }, "version": { "type": "string", "description": "The name of the version." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "group", "resource", "version" ] } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:MigrationCondition": { "description": "Describes the state of a migration at a certain point.", "properties": { "lastUpdateTime": { "type": "string", "description": "The last time this condition was updated." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of the condition." } }, "type": "object", "required": [ "status", "type" ], "language": { "nodejs": { "requiredOutputs": [ "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:MigrationConditionPatch": { "description": "Describes the state of a migration at a certain point.", "properties": { "lastUpdateTime": { "type": "string", "description": "The last time this condition was updated." }, "message": { "type": "string", "description": "A human readable message indicating details about the transition." }, "reason": { "type": "string", "description": "The reason for the condition's last transition." }, "status": { "type": "string", "description": "Status of the condition, one of True, False, Unknown." }, "type": { "type": "string", "description": "Type of the condition." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "lastUpdateTime", "message", "reason", "status", "type" ] } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigration": { "description": "StorageVersionMigration represents a migration of stored data to the latest storage version.", "properties": { "apiVersion": { "type": "string", "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", "const": "storagemigration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "StorageVersionMigration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationSpec", "description": "Specification of the migration." }, "status": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationStatus", "description": "Status of the migration." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationList": { "description": "StorageVersionMigrationList is a collection of storage version migrations.", "properties": { "apiVersion": { "type": "string", "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", "const": "storagemigration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigration" }, "description": "Items is the list of StorageVersionMigration" }, "kind": { "type": "string", "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", "const": "StorageVersionMigrationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "items" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationPatch": { "description": "StorageVersionMigration represents a migration of stored data to the latest storage version.", "properties": { "apiVersion": { "type": "string", "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", "const": "storagemigration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "StorageVersionMigration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationSpecPatch", "description": "Specification of the migration." }, "status": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationStatusPatch", "description": "Status of the migration." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationSpec": { "description": "Spec of the storage version migration.", "properties": { "continueToken": { "type": "string", "description": "The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration." }, "resource": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:GroupVersionResource", "description": "The resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable." } }, "type": "object", "required": [ "resource" ], "language": { "nodejs": { "requiredOutputs": [ "continueToken", "resource" ] } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationSpecPatch": { "description": "Spec of the storage version migration.", "properties": { "continueToken": { "type": "string", "description": "The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration." }, "resource": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:GroupVersionResourcePatch", "description": "The resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "continueToken", "resource" ] } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationStatus": { "description": "Status of the storage version migration.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:MigrationCondition" }, "description": "The latest available observations of the migration's current state." }, "resourceVersion": { "type": "string", "description": "ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "resourceVersion" ] } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationStatusPatch": { "description": "Status of the storage version migration.", "properties": { "conditions": { "type": "array", "items": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:MigrationConditionPatch" }, "description": "The latest available observations of the migration's current state." }, "resourceVersion": { "type": "string", "description": "ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "conditions", "resourceVersion" ] } } } }, "provider": { "description": "The provider type for the kubernetes package.", "type": "object", "inputProperties": { "cluster": { "type": "string", "description": "If present, the name of the kubeconfig cluster to use." }, "context": { "type": "string", "description": "If present, the name of the kubeconfig context to use." }, "deleteUnreachable": { "type": "boolean", "description": "If present and set to true, the provider will delete resources associated with an unreachable Kubernetes cluster from Pulumi state", "defaultInfo": { "environment": [ "PULUMI_K8S_DELETE_UNREACHABLE" ] } }, "enableConfigMapMutable": { "type": "boolean", "description": "BETA FEATURE - If present and set to true, allow ConfigMaps to be mutated.\nThis feature is in developer preview, and is disabled by default.\n\nThis config can be specified in the following ways using this precedence:\n1. This `enableConfigMapMutable` parameter.\n2. The `PULUMI_K8S_ENABLE_CONFIGMAP_MUTABLE` environment variable.", "defaultInfo": { "environment": [ "PULUMI_K8S_ENABLE_CONFIGMAP_MUTABLE" ] } }, "enableServerSideApply": { "type": "boolean", "description": "If present and set to false, disable Server-Side Apply mode.\nSee https://github.com/pulumi/pulumi-kubernetes/issues/2011 for additional details.", "defaultInfo": { "environment": [ "PULUMI_K8S_ENABLE_SERVER_SIDE_APPLY" ] } }, "helmReleaseSettings": { "$ref": "#/types/kubernetes:index:HelmReleaseSettings", "description": "Options to configure the Helm Release resource." }, "kubeClientSettings": { "$ref": "#/types/kubernetes:index:KubeClientSettings", "description": "Options for tuning the Kubernetes client used by a Provider." }, "kubeconfig": { "type": "string", "description": "The contents of a kubeconfig file or the path to a kubeconfig file.", "defaultInfo": { "environment": [ "KUBECONFIG" ] }, "language": { "csharp": { "name": "KubeConfig" } } }, "namespace": { "type": "string", "description": "If present, the default namespace to use. This flag is ignored for cluster-scoped resources.\n\nA namespace can be specified in multiple places, and the precedence is as follows:\n1. `.metadata.namespace` set on the resource.\n2. This `namespace` parameter.\n3. `namespace` set for the active context in the kubeconfig." }, "renderYamlToDirectory": { "type": "string", "description": "BETA FEATURE - If present, render resource manifests to this directory. In this mode, resources will not\nbe created on a Kubernetes cluster, but the rendered manifests will be kept in sync with changes\nto the Pulumi program. This feature is in developer preview, and is disabled by default.\n\nNote that some computed Outputs such as status fields will not be populated\nsince the resources are not created on a Kubernetes cluster. These Output values will remain undefined,\nand may result in an error if they are referenced by other resources. Also note that any secret values\nused in these resources will be rendered in plaintext to the resulting YAML." }, "skipUpdateUnreachable": { "type": "boolean", "description": "If present and set to true, the provider will skip resources update associated with an unreachable Kubernetes cluster from Pulumi state", "defaultInfo": { "environment": [ "PULUMI_K8S_SKIP_UPDATE_UNREACHABLE" ] } }, "suppressDeprecationWarnings": { "type": "boolean", "description": "If present and set to true, suppress apiVersion deprecation warnings from the CLI.", "defaultInfo": { "environment": [ "PULUMI_K8S_SUPPRESS_DEPRECATION_WARNINGS" ] } }, "suppressHelmHookWarnings": { "type": "boolean", "description": "If present and set to true, suppress unsupported Helm hook warnings from the CLI.", "defaultInfo": { "environment": [ "PULUMI_K8S_SUPPRESS_HELM_HOOK_WARNINGS" ] } } } }, "resources": { "kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration": { "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MutatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "webhooks" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MutatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookConfiguration" } ] }, "kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationList": { "description": "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration" }, "description": "List of MutatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration" }, "description": "List of MutatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookConfigurationPatch" } ] }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy": { "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicySpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyStatus", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicySpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicy" }, { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicy" } ] }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding": { "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingSpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingSpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBinding" }, { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBinding" } ] }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingList": { "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding" }, "description": "List of PolicyBinding." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding" }, "description": "List of PolicyBinding." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingSpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingSpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingPatch" }, { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingPatch" } ] }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyList": { "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy" }, "description": "List of ValidatingAdmissionPolicy." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy" }, "description": "List of ValidatingAdmissionPolicy." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } } }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicySpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyStatusPatch", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicySpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyPatch" }, { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyPatch" } ] }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration": { "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "webhooks" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfiguration" } ] }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfigurationList": { "description": "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration" }, "description": "List of ValidatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration" }, "description": "List of ValidatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfigurationPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfigurationPatch" } ] }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicy": { "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicySpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyStatus", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicySpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy" }, { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicy" } ] }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBinding": { "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingSpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingSpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding" }, { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBinding" } ] }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingList": { "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBinding" }, "description": "List of PolicyBinding." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBinding" }, "description": "List of PolicyBinding." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingSpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingSpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingPatch" }, { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingPatch" } ] }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyList": { "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicy" }, "description": "List of ValidatingAdmissionPolicy." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicy" }, "description": "List of ValidatingAdmissionPolicy." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } } }, "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicySpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyStatusPatch", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicySpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyPatch" }, { "type": "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyPatch" } ] }, "kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookConfiguration": { "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "webhooks" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration" } ] }, "kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookConfigurationList": { "description": "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookConfiguration" }, "description": "List of MutatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookConfiguration" }, "description": "List of MutatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookConfigurationPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "MutatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:MutatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationPatch" } ] }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicy": { "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicySpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyStatus", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicySpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy" }, { "type": "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicy" } ] }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBinding": { "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingSpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingSpec", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding" }, { "type": "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBinding" } ] }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingList": { "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBinding" }, "description": "List of PolicyBinding." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBinding" }, "description": "List of PolicyBinding." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingSpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBindingSpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingPatch" }, { "type": "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingPatch" } ] }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyList": { "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicy" }, "description": "List of ValidatingAdmissionPolicy." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicy" }, "description": "List of ValidatingAdmissionPolicy." }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } } }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicySpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." }, "status": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyStatusPatch", "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingAdmissionPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicySpecPatch", "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyPatch" }, { "type": "kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyPatch" } ] }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfiguration": { "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "webhooks" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhook" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration" } ] }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfigurationList": { "description": "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfiguration" }, "description": "List of ValidatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfiguration" }, "description": "List of ValidatingWebhookConfiguration." }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfigurationPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "webhooks" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "admissionregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ValidatingWebhookConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "webhooks": { "type": "array", "items": { "$ref": "#/types/kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookPatch" }, "description": "Webhooks is a list of webhooks and the affected resources and operations." } }, "aliases": [ { "type": "kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfigurationPatch" } ] }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinition": { "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionSpec", "description": "spec describes how the user wants the resources to appear" }, "status": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionStatus", "description": "status indicates the actual state of the CustomResourceDefinition" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionSpec", "description": "spec describes how the user wants the resources to appear" } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinition" } ] }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionList": { "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinition" }, "description": "items list individual CustomResourceDefinition objects" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinitionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinition" }, "description": "items list individual CustomResourceDefinition objects" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinitionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionSpecPatch", "description": "spec describes how the user wants the resources to appear" }, "status": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionStatusPatch", "description": "status indicates the actual state of the CustomResourceDefinition" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionSpecPatch", "description": "spec describes how the user wants the resources to appear" } }, "aliases": [ { "type": "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionPatch" } ] }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinition": { "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionSpec", "description": "spec describes how the user wants the resources to appear" }, "status": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionStatus", "description": "status indicates the actual state of the CustomResourceDefinition" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionSpec", "description": "spec describes how the user wants the resources to appear" } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinition" } ] }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionList": { "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinition" }, "description": "items list individual CustomResourceDefinition objects" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinitionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinition" }, "description": "items list individual CustomResourceDefinition objects" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinitionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "requiredInputs": [ "items" ] }, "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionSpecPatch", "description": "spec describes how the user wants the resources to appear" }, "status": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionStatusPatch", "description": "status indicates the actual state of the CustomResourceDefinition" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiextensions.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CustomResourceDefinition" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionSpecPatch", "description": "spec describes how the user wants the resources to appear" } }, "aliases": [ { "type": "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionPatch" } ] }, "kubernetes:apiextensions.k8s.io:CustomResource": { "description": "CustomResource represents an instance of a CustomResourceDefinition (CRD). For example, the\n CoreOS Prometheus operator exposes a CRD `monitoring.coreos.com/ServiceMonitor`; to\n instantiate this as a Pulumi resource, one could call `new CustomResource`, passing the\n `ServiceMonitor` resource definition as an argument.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." } }, "type": "object", "required": [ "apiVersion", "kind" ], "isOverlay": true, "inputProperties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "others": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, "description": "This field is not an actual property. It is used to represent custom property names and their values that can be passed in addition to the other input properties." } }, "requiredInputs": [ "apiVersion", "kind" ] }, "kubernetes:apiextensions.k8s.io:CustomResourcePatch": { "description": "CustomResourcePatch represents an instance of a CustomResourceDefinition (CRD). For example, the\n CoreOS Prometheus operator exposes a CRD `monitoring.coreos.com/ServiceMonitor`; to\n instantiate this as a Pulumi resource, one could call `new CustomResourcePatch`, passing the\n `ServiceMonitor` resource definition as an argument.", "properties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." } }, "type": "object", "required": [ "apiVersion", "kind" ], "isOverlay": true, "inputProperties": { "apiVersion": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "others": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, "description": "This field is not an actual property. It is used to represent custom property names and their values that can be passed in addition to the other input properties." } }, "requiredInputs": [ "apiVersion", "kind" ] }, "kubernetes:apiregistration.k8s.io/v1:APIService": { "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceSpec", "description": "Spec contains information for locating and communicating with a server" }, "status": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceStatus", "description": "Status contains derived information about an API server" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceSpec", "description": "Spec contains information for locating and communicating with a server" } }, "aliases": [ { "type": "kubernetes:apiregistration.k8s.io/v1beta1:APIService" }, { "type": "kubernetes:apiregistration/v1beta1:APIService" }, { "type": "kubernetes:apiregistration/v1:APIService" } ] }, "kubernetes:apiregistration.k8s.io/v1:APIServiceList": { "description": "APIServiceList is a list of APIService objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIService" }, "description": "Items is the list of APIService" }, "kind": { "type": "string", "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", "const": "APIServiceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIService" }, "description": "Items is the list of APIService" }, "kind": { "type": "string", "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", "const": "APIServiceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ], "aliases": [ { "type": "kubernetes:apiregistration/v1:APIServiceList" } ] }, "kubernetes:apiregistration.k8s.io/v1:APIServicePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nAPIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceSpecPatch", "description": "Spec contains information for locating and communicating with a server" }, "status": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceStatusPatch", "description": "Status contains derived information about an API server" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1:APIServiceSpecPatch", "description": "Spec contains information for locating and communicating with a server" } }, "aliases": [ { "type": "kubernetes:apiregistration.k8s.io/v1beta1:APIServicePatch" }, { "type": "kubernetes:apiregistration/v1beta1:APIServicePatch" }, { "type": "kubernetes:apiregistration/v1:APIServicePatch" } ] }, "kubernetes:apiregistration.k8s.io/v1beta1:APIService": { "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceSpec", "description": "Spec contains information for locating and communicating with a server" }, "status": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceStatus", "description": "Status contains derived information about an API server" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceSpec", "description": "Spec contains information for locating and communicating with a server" } }, "aliases": [ { "type": "kubernetes:apiregistration.k8s.io/v1:APIService" }, { "type": "kubernetes:apiregistration/v1:APIService" }, { "type": "kubernetes:apiregistration/v1beta1:APIService" } ] }, "kubernetes:apiregistration.k8s.io/v1beta1:APIServiceList": { "description": "APIServiceList is a list of APIService objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIService" } }, "kind": { "type": "string", "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", "const": "APIServiceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIService" } }, "kind": { "type": "string", "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", "const": "APIServiceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "requiredInputs": [ "items" ], "aliases": [ { "type": "kubernetes:apiregistration/v1beta1:APIServiceList" } ] }, "kubernetes:apiregistration.k8s.io/v1beta1:APIServicePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nAPIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceSpecPatch", "description": "Spec contains information for locating and communicating with a server" }, "status": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceStatusPatch", "description": "Status contains derived information about an API server" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apiregistration.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "APIService" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apiregistration.k8s.io/v1beta1:APIServiceSpecPatch", "description": "Spec contains information for locating and communicating with a server" } }, "aliases": [ { "type": "kubernetes:apiregistration.k8s.io/v1:APIServicePatch" }, { "type": "kubernetes:apiregistration/v1:APIServicePatch" }, { "type": "kubernetes:apiregistration/v1beta1:APIServicePatch" } ] }, "kubernetes:apps/v1:ControllerRevision": { "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "required": [ "apiVersion", "data", "kind", "metadata", "revision" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "requiredInputs": [ "revision" ], "aliases": [ { "type": "kubernetes:apps/v1beta1:ControllerRevision" }, { "type": "kubernetes:apps/v1beta2:ControllerRevision" } ] }, "kubernetes:apps/v1:ControllerRevisionList": { "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:ControllerRevision" }, "description": "Items is the list of ControllerRevisions" }, "kind": { "type": "string", "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", "const": "ControllerRevisionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:ControllerRevision" }, "description": "Items is the list of ControllerRevisions" }, "kind": { "type": "string", "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", "const": "ControllerRevisionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1:ControllerRevisionPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "aliases": [ { "type": "kubernetes:apps/v1beta1:ControllerRevisionPatch" }, { "type": "kubernetes:apps/v1beta2:ControllerRevisionPatch" } ] }, "kubernetes:apps/v1:DaemonSet": { "description": "DaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetSpec", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetStatus", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetSpec", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1beta2:DaemonSet" }, { "type": "kubernetes:extensions/v1beta1:DaemonSet" } ] }, "kubernetes:apps/v1:DaemonSetList": { "description": "DaemonSetList is a collection of daemon sets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:DaemonSet" }, "description": "A list of daemon sets." }, "kind": { "type": "string", "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", "const": "DaemonSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:DaemonSet" }, "description": "A list of daemon sets." }, "kind": { "type": "string", "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", "const": "DaemonSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1:DaemonSetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nDaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetSpecPatch", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetStatusPatch", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DaemonSetSpecPatch", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1beta2:DaemonSetPatch" }, { "type": "kubernetes:extensions/v1beta1:DaemonSetPatch" } ] }, "kubernetes:apps/v1:Deployment": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a Deployment with auto-naming\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst deployment = new kubernetes.apps.v1.Deployment(\"deployment\", {\n metadata: {\n labels: {\n app: \"nginx\",\n },\n },\n spec: {\n replicas: 3,\n selector: {\n matchLabels: {\n app: \"nginx\",\n },\n },\n template: {\n metadata: {\n labels: {\n app: \"nginx\",\n },\n },\n spec: {\n containers: [{\n image: \"nginx:1.14.2\",\n name: \"nginx\",\n ports: [{\n containerPort: 80,\n }],\n }],\n },\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\ndeployment = kubernetes.apps.v1.Deployment(\"deployment\",\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n labels={\n \"app\": \"nginx\",\n },\n ),\n spec=kubernetes.apps.v1.DeploymentSpecArgs(\n replicas=3,\n selector=kubernetes.meta.v1.LabelSelectorArgs(\n match_labels={\n \"app\": \"nginx\",\n },\n ),\n template=kubernetes.core.v1.PodTemplateSpecArgs(\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n labels={\n \"app\": \"nginx\",\n },\n ),\n spec=kubernetes.core.v1.PodSpecArgs(\n containers=[kubernetes.core.v1.ContainerArgs(\n image=\"nginx:1.14.2\",\n name=\"nginx\",\n ports=[kubernetes.core.v1.ContainerPortArgs(\n container_port=80,\n )],\n )],\n ),\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var deployment = new Kubernetes.Apps.V1.Deployment(\"deployment\", new()\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Labels = \n {\n { \"app\", \"nginx\" },\n },\n },\n Spec = new Kubernetes.Types.Inputs.Apps.V1.DeploymentSpecArgs\n {\n Replicas = 3,\n Selector = new Kubernetes.Types.Inputs.Meta.V1.LabelSelectorArgs\n {\n MatchLabels = \n {\n { \"app\", \"nginx\" },\n },\n },\n Template = new Kubernetes.Types.Inputs.Core.V1.PodTemplateSpecArgs\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Labels = \n {\n { \"app\", \"nginx\" },\n },\n },\n Spec = new Kubernetes.Types.Inputs.Core.V1.PodSpecArgs\n {\n Containers = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerArgs\n {\n Image = \"nginx:1.14.2\",\n Name = \"nginx\",\n Ports = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerPortArgs\n {\n ContainerPortValue = 80,\n },\n },\n },\n },\n },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tappsv1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apps/v1\"\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\tmetav1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appsv1.NewDeployment(ctx, \"deployment\", &appsv1.DeploymentArgs{\n\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tSpec: &appsv1.DeploymentSpecArgs{\n\t\t\t\tReplicas: pulumi.Int(3),\n\t\t\t\tSelector: &metav1.LabelSelectorArgs{\n\t\t\t\t\tMatchLabels: pulumi.StringMap{\n\t\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tTemplate: &corev1.PodTemplateSpecArgs{\n\t\t\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tSpec: &corev1.PodSpecArgs{\n\t\t\t\t\t\tContainers: corev1.ContainerArray{\n\t\t\t\t\t\t\t&corev1.ContainerArgs{\n\t\t\t\t\t\t\t\tImage: pulumi.String(\"nginx:1.14.2\"),\n\t\t\t\t\t\t\t\tName: pulumi.String(\"nginx\"),\n\t\t\t\t\t\t\t\tPorts: corev1.ContainerPortArray{\n\t\t\t\t\t\t\t\t\t&corev1.ContainerPortArgs{\n\t\t\t\t\t\t\t\t\t\tContainerPort: pulumi.Int(80),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.apps_v1.Deployment;\nimport com.pulumi.kubernetes.apps_v1.DeploymentArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.ObjectMetaArgs;\nimport com.pulumi.kubernetes.apps_v1.inputs.DeploymentSpecArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.LabelSelectorArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodTemplateSpecArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var deployment = new Deployment(\"deployment\", DeploymentArgs.builder() \n .metadata(ObjectMetaArgs.builder()\n .labels(Map.of(\"app\", \"nginx\"))\n .build())\n .spec(DeploymentSpecArgs.builder()\n .replicas(3)\n .selector(LabelSelectorArgs.builder()\n .matchLabels(Map.of(\"app\", \"nginx\"))\n .build())\n .template(PodTemplateSpecArgs.builder()\n .metadata(ObjectMetaArgs.builder()\n .labels(Map.of(\"app\", \"nginx\"))\n .build())\n .spec(PodSpecArgs.builder()\n .containers(ContainerArgs.builder()\n .image(\"nginx:1.14.2\")\n .name(\"nginx\")\n .ports(ContainerPortArgs.builder()\n .containerPort(80)\n .build())\n .build())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create a Deployment with auto-naming\nname: yaml-example\nresources:\n deployment:\n properties:\n metadata:\n labels:\n app: nginx\n spec:\n replicas: 3\n selector:\n matchLabels:\n app: nginx\n template:\n metadata:\n labels:\n app: nginx\n spec:\n containers:\n - image: nginx:1.14.2\n name: nginx\n ports:\n - containerPort: 80\n type: kubernetes:apps/v1:Deployment\nruntime: yaml\n```\n{{% /example %}}\n{{% example %}}\n### Create a Deployment with a user-specified name\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst deployment = new kubernetes.apps.v1.Deployment(\"deployment\", {\n metadata: {\n labels: {\n app: \"nginx\",\n },\n name: \"nginx-deployment\",\n },\n spec: {\n replicas: 3,\n selector: {\n matchLabels: {\n app: \"nginx\",\n },\n },\n template: {\n metadata: {\n labels: {\n app: \"nginx\",\n },\n },\n spec: {\n containers: [{\n image: \"nginx:1.14.2\",\n name: \"nginx\",\n ports: [{\n containerPort: 80,\n }],\n }],\n },\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\ndeployment = kubernetes.apps.v1.Deployment(\"deployment\",\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n labels={\n \"app\": \"nginx\",\n },\n name=\"nginx-deployment\",\n ),\n spec=kubernetes.apps.v1.DeploymentSpecArgs(\n replicas=3,\n selector=kubernetes.meta.v1.LabelSelectorArgs(\n match_labels={\n \"app\": \"nginx\",\n },\n ),\n template=kubernetes.core.v1.PodTemplateSpecArgs(\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n labels={\n \"app\": \"nginx\",\n },\n ),\n spec=kubernetes.core.v1.PodSpecArgs(\n containers=[kubernetes.core.v1.ContainerArgs(\n image=\"nginx:1.14.2\",\n name=\"nginx\",\n ports=[kubernetes.core.v1.ContainerPortArgs(\n container_port=80,\n )],\n )],\n ),\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var deployment = new Kubernetes.Apps.V1.Deployment(\"deployment\", new()\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Labels = \n {\n { \"app\", \"nginx\" },\n },\n Name = \"nginx-deployment\",\n },\n Spec = new Kubernetes.Types.Inputs.Apps.V1.DeploymentSpecArgs\n {\n Replicas = 3,\n Selector = new Kubernetes.Types.Inputs.Meta.V1.LabelSelectorArgs\n {\n MatchLabels = \n {\n { \"app\", \"nginx\" },\n },\n },\n Template = new Kubernetes.Types.Inputs.Core.V1.PodTemplateSpecArgs\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Labels = \n {\n { \"app\", \"nginx\" },\n },\n },\n Spec = new Kubernetes.Types.Inputs.Core.V1.PodSpecArgs\n {\n Containers = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerArgs\n {\n Image = \"nginx:1.14.2\",\n Name = \"nginx\",\n Ports = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerPortArgs\n {\n ContainerPortValue = 80,\n },\n },\n },\n },\n },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tappsv1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apps/v1\"\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\tmetav1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appsv1.NewDeployment(ctx, \"deployment\", &appsv1.DeploymentArgs{\n\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t},\n\t\t\t\tName: pulumi.String(\"nginx-deployment\"),\n\t\t\t},\n\t\t\tSpec: &appsv1.DeploymentSpecArgs{\n\t\t\t\tReplicas: pulumi.Int(3),\n\t\t\t\tSelector: &metav1.LabelSelectorArgs{\n\t\t\t\t\tMatchLabels: pulumi.StringMap{\n\t\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tTemplate: &corev1.PodTemplateSpecArgs{\n\t\t\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tSpec: &corev1.PodSpecArgs{\n\t\t\t\t\t\tContainers: corev1.ContainerArray{\n\t\t\t\t\t\t\t&corev1.ContainerArgs{\n\t\t\t\t\t\t\t\tImage: pulumi.String(\"nginx:1.14.2\"),\n\t\t\t\t\t\t\t\tName: pulumi.String(\"nginx\"),\n\t\t\t\t\t\t\t\tPorts: corev1.ContainerPortArray{\n\t\t\t\t\t\t\t\t\t&corev1.ContainerPortArgs{\n\t\t\t\t\t\t\t\t\t\tContainerPort: pulumi.Int(80),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.apps_v1.Deployment;\nimport com.pulumi.kubernetes.apps_v1.DeploymentArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.ObjectMetaArgs;\nimport com.pulumi.kubernetes.apps_v1.inputs.DeploymentSpecArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.LabelSelectorArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodTemplateSpecArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var deployment = new Deployment(\"deployment\", DeploymentArgs.builder() \n .metadata(ObjectMetaArgs.builder()\n .labels(Map.of(\"app\", \"nginx\"))\n .name(\"nginx-deployment\")\n .build())\n .spec(DeploymentSpecArgs.builder()\n .replicas(3)\n .selector(LabelSelectorArgs.builder()\n .matchLabels(Map.of(\"app\", \"nginx\"))\n .build())\n .template(PodTemplateSpecArgs.builder()\n .metadata(ObjectMetaArgs.builder()\n .labels(Map.of(\"app\", \"nginx\"))\n .build())\n .spec(PodSpecArgs.builder()\n .containers(ContainerArgs.builder()\n .image(\"nginx:1.14.2\")\n .name(\"nginx\")\n .ports(ContainerPortArgs.builder()\n .containerPort(80)\n .build())\n .build())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create a Deployment with a user-specified name\nname: yaml-example\nresources:\n deployment:\n properties:\n metadata:\n labels:\n app: nginx\n name: nginx-deployment\n spec:\n replicas: 3\n selector:\n matchLabels:\n app: nginx\n template:\n metadata:\n labels:\n app: nginx\n spec:\n containers:\n - image: nginx:1.14.2\n name: nginx\n ports:\n - containerPort: 80\n type: kubernetes:apps/v1:Deployment\nruntime: yaml\n```\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1:DeploymentStatus", "description": "Most recently observed status of the Deployment." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." } }, "aliases": [ { "type": "kubernetes:apps/v1beta1:Deployment" }, { "type": "kubernetes:apps/v1beta2:Deployment" }, { "type": "kubernetes:extensions/v1beta1:Deployment" } ] }, "kubernetes:apps/v1:DeploymentList": { "description": "DeploymentList is a list of Deployments.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1:DeploymentPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nDeployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1:DeploymentStatusPatch", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." } }, "aliases": [ { "type": "kubernetes:apps/v1beta1:DeploymentPatch" }, { "type": "kubernetes:apps/v1beta2:DeploymentPatch" }, { "type": "kubernetes:extensions/v1beta1:DeploymentPatch" } ] }, "kubernetes:apps/v1:ReplicaSet": { "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetSpec", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetStatus", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetSpec", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1beta2:ReplicaSet" }, { "type": "kubernetes:extensions/v1beta1:ReplicaSet" } ] }, "kubernetes:apps/v1:ReplicaSetList": { "description": "ReplicaSetList is a collection of ReplicaSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSet" }, "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicaSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSet" }, "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicaSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1:ReplicaSetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetSpecPatch", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetStatusPatch", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:ReplicaSetSpecPatch", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1beta2:ReplicaSetPatch" }, { "type": "kubernetes:extensions/v1beta1:ReplicaSetPatch" } ] }, "kubernetes:apps/v1:StatefulSet": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a StatefulSet with auto-naming\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst service = new kubernetes.core.v1.Service(\"service\", {\n metadata: {\n labels: {\n app: \"nginx\",\n },\n },\n spec: {\n clusterIP: \"None\",\n ports: [{\n name: \"web\",\n port: 80,\n }],\n selector: {\n app: \"nginx\",\n },\n },\n});\nconst statefulset = new kubernetes.apps.v1.StatefulSet(\"statefulset\", {spec: {\n replicas: 3,\n selector: {\n matchLabels: {\n app: \"nginx\",\n },\n },\n serviceName: service.metadata.apply(metadata => metadata?.name),\n template: {\n metadata: {\n labels: {\n app: \"nginx\",\n },\n },\n spec: {\n containers: [{\n image: \"nginx:stable-alpine3.17-slim\",\n name: \"nginx\",\n ports: [{\n containerPort: 80,\n name: \"web\",\n }],\n volumeMounts: [{\n mountPath: \"/usr/share/nginx/html\",\n name: \"www\",\n }],\n }],\n terminationGracePeriodSeconds: 10,\n },\n },\n volumeClaimTemplates: [{\n metadata: {\n name: \"www\",\n },\n spec: {\n accessModes: [\"ReadWriteOnce\"],\n resources: {\n requests: {\n storage: \"1Gi\",\n },\n },\n },\n }],\n}});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\nservice = kubernetes.core.v1.Service(\"service\",\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n labels={\n \"app\": \"nginx\",\n },\n ),\n spec=kubernetes.core.v1.ServiceSpecArgs(\n cluster_ip=\"None\",\n ports=[kubernetes.core.v1.ServicePortArgs(\n name=\"web\",\n port=80,\n )],\n selector={\n \"app\": \"nginx\",\n },\n ))\nstatefulset = kubernetes.apps.v1.StatefulSet(\"statefulset\", spec=kubernetes.apps.v1.StatefulSetSpecArgs(\n replicas=3,\n selector=kubernetes.meta.v1.LabelSelectorArgs(\n match_labels={\n \"app\": \"nginx\",\n },\n ),\n service_name=service.metadata.name,\n template=kubernetes.core.v1.PodTemplateSpecArgs(\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n labels={\n \"app\": \"nginx\",\n },\n ),\n spec=kubernetes.core.v1.PodSpecArgs(\n containers=[kubernetes.core.v1.ContainerArgs(\n image=\"nginx:stable-alpine3.17-slim\",\n name=\"nginx\",\n ports=[kubernetes.core.v1.ContainerPortArgs(\n container_port=80,\n name=\"web\",\n )],\n volume_mounts=[kubernetes.core.v1.VolumeMountArgs(\n mount_path=\"/usr/share/nginx/html\",\n name=\"www\",\n )],\n )],\n termination_grace_period_seconds=10,\n ),\n ),\n volume_claim_templates=[kubernetes.core.v1.PersistentVolumeClaimArgs(\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n name=\"www\",\n ),\n spec=kubernetes.core.v1.PersistentVolumeClaimSpecArgs(\n access_modes=[\"ReadWriteOnce\"],\n resources=kubernetes.core.v1.ResourceRequirementsArgs(\n requests={\n \"storage\": \"1Gi\",\n },\n ),\n ),\n )],\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var service = new Kubernetes.Core.V1.Service(\"service\", new()\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Labels = \n {\n { \"app\", \"nginx\" },\n },\n },\n Spec = new Kubernetes.Types.Inputs.Core.V1.ServiceSpecArgs\n {\n ClusterIP = \"None\",\n Ports = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ServicePortArgs\n {\n Name = \"web\",\n Port = 80,\n },\n },\n Selector = \n {\n { \"app\", \"nginx\" },\n },\n },\n });\n\n var statefulset = new Kubernetes.Apps.V1.StatefulSet(\"statefulset\", new()\n {\n Spec = new Kubernetes.Types.Inputs.Apps.V1.StatefulSetSpecArgs\n {\n Replicas = 3,\n Selector = new Kubernetes.Types.Inputs.Meta.V1.LabelSelectorArgs\n {\n MatchLabels = \n {\n { \"app\", \"nginx\" },\n },\n },\n ServiceName = service.Metadata.Apply(metadata => metadata?.Name),\n Template = new Kubernetes.Types.Inputs.Core.V1.PodTemplateSpecArgs\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Labels = \n {\n { \"app\", \"nginx\" },\n },\n },\n Spec = new Kubernetes.Types.Inputs.Core.V1.PodSpecArgs\n {\n Containers = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerArgs\n {\n Image = \"nginx:stable-alpine3.17-slim\",\n Name = \"nginx\",\n Ports = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerPortArgs\n {\n ContainerPortValue = 80,\n Name = \"web\",\n },\n },\n VolumeMounts = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.VolumeMountArgs\n {\n MountPath = \"/usr/share/nginx/html\",\n Name = \"www\",\n },\n },\n },\n },\n TerminationGracePeriodSeconds = 10,\n },\n },\n VolumeClaimTemplates = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.PersistentVolumeClaimArgs\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Name = \"www\",\n },\n Spec = new Kubernetes.Types.Inputs.Core.V1.PersistentVolumeClaimSpecArgs\n {\n AccessModes = new[]\n {\n \"ReadWriteOnce\",\n },\n Resources = new Kubernetes.Types.Inputs.Core.V1.ResourceRequirementsArgs\n {\n Requests = \n {\n { \"storage\", \"1Gi\" },\n },\n },\n },\n },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tappsv1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apps/v1\"\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\tmetav1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tservice, err := corev1.NewService(ctx, \"service\", &corev1.ServiceArgs{\n\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tSpec: &corev1.ServiceSpecArgs{\n\t\t\t\tClusterIP: pulumi.String(\"None\"),\n\t\t\t\tPorts: corev1.ServicePortArray{\n\t\t\t\t\t&corev1.ServicePortArgs{\n\t\t\t\t\t\tName: pulumi.String(\"web\"),\n\t\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSelector: pulumi.StringMap{\n\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appsv1.NewStatefulSet(ctx, \"statefulset\", &appsv1.StatefulSetArgs{\n\t\t\tSpec: &appsv1.StatefulSetSpecArgs{\n\t\t\t\tReplicas: pulumi.Int(3),\n\t\t\t\tSelector: &metav1.LabelSelectorArgs{\n\t\t\t\t\tMatchLabels: pulumi.StringMap{\n\t\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tServiceName: service.Metadata.ApplyT(func(metadata metav1.ObjectMeta) (*string, error) {\n\t\t\t\t\treturn &metadata.Name, nil\n\t\t\t\t}).(pulumi.StringPtrOutput),\n\t\t\t\tTemplate: &corev1.PodTemplateSpecArgs{\n\t\t\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tSpec: &corev1.PodSpecArgs{\n\t\t\t\t\t\tContainers: corev1.ContainerArray{\n\t\t\t\t\t\t\t&corev1.ContainerArgs{\n\t\t\t\t\t\t\t\tImage: pulumi.String(\"nginx:stable-alpine3.17-slim\"),\n\t\t\t\t\t\t\t\tName: pulumi.String(\"nginx\"),\n\t\t\t\t\t\t\t\tPorts: corev1.ContainerPortArray{\n\t\t\t\t\t\t\t\t\t&corev1.ContainerPortArgs{\n\t\t\t\t\t\t\t\t\t\tContainerPort: pulumi.Int(80),\n\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"web\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tVolumeMounts: corev1.VolumeMountArray{\n\t\t\t\t\t\t\t\t\t&corev1.VolumeMountArgs{\n\t\t\t\t\t\t\t\t\t\tMountPath: pulumi.String(\"/usr/share/nginx/html\"),\n\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"www\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tTerminationGracePeriodSeconds: pulumi.Int(10),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tVolumeClaimTemplates: []corev1.PersistentVolumeClaimTypeArgs{\n\t\t\t\t\t{\n\t\t\t\t\t\tMetadata: {\n\t\t\t\t\t\t\tName: pulumi.String(\"www\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tSpec: {\n\t\t\t\t\t\t\tAccessModes: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"ReadWriteOnce\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tResources: {\n\t\t\t\t\t\t\t\tRequests: {\n\t\t\t\t\t\t\t\t\t\"storage\": pulumi.String(\"1Gi\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.core_v1.Service;\nimport com.pulumi.kubernetes.core_v1.ServiceArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.ObjectMetaArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.ServiceSpecArgs;\nimport com.pulumi.kubernetes.apps_v1.StatefulSet;\nimport com.pulumi.kubernetes.apps_v1.StatefulSetArgs;\nimport com.pulumi.kubernetes.apps_v1.inputs.StatefulSetSpecArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.LabelSelectorArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodTemplateSpecArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var service = new Service(\"service\", ServiceArgs.builder() \n .metadata(ObjectMetaArgs.builder()\n .labels(Map.of(\"app\", \"nginx\"))\n .build())\n .spec(ServiceSpecArgs.builder()\n .clusterIP(\"None\")\n .ports(ServicePortArgs.builder()\n .name(\"web\")\n .port(80)\n .build())\n .selector(Map.of(\"app\", \"nginx\"))\n .build())\n .build());\n\n var statefulset = new StatefulSet(\"statefulset\", StatefulSetArgs.builder() \n .spec(StatefulSetSpecArgs.builder()\n .replicas(3)\n .selector(LabelSelectorArgs.builder()\n .matchLabels(Map.of(\"app\", \"nginx\"))\n .build())\n .serviceName(service.metadata().applyValue(metadata -> metadata.name()))\n .template(PodTemplateSpecArgs.builder()\n .metadata(ObjectMetaArgs.builder()\n .labels(Map.of(\"app\", \"nginx\"))\n .build())\n .spec(PodSpecArgs.builder()\n .containers(ContainerArgs.builder()\n .image(\"nginx:stable-alpine3.17-slim\")\n .name(\"nginx\")\n .ports(ContainerPortArgs.builder()\n .containerPort(80)\n .name(\"web\")\n .build())\n .volumeMounts(VolumeMountArgs.builder()\n .mountPath(\"/usr/share/nginx/html\")\n .name(\"www\")\n .build())\n .build())\n .terminationGracePeriodSeconds(10)\n .build())\n .build())\n .volumeClaimTemplates(PersistentVolumeClaimArgs.builder()\n .metadata(ObjectMetaArgs.builder()\n .name(\"www\")\n .build())\n .spec(PersistentVolumeClaimSpecArgs.builder()\n .accessModes(\"ReadWriteOnce\")\n .resources(ResourceRequirementsArgs.builder()\n .requests(Map.of(\"storage\", \"1Gi\"))\n .build())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create a StatefulSet with auto-naming\nname: yaml-example\nresources:\n service:\n properties:\n metadata:\n labels:\n app: nginx\n spec:\n clusterIP: None\n ports:\n - name: web\n port: 80\n selector:\n app: nginx\n type: kubernetes:core/v1:Service\n statefulset:\n properties:\n spec:\n replicas: 3\n selector:\n matchLabels:\n app: nginx\n serviceName: ${service.metadata.name}\n template:\n metadata:\n labels:\n app: nginx\n spec:\n containers:\n - image: nginx:stable-alpine3.17-slim\n name: nginx\n ports:\n - containerPort: 80\n name: web\n volumeMounts:\n - mountPath: /usr/share/nginx/html\n name: www\n terminationGracePeriodSeconds: 10\n volumeClaimTemplates:\n - metadata:\n name: www\n spec:\n accessModes:\n - ReadWriteOnce\n resources:\n requests:\n storage: 1Gi\n type: kubernetes:apps/v1:StatefulSet\nruntime: yaml\n```\n{{% /example %}}\n{{% example %}}\n### Create a StatefulSet with a user-specified name\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst service = new kubernetes.core.v1.Service(\"service\", {\n metadata: {\n labels: {\n app: \"nginx\",\n },\n name: \"nginx\",\n },\n spec: {\n clusterIP: \"None\",\n ports: [{\n name: \"web\",\n port: 80,\n }],\n selector: {\n app: \"nginx\",\n },\n },\n});\nconst statefulset = new kubernetes.apps.v1.StatefulSet(\"statefulset\", {\n metadata: {\n name: \"web\",\n },\n spec: {\n replicas: 3,\n selector: {\n matchLabels: {\n app: \"nginx\",\n },\n },\n serviceName: service.metadata.apply(metadata => metadata?.name),\n template: {\n metadata: {\n labels: {\n app: \"nginx\",\n },\n },\n spec: {\n containers: [{\n image: \"nginx:stable-alpine3.17-slim\",\n name: \"nginx\",\n ports: [{\n containerPort: 80,\n name: \"web\",\n }],\n volumeMounts: [{\n mountPath: \"/usr/share/nginx/html\",\n name: \"www\",\n }],\n }],\n terminationGracePeriodSeconds: 10,\n },\n },\n volumeClaimTemplates: [{\n metadata: {\n name: \"www\",\n },\n spec: {\n accessModes: [\"ReadWriteOnce\"],\n resources: {\n requests: {\n storage: \"1Gi\",\n },\n },\n },\n }],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\nservice = kubernetes.core.v1.Service(\"service\",\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n labels={\n \"app\": \"nginx\",\n },\n name=\"nginx\",\n ),\n spec=kubernetes.core.v1.ServiceSpecArgs(\n cluster_ip=\"None\",\n ports=[kubernetes.core.v1.ServicePortArgs(\n name=\"web\",\n port=80,\n )],\n selector={\n \"app\": \"nginx\",\n },\n ))\nstatefulset = kubernetes.apps.v1.StatefulSet(\"statefulset\",\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n name=\"web\",\n ),\n spec=kubernetes.apps.v1.StatefulSetSpecArgs(\n replicas=3,\n selector=kubernetes.meta.v1.LabelSelectorArgs(\n match_labels={\n \"app\": \"nginx\",\n },\n ),\n service_name=service.metadata.name,\n template=kubernetes.core.v1.PodTemplateSpecArgs(\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n labels={\n \"app\": \"nginx\",\n },\n ),\n spec=kubernetes.core.v1.PodSpecArgs(\n containers=[kubernetes.core.v1.ContainerArgs(\n image=\"nginx:stable-alpine3.17-slim\",\n name=\"nginx\",\n ports=[kubernetes.core.v1.ContainerPortArgs(\n container_port=80,\n name=\"web\",\n )],\n volume_mounts=[kubernetes.core.v1.VolumeMountArgs(\n mount_path=\"/usr/share/nginx/html\",\n name=\"www\",\n )],\n )],\n termination_grace_period_seconds=10,\n ),\n ),\n volume_claim_templates=[kubernetes.core.v1.PersistentVolumeClaimArgs(\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n name=\"www\",\n ),\n spec=kubernetes.core.v1.PersistentVolumeClaimSpecArgs(\n access_modes=[\"ReadWriteOnce\"],\n resources=kubernetes.core.v1.ResourceRequirementsArgs(\n requests={\n \"storage\": \"1Gi\",\n },\n ),\n ),\n )],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var service = new Kubernetes.Core.V1.Service(\"service\", new()\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Labels = \n {\n { \"app\", \"nginx\" },\n },\n Name = \"nginx\",\n },\n Spec = new Kubernetes.Types.Inputs.Core.V1.ServiceSpecArgs\n {\n ClusterIP = \"None\",\n Ports = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ServicePortArgs\n {\n Name = \"web\",\n Port = 80,\n },\n },\n Selector = \n {\n { \"app\", \"nginx\" },\n },\n },\n });\n\n var statefulset = new Kubernetes.Apps.V1.StatefulSet(\"statefulset\", new()\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Name = \"web\",\n },\n Spec = new Kubernetes.Types.Inputs.Apps.V1.StatefulSetSpecArgs\n {\n Replicas = 3,\n Selector = new Kubernetes.Types.Inputs.Meta.V1.LabelSelectorArgs\n {\n MatchLabels = \n {\n { \"app\", \"nginx\" },\n },\n },\n ServiceName = service.Metadata.Apply(metadata => metadata?.Name),\n Template = new Kubernetes.Types.Inputs.Core.V1.PodTemplateSpecArgs\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Labels = \n {\n { \"app\", \"nginx\" },\n },\n },\n Spec = new Kubernetes.Types.Inputs.Core.V1.PodSpecArgs\n {\n Containers = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerArgs\n {\n Image = \"nginx:stable-alpine3.17-slim\",\n Name = \"nginx\",\n Ports = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerPortArgs\n {\n ContainerPortValue = 80,\n Name = \"web\",\n },\n },\n VolumeMounts = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.VolumeMountArgs\n {\n MountPath = \"/usr/share/nginx/html\",\n Name = \"www\",\n },\n },\n },\n },\n TerminationGracePeriodSeconds = 10,\n },\n },\n VolumeClaimTemplates = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.PersistentVolumeClaimArgs\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Name = \"www\",\n },\n Spec = new Kubernetes.Types.Inputs.Core.V1.PersistentVolumeClaimSpecArgs\n {\n AccessModes = new[]\n {\n \"ReadWriteOnce\",\n },\n Resources = new Kubernetes.Types.Inputs.Core.V1.ResourceRequirementsArgs\n {\n Requests = \n {\n { \"storage\", \"1Gi\" },\n },\n },\n },\n },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tappsv1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apps/v1\"\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\tmetav1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tservice, err := corev1.NewService(ctx, \"service\", &corev1.ServiceArgs{\n\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t},\n\t\t\t\tName: pulumi.String(\"nginx\"),\n\t\t\t},\n\t\t\tSpec: &corev1.ServiceSpecArgs{\n\t\t\t\tClusterIP: pulumi.String(\"None\"),\n\t\t\t\tPorts: corev1.ServicePortArray{\n\t\t\t\t\t&corev1.ServicePortArgs{\n\t\t\t\t\t\tName: pulumi.String(\"web\"),\n\t\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSelector: pulumi.StringMap{\n\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appsv1.NewStatefulSet(ctx, \"statefulset\", &appsv1.StatefulSetArgs{\n\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\tName: pulumi.String(\"web\"),\n\t\t\t},\n\t\t\tSpec: &appsv1.StatefulSetSpecArgs{\n\t\t\t\tReplicas: pulumi.Int(3),\n\t\t\t\tSelector: &metav1.LabelSelectorArgs{\n\t\t\t\t\tMatchLabels: pulumi.StringMap{\n\t\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tServiceName: service.Metadata.ApplyT(func(metadata metav1.ObjectMeta) (*string, error) {\n\t\t\t\t\treturn &metadata.Name, nil\n\t\t\t\t}).(pulumi.StringPtrOutput),\n\t\t\t\tTemplate: &corev1.PodTemplateSpecArgs{\n\t\t\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\t\t\t\"app\": pulumi.String(\"nginx\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tSpec: &corev1.PodSpecArgs{\n\t\t\t\t\t\tContainers: corev1.ContainerArray{\n\t\t\t\t\t\t\t&corev1.ContainerArgs{\n\t\t\t\t\t\t\t\tImage: pulumi.String(\"nginx:stable-alpine3.17-slim\"),\n\t\t\t\t\t\t\t\tName: pulumi.String(\"nginx\"),\n\t\t\t\t\t\t\t\tPorts: corev1.ContainerPortArray{\n\t\t\t\t\t\t\t\t\t&corev1.ContainerPortArgs{\n\t\t\t\t\t\t\t\t\t\tContainerPort: pulumi.Int(80),\n\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"web\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tVolumeMounts: corev1.VolumeMountArray{\n\t\t\t\t\t\t\t\t\t&corev1.VolumeMountArgs{\n\t\t\t\t\t\t\t\t\t\tMountPath: pulumi.String(\"/usr/share/nginx/html\"),\n\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"www\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tTerminationGracePeriodSeconds: pulumi.Int(10),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tVolumeClaimTemplates: []corev1.PersistentVolumeClaimTypeArgs{\n\t\t\t\t\t{\n\t\t\t\t\t\tMetadata: {\n\t\t\t\t\t\t\tName: pulumi.String(\"www\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tSpec: {\n\t\t\t\t\t\t\tAccessModes: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"ReadWriteOnce\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tResources: {\n\t\t\t\t\t\t\t\tRequests: {\n\t\t\t\t\t\t\t\t\t\"storage\": pulumi.String(\"1Gi\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.core_v1.Service;\nimport com.pulumi.kubernetes.core_v1.ServiceArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.ObjectMetaArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.ServiceSpecArgs;\nimport com.pulumi.kubernetes.apps_v1.StatefulSet;\nimport com.pulumi.kubernetes.apps_v1.StatefulSetArgs;\nimport com.pulumi.kubernetes.apps_v1.inputs.StatefulSetSpecArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.LabelSelectorArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodTemplateSpecArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var service = new Service(\"service\", ServiceArgs.builder() \n .metadata(ObjectMetaArgs.builder()\n .labels(Map.of(\"app\", \"nginx\"))\n .name(\"nginx\")\n .build())\n .spec(ServiceSpecArgs.builder()\n .clusterIP(\"None\")\n .ports(ServicePortArgs.builder()\n .name(\"web\")\n .port(80)\n .build())\n .selector(Map.of(\"app\", \"nginx\"))\n .build())\n .build());\n\n var statefulset = new StatefulSet(\"statefulset\", StatefulSetArgs.builder() \n .metadata(ObjectMetaArgs.builder()\n .name(\"web\")\n .build())\n .spec(StatefulSetSpecArgs.builder()\n .replicas(3)\n .selector(LabelSelectorArgs.builder()\n .matchLabels(Map.of(\"app\", \"nginx\"))\n .build())\n .serviceName(service.metadata().applyValue(metadata -> metadata.name()))\n .template(PodTemplateSpecArgs.builder()\n .metadata(ObjectMetaArgs.builder()\n .labels(Map.of(\"app\", \"nginx\"))\n .build())\n .spec(PodSpecArgs.builder()\n .containers(ContainerArgs.builder()\n .image(\"nginx:stable-alpine3.17-slim\")\n .name(\"nginx\")\n .ports(ContainerPortArgs.builder()\n .containerPort(80)\n .name(\"web\")\n .build())\n .volumeMounts(VolumeMountArgs.builder()\n .mountPath(\"/usr/share/nginx/html\")\n .name(\"www\")\n .build())\n .build())\n .terminationGracePeriodSeconds(10)\n .build())\n .build())\n .volumeClaimTemplates(PersistentVolumeClaimArgs.builder()\n .metadata(ObjectMetaArgs.builder()\n .name(\"www\")\n .build())\n .spec(PersistentVolumeClaimSpecArgs.builder()\n .accessModes(\"ReadWriteOnce\")\n .resources(ResourceRequirementsArgs.builder()\n .requests(Map.of(\"storage\", \"1Gi\"))\n .build())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create a StatefulSet with a user-specified name\nname: yaml-example\nresources:\n service:\n properties:\n metadata:\n labels:\n app: nginx\n name: nginx\n spec:\n clusterIP: None\n ports:\n - name: web\n port: 80\n selector:\n app: nginx\n type: kubernetes:core/v1:Service\n statefulset:\n properties:\n metadata:\n name: web\n spec:\n replicas: 3\n selector:\n matchLabels:\n app: nginx\n serviceName: ${service.metadata.name}\n template:\n metadata:\n labels:\n app: nginx\n spec:\n containers:\n - image: nginx:stable-alpine3.17-slim\n name: nginx\n ports:\n - containerPort: 80\n name: web\n volumeMounts:\n - mountPath: /usr/share/nginx/html\n name: www\n terminationGracePeriodSeconds: 10\n volumeClaimTemplates:\n - metadata:\n name: www\n spec:\n accessModes:\n - ReadWriteOnce\n resources:\n requests:\n storage: 1Gi\n type: kubernetes:apps/v1:StatefulSet\nruntime: yaml\n```\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetSpec", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetStatus", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetSpec", "description": "Spec defines the desired identities of pods in this set." } }, "aliases": [ { "type": "kubernetes:apps/v1beta1:StatefulSet" }, { "type": "kubernetes:apps/v1beta2:StatefulSet" } ] }, "kubernetes:apps/v1:StatefulSetList": { "description": "StatefulSetList is a collection of StatefulSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:StatefulSet" }, "description": "Items is the list of stateful sets." }, "kind": { "type": "string", "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", "const": "StatefulSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1:StatefulSet" }, "description": "Items is the list of stateful sets." }, "kind": { "type": "string", "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", "const": "StatefulSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1:StatefulSetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nStatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetSpecPatch", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetStatusPatch", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1:StatefulSetSpecPatch", "description": "Spec defines the desired identities of pods in this set." } }, "aliases": [ { "type": "kubernetes:apps/v1beta1:StatefulSetPatch" }, { "type": "kubernetes:apps/v1beta2:StatefulSetPatch" } ] }, "kubernetes:apps/v1beta1:ControllerRevision": { "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "required": [ "apiVersion", "data", "kind", "metadata", "revision" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "requiredInputs": [ "revision" ], "aliases": [ { "type": "kubernetes:apps/v1:ControllerRevision" }, { "type": "kubernetes:apps/v1beta2:ControllerRevision" } ], "deprecationMessage": "apps/v1beta1/ControllerRevision is deprecated by apps/v1/ControllerRevision and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta1:ControllerRevisionList": { "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:ControllerRevision" }, "description": "Items is the list of ControllerRevisions" }, "kind": { "type": "string", "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", "const": "ControllerRevisionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:ControllerRevision" }, "description": "Items is the list of ControllerRevisions" }, "kind": { "type": "string", "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", "const": "ControllerRevisionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1beta1:ControllerRevisionPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "aliases": [ { "type": "kubernetes:apps/v1:ControllerRevisionPatch" }, { "type": "kubernetes:apps/v1beta2:ControllerRevisionPatch" } ], "deprecationMessage": "apps/v1beta1/ControllerRevision is deprecated by apps/v1/ControllerRevision and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta1:Deployment": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentStatus", "description": "Most recently observed status of the Deployment." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." } }, "aliases": [ { "type": "kubernetes:apps/v1:Deployment" }, { "type": "kubernetes:apps/v1beta2:Deployment" }, { "type": "kubernetes:extensions/v1beta1:Deployment" } ], "deprecationMessage": "apps/v1beta1/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta1:DeploymentList": { "description": "DeploymentList is a list of Deployments.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1beta1:DeploymentPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nDeployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentStatusPatch", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." } }, "aliases": [ { "type": "kubernetes:apps/v1:DeploymentPatch" }, { "type": "kubernetes:apps/v1beta2:DeploymentPatch" }, { "type": "kubernetes:extensions/v1beta1:DeploymentPatch" } ], "deprecationMessage": "apps/v1beta1/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta1:StatefulSet": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetSpec", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetStatus", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetSpec", "description": "Spec defines the desired identities of pods in this set." } }, "aliases": [ { "type": "kubernetes:apps/v1:StatefulSet" }, { "type": "kubernetes:apps/v1beta2:StatefulSet" } ], "deprecationMessage": "apps/v1beta1/StatefulSet is deprecated by apps/v1/StatefulSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta1:StatefulSetList": { "description": "StatefulSetList is a collection of StatefulSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSet" } }, "kind": { "type": "string", "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", "const": "StatefulSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSet" } }, "kind": { "type": "string", "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", "const": "StatefulSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1beta1:StatefulSetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nStatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetSpecPatch", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetStatusPatch", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta1" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta1:StatefulSetSpecPatch", "description": "Spec defines the desired identities of pods in this set." } }, "aliases": [ { "type": "kubernetes:apps/v1:StatefulSetPatch" }, { "type": "kubernetes:apps/v1beta2:StatefulSetPatch" } ], "deprecationMessage": "apps/v1beta1/StatefulSet is deprecated by apps/v1/StatefulSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta2:ControllerRevision": { "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "required": [ "apiVersion", "data", "kind", "metadata", "revision" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "requiredInputs": [ "revision" ], "aliases": [ { "type": "kubernetes:apps/v1:ControllerRevision" }, { "type": "kubernetes:apps/v1beta1:ControllerRevision" } ], "deprecationMessage": "apps/v1beta2/ControllerRevision is deprecated by apps/v1/ControllerRevision and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta2:ControllerRevisionList": { "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:ControllerRevision" }, "description": "Items is the list of ControllerRevisions" }, "kind": { "type": "string", "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", "const": "ControllerRevisionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:ControllerRevision" }, "description": "Items is the list of ControllerRevisions" }, "kind": { "type": "string", "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", "const": "ControllerRevisionList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1beta2:ControllerRevisionPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "kind", "metadata", "revision" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "data": { "type": "object", "$ref": "pulumi.json#/Json", "description": "Data is the serialized representation of the state." }, "kind": { "type": "string", "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", "const": "ControllerRevision" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "revision": { "type": "integer", "description": "Revision indicates the revision of the state represented by Data." } }, "aliases": [ { "type": "kubernetes:apps/v1:ControllerRevisionPatch" }, { "type": "kubernetes:apps/v1beta1:ControllerRevisionPatch" } ], "deprecationMessage": "apps/v1beta2/ControllerRevision is deprecated by apps/v1/ControllerRevision and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta2:DaemonSet": { "description": "DaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetSpec", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetStatus", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetSpec", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1:DaemonSet" }, { "type": "kubernetes:extensions/v1beta1:DaemonSet" } ], "deprecationMessage": "apps/v1beta2/DaemonSet is deprecated by apps/v1/DaemonSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta2:DaemonSetList": { "description": "DaemonSetList is a collection of daemon sets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSet" }, "description": "A list of daemon sets." }, "kind": { "type": "string", "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", "const": "DaemonSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSet" }, "description": "A list of daemon sets." }, "kind": { "type": "string", "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", "const": "DaemonSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1beta2:DaemonSetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nDaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetSpecPatch", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetStatusPatch", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DaemonSetSpecPatch", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1:DaemonSetPatch" }, { "type": "kubernetes:extensions/v1beta1:DaemonSetPatch" } ], "deprecationMessage": "apps/v1beta2/DaemonSet is deprecated by apps/v1/DaemonSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta2:Deployment": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentStatus", "description": "Most recently observed status of the Deployment." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." } }, "aliases": [ { "type": "kubernetes:apps/v1:Deployment" }, { "type": "kubernetes:apps/v1beta1:Deployment" }, { "type": "kubernetes:extensions/v1beta1:Deployment" } ], "deprecationMessage": "apps/v1beta2/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta2:DeploymentList": { "description": "DeploymentList is a list of Deployments.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1beta2:DeploymentPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nDeployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentStatusPatch", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." } }, "aliases": [ { "type": "kubernetes:apps/v1:DeploymentPatch" }, { "type": "kubernetes:apps/v1beta1:DeploymentPatch" }, { "type": "kubernetes:extensions/v1beta1:DeploymentPatch" } ], "deprecationMessage": "apps/v1beta2/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta2:ReplicaSet": { "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetSpec", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetStatus", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetSpec", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1:ReplicaSet" }, { "type": "kubernetes:extensions/v1beta1:ReplicaSet" } ], "deprecationMessage": "apps/v1beta2/ReplicaSet is deprecated by apps/v1/ReplicaSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta2:ReplicaSetList": { "description": "ReplicaSetList is a collection of ReplicaSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSet" }, "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicaSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSet" }, "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicaSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1beta2:ReplicaSetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetSpecPatch", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetStatusPatch", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:ReplicaSetSpecPatch", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1:ReplicaSetPatch" }, { "type": "kubernetes:extensions/v1beta1:ReplicaSetPatch" } ], "deprecationMessage": "apps/v1beta2/ReplicaSet is deprecated by apps/v1/ReplicaSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta2:StatefulSet": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetSpec", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetStatus", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetSpec", "description": "Spec defines the desired identities of pods in this set." } }, "aliases": [ { "type": "kubernetes:apps/v1:StatefulSet" }, { "type": "kubernetes:apps/v1beta1:StatefulSet" } ], "deprecationMessage": "apps/v1beta2/StatefulSet is deprecated by apps/v1/StatefulSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:apps/v1beta2:StatefulSetList": { "description": "StatefulSetList is a collection of StatefulSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSet" } }, "kind": { "type": "string", "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", "const": "StatefulSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSet" } }, "kind": { "type": "string", "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", "const": "StatefulSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "requiredInputs": [ "items" ] }, "kubernetes:apps/v1beta2:StatefulSetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nStatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',\n and '.status.readyReplicas'.\n2. The value of '.status.updateRevision' matches '.status.currentRevision'.\n\nIf the StatefulSet has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetSpecPatch", "description": "Spec defines the desired identities of pods in this set." }, "status": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetStatusPatch", "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "apps/v1beta2" }, "kind": { "type": "string", "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", "const": "StatefulSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:apps/v1beta2:StatefulSetSpecPatch", "description": "Spec defines the desired identities of pods in this set." } }, "aliases": [ { "type": "kubernetes:apps/v1:StatefulSetPatch" }, { "type": "kubernetes:apps/v1beta1:StatefulSetPatch" } ], "deprecationMessage": "apps/v1beta2/StatefulSet is deprecated by apps/v1/StatefulSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:auditregistration.k8s.io/v1alpha1:AuditSink": { "description": "AuditSink represents a cluster level audit sink", "properties": { "apiVersion": { "type": "string", "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", "const": "auditregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "AuditSink" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkSpec", "description": "Spec defines the audit configuration spec" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "auditregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "AuditSink" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkSpec", "description": "Spec defines the audit configuration spec" } } }, "kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkList": { "description": "AuditSinkList is a list of AuditSink items.", "properties": { "apiVersion": { "type": "string", "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", "const": "auditregistration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:AuditSink" }, "description": "List of audit configurations." }, "kind": { "type": "string", "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", "const": "AuditSinkList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "auditregistration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:AuditSink" }, "description": "List of audit configurations." }, "kind": { "type": "string", "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", "const": "AuditSinkList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "requiredInputs": [ "items" ] }, "kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nAuditSink represents a cluster level audit sink", "properties": { "apiVersion": { "type": "string", "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", "const": "auditregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "AuditSink" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkSpecPatch", "description": "Spec defines the audit configuration spec" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "auditregistration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "AuditSink" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:auditregistration.k8s.io/v1alpha1:AuditSinkSpecPatch", "description": "Spec defines the audit configuration spec" } } }, "kubernetes:autoscaling/v1:HorizontalPodAutoscaler": { "description": "configuration of a horizontal pod autoscaler.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscalerSpec", "description": "spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscalerStatus", "description": "status is the current information about the autoscaler." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscalerSpec", "description": "spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." } }, "aliases": [ { "type": "kubernetes:autoscaling/v2:HorizontalPodAutoscaler" }, { "type": "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscaler" }, { "type": "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscaler" } ] }, "kubernetes:autoscaling/v1:HorizontalPodAutoscalerList": { "description": "list of horizontal pod autoscaler objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:autoscaling/v1:HorizontalPodAutoscalerPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nconfiguration of a horizontal pod autoscaler.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscalerSpecPatch", "description": "spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscalerStatusPatch", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v1:HorizontalPodAutoscalerSpecPatch", "description": "spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." } }, "aliases": [ { "type": "kubernetes:autoscaling/v2:HorizontalPodAutoscalerPatch" }, { "type": "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerPatch" }, { "type": "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerPatch" } ] }, "kubernetes:autoscaling/v2:HorizontalPodAutoscaler": { "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerSpec", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerStatus", "description": "status is the current information about the autoscaler." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerSpec", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." } }, "aliases": [ { "type": "kubernetes:autoscaling/v1:HorizontalPodAutoscaler" }, { "type": "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscaler" }, { "type": "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscaler" } ] }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerList": { "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata is the standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata is the standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:autoscaling/v2:HorizontalPodAutoscalerPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerSpecPatch", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerStatusPatch", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2:HorizontalPodAutoscalerSpecPatch", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." } }, "aliases": [ { "type": "kubernetes:autoscaling/v1:HorizontalPodAutoscalerPatch" }, { "type": "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerPatch" }, { "type": "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerPatch" } ] }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscaler": { "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerSpec", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerStatus", "description": "status is the current information about the autoscaler." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerSpec", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." } }, "aliases": [ { "type": "kubernetes:autoscaling/v1:HorizontalPodAutoscaler" }, { "type": "kubernetes:autoscaling/v2:HorizontalPodAutoscaler" }, { "type": "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscaler" } ] }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerList": { "description": "HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata is the standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata is the standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerSpecPatch", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerStatusPatch", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta1" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerSpecPatch", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." } }, "aliases": [ { "type": "kubernetes:autoscaling/v1:HorizontalPodAutoscalerPatch" }, { "type": "kubernetes:autoscaling/v2:HorizontalPodAutoscalerPatch" }, { "type": "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerPatch" } ] }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscaler": { "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerSpec", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerStatus", "description": "status is the current information about the autoscaler." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerSpec", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." } }, "aliases": [ { "type": "kubernetes:autoscaling/v1:HorizontalPodAutoscaler" }, { "type": "kubernetes:autoscaling/v2:HorizontalPodAutoscaler" }, { "type": "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscaler" } ] }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerList": { "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata is the standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscaler" }, "description": "items is the list of horizontal pod autoscaler objects." }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscalerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata is the standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerSpecPatch", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerStatusPatch", "description": "status is the current information about the autoscaler." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "autoscaling/v2beta2" }, "kind": { "type": "string", "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", "const": "HorizontalPodAutoscaler" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:autoscaling/v2beta2:HorizontalPodAutoscalerSpecPatch", "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." } }, "aliases": [ { "type": "kubernetes:autoscaling/v1:HorizontalPodAutoscalerPatch" }, { "type": "kubernetes:autoscaling/v2:HorizontalPodAutoscalerPatch" }, { "type": "kubernetes:autoscaling/v2beta1:HorizontalPodAutoscalerPatch" } ] }, "kubernetes:batch/v1:CronJob": { "description": "CronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:CronJobSpec", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1:CronJobStatus", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:CronJobSpec", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:batch/v1beta1:CronJob" }, { "type": "kubernetes:batch/v2alpha1:CronJob" } ] }, "kubernetes:batch/v1:CronJobList": { "description": "CronJobList is a collection of cron jobs.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:CronJob" }, "description": "items is the list of CronJobs." }, "kind": { "type": "string", "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", "const": "CronJobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:CronJob" }, "description": "items is the list of CronJobs." }, "kind": { "type": "string", "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", "const": "CronJobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:batch/v1:CronJobPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:CronJobSpecPatch", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1:CronJobStatusPatch", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:CronJobSpecPatch", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:batch/v1beta1:CronJobPatch" }, { "type": "kubernetes:batch/v2alpha1:CronJobPatch" } ] }, "kubernetes:batch/v1:Job": { "description": "Job represents the configuration of a single job.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Job's '.status.startTime' is set, which indicates that the Job has started running.\n2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set\n to 'True'.\n3. The Job's '.status.conditions' do not have a status of type 'Failed', with a\n\t'status' set to 'True'. If this condition is set, we should fail the Job immediately.\n\nIf the Job has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.\n\nBy default, if a resource failed to become ready in a previous update, \nPulumi will continue to wait for readiness on the next update. If you would prefer\nto schedule a replacement for an unready resource on the next update, you can add the\n\"pulumi.com/replaceUnready\": \"true\" annotation to the resource definition.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a Job with auto-naming\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst job = new kubernetes.batch.v1.Job(\"job\", {\n metadata: undefined,\n spec: {\n backoffLimit: 4,\n template: {\n spec: {\n containers: [{\n command: [\n \"perl\",\n \"-Mbignum=bpi\",\n \"-wle\",\n \"print bpi(2000)\",\n ],\n image: \"perl\",\n name: \"pi\",\n }],\n restartPolicy: \"Never\",\n },\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\njob = kubernetes.batch.v1.Job(\"job\",\n metadata=None,\n spec=kubernetes.batch.v1.JobSpecArgs(\n backoff_limit=4,\n template=kubernetes.core.v1.PodTemplateSpecArgs(\n spec=kubernetes.core.v1.PodSpecArgs(\n containers=[kubernetes.core.v1.ContainerArgs(\n command=[\n \"perl\",\n \"-Mbignum=bpi\",\n \"-wle\",\n \"print bpi(2000)\",\n ],\n image=\"perl\",\n name=\"pi\",\n )],\n restart_policy=\"Never\",\n ),\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var job = new Kubernetes.Batch.V1.Job(\"job\", new()\n {\n Metadata = null,\n Spec = new Kubernetes.Types.Inputs.Batch.V1.JobSpecArgs\n {\n BackoffLimit = 4,\n Template = new Kubernetes.Types.Inputs.Core.V1.PodTemplateSpecArgs\n {\n Spec = new Kubernetes.Types.Inputs.Core.V1.PodSpecArgs\n {\n Containers = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerArgs\n {\n Command = new[]\n {\n \"perl\",\n \"-Mbignum=bpi\",\n \"-wle\",\n \"print bpi(2000)\",\n },\n Image = \"perl\",\n Name = \"pi\",\n },\n },\n RestartPolicy = \"Never\",\n },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tbatchv1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/batch/v1\"\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\tmetav1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := batchv1.NewJob(ctx, \"job\", &batchv1.JobArgs{\n\t\t\tMetadata: nil,\n\t\t\tSpec: &batchv1.JobSpecArgs{\n\t\t\t\tBackoffLimit: pulumi.Int(4),\n\t\t\t\tTemplate: &corev1.PodTemplateSpecArgs{\n\t\t\t\t\tSpec: &corev1.PodSpecArgs{\n\t\t\t\t\t\tContainers: corev1.ContainerArray{\n\t\t\t\t\t\t\t&corev1.ContainerArgs{\n\t\t\t\t\t\t\t\tCommand: pulumi.StringArray{\n\t\t\t\t\t\t\t\t\tpulumi.String(\"perl\"),\n\t\t\t\t\t\t\t\t\tpulumi.String(\"-Mbignum=bpi\"),\n\t\t\t\t\t\t\t\t\tpulumi.String(\"-wle\"),\n\t\t\t\t\t\t\t\t\tpulumi.String(\"print bpi(2000)\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tImage: pulumi.String(\"perl\"),\n\t\t\t\t\t\t\t\tName: pulumi.String(\"pi\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tRestartPolicy: pulumi.String(\"Never\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.batch_v1.Job;\nimport com.pulumi.kubernetes.batch_v1.JobArgs;\nimport com.pulumi.kubernetes.batch_v1.inputs.JobSpecArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodTemplateSpecArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var job = new Job(\"job\", JobArgs.builder() \n .metadata(null)\n .spec(JobSpecArgs.builder()\n .backoffLimit(4)\n .template(PodTemplateSpecArgs.builder()\n .spec(PodSpecArgs.builder()\n .containers(ContainerArgs.builder()\n .command( \n \"perl\",\n \"-Mbignum=bpi\",\n \"-wle\",\n \"print bpi(2000)\")\n .image(\"perl\")\n .name(\"pi\")\n .build())\n .restartPolicy(\"Never\")\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create a Job with auto-naming\nname: yaml-example\nresources:\n job:\n properties:\n metadata: null\n spec:\n backoffLimit: 4\n template:\n spec:\n containers:\n - command:\n - perl\n - -Mbignum=bpi\n - -wle\n - print bpi(2000)\n image: perl\n name: pi\n restartPolicy: Never\n type: kubernetes:batch/v1:Job\nruntime: yaml\n```\n{{% /example %}}\n{{% example %}}\n### Create a Job with a user-specified name\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst job = new kubernetes.batch.v1.Job(\"job\", {\n metadata: {\n name: \"pi\",\n },\n spec: {\n backoffLimit: 4,\n template: {\n spec: {\n containers: [{\n command: [\n \"perl\",\n \"-Mbignum=bpi\",\n \"-wle\",\n \"print bpi(2000)\",\n ],\n image: \"perl\",\n name: \"pi\",\n }],\n restartPolicy: \"Never\",\n },\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\njob = kubernetes.batch.v1.Job(\"job\",\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n name=\"pi\",\n ),\n spec=kubernetes.batch.v1.JobSpecArgs(\n backoff_limit=4,\n template=kubernetes.core.v1.PodTemplateSpecArgs(\n spec=kubernetes.core.v1.PodSpecArgs(\n containers=[kubernetes.core.v1.ContainerArgs(\n command=[\n \"perl\",\n \"-Mbignum=bpi\",\n \"-wle\",\n \"print bpi(2000)\",\n ],\n image=\"perl\",\n name=\"pi\",\n )],\n restart_policy=\"Never\",\n ),\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var job = new Kubernetes.Batch.V1.Job(\"job\", new()\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Name = \"pi\",\n },\n Spec = new Kubernetes.Types.Inputs.Batch.V1.JobSpecArgs\n {\n BackoffLimit = 4,\n Template = new Kubernetes.Types.Inputs.Core.V1.PodTemplateSpecArgs\n {\n Spec = new Kubernetes.Types.Inputs.Core.V1.PodSpecArgs\n {\n Containers = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerArgs\n {\n Command = new[]\n {\n \"perl\",\n \"-Mbignum=bpi\",\n \"-wle\",\n \"print bpi(2000)\",\n },\n Image = \"perl\",\n Name = \"pi\",\n },\n },\n RestartPolicy = \"Never\",\n },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tbatchv1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/batch/v1\"\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\tmetav1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := batchv1.NewJob(ctx, \"job\", &batchv1.JobArgs{\n\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\tName: pulumi.String(\"pi\"),\n\t\t\t},\n\t\t\tSpec: &batchv1.JobSpecArgs{\n\t\t\t\tBackoffLimit: pulumi.Int(4),\n\t\t\t\tTemplate: &corev1.PodTemplateSpecArgs{\n\t\t\t\t\tSpec: &corev1.PodSpecArgs{\n\t\t\t\t\t\tContainers: corev1.ContainerArray{\n\t\t\t\t\t\t\t&corev1.ContainerArgs{\n\t\t\t\t\t\t\t\tCommand: pulumi.StringArray{\n\t\t\t\t\t\t\t\t\tpulumi.String(\"perl\"),\n\t\t\t\t\t\t\t\t\tpulumi.String(\"-Mbignum=bpi\"),\n\t\t\t\t\t\t\t\t\tpulumi.String(\"-wle\"),\n\t\t\t\t\t\t\t\t\tpulumi.String(\"print bpi(2000)\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tImage: pulumi.String(\"perl\"),\n\t\t\t\t\t\t\t\tName: pulumi.String(\"pi\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tRestartPolicy: pulumi.String(\"Never\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.batch_v1.Job;\nimport com.pulumi.kubernetes.batch_v1.JobArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.ObjectMetaArgs;\nimport com.pulumi.kubernetes.batch_v1.inputs.JobSpecArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodTemplateSpecArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var job = new Job(\"job\", JobArgs.builder() \n .metadata(ObjectMetaArgs.builder()\n .name(\"pi\")\n .build())\n .spec(JobSpecArgs.builder()\n .backoffLimit(4)\n .template(PodTemplateSpecArgs.builder()\n .spec(PodSpecArgs.builder()\n .containers(ContainerArgs.builder()\n .command( \n \"perl\",\n \"-Mbignum=bpi\",\n \"-wle\",\n \"print bpi(2000)\")\n .image(\"perl\")\n .name(\"pi\")\n .build())\n .restartPolicy(\"Never\")\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create a Job with a user-specified name\nname: yaml-example\nresources:\n job:\n properties:\n metadata:\n name: pi\n spec:\n backoffLimit: 4\n template:\n spec:\n containers:\n - command:\n - perl\n - -Mbignum=bpi\n - -wle\n - print bpi(2000)\n image: perl\n name: pi\n restartPolicy: Never\n type: kubernetes:batch/v1:Job\nruntime: yaml\n```\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "Job" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpec", "description": "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1:JobStatus", "description": "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "Job" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpec", "description": "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:batch/v1:JobList": { "description": "JobList is a collection of jobs.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:Job" }, "description": "items is the list of Jobs." }, "kind": { "type": "string", "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", "const": "JobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1:Job" }, "description": "items is the list of Jobs." }, "kind": { "type": "string", "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", "const": "JobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:batch/v1:JobPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nJob represents the configuration of a single job.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Job's '.status.startTime' is set, which indicates that the Job has started running.\n2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set\n to 'True'.\n3. The Job's '.status.conditions' do not have a status of type 'Failed', with a\n\t'status' set to 'True'. If this condition is set, we should fail the Job immediately.\n\nIf the Job has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.\n\nBy default, if a resource failed to become ready in a previous update, \nPulumi will continue to wait for readiness on the next update. If you would prefer\nto schedule a replacement for an unready resource on the next update, you can add the\n\"pulumi.com/replaceUnready\": \"true\" annotation to the resource definition.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "Job" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpecPatch", "description": "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1:JobStatusPatch", "description": "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v1" }, "kind": { "type": "string", "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", "const": "Job" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1:JobSpecPatch", "description": "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:batch/v1beta1:CronJob": { "description": "CronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1beta1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJobSpec", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJobStatus", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v1beta1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJobSpec", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:batch/v1:CronJob" }, { "type": "kubernetes:batch/v2alpha1:CronJob" } ] }, "kubernetes:batch/v1beta1:CronJobList": { "description": "CronJobList is a collection of cron jobs.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJob" }, "description": "items is the list of CronJobs." }, "kind": { "type": "string", "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", "const": "CronJobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJob" }, "description": "items is the list of CronJobs." }, "kind": { "type": "string", "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", "const": "CronJobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:batch/v1beta1:CronJobPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v1beta1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJobSpecPatch", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJobStatusPatch", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v1beta1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v1beta1:CronJobSpecPatch", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:batch/v1:CronJobPatch" }, { "type": "kubernetes:batch/v2alpha1:CronJobPatch" } ] }, "kubernetes:batch/v2alpha1:CronJob": { "description": "CronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v2alpha1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJobSpec", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJobStatus", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v2alpha1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJobSpec", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:batch/v1:CronJob" }, { "type": "kubernetes:batch/v1beta1:CronJob" } ] }, "kubernetes:batch/v2alpha1:CronJobList": { "description": "CronJobList is a collection of cron jobs.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v2alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJob" }, "description": "items is the list of CronJobs." }, "kind": { "type": "string", "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", "const": "CronJobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v2alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJob" }, "description": "items is the list of CronJobs." }, "kind": { "type": "string", "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", "const": "CronJobList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:batch/v2alpha1:CronJobPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { "type": "string", "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", "const": "batch/v2alpha1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJobSpecPatch", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJobStatusPatch", "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "batch/v2alpha1" }, "kind": { "type": "string", "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", "const": "CronJob" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:batch/v2alpha1:CronJobSpecPatch", "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:batch/v1:CronJobPatch" }, { "type": "kubernetes:batch/v1beta1:CronJobPatch" } ] }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequest": { "description": "CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.\n\nKubelets use this API to obtain:\n 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).\n 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).\n\nThis API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestSpec", "description": "spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users." }, "status": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestStatus", "description": "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestSpec", "description": "spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users." } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequest" } ] }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequestList": { "description": "CertificateSigningRequestList is a collection of CertificateSigningRequest objects", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequest" }, "description": "items is a collection of CertificateSigningRequest objects" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequestList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequest" }, "description": "items is a collection of CertificateSigningRequest objects" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequestList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "requiredInputs": [ "items" ] }, "kubernetes:certificates.k8s.io/v1:CertificateSigningRequestPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.\n\nKubelets use this API to obtain:\n 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).\n 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).\n\nThis API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestSpecPatch", "description": "spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users." }, "status": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestStatusPatch", "description": "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1:CertificateSigningRequestSpecPatch", "description": "spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users." } }, "aliases": [ { "type": "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestPatch" } ] }, "kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundle": { "description": "ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).\n\nClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.\n\nIt can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterTrustBundle" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata contains the object metadata." }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundleSpec", "description": "spec contains the signer (if any) and trust anchors." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterTrustBundle" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata contains the object metadata." }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundleSpec", "description": "spec contains the signer (if any) and trust anchors." } }, "requiredInputs": [ "spec" ] }, "kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundleList": { "description": "ClusterTrustBundleList is a collection of ClusterTrustBundle objects", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundle" }, "description": "items is a collection of ClusterTrustBundle objects" }, "kind": { "type": "string", "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", "const": "ClusterTrustBundleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata contains the list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundle" }, "description": "items is a collection of ClusterTrustBundle objects" }, "kind": { "type": "string", "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", "const": "ClusterTrustBundleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "metadata contains the list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundlePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).\n\nClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.\n\nIt can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterTrustBundle" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata contains the object metadata." }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundleSpecPatch", "description": "spec contains the signer (if any) and trust anchors." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterTrustBundle" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata contains the object metadata." }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundleSpecPatch", "description": "spec contains the signer (if any) and trust anchors." } } }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequest": { "description": "Describes a certificate signing request", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestSpec", "description": "The certificate request itself and any additional information." }, "status": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestStatus", "description": "Derived information about the request." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestSpec", "description": "The certificate request itself and any additional information." } }, "aliases": [ { "type": "kubernetes:certificates.k8s.io/v1:CertificateSigningRequest" } ] }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestList": { "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequest" } }, "kind": { "type": "string", "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", "const": "CertificateSigningRequestList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequest" } }, "kind": { "type": "string", "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", "const": "CertificateSigningRequestList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "requiredInputs": [ "items" ] }, "kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nDescribes a certificate signing request", "properties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestSpecPatch", "description": "The certificate request itself and any additional information." }, "status": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestStatusPatch", "description": "Derived information about the request." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "certificates.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CertificateSigningRequest" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:certificates.k8s.io/v1beta1:CertificateSigningRequestSpecPatch", "description": "The certificate request itself and any additional information." } }, "aliases": [ { "type": "kubernetes:certificates.k8s.io/v1:CertificateSigningRequestPatch" } ] }, "kubernetes:coordination.k8s.io/v1:Lease": { "description": "Lease defines a lease concept.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1:LeaseSpec", "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1:LeaseSpec", "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:coordination.k8s.io/v1beta1:Lease" } ] }, "kubernetes:coordination.k8s.io/v1:LeaseList": { "description": "LeaseList is a list of Lease objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1:Lease" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "LeaseList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1:Lease" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "LeaseList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:coordination.k8s.io/v1:LeasePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nLease defines a lease concept.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1:LeaseSpecPatch", "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1:LeaseSpecPatch", "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:coordination.k8s.io/v1beta1:LeasePatch" } ] }, "kubernetes:coordination.k8s.io/v1beta1:Lease": { "description": "Lease defines a lease concept.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1beta1:LeaseSpec", "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1beta1:LeaseSpec", "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:coordination.k8s.io/v1:Lease" } ] }, "kubernetes:coordination.k8s.io/v1beta1:LeaseList": { "description": "LeaseList is a list of Lease objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1beta1:Lease" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "LeaseList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1beta1:Lease" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "LeaseList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:coordination.k8s.io/v1beta1:LeasePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nLease defines a lease concept.", "properties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1beta1:LeaseSpecPatch", "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "coordination.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Lease" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:coordination.k8s.io/v1beta1:LeaseSpecPatch", "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:coordination.k8s.io/v1:LeasePatch" } ] }, "kubernetes:core/v1:Binding": { "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Binding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "target": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "The target object that you want to bind to the standard object." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "target" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "target" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Binding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "target": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "The target object that you want to bind to the standard object." } }, "requiredInputs": [ "target" ] }, "kubernetes:core/v1:BindingPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nBinding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Binding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "target": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "The target object that you want to bind to the standard object." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "target" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Binding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "target": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "The target object that you want to bind to the standard object." } } }, "kubernetes:core/v1:ConfigMap": { "description": "ConfigMap holds configuration data for pods to consume.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "binaryData": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "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": "boolean", "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." }, "kind": { "type": "string", "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", "const": "ConfigMap" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "binaryData", "data", "immutable", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "binaryData", "data", "immutable", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "binaryData": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "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": "boolean", "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." }, "kind": { "type": "string", "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", "const": "ConfigMap" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } } }, "kubernetes:core/v1:ConfigMapList": { "description": "ConfigMapList is a resource containing a list of ConfigMap objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ConfigMap" }, "description": "Items is the list of ConfigMaps." }, "kind": { "type": "string", "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", "const": "ConfigMapList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ConfigMap" }, "description": "Items is the list of ConfigMaps." }, "kind": { "type": "string", "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", "const": "ConfigMapList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:ConfigMapPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nConfigMap holds configuration data for pods to consume.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "binaryData": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "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": "boolean", "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." }, "kind": { "type": "string", "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", "const": "ConfigMap" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "binaryData", "data", "immutable", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "binaryData": { "type": "object", "additionalProperties": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "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": "boolean", "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." }, "kind": { "type": "string", "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", "const": "ConfigMap" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } } }, "kubernetes:core/v1:Endpoints": { "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t {\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t },\n\t {\n\t Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t },\n\t]", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Endpoints" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "subsets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointSubset" }, "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": "object", "required": [ "apiVersion", "kind", "metadata", "subsets" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "subsets" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Endpoints" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "subsets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointSubset" }, "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." } } }, "kubernetes:core/v1:EndpointsList": { "description": "EndpointsList is a list of endpoints.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Endpoints" }, "description": "List of endpoints." }, "kind": { "type": "string", "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", "const": "EndpointsList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Endpoints" }, "description": "List of endpoints." }, "kind": { "type": "string", "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", "const": "EndpointsList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:EndpointsPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nEndpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t {\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t },\n\t {\n\t Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t },\n\t]", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Endpoints" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "subsets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointSubsetPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "subsets" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Endpoints" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "subsets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:EndpointSubsetPatch" }, "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." } } }, "kubernetes:core/v1:Event": { "description": "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", "properties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the Regarding object." }, "apiVersion": { "type": "string", "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", "const": "v1" }, "count": { "type": "integer", "description": "The number of times this event has occurred." }, "eventTime": { "type": "string", "description": "Time when this Event was first observed." }, "firstTimestamp": { "type": "string", "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)" }, "involvedObject": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "The object that this event is about." }, "kind": { "type": "string", "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", "const": "Event" }, "lastTimestamp": { "type": "string", "description": "The time at which the most recent occurrence of this event was recorded." }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "reason": { "type": "string", "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "Optional secondary object for more complex actions." }, "reportingComponent": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:core/v1:EventSeries", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "source": { "$ref": "#/types/kubernetes:core/v1:EventSource", "description": "The component reporting this event. Should be a short machine understandable string." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future" } }, "type": "object", "required": [ "action", "apiVersion", "count", "eventTime", "firstTimestamp", "involvedObject", "kind", "lastTimestamp", "message", "metadata", "reason", "related", "reportingComponent", "reportingInstance", "series", "source", "type" ], "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "count", "eventTime", "firstTimestamp", "involvedObject", "kind", "lastTimestamp", "message", "metadata", "reason", "related", "reportingComponent", "reportingInstance", "series", "source", "type" ] } }, "inputProperties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the Regarding object." }, "apiVersion": { "type": "string", "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", "const": "v1" }, "count": { "type": "integer", "description": "The number of times this event has occurred." }, "eventTime": { "type": "string", "description": "Time when this Event was first observed." }, "firstTimestamp": { "type": "string", "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)" }, "involvedObject": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "The object that this event is about." }, "kind": { "type": "string", "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", "const": "Event" }, "lastTimestamp": { "type": "string", "description": "The time at which the most recent occurrence of this event was recorded." }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "reason": { "type": "string", "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "Optional secondary object for more complex actions." }, "reportingComponent": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:core/v1:EventSeries", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "source": { "$ref": "#/types/kubernetes:core/v1:EventSource", "description": "The component reporting this event. Should be a short machine understandable string." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future" } }, "requiredInputs": [ "involvedObject", "metadata" ], "aliases": [ { "type": "kubernetes:events.k8s.io/v1:Event" }, { "type": "kubernetes:events.k8s.io/v1beta1:Event" } ] }, "kubernetes:core/v1:EventList": { "description": "EventList is a list of events.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Event" }, "description": "List of events" }, "kind": { "type": "string", "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", "const": "EventList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Event" }, "description": "List of events" }, "kind": { "type": "string", "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", "const": "EventList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:EventPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nEvent is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", "properties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the Regarding object." }, "apiVersion": { "type": "string", "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", "const": "v1" }, "count": { "type": "integer", "description": "The number of times this event has occurred." }, "eventTime": { "type": "string", "description": "Time when this Event was first observed." }, "firstTimestamp": { "type": "string", "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)" }, "involvedObject": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "The object that this event is about." }, "kind": { "type": "string", "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", "const": "Event" }, "lastTimestamp": { "type": "string", "description": "The time at which the most recent occurrence of this event was recorded." }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "reason": { "type": "string", "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "Optional secondary object for more complex actions." }, "reportingComponent": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:core/v1:EventSeriesPatch", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "source": { "$ref": "#/types/kubernetes:core/v1:EventSourcePatch", "description": "The component reporting this event. Should be a short machine understandable string." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "count", "eventTime", "firstTimestamp", "involvedObject", "kind", "lastTimestamp", "message", "metadata", "reason", "related", "reportingComponent", "reportingInstance", "series", "source", "type" ] } }, "inputProperties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the Regarding object." }, "apiVersion": { "type": "string", "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", "const": "v1" }, "count": { "type": "integer", "description": "The number of times this event has occurred." }, "eventTime": { "type": "string", "description": "Time when this Event was first observed." }, "firstTimestamp": { "type": "string", "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)" }, "involvedObject": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "The object that this event is about." }, "kind": { "type": "string", "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", "const": "Event" }, "lastTimestamp": { "type": "string", "description": "The time at which the most recent occurrence of this event was recorded." }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "reason": { "type": "string", "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "Optional secondary object for more complex actions." }, "reportingComponent": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:core/v1:EventSeriesPatch", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "source": { "$ref": "#/types/kubernetes:core/v1:EventSourcePatch", "description": "The component reporting this event. Should be a short machine understandable string." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future" } }, "aliases": [ { "type": "kubernetes:events.k8s.io/v1:EventPatch" }, { "type": "kubernetes:events.k8s.io/v1beta1:EventPatch" } ] }, "kubernetes:core/v1:LimitRange": { "description": "LimitRange sets resource usage limits for each kind of resource in a Namespace.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "LimitRange" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:LimitRangeSpec", "description": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "LimitRange" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:LimitRangeSpec", "description": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:LimitRangeList": { "description": "LimitRangeList is a list of LimitRange items.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LimitRange" }, "description": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" }, "kind": { "type": "string", "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", "const": "LimitRangeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LimitRange" }, "description": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" }, "kind": { "type": "string", "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", "const": "LimitRangeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:LimitRangePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nLimitRange sets resource usage limits for each kind of resource in a Namespace.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "LimitRange" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:LimitRangeSpecPatch", "description": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "LimitRange" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:LimitRangeSpecPatch", "description": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:Namespace": { "description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Namespace" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NamespaceSpec", "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:NamespaceStatus", "description": "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Namespace" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NamespaceSpec", "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:NamespaceList": { "description": "NamespaceList is a list of Namespaces.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Namespace" }, "description": "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" }, "kind": { "type": "string", "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", "const": "NamespaceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Namespace" }, "description": "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" }, "kind": { "type": "string", "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", "const": "NamespaceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:NamespacePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nNamespace provides a scope for Names. Use of multiple namespaces is optional.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Namespace" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NamespaceSpecPatch", "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:NamespaceStatusPatch", "description": "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Namespace" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NamespaceSpecPatch", "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:Node": { "description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Node" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NodeSpec", "description": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:NodeStatus", "description": "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Node" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NodeSpec", "description": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:NodeList": { "description": "NodeList is the whole list of all Nodes which have been registered with master.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Node" }, "description": "List of nodes" }, "kind": { "type": "string", "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", "const": "NodeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Node" }, "description": "List of nodes" }, "kind": { "type": "string", "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", "const": "NodeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:NodePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nNode is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Node" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NodeSpecPatch", "description": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:NodeStatusPatch", "description": "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Node" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:NodeSpecPatch", "description": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:PersistentVolume": { "description": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolume" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpec", "description": "spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" }, "status": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeStatus", "description": "status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolume" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpec", "description": "spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" } } }, "kubernetes:core/v1:PersistentVolumeClaim": { "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolumeClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimSpec", "description": "spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "status": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimStatus", "description": "status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolumeClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimSpec", "description": "spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" } } }, "kubernetes:core/v1:PersistentVolumeClaimList": { "description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaim" }, "description": "items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "kind": { "type": "string", "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", "const": "PersistentVolumeClaimList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaim" }, "description": "items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "kind": { "type": "string", "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", "const": "PersistentVolumeClaimList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:PersistentVolumeClaimPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPersistentVolumeClaim is a user's request for and claim to a persistent volume", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolumeClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimSpecPatch", "description": "spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "status": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimStatusPatch", "description": "status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolumeClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeClaimSpecPatch", "description": "spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" } } }, "kubernetes:core/v1:PersistentVolumeList": { "description": "PersistentVolumeList is a list of PersistentVolume items.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolume" }, "description": "items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes" }, "kind": { "type": "string", "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", "const": "PersistentVolumeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PersistentVolume" }, "description": "items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes" }, "kind": { "type": "string", "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", "const": "PersistentVolumeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:PersistentVolumePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolume" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpecPatch", "description": "spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" }, "status": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeStatusPatch", "description": "status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PersistentVolume" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PersistentVolumeSpecPatch", "description": "spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" } } }, "kubernetes:core/v1:Pod": { "description": "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Pod is scheduled (\"PodScheduled\"\" '.status.condition' is true).\n2. The Pod is initialized (\"Initialized\" '.status.condition' is true).\n3. The Pod is ready (\"Ready\" '.status.condition' is true) and the '.status.phase' is\n set to \"Running\".\nOr (for Jobs): The Pod succeeded ('.status.phase' set to \"Succeeded\").\n\nIf the Pod has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a Pod with auto-naming\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst pod = new kubernetes.core.v1.Pod(\"pod\", {spec: {\n containers: [{\n image: \"nginx:1.14.2\",\n name: \"nginx\",\n ports: [{\n containerPort: 80,\n }],\n }],\n}});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\npod = kubernetes.core.v1.Pod(\"pod\", spec=kubernetes.core.v1.PodSpecArgs(\n containers=[kubernetes.core.v1.ContainerArgs(\n image=\"nginx:1.14.2\",\n name=\"nginx\",\n ports=[kubernetes.core.v1.ContainerPortArgs(\n container_port=80,\n )],\n )],\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var pod = new Kubernetes.Core.V1.Pod(\"pod\", new()\n {\n Spec = new Kubernetes.Types.Inputs.Core.V1.PodSpecArgs\n {\n Containers = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerArgs\n {\n Image = \"nginx:1.14.2\",\n Name = \"nginx\",\n Ports = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerPortArgs\n {\n ContainerPortValue = 80,\n },\n },\n },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := corev1.NewPod(ctx, \"pod\", &corev1.PodArgs{\n\t\t\tSpec: &corev1.PodSpecArgs{\n\t\t\t\tContainers: corev1.ContainerArray{\n\t\t\t\t\t&corev1.ContainerArgs{\n\t\t\t\t\t\tImage: pulumi.String(\"nginx:1.14.2\"),\n\t\t\t\t\t\tName: pulumi.String(\"nginx\"),\n\t\t\t\t\t\tPorts: corev1.ContainerPortArray{\n\t\t\t\t\t\t\t&corev1.ContainerPortArgs{\n\t\t\t\t\t\t\t\tContainerPort: pulumi.Int(80),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.core_v1.Pod;\nimport com.pulumi.kubernetes.core_v1.PodArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pod = new Pod(\"pod\", PodArgs.builder() \n .spec(PodSpecArgs.builder()\n .containers(ContainerArgs.builder()\n .image(\"nginx:1.14.2\")\n .name(\"nginx\")\n .ports(ContainerPortArgs.builder()\n .containerPort(80)\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create a Pod with auto-naming\nname: yaml-example\nresources:\n pod:\n properties:\n spec:\n containers:\n - image: nginx:1.14.2\n name: nginx\n ports:\n - containerPort: 80\n type: kubernetes:core/v1:Pod\nruntime: yaml\n```\n{{% /example %}}\n{{% example %}}\n### Create a Pod with a user-specified name\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst pod = new kubernetes.core.v1.Pod(\"pod\", {\n metadata: {\n name: \"nginx\",\n },\n spec: {\n containers: [{\n image: \"nginx:1.14.2\",\n name: \"nginx\",\n ports: [{\n containerPort: 80,\n }],\n }],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\npod = kubernetes.core.v1.Pod(\"pod\",\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n name=\"nginx\",\n ),\n spec=kubernetes.core.v1.PodSpecArgs(\n containers=[kubernetes.core.v1.ContainerArgs(\n image=\"nginx:1.14.2\",\n name=\"nginx\",\n ports=[kubernetes.core.v1.ContainerPortArgs(\n container_port=80,\n )],\n )],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var pod = new Kubernetes.Core.V1.Pod(\"pod\", new()\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Name = \"nginx\",\n },\n Spec = new Kubernetes.Types.Inputs.Core.V1.PodSpecArgs\n {\n Containers = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerArgs\n {\n Image = \"nginx:1.14.2\",\n Name = \"nginx\",\n Ports = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ContainerPortArgs\n {\n ContainerPortValue = 80,\n },\n },\n },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\tmetav1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := corev1.NewPod(ctx, \"pod\", &corev1.PodArgs{\n\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\tName: pulumi.String(\"nginx\"),\n\t\t\t},\n\t\t\tSpec: &corev1.PodSpecArgs{\n\t\t\t\tContainers: corev1.ContainerArray{\n\t\t\t\t\t&corev1.ContainerArgs{\n\t\t\t\t\t\tImage: pulumi.String(\"nginx:1.14.2\"),\n\t\t\t\t\t\tName: pulumi.String(\"nginx\"),\n\t\t\t\t\t\tPorts: corev1.ContainerPortArray{\n\t\t\t\t\t\t\t&corev1.ContainerPortArgs{\n\t\t\t\t\t\t\t\tContainerPort: pulumi.Int(80),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.core_v1.Pod;\nimport com.pulumi.kubernetes.core_v1.PodArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.ObjectMetaArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.PodSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pod = new Pod(\"pod\", PodArgs.builder() \n .metadata(ObjectMetaArgs.builder()\n .name(\"nginx\")\n .build())\n .spec(PodSpecArgs.builder()\n .containers(ContainerArgs.builder()\n .image(\"nginx:1.14.2\")\n .name(\"nginx\")\n .ports(ContainerPortArgs.builder()\n .containerPort(80)\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create a Pod with a user-specified name\nname: yaml-example\nresources:\n pod:\n properties:\n metadata:\n name: nginx\n spec:\n containers:\n - image: nginx:1.14.2\n name: nginx\n ports:\n - containerPort: 80\n type: kubernetes:core/v1:Pod\nruntime: yaml\n```\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Pod" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PodSpec", "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:PodStatus", "description": "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Pod" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PodSpec", "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:PodList": { "description": "PodList is a list of Pods.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Pod" }, "description": "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md" }, "kind": { "type": "string", "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", "const": "PodList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Pod" }, "description": "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md" }, "kind": { "type": "string", "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", "const": "PodList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:PodPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Pod is scheduled (\"PodScheduled\"\" '.status.condition' is true).\n2. The Pod is initialized (\"Initialized\" '.status.condition' is true).\n3. The Pod is ready (\"Ready\" '.status.condition' is true) and the '.status.phase' is\n set to \"Running\".\nOr (for Jobs): The Pod succeeded ('.status.phase' set to \"Succeeded\").\n\nIf the Pod has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Pod" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PodSpecPatch", "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:PodStatusPatch", "description": "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Pod" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:PodSpecPatch", "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:PodTemplate": { "description": "PodTemplate describes a template for creating copies of a predefined pod.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PodTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "template" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "template" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PodTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpec", "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:PodTemplateList": { "description": "PodTemplateList is a list of PodTemplates.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodTemplate" }, "description": "List of pod templates" }, "kind": { "type": "string", "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", "const": "PodTemplateList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:PodTemplate" }, "description": "List of pod templates" }, "kind": { "type": "string", "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", "const": "PodTemplateList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:PodTemplatePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPodTemplate describes a template for creating copies of a predefined pod.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PodTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "template" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "PodTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "template": { "$ref": "#/types/kubernetes:core/v1:PodTemplateSpecPatch", "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:ReplicationController": { "description": "ReplicationController represents the configuration of a replication controller.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ReplicationController" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerSpec", "description": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerStatus", "description": "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ReplicationController" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerSpec", "description": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:ReplicationControllerList": { "description": "ReplicationControllerList is a collection of replication controllers.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ReplicationController" }, "description": "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicationControllerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ReplicationController" }, "description": "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicationControllerList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:ReplicationControllerPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nReplicationController represents the configuration of a replication controller.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ReplicationController" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerSpecPatch", "description": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerStatusPatch", "description": "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ReplicationController" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ReplicationControllerSpecPatch", "description": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:ResourceQuota": { "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ResourceQuota" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ResourceQuotaSpec", "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ResourceQuotaStatus", "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ResourceQuota" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ResourceQuotaSpec", "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:ResourceQuotaList": { "description": "ResourceQuotaList is a list of ResourceQuota items.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ResourceQuota" }, "description": "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/" }, "kind": { "type": "string", "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", "const": "ResourceQuotaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ResourceQuota" }, "description": "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/" }, "kind": { "type": "string", "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", "const": "ResourceQuotaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:ResourceQuotaPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nResourceQuota sets aggregate quota restrictions enforced per namespace", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ResourceQuota" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ResourceQuotaSpecPatch", "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ResourceQuotaStatusPatch", "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "ResourceQuota" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ResourceQuotaSpecPatch", "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:Secret": { "description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.\n\nNote: While Pulumi automatically encrypts the 'data' and 'stringData'\nfields, this encryption only applies to Pulumi's context, including the state file, \nthe Service, the CLI, etc. Kubernetes does not encrypt Secret resources by default,\nand the contents are visible to users with access to the Secret in Kubernetes using\ntools like 'kubectl'.\n\nFor more information on securing Kubernetes Secrets, see the following links:\nhttps://kubernetes.io/docs/concepts/configuration/secret/#security-properties\nhttps://kubernetes.io/docs/concepts/configuration/secret/#risks", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "data": { "type": "object", "additionalProperties": { "type": "string" }, "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", "secret": true }, "immutable": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "Secret" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "stringData": { "type": "object", "additionalProperties": { "type": "string" }, "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.", "secret": true }, "type": { "type": "string", "description": "Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types" } }, "type": "object", "required": [ "apiVersion", "data", "immutable", "kind", "metadata", "stringData", "type" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "immutable", "kind", "metadata", "stringData", "type" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "data": { "type": "object", "additionalProperties": { "type": "string" }, "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", "secret": true }, "immutable": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "Secret" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "stringData": { "type": "object", "additionalProperties": { "type": "string" }, "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.", "secret": true }, "type": { "type": "string", "description": "Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types" } } }, "kubernetes:core/v1:SecretList": { "description": "SecretList is a list of Secret.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Secret" }, "description": "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret" }, "kind": { "type": "string", "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", "const": "SecretList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Secret" }, "description": "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret" }, "kind": { "type": "string", "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", "const": "SecretList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:SecretPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nSecret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.\n\nNote: While Pulumi automatically encrypts the 'data' and 'stringData'\nfields, this encryption only applies to Pulumi's context, including the state file, \nthe Service, the CLI, etc. Kubernetes does not encrypt Secret resources by default,\nand the contents are visible to users with access to the Secret in Kubernetes using\ntools like 'kubectl'.\n\nFor more information on securing Kubernetes Secrets, see the following links:\nhttps://kubernetes.io/docs/concepts/configuration/secret/#security-properties\nhttps://kubernetes.io/docs/concepts/configuration/secret/#risks", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "data": { "type": "object", "additionalProperties": { "type": "string" }, "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": "boolean", "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." }, "kind": { "type": "string", "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", "const": "Secret" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "stringData": { "type": "object", "additionalProperties": { "type": "string" }, "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": "string", "description": "Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "data", "immutable", "kind", "metadata", "stringData", "type" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "data": { "type": "object", "additionalProperties": { "type": "string" }, "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": "boolean", "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." }, "kind": { "type": "string", "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", "const": "Secret" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "stringData": { "type": "object", "additionalProperties": { "type": "string" }, "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": "string", "description": "Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types" } } }, "kubernetes:core/v1:Service": { "description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Service object exists.\n2. Related Endpoint objects are created. Each time we get an update, wait 10 seconds\n for any stragglers.\n3. The endpoints objects target some number of living objects (unless the Service is\n an \"empty headless\" Service [1] or a Service with '.spec.type: ExternalName').\n4. External IP address is allocated (if Service has '.spec.type: LoadBalancer').\n\nKnown limitations: \nServices targeting ReplicaSets (and, by extension, Deployments,\nStatefulSets, etc.) with '.spec.replicas' set to 0 are not handled, and will time\nout. To work around this limitation, set 'pulumi.com/skipAwait: \"true\"' on\n'.metadata.annotations' for the Service. Work to handle this case is in progress [2].\n\n[1] https://kubernetes.io/docs/concepts/services-networking/service/#headless-services\n[2] https://github.com/pulumi/pulumi-kubernetes/pull/703\n\nIf the Service has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a Service with auto-naming\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst service = new kubernetes.core.v1.Service(\"service\", {spec: {\n ports: [{\n port: 80,\n protocol: \"TCP\",\n targetPort: 9376,\n }],\n selector: {\n app: \"MyApp\",\n },\n}});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\nservice = kubernetes.core.v1.Service(\"service\", spec=kubernetes.core.v1.ServiceSpecArgs(\n ports=[kubernetes.core.v1.ServicePortArgs(\n port=80,\n protocol=\"TCP\",\n target_port=9376,\n )],\n selector={\n \"app\": \"MyApp\",\n },\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var service = new Kubernetes.Core.V1.Service(\"service\", new()\n {\n Spec = new Kubernetes.Types.Inputs.Core.V1.ServiceSpecArgs\n {\n Ports = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ServicePortArgs\n {\n Port = 80,\n Protocol = \"TCP\",\n TargetPort = 9376,\n },\n },\n Selector = \n {\n { \"app\", \"MyApp\" },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := corev1.NewService(ctx, \"service\", &corev1.ServiceArgs{\n\t\t\tSpec: &corev1.ServiceSpecArgs{\n\t\t\t\tPorts: corev1.ServicePortArray{\n\t\t\t\t\t&corev1.ServicePortArgs{\n\t\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\t\tProtocol: pulumi.String(\"TCP\"),\n\t\t\t\t\t\tTargetPort: pulumi.Any(9376),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSelector: pulumi.StringMap{\n\t\t\t\t\t\"app\": pulumi.String(\"MyApp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.core_v1.Service;\nimport com.pulumi.kubernetes.core_v1.ServiceArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.ServiceSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var service = new Service(\"service\", ServiceArgs.builder() \n .spec(ServiceSpecArgs.builder()\n .ports(ServicePortArgs.builder()\n .port(80)\n .protocol(\"TCP\")\n .targetPort(9376)\n .build())\n .selector(Map.of(\"app\", \"MyApp\"))\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create a Service with auto-naming\nname: yaml-example\nresources:\n service:\n properties:\n spec:\n ports:\n - port: 80\n protocol: TCP\n targetPort: 9376\n selector:\n app: MyApp\n type: kubernetes:core/v1:Service\nruntime: yaml\n```\n{{% /example %}}\n{{% example %}}\n### Create a Service with a user-specified name\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst service = new kubernetes.core.v1.Service(\"service\", {\n metadata: {\n name: \"my-service\",\n },\n spec: {\n ports: [{\n port: 80,\n protocol: \"TCP\",\n targetPort: 9376,\n }],\n selector: {\n app: \"MyApp\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\nservice = kubernetes.core.v1.Service(\"service\",\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n name=\"my-service\",\n ),\n spec=kubernetes.core.v1.ServiceSpecArgs(\n ports=[kubernetes.core.v1.ServicePortArgs(\n port=80,\n protocol=\"TCP\",\n target_port=9376,\n )],\n selector={\n \"app\": \"MyApp\",\n },\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var service = new Kubernetes.Core.V1.Service(\"service\", new()\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Name = \"my-service\",\n },\n Spec = new Kubernetes.Types.Inputs.Core.V1.ServiceSpecArgs\n {\n Ports = new[]\n {\n new Kubernetes.Types.Inputs.Core.V1.ServicePortArgs\n {\n Port = 80,\n Protocol = \"TCP\",\n TargetPort = 9376,\n },\n },\n Selector = \n {\n { \"app\", \"MyApp\" },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\tmetav1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := corev1.NewService(ctx, \"service\", &corev1.ServiceArgs{\n\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\tName: pulumi.String(\"my-service\"),\n\t\t\t},\n\t\t\tSpec: &corev1.ServiceSpecArgs{\n\t\t\t\tPorts: corev1.ServicePortArray{\n\t\t\t\t\t&corev1.ServicePortArgs{\n\t\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\t\tProtocol: pulumi.String(\"TCP\"),\n\t\t\t\t\t\tTargetPort: pulumi.Any(9376),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSelector: pulumi.StringMap{\n\t\t\t\t\t\"app\": pulumi.String(\"MyApp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.core_v1.Service;\nimport com.pulumi.kubernetes.core_v1.ServiceArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.ObjectMetaArgs;\nimport com.pulumi.kubernetes.core_v1.inputs.ServiceSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var service = new Service(\"service\", ServiceArgs.builder() \n .metadata(ObjectMetaArgs.builder()\n .name(\"my-service\")\n .build())\n .spec(ServiceSpecArgs.builder()\n .ports(ServicePortArgs.builder()\n .port(80)\n .protocol(\"TCP\")\n .targetPort(9376)\n .build())\n .selector(Map.of(\"app\", \"MyApp\"))\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create a Service with a user-specified name\nname: yaml-example\nresources:\n service:\n properties:\n metadata:\n name: my-service\n spec:\n ports:\n - port: 80\n protocol: TCP\n targetPort: 9376\n selector:\n app: MyApp\n type: kubernetes:core/v1:Service\nruntime: yaml\n```\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Service" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ServiceSpec", "description": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ServiceStatus", "description": "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Service" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ServiceSpec", "description": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:core/v1:ServiceAccount": { "description": "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "automountServiceAccountToken": { "type": "boolean", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference" }, "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" }, "kind": { "type": "string", "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", "const": "ServiceAccount" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "secrets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReference" }, "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": "object", "required": [ "apiVersion", "automountServiceAccountToken", "imagePullSecrets", "kind", "metadata", "secrets" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "automountServiceAccountToken", "imagePullSecrets", "kind", "metadata", "secrets" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "automountServiceAccountToken": { "type": "boolean", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReference" }, "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" }, "kind": { "type": "string", "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", "const": "ServiceAccount" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "secrets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReference" }, "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" } } }, "kubernetes:core/v1:ServiceAccountList": { "description": "ServiceAccountList is a list of ServiceAccount objects", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ServiceAccount" }, "description": "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" }, "kind": { "type": "string", "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", "const": "ServiceAccountList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ServiceAccount" }, "description": "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" }, "kind": { "type": "string", "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", "const": "ServiceAccountList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:ServiceAccountPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "automountServiceAccountToken": { "type": "boolean", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch" }, "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" }, "kind": { "type": "string", "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", "const": "ServiceAccount" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "secrets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "automountServiceAccountToken", "imagePullSecrets", "kind", "metadata", "secrets" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "automountServiceAccountToken": { "type": "boolean", "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": "array", "items": { "$ref": "#/types/kubernetes:core/v1:LocalObjectReferencePatch" }, "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" }, "kind": { "type": "string", "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", "const": "ServiceAccount" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "secrets": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch" }, "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" } } }, "kubernetes:core/v1:ServiceList": { "description": "ServiceList holds a list of services.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Service" }, "description": "List of services" }, "kind": { "type": "string", "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", "const": "ServiceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:Service" }, "description": "List of services" }, "kind": { "type": "string", "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", "const": "ServiceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:core/v1:ServicePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Service object exists.\n2. Related Endpoint objects are created. Each time we get an update, wait 10 seconds\n for any stragglers.\n3. The endpoints objects target some number of living objects (unless the Service is\n an \"empty headless\" Service [1] or a Service with '.spec.type: ExternalName').\n4. External IP address is allocated (if Service has '.spec.type: LoadBalancer').\n\nKnown limitations: \nServices targeting ReplicaSets (and, by extension, Deployments,\nStatefulSets, etc.) with '.spec.replicas' set to 0 are not handled, and will time\nout. To work around this limitation, set 'pulumi.com/skipAwait: \"true\"' on\n'.metadata.annotations' for the Service. Work to handle this case is in progress [2].\n\n[1] https://kubernetes.io/docs/concepts/services-networking/service/#headless-services\n[2] https://github.com/pulumi/pulumi-kubernetes/pull/703\n\nIf the Service has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Service" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ServiceSpecPatch", "description": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:core/v1:ServiceStatusPatch", "description": "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "kind": { "type": "string", "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", "const": "Service" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:core/v1:ServiceSpecPatch", "description": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:discovery.k8s.io/v1:EndpointSlice": { "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", "properties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:Endpoint" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointPort" }, "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": "object", "required": [ "addressType", "apiVersion", "endpoints", "kind", "metadata", "ports" ], "language": { "nodejs": { "requiredOutputs": [ "addressType", "apiVersion", "endpoints", "kind", "metadata", "ports" ] } }, "inputProperties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:Endpoint" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointPort" }, "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." } }, "requiredInputs": [ "addressType", "endpoints" ], "aliases": [ { "type": "kubernetes:discovery.k8s.io/v1beta1:EndpointSlice" } ] }, "kubernetes:discovery.k8s.io/v1:EndpointSliceList": { "description": "EndpointSliceList represents a list of endpoint slices", "properties": { "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointSlice" }, "description": "items is the list of endpoint slices" }, "kind": { "type": "string", "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", "const": "EndpointSliceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointSlice" }, "description": "items is the list of endpoint slices" }, "kind": { "type": "string", "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", "const": "EndpointSliceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:discovery.k8s.io/v1:EndpointSlicePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nEndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", "properties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointPatch" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointPortPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "addressType", "apiVersion", "endpoints", "kind", "metadata", "ports" ] } }, "inputProperties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointPatch" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1:EndpointPortPatch" }, "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." } }, "aliases": [ { "type": "kubernetes:discovery.k8s.io/v1beta1:EndpointSlicePatch" } ] }, "kubernetes:discovery.k8s.io/v1beta1:EndpointSlice": { "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", "properties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1beta1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:Endpoint" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointPort" }, "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": "object", "required": [ "addressType", "apiVersion", "endpoints", "kind", "metadata", "ports" ], "language": { "nodejs": { "requiredOutputs": [ "addressType", "apiVersion", "endpoints", "kind", "metadata", "ports" ] } }, "inputProperties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1beta1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:Endpoint" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointPort" }, "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." } }, "requiredInputs": [ "addressType", "endpoints" ], "aliases": [ { "type": "kubernetes:discovery.k8s.io/v1:EndpointSlice" } ] }, "kubernetes:discovery.k8s.io/v1beta1:EndpointSliceList": { "description": "EndpointSliceList represents a list of endpoint slices", "properties": { "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointSlice" }, "description": "List of endpoint slices" }, "kind": { "type": "string", "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", "const": "EndpointSliceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointSlice" }, "description": "List of endpoint slices" }, "kind": { "type": "string", "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", "const": "EndpointSliceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:discovery.k8s.io/v1beta1:EndpointSlicePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nEndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", "properties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1beta1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointPortPatch" }, "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": "object", "language": { "nodejs": { "requiredOutputs": [ "addressType", "apiVersion", "endpoints", "kind", "metadata", "ports" ] } }, "inputProperties": { "addressType": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "discovery.k8s.io/v1beta1" }, "endpoints": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" }, "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." }, "kind": { "type": "string", "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", "const": "EndpointSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "ports": { "type": "array", "items": { "$ref": "#/types/kubernetes:discovery.k8s.io/v1beta1:EndpointPortPatch" }, "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." } }, "aliases": [ { "type": "kubernetes:discovery.k8s.io/v1:EndpointSlicePatch" } ] }, "kubernetes:events.k8s.io/v1:Event": { "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", "properties": { "action": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1" }, "deprecatedCount": { "type": "integer", "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedFirstTimestamp": { "type": "string", "description": "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedLastTimestamp": { "type": "string", "description": "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSource", "description": "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type." }, "eventTime": { "type": "string", "description": "eventTime is the time when this Event was first observed. It is required." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "note": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:events.k8s.io/v1:EventSeries", "description": "series is data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "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": "object", "required": [ "action", "apiVersion", "deprecatedCount", "deprecatedFirstTimestamp", "deprecatedLastTimestamp", "deprecatedSource", "eventTime", "kind", "metadata", "note", "reason", "regarding", "related", "reportingController", "reportingInstance", "series", "type" ], "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "deprecatedCount", "deprecatedFirstTimestamp", "deprecatedLastTimestamp", "deprecatedSource", "eventTime", "kind", "metadata", "note", "reason", "regarding", "related", "reportingController", "reportingInstance", "series", "type" ] } }, "inputProperties": { "action": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1" }, "deprecatedCount": { "type": "integer", "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedFirstTimestamp": { "type": "string", "description": "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedLastTimestamp": { "type": "string", "description": "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSource", "description": "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type." }, "eventTime": { "type": "string", "description": "eventTime is the time when this Event was first observed. It is required." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "note": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:events.k8s.io/v1:EventSeries", "description": "series is data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "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." } }, "requiredInputs": [ "eventTime" ], "aliases": [ { "type": "kubernetes:core/v1:Event" }, { "type": "kubernetes:events.k8s.io/v1beta1:Event" } ] }, "kubernetes:events.k8s.io/v1:EventList": { "description": "EventList is a list of Event objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:events.k8s.io/v1:Event" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "EventList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:events.k8s.io/v1:Event" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "EventList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:events.k8s.io/v1:EventPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nEvent is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", "properties": { "action": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1" }, "deprecatedCount": { "type": "integer", "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedFirstTimestamp": { "type": "string", "description": "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedLastTimestamp": { "type": "string", "description": "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSourcePatch", "description": "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type." }, "eventTime": { "type": "string", "description": "eventTime is the time when this Event was first observed. It is required." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "note": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:events.k8s.io/v1:EventSeriesPatch", "description": "series is data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "deprecatedCount", "deprecatedFirstTimestamp", "deprecatedLastTimestamp", "deprecatedSource", "eventTime", "kind", "metadata", "note", "reason", "regarding", "related", "reportingController", "reportingInstance", "series", "type" ] } }, "inputProperties": { "action": { "type": "string", "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." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1" }, "deprecatedCount": { "type": "integer", "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedFirstTimestamp": { "type": "string", "description": "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedLastTimestamp": { "type": "string", "description": "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSourcePatch", "description": "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type." }, "eventTime": { "type": "string", "description": "eventTime is the time when this Event was first observed. It is required." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "note": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "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": "string", "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": { "$ref": "#/types/kubernetes:events.k8s.io/v1:EventSeriesPatch", "description": "series is data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "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." } }, "aliases": [ { "type": "kubernetes:core/v1:EventPatch" }, { "type": "kubernetes:events.k8s.io/v1beta1:EventPatch" } ] }, "kubernetes:events.k8s.io/v1beta1:Event": { "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.", "properties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the regarding object." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1beta1" }, "deprecatedCount": { "type": "integer", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedFirstTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedLastTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSource", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "eventTime": { "type": "string", "description": "Required. Time when this Event was first observed." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "note": { "type": "string", "description": "Optional. 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": "string", "description": "Why the action was taken." }, "regarding": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:events.k8s.io/v1beta1:EventSeries", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future." } }, "type": "object", "required": [ "action", "apiVersion", "deprecatedCount", "deprecatedFirstTimestamp", "deprecatedLastTimestamp", "deprecatedSource", "eventTime", "kind", "metadata", "note", "reason", "regarding", "related", "reportingController", "reportingInstance", "series", "type" ], "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "deprecatedCount", "deprecatedFirstTimestamp", "deprecatedLastTimestamp", "deprecatedSource", "eventTime", "kind", "metadata", "note", "reason", "regarding", "related", "reportingController", "reportingInstance", "series", "type" ] } }, "inputProperties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the regarding object." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1beta1" }, "deprecatedCount": { "type": "integer", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedFirstTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedLastTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSource", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "eventTime": { "type": "string", "description": "Required. Time when this Event was first observed." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "note": { "type": "string", "description": "Optional. 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": "string", "description": "Why the action was taken." }, "regarding": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReference", "description": "Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:events.k8s.io/v1beta1:EventSeries", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future." } }, "requiredInputs": [ "eventTime" ], "aliases": [ { "type": "kubernetes:core/v1:Event" }, { "type": "kubernetes:events.k8s.io/v1:Event" } ] }, "kubernetes:events.k8s.io/v1beta1:EventList": { "description": "EventList is a list of Event objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:events.k8s.io/v1beta1:Event" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "EventList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:events.k8s.io/v1beta1:Event" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "EventList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:events.k8s.io/v1beta1:EventPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nEvent is a report of an event somewhere in the cluster. It generally denotes some state change in the system.", "properties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the regarding object." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1beta1" }, "deprecatedCount": { "type": "integer", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedFirstTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedLastTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSourcePatch", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "eventTime": { "type": "string", "description": "Required. Time when this Event was first observed." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "note": { "type": "string", "description": "Optional. 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": "string", "description": "Why the action was taken." }, "regarding": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:events.k8s.io/v1beta1:EventSeriesPatch", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "action", "apiVersion", "deprecatedCount", "deprecatedFirstTimestamp", "deprecatedLastTimestamp", "deprecatedSource", "eventTime", "kind", "metadata", "note", "reason", "regarding", "related", "reportingController", "reportingInstance", "series", "type" ] } }, "inputProperties": { "action": { "type": "string", "description": "What action was taken/failed regarding to the regarding object." }, "apiVersion": { "type": "string", "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", "const": "events.k8s.io/v1beta1" }, "deprecatedCount": { "type": "integer", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedFirstTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedLastTimestamp": { "type": "string", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "deprecatedSource": { "$ref": "#/types/kubernetes:core/v1:EventSourcePatch", "description": "Deprecated field assuring backward compatibility with core.v1 Event type" }, "eventTime": { "type": "string", "description": "Required. Time when this Event was first observed." }, "kind": { "type": "string", "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", "const": "Event" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "note": { "type": "string", "description": "Optional. 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": "string", "description": "Why the action was taken." }, "regarding": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." }, "related": { "$ref": "#/types/kubernetes:core/v1:ObjectReferencePatch", "description": "Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." }, "reportingController": { "type": "string", "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." }, "reportingInstance": { "type": "string", "description": "ID of the controller instance, e.g. `kubelet-xyzf`." }, "series": { "$ref": "#/types/kubernetes:events.k8s.io/v1beta1:EventSeriesPatch", "description": "Data about the Event series this event represents or nil if it's a singleton Event." }, "type": { "type": "string", "description": "Type of this event (Normal, Warning), new types could be added in the future." } }, "aliases": [ { "type": "kubernetes:core/v1:EventPatch" }, { "type": "kubernetes:events.k8s.io/v1:EventPatch" } ] }, "kubernetes:extensions/v1beta1:DaemonSet": { "description": "DaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetSpec", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetStatus", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetSpec", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1:DaemonSet" }, { "type": "kubernetes:apps/v1beta2:DaemonSet" } ], "deprecationMessage": "extensions/v1beta1/DaemonSet is deprecated by apps/v1/DaemonSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:extensions/v1beta1:DaemonSetList": { "description": "DaemonSetList is a collection of daemon sets.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSet" }, "description": "A list of daemon sets." }, "kind": { "type": "string", "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", "const": "DaemonSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSet" }, "description": "A list of daemon sets." }, "kind": { "type": "string", "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", "const": "DaemonSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:extensions/v1beta1:DaemonSetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nDaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetSpecPatch", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetStatusPatch", "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "DaemonSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DaemonSetSpecPatch", "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1:DaemonSetPatch" }, { "type": "kubernetes:apps/v1beta2:DaemonSetPatch" } ], "deprecationMessage": "extensions/v1beta1/DaemonSet is deprecated by apps/v1/DaemonSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:extensions/v1beta1:Deployment": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentStatus", "description": "Most recently observed status of the Deployment." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentSpec", "description": "Specification of the desired behavior of the Deployment." } }, "aliases": [ { "type": "kubernetes:apps/v1:Deployment" }, { "type": "kubernetes:apps/v1beta1:Deployment" }, { "type": "kubernetes:apps/v1beta2:Deployment" } ], "deprecationMessage": "extensions/v1beta1/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:extensions/v1beta1:DeploymentList": { "description": "DeploymentList is a list of Deployments.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:Deployment" }, "description": "Items is the list of Deployments." }, "kind": { "type": "string", "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", "const": "DeploymentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:extensions/v1beta1:DeploymentPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nDeployment enables declarative updates for Pods and ReplicaSets.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. The Deployment has begun to be updated by the Deployment controller. If the current\n generation of the Deployment is > 1, then this means that the current generation must\n be different from the generation reported by the last outputs.\n2. There exists a ReplicaSet whose revision is equal to the current revision of the\n Deployment.\n3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'\n member is set to 'True'.\n4. If the Deployment has generation > 1, then '.status.conditions' has a status of type\n 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is\n 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,\n because it doesn't do a rollout (i.e., it simply creates the Deployment and\n corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.\n\nIf the Deployment has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentStatusPatch", "description": "Most recently observed status of the Deployment." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Deployment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata." }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:DeploymentSpecPatch", "description": "Specification of the desired behavior of the Deployment." } }, "aliases": [ { "type": "kubernetes:apps/v1:DeploymentPatch" }, { "type": "kubernetes:apps/v1beta1:DeploymentPatch" }, { "type": "kubernetes:apps/v1beta2:DeploymentPatch" } ], "deprecationMessage": "extensions/v1beta1/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:extensions/v1beta1:Ingress": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. \n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressSpec", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressStatus", "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressSpec", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:networking.k8s.io/v1:Ingress" }, { "type": "kubernetes:networking.k8s.io/v1beta1:Ingress" } ], "deprecationMessage": "extensions/v1beta1/Ingress is deprecated by networking.k8s.io/v1beta1/Ingress and not supported by Kubernetes v1.20+ clusters." }, "kubernetes:extensions/v1beta1:IngressList": { "description": "IngressList is a collection of Ingress.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:Ingress" }, "description": "Items is the list of Ingress." }, "kind": { "type": "string", "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", "const": "IngressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:Ingress" }, "description": "Items is the list of Ingress." }, "kind": { "type": "string", "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", "const": "IngressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:extensions/v1beta1:IngressPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. \n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressSpecPatch", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressStatusPatch", "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:IngressSpecPatch", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:networking.k8s.io/v1:IngressPatch" }, { "type": "kubernetes:networking.k8s.io/v1beta1:IngressPatch" } ], "deprecationMessage": "extensions/v1beta1/Ingress is deprecated by networking.k8s.io/v1beta1/Ingress and not supported by Kubernetes v1.20+ clusters." }, "kubernetes:extensions/v1beta1:NetworkPolicy": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicySpec", "description": "Specification of the desired behavior for this NetworkPolicy." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicySpec", "description": "Specification of the desired behavior for this NetworkPolicy." } }, "aliases": [ { "type": "kubernetes:networking.k8s.io/v1:NetworkPolicy" } ] }, "kubernetes:extensions/v1beta1:NetworkPolicyList": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicy" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "NetworkPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicy" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "NetworkPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:extensions/v1beta1:NetworkPolicyPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nDEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicySpecPatch", "description": "Specification of the desired behavior for this NetworkPolicy." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:NetworkPolicySpecPatch", "description": "Specification of the desired behavior for this NetworkPolicy." } }, "aliases": [ { "type": "kubernetes:networking.k8s.io/v1:NetworkPolicyPatch" } ] }, "kubernetes:extensions/v1beta1:PodSecurityPolicy": { "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:PodSecurityPolicySpec", "description": "spec defines the policy enforced." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:PodSecurityPolicySpec", "description": "spec defines the policy enforced." } }, "aliases": [ { "type": "kubernetes:policy/v1beta1:PodSecurityPolicy" } ] }, "kubernetes:extensions/v1beta1:PodSecurityPolicyList": { "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:PodSecurityPolicy" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "PodSecurityPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:PodSecurityPolicy" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "PodSecurityPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:extensions/v1beta1:PodSecurityPolicyPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:PodSecurityPolicySpecPatch", "description": "spec defines the policy enforced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:PodSecurityPolicySpecPatch", "description": "spec defines the policy enforced." } }, "aliases": [ { "type": "kubernetes:policy/v1beta1:PodSecurityPolicyPatch" } ] }, "kubernetes:extensions/v1beta1:ReplicaSet": { "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetSpec", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetStatus", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetSpec", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1:ReplicaSet" }, { "type": "kubernetes:apps/v1beta2:ReplicaSet" } ], "deprecationMessage": "extensions/v1beta1/ReplicaSet is deprecated by apps/v1/ReplicaSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:extensions/v1beta1:ReplicaSetList": { "description": "ReplicaSetList is a collection of ReplicaSets.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSet" }, "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicaSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSet" }, "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller" }, "kind": { "type": "string", "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", "const": "ReplicaSetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "requiredInputs": [ "items" ] }, "kubernetes:extensions/v1beta1:ReplicaSetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetSpecPatch", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetStatusPatch", "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "extensions/v1beta1" }, "kind": { "type": "string", "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", "const": "ReplicaSet" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:extensions/v1beta1:ReplicaSetSpecPatch", "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:apps/v1:ReplicaSetPatch" }, { "type": "kubernetes:apps/v1beta2:ReplicaSetPatch" } ], "deprecationMessage": "extensions/v1beta1/ReplicaSet is deprecated by apps/v1/ReplicaSet and not supported by Kubernetes v1.16+ clusters." }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchema" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nFlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaStatusPatch", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaPatch" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfiguration" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationStatusPatch", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationPatch" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchema" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nFlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaStatusPatch", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaPatch" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfiguration" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationStatusPatch", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationPatch" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchema" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nFlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaStatusPatch", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaPatch" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfiguration" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationStatusPatch", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationPatch" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchema" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nFlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaStatusPatch", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaPatch" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfiguration" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationStatusPatch", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta2" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationPatch" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchema" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchema" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchema" }, "description": "`items` is a list of FlowSchemas." }, "kind": { "type": "string", "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", "const": "FlowSchemaList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nFlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaStatusPatch", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "FlowSchema" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:FlowSchemaSpecPatch", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:FlowSchemaPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:FlowSchemaPatch" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfiguration" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfiguration" } ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfiguration" }, "description": "`items` is a list of request-priorities." }, "kind": { "type": "string", "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", "const": "PriorityLevelConfigurationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationStatusPatch", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "flowcontrol.apiserver.k8s.io/v1beta3" }, "kind": { "type": "string", "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", "const": "PriorityLevelConfiguration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:flowcontrol.apiserver.k8s.io/v1beta3:PriorityLevelConfigurationSpecPatch", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1alpha1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta1:PriorityLevelConfigurationPatch" }, { "type": "kubernetes:flowcontrol.apiserver.k8s.io/v1beta2:PriorityLevelConfigurationPatch" } ] }, "kubernetes:helm.sh/v3:Chart": { "description": "Chart is a component representing a collection of resources described by an arbitrary Helm Chart.\n\nThe Helm Chart can be fetched from any source that is accessible to the `helm` command line. Values in the `values.yml` file can be overridden using `ChartOpts.values` (equivalent to `--set` or having multiple `values.yml` files). Objects can be transformed arbitrarily by supplying callbacks to `ChartOpts.transformations`.\n\nThe `Chart` resource renders the templates from your chart and then manage them directly with the Pulumi Kubernetes provider.\n\n`Chart` does not use Tiller. The Chart specified is copied and expanded locally; the semantics are equivalent to running `helm template` and then using Pulumi to manage the resulting YAML manifests. Any values that would be retrieved in-cluster are assigned fake values, and none of Tiller's server-side validity testing is executed.\n\nYou may also want to consider the `Release` resource as an alternative method for managing helm charts. For more information about the trade-offs between these options see: [Choosing the right Helm resource for your use case](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/choosing-the-right-helm-resource-for-your-use-case)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Local Chart Directory\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Chart(\"nginx-ingress\", {\n path: \"./nginx-ingress\",\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Chart, LocalChartOpts\n\nnginx_ingress = Chart(\n \"nginx-ingress\",\n LocalChartOpts(\n path=\"./nginx-ingress\",\n ),\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Helm;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Chart(\"nginx-ingress\", new LocalChartArgs\n {\n Path = \"./nginx-ingress\",\n });\n\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewChart(ctx, \"nginx-ingress\", helm.ChartArgs{\n\t\t\tPath: pulumi.String(\"./nginx-ingress\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Remote Chart\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Chart(\"nginx-ingress\", {\n chart: \"nginx-ingress\",\n version: \"1.24.4\",\n fetchOpts:{\n repo: \"https://charts.helm.sh/stable\",\n },\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Chart, ChartOpts, FetchOpts\n\nnginx_ingress = Chart(\n \"nginx-ingress\",\n ChartOpts(\n chart=\"nginx-ingress\",\n version=\"1.24.4\",\n fetch_opts=FetchOpts(\n repo=\"https://charts.helm.sh/stable\",\n ),\n ),\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Helm;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Chart(\"nginx-ingress\", new ChartArgs\n {\n Chart = \"nginx-ingress\",\n Version = \"1.24.4\",\n FetchOptions = new ChartFetchArgs\n {\n Repo = \"https://charts.helm.sh/stable\"\n }\n });\n\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewChart(ctx, \"nginx-ingress\", helm.ChartArgs{\n\t\t\tChart: pulumi.String(\"nginx-ingress\"),\n\t\t\tVersion: pulumi.String(\"1.24.4\"),\n\t\t\tFetchargs: helm.FetchArgs{\n\t\t\t\tRepo: pulumi.String(\"https://charts.helm.sh/stable\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n\n{{% /example %}}\n{{% example %}}\n### Set Chart Values\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Chart(\"nginx-ingress\", {\n chart: \"nginx-ingress\",\n version: \"1.24.4\",\n fetchOpts:{\n repo: \"https://charts.helm.sh/stable\",\n },\n values: {\n controller: {\n metrics: {\n enabled: true,\n }\n }\n },\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Chart, ChartOpts, FetchOpts\n\nnginx_ingress = Chart(\n \"nginx-ingress\",\n ChartOpts(\n chart=\"nginx-ingress\",\n version=\"1.24.4\",\n fetch_opts=FetchOpts(\n repo=\"https://charts.helm.sh/stable\",\n ),\n values={\n \"controller\": {\n \"metrics\": {\n \"enabled\": True,\n },\n },\n },\n ),\n)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Helm;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var values = new Dictionary\n {\n [\"controller\"] = new Dictionary\n {\n [\"metrics\"] = new Dictionary\n {\n [\"enabled\"] = true\n }\n },\n };\n\n var nginx = new Chart(\"nginx-ingress\", new ChartArgs\n {\n Chart = \"nginx-ingress\",\n Version = \"1.24.4\",\n FetchOptions = new ChartFetchArgs\n {\n Repo = \"https://charts.helm.sh/stable\"\n },\n Values = values,\n });\n\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewChart(ctx, \"nginx-ingress\", helm.ChartArgs{\n\t\t\tChart: pulumi.String(\"nginx-ingress\"),\n\t\t\tVersion: pulumi.String(\"1.24.4\"),\n\t\t\tFetchArgs: helm.FetchArgs{\n\t\t\t\tRepo: pulumi.String(\"https://charts.helm.sh/stable\"),\n\t\t\t},\n\t\t\tValues: pulumi.Map{\n\t\t\t\t\"controller\": pulumi.Map{\n\t\t\t\t\t\"metrics\": pulumi.Map{\n\t\t\t\t\t\t\"enabled\": pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Deploy Chart into Namespace\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Chart(\"nginx-ingress\", {\n chart: \"nginx-ingress\",\n version: \"1.24.4\",\n namespace: \"test-namespace\",\n fetchOpts:{\n repo: \"https://charts.helm.sh/stable\",\n },\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Chart, ChartOpts, FetchOpts\n\nnginx_ingress = Chart(\n \"nginx-ingress\",\n ChartOpts(\n chart=\"nginx-ingress\",\n version=\"1.24.4\",\n namespace=\"test-namespace\",\n fetch_opts=FetchOpts(\n repo=\"https://charts.helm.sh/stable\",\n ),\n ),\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Helm;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Chart(\"nginx-ingress\", new ChartArgs\n {\n Chart = \"nginx-ingress\",\n Version = \"1.24.4\",\n Namespace = \"test-namespace\",\n FetchOptions = new ChartFetchArgs\n {\n Repo = \"https://charts.helm.sh/stable\"\n },\n });\n\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewChart(ctx, \"nginx-ingress\", helm.ChartArgs{\n\t\t\tChart: pulumi.String(\"nginx-ingress\"),\n\t\t\tVersion: pulumi.String(\"1.24.4\"),\n\t\t\tNamespace: pulumi.String(\"test-namespace\"),\n\t\t\tFetchArgs: helm.FetchArgs{\n\t\t\t\tRepo: pulumi.String(\"https://charts.helm.sh/stable\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Depend on a Chart resource\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Chart(\"nginx-ingress\", {\n chart: \"nginx-ingress\",\n version: \"1.24.4\",\n namespace: \"test-namespace\",\n fetchOpts:{\n repo: \"https://charts.helm.sh/stable\",\n },\n});\n\n// Create a ConfigMap depending on the Chart. The ConfigMap will not be created until after all of the Chart\n// resources are ready. Note the use of the `ready` attribute; depending on the Chart resource directly will not work.\nnew k8s.core.v1.ConfigMap(\"foo\", {\n metadata: { namespace: namespaceName },\n data: {foo: \"bar\"}\n}, {dependsOn: nginxIngress.ready})\n```\n```python\nimport pulumi\nfrom pulumi_kubernetes.core.v1 import ConfigMap, ConfigMapInitArgs\nfrom pulumi_kubernetes.helm.v3 import Chart, ChartOpts, FetchOpts\n\nnginx_ingress = Chart(\n \"nginx-ingress\",\n ChartOpts(\n chart=\"nginx-ingress\",\n version=\"1.24.4\",\n namespace=\"test-namespace\",\n fetch_opts=FetchOpts(\n repo=\"https://charts.helm.sh/stable\",\n ),\n ),\n)\n\n# Create a ConfigMap depending on the Chart. The ConfigMap will not be created until after all of the Chart\n# resources are ready. Note the use of the `ready` attribute; depending on the Chart resource directly will not work.\nConfigMap(\"foo\", ConfigMapInitArgs(data={\"foo\": \"bar\"}), opts=pulumi.ResourceOptions(depends_on=nginx_ingress.ready))\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Core.V1;\nusing Pulumi.Kubernetes.Helm;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Chart(\"nginx-ingress\", new ChartArgs\n {\n Chart = \"nginx-ingress\",\n Version = \"1.24.4\",\n Namespace = \"test-namespace\",\n FetchOptions = new ChartFetchArgs\n {\n Repo = \"https://charts.helm.sh/stable\"\n },\n });\n\n // Create a ConfigMap depending on the Chart. The ConfigMap will not be created until after all of the Chart\n // resources are ready. Note the use of the `Ready()` method; depending on the Chart resource directly will\n // not work.\n new ConfigMap(\"foo\", new Pulumi.Kubernetes.Types.Inputs.Core.V1.ConfigMapArgs\n {\n Data = new InputMap\n {\n {\"foo\", \"bar\"}\n },\n }, new CustomResourceOptions\n {\n DependsOn = nginx.Ready(),\n });\n\n }\n}\n```\n```go\npackage main\n\nimport (\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewChart(ctx, \"nginx-ingress\", helm.ChartArgs{\n\t\t\tChart: pulumi.String(\"nginx-ingress\"),\n\t\t\tVersion: pulumi.String(\"1.24.4\"),\n\t\t\tNamespace: pulumi.String(\"test-namespace\"),\n\t\t\tFetchArgs: helm.FetchArgs{\n\t\t\t\tRepo: pulumi.String(\"https://charts.helm.sh/stable\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\t// Create a ConfigMap depending on the Chart. The ConfigMap will not be created until after all of the Chart\n\t\t// resources are ready. Note the use of the `Ready` attribute, which is used with `DependsOnInputs` rather than\n\t\t// `DependsOn`. Depending on the Chart resource directly, or using `DependsOn` will not work.\n\t\t_, err = corev1.NewConfigMap(ctx, \"cm\", &corev1.ConfigMapArgs{\n\t\t\tData: pulumi.StringMap{\n\t\t\t\t\"foo\": pulumi.String(\"bar\"),\n\t\t\t},\n\t\t}, pulumi.DependsOnInputs(chart.Ready))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Chart with Transformations\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Chart(\"nginx-ingress\", {\n chart: \"nginx-ingress\",\n version: \"1.24.4\",\n fetchOpts:{\n repo: \"https://charts.helm.sh/stable\",\n },\n transformations: [\n // Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Service\" && obj.apiVersion === \"v1\") {\n if (obj.spec && obj.spec.type && obj.spec.type === \"LoadBalancer\") {\n obj.spec.type = \"ClusterIP\";\n }\n }\n },\n\n // Set a resource alias for a previous name.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Deployment\") {\n opts.aliases = [{ name: \"oldName\" }]\n }\n },\n\n // Omit a resource from the Chart by transforming the specified resource definition to an empty List.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Pod\" && obj.metadata.name === \"test\") {\n obj.apiVersion = \"v1\"\n obj.kind = \"List\"\n }\n },\n ],\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Chart, ChartOpts, FetchOpts\n\n# Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\ndef make_service_private(obj, opts):\n if obj[\"kind\"] == \"Service\" and obj[\"apiVersion\"] == \"v1\":\n try:\n t = obj[\"spec\"][\"type\"]\n if t == \"LoadBalancer\":\n obj[\"spec\"][\"type\"] = \"ClusterIP\"\n except KeyError:\n pass\n\n\n# Set a resource alias for a previous name.\ndef alias(obj, opts):\n if obj[\"kind\"] == \"Deployment\":\n opts.aliases = [\"oldName\"]\n\n\n# Omit a resource from the Chart by transforming the specified resource definition to an empty List.\ndef omit_resource(obj, opts):\n if obj[\"kind\"] == \"Pod\" and obj[\"metadata\"][\"name\"] == \"test\":\n obj[\"apiVersion\"] = \"v1\"\n obj[\"kind\"] = \"List\"\n\n\nnginx_ingress = Chart(\n \"nginx-ingress\",\n ChartOpts(\n chart=\"nginx-ingress\",\n version=\"1.24.4\",\n fetch_opts=FetchOpts(\n repo=\"https://charts.helm.sh/stable\",\n ),\n transformations=[make_service_private, alias, omit_resource],\n ),\n)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Collections.Immutable;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Helm;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Chart(\"nginx-ingress\", new ChartArgs\n {\n Chart = \"nginx-ingress\",\n Version = \"1.24.4\",\n FetchOptions = new ChartFetchArgs\n {\n Repo = \"https://charts.helm.sh/stable\"\n },\n Transformations =\n {\n LoadBalancerToClusterIP,\n ResourceAlias,\n OmitTestPod,\n }\n\n });\n\n // Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\n ImmutableDictionary LoadBalancerToClusterIP(ImmutableDictionary obj, CustomResourceOptions opts)\n {\n if ((string)obj[\"kind\"] == \"Service\" && (string)obj[\"apiVersion\"] == \"v1\")\n {\n var spec = (ImmutableDictionary)obj[\"spec\"];\n if (spec != null && (string)spec[\"type\"] == \"LoadBalancer\")\n {\n return obj.SetItem(\"spec\", spec.SetItem(\"type\", \"ClusterIP\"));\n }\n }\n\n return obj;\n }\n\n // Set a resource alias for a previous name.\n ImmutableDictionary ResourceAlias(ImmutableDictionary obj, CustomResourceOptions opts)\n {\n if ((string)obj[\"kind\"] == \"Deployment\")\n {\n opts.Aliases.Add(new Alias { Name = \"oldName\" });\n }\n\n return obj;\n }\n\n // Omit a resource from the Chart by transforming the specified resource definition to an empty List.\n ImmutableDictionary OmitTestPod(ImmutableDictionary obj, CustomResourceOptions opts)\n {\n var metadata = (ImmutableDictionary)obj[\"metadata\"];\n if ((string)obj[\"kind\"] == \"Pod\" && (string)metadata[\"name\"] == \"test\")\n {\n return new Dictionary\n {\n [\"apiVersion\"] = \"v1\",\n [\"kind\"] = \"List\",\n [\"items\"] = new Dictionary(),\n }.ToImmutableDictionary();\n }\n\n return obj;\n }\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewChart(ctx, \"nginx-ingress\", helm.ChartArgs{\n\t\t\tChart: pulumi.String(\"nginx-ingress\"),\n\t\t\tVersion: pulumi.String(\"1.24.4\"),\n\t\t\tFetchArgs: helm.FetchArgs{\n\t\t\t\tRepo: pulumi.String(\"https://charts.helm.sh/stable\"),\n\t\t\t},\n\t\t\tTransformations: []yaml.Transformation{\n\t\t\t\t// Make every service private to the cluster, i.e., turn all services into ClusterIP\n\t\t\t\t// instead of LoadBalancer.\n\t\t\t\tfunc(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n\t\t\t\t\tif state[\"kind\"] == \"Service\" {\n\t\t\t\t\t\tspec := state[\"spec\"].(map[string]interface{})\n\t\t\t\t\t\tspec[\"type\"] = \"ClusterIP\"\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t// Set a resource alias for a previous name.\n\t\t\t\tfunc(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n\t\t\t\t\tif state[\"kind\"] == \"Deployment\" {\n\t\t\t\t\t\taliases := pulumi.Aliases([]pulumi.Alias{\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tName: pulumi.String(\"oldName\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t})\n\t\t\t\t\t\topts = append(opts, aliases)\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t// Omit a resource from the Chart by transforming the specified resource definition\n\t\t\t\t// to an empty List.\n\t\t\t\tfunc(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n\t\t\t\t\tname := state[\"metadata\"].(map[string]interface{})[\"name\"]\n\t\t\t\t\tif state[\"kind\"] == \"Pod\" && name == \"test\" {\n\t\t\t\t\t\tstate[\"apiVersion\"] = \"core/v1\"\n\t\t\t\t\t\tstate[\"kind\"] = \"List\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "resources": { "type": "string", "description": "Resources created by the Chart." } }, "type": "object", "isOverlay": true, "inputProperties": { "chart": { "type": "string", "description": "The name of the chart to deploy. If [repo] is provided, this chart name will be prefixed by the repo name. Example: repo: \"stable\", chart: \"nginx-ingress\" -> \"stable/nginx-ingress\" Example: chart: \"stable/nginx-ingress\" -> \"stable/nginx-ingress\"\n\nRequired if specifying `ChartOpts` for a remote chart." }, "fetchOpts": { "$ref": "#/types/kubernetes:helm.sh/v3:FetchOpts", "description": "Additional options to customize the fetching of the Helm chart." }, "namespace": { "type": "string", "description": "The optional namespace to install chart resources into." }, "path": { "type": "string", "description": "The path to the chart directory which contains the `Chart.yaml` file.\n\nRequired if specifying `LocalChartOpts`." }, "repo": { "type": "string", "description": "The repository name of the chart to deploy. Example: \"stable\".\n\nUsed only when specifying options for a remote chart." }, "resourcePrefix": { "type": "string", "description": "An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\"." }, "transformations": { "type": "array", "items": { "$ref": "pulumi.json#/Any" }, "description": "Optional array of transformations to apply to resources that will be created by this chart prior to creation. Allows customization of the chart behaviour without directly modifying the chart itself." }, "values": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, "description": "Overrides for chart values." }, "version": { "type": "string", "description": "The version of the chart to deploy. If not provided, the latest version will be deployed." } }, "isComponent": true }, "kubernetes:helm.sh/v3:Release": { "description": "A `Release` is an instance of a chart running in a Kubernetes cluster. A `Chart` is a Helm package. It contains all the\nresource definitions necessary to run an application, tool, or service inside a Kubernetes cluster.\n\nThis resource models a Helm Release as if it were created by the Helm CLI. The underlying implementation embeds Helm as\na library to perform the orchestration of the resources. As a result, the full spectrum of Helm features are supported\nnatively.\n\nYou may also want to consider the `Chart` resource as an alternative method for managing helm charts. For more information about the trade-offs between these options see: [Choosing the right Helm resource for your use case](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/choosing-the-right-helm-resource-for-your-use-case)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Local Chart Directory\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Release(\"nginx-ingress\", {\n chart: \"./nginx-ingress\",\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Release, ReleaseArgs\n\nnginx_ingress = Release(\n \"nginx-ingress\",\n ReleaseArgs(\n chart=\"./nginx-ingress\",\n ),\n)\n```\n```csharp\nusing Pulumi;\nusing Pulumi.Kubernetes.Types.Inputs.Helm.V3;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Release(\"nginx-ingress\", new ReleaseArgs\n {\n Chart = \"./nginx-ingress\",\n });\n\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewRelease(ctx, \"nginx-ingress\", &helm.ReleaseArgs{\n\t\t\tChart: pulumi.String(\"./nginx-ingress\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Remote Chart\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Release(\"nginx-ingress\", {\n chart: \"nginx-ingress\",\n version: \"1.24.4\",\n repositoryOpts: {\n repo: \"https://charts.helm.sh/stable\",\n },\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Release, ReleaseArgs, RepositoryOptsArgs\n\nnginx_ingress = Release(\n \"nginx-ingress\",\n ReleaseArgs(\n chart=\"nginx-ingress\",\n version=\"1.24.4\",\n repository_opts=RepositoryOptsArgs(\n repo=\"https://charts.helm.sh/stable\",\n ),\n ),\n)\n```\n```csharp\nusing Pulumi;\nusing Pulumi.Kubernetes.Types.Inputs.Helm.V3;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Release(\"nginx-ingress\", new ReleaseArgs\n {\n Chart = \"nginx-ingress\",\n Version = \"1.24.4\",\n RepositoryOpts = new RepositoryOptsArgs\n {\n Repo = \"https://charts.helm.sh/stable\"\n }\n });\n\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewRelease(ctx, \"nginx-ingress\", &helm.ReleaseArgs{\n\t\t\tChart: pulumi.String(\"nginx-ingress\"),\n\t\t\tVersion: pulumi.String(\"1.24.4\"),\n\t\t\tRepositoryOpts: helm.RepositoryOptsArgs{\n\t\t\t\tRepo: pulumi.String(\"https://charts.helm.sh/stable\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Set Chart Values\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Release(\"nginx-ingress\", {\n chart: \"nginx-ingress\",\n version: \"1.24.4\",\n repositoryOpts: {\n repo: \"https://charts.helm.sh/stable\",\n },\n values: {\n controller: {\n metrics: {\n enabled: true,\n }\n }\n },\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Release, ReleaseArgs, RepositoryOptsArgs\n\nnginx_ingress = Release(\n \"nginx-ingress\",\n ReleaseArgs(\n chart=\"nginx-ingress\",\n version=\"1.24.4\",\n repository_opts=RepositoryOptsArgs(\n repo=\"https://charts.helm.sh/stable\",\n ),\n values={\n \"controller\": {\n \"metrics\": {\n \"enabled\": True,\n },\n },\n },\n ),\n)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Pulumi.Kubernetes.Types.Inputs.Helm.V3;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var values = new Dictionary\n {\n [\"controller\"] = new Dictionary\n {\n [\"metrics\"] = new Dictionary\n {\n [\"enabled\"] = true\n }\n },\n };\n\n var nginx = new Release(\"nginx-ingress\", new ReleaseArgs\n {\n Chart = \"nginx-ingress\",\n Version = \"1.24.4\",\n RepositoryOpts = new RepositoryOptsArgs\n {\n Repo = \"https://charts.helm.sh/stable\"\n },\n Values = values,\n });\n\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewRelease(ctx, \"nginx-ingress\", &helm.ReleaseArgs{\n\t\t\tChart: pulumi.String(\"nginx-ingress\"),\n\t\t\tVersion: pulumi.String(\"1.24.4\"),\n\t\t\tRepositoryOpts: helm.RepositoryOptsArgs{\n\t\t\t\tRepo: pulumi.String(\"https://charts.helm.sh/stable\"),\n\t\t\t},\n\t\t\tValues: pulumi.Map{\n\t\t\t\t\"controller\": pulumi.Map{\n\t\t\t\t\t\"metrics\": pulumi.Map{\n\t\t\t\t\t\t\"enabled\": pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Deploy Chart into Namespace\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Release(\"nginx-ingress\", {\n chart: \"nginx-ingress\",\n version: \"1.24.4\",\n namespace: \"test-namespace\",\n repositoryOpts: {\n repo: \"https://charts.helm.sh/stable\",\n },\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Release, ReleaseArgs, RepositoryOptsArgs\n\nnginx_ingress = Release(\n \"nginx-ingress\",\n ReleaseArgs(\n chart=\"nginx-ingress\",\n version=\"1.24.4\",\n namespace=\"test-namespace\",\n repository_opts=RepositoryOptsArgs(\n repo=\"https://charts.helm.sh/stable\",\n ),\n ),\n)\n```\n```csharp\nusing Pulumi;\nusing Pulumi.Kubernetes.Types.Inputs.Helm.V3;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Release(\"nginx-ingress\", new ReleaseArgs\n {\n Chart = \"nginx-ingress\",\n Version = \"1.24.4\",\n Namespace = \"test-namespace\",\n RepositoryOpts = new RepositoryOptsArgs\n {\n Repo = \"https://charts.helm.sh/stable\"\n },\n });\n\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewRelease(ctx, \"nginx-ingress\", &helm.ReleaseArgs{\n\t\t\tChart: pulumi.String(\"nginx-ingress\"),\n\t\t\tVersion: pulumi.String(\"1.24.4\"),\n\t\t\tNamespace: pulumi.String(\"test-namespace\"),\n\t\t\tRepositoryOpts: helm.RepositoryOptsArgs{\n\t\t\t\tRepo: pulumi.String(\"https://charts.helm.sh/stable\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n {{% example %}}\n\n### Depend on a Chart resource\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Release(\"nginx-ingress\", {\n chart: \"nginx-ingress\",\n version: \"1.24.4\",\n namespace: \"test-namespace\",\n repositoryOpts: {\n repo: \"https://charts.helm.sh/stable\",\n },\n skipAwait: false,\n});\n\n// Create a ConfigMap depending on the Chart. The ConfigMap will not be created until after all of the Chart\n// resources are ready. Notice skipAwait is set to false above. This is the default and will cause Helm\n// to await the underlying resources to be available. Setting it to true will make the ConfigMap available right away.\nnew k8s.core.v1.ConfigMap(\"foo\", {\n metadata: {namespace: namespaceName},\n data: {foo: \"bar\"}\n}, {dependsOn: nginxIngress})\n```\n```python\nimport pulumi\nfrom pulumi_kubernetes.core.v1 import ConfigMap, ConfigMapInitArgs\nfrom pulumi_kubernetes.helm.v3 import Release, ReleaseArgs, RepositoryOptsArgs\n\nnginx_ingress = Release(\n \"nginx-ingress\",\n ReleaseArgs(\n chart=\"nginx-ingress\",\n version=\"1.24.4\",\n namespace=\"test-namespace\",\n repository_opts=RepositoryOptsArgs(\n repo=\"https://charts.helm.sh/stable\",\n ),\n skip_await=False,\n ),\n)\n\n# Create a ConfigMap depending on the Chart. The ConfigMap will not be created until after all of the Chart\n# resources are ready. Notice skip_await is set to false above. This is the default and will cause Helm\n# to await the underlying resources to be available. Setting it to true will make the ConfigMap available right away.\nConfigMap(\"foo\", ConfigMapInitArgs(data={\"foo\": \"bar\"}), opts=pulumi.ResourceOptions(depends_on=nginx_ingress))\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Core.V1;\nusing Pulumi.Kubernetes.Types.Inputs.Helm.V3;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Release(\"nginx-ingress\", new ReleaseArgs\n {\n Chart = \"nginx-ingress\",\n Version = \"1.24.4\",\n Namespace = \"test-namespace\",\n RepositoryOpts = new RepositoryOptsArgs\n {\n Repo = \"https://charts.helm.sh/stable\"\n },\n SkipAwait = false,\n });\n\n // Create a ConfigMap depending on the Chart. The ConfigMap will not be created until after all of the Chart\n // resources are ready. Notice SkipAwait is set to false above. This is the default and will cause Helm\n // to await the underlying resources to be available. Setting it to true will make the ConfigMap available right away.\n new ConfigMap(\"foo\", new Pulumi.Kubernetes.Types.Inputs.Core.V1.ConfigMapArgs\n {\n Data = new InputMap\n {\n {\"foo\", \"bar\"}\n },\n }, new CustomResourceOptions\n {\n DependsOn = nginx,\n });\n\n }\n}\n```\n```go\npackage main\n\nimport (\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\trelease, err := helm.NewRelease(ctx, \"nginx-ingress\", helm.ReleaseArgs{\n\t\t\tChart: pulumi.String(\"nginx-ingress\"),\n\t\t\tVersion: pulumi.String(\"1.24.4\"),\n\t\t\tNamespace: pulumi.String(\"test-namespace\"),\n\t\t\tRepositoryOpts: helm.RepositoryOptsArgs{\n\t\t\t\tRepo: pulumi.String(\"https://charts.helm.sh/stable\"),\n\t\t\t},\n\t\t\tSkipAwait: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\t// Create a ConfigMap depending on the Chart. The ConfigMap will not be created until after all of the Chart\n\t\t// resources are ready. Notice SkipAwait is set to false above. This is the default and will cause Helm\n\t\t// to await the underlying resources to be available. Setting it to true will make the ConfigMap available right away.\n\t\t_, err = corev1.NewConfigMap(ctx, \"cm\", &corev1.ConfigMapArgs{\n\t\t\tData: pulumi.StringMap{\n\t\t\t\t\"foo\": pulumi.String(\"bar\"),\n\t\t\t},\n\t\t}, pulumi.DependsOnInputs(release))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Specify Helm Chart Values in File and Code\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as k8s from \"@pulumi/kubernetes\";\nimport {FileAsset} from \"@pulumi/pulumi/asset\";\n\nconst release = new k8s.helm.v3.Release(\"redis\", {\n chart: \"redis\",\n repositoryOpts: {\n repo: \"https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami\",\n },\n valueYamlFiles: [new FileAsset(\"./metrics.yml\")],\n values: {\n cluster: {\n enabled: true,\n },\n rbac: {\n create: true,\n }\n },\n});\n\n// -- Contents of metrics.yml --\n// metrics:\n// enabled: true\n```\n```python\nimport pulumi\nfrom pulumi_kubernetes.helm.v3 import Release, ReleaseArgs, RepositoryOptsArgs\n\nnginx_ingress = Release(\n \"redis\",\n ReleaseArgs(\n chart=\"redis\",\n repository_opts=RepositoryOptsArgs(\n repo=\"https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami\",\n ),\n value_yaml_files=[pulumi.FileAsset(\"./metrics.yml\")],\n values={\n cluster: {\n enabled: true,\n },\n rbac: {\n create: true,\n }\n },\n ),\n)\n\n# -- Contents of metrics.yml --\n# metrics:\n# enabled: true\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Pulumi.Kubernetes.Types.Inputs.Helm.V3;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Release(\"redis\", new ReleaseArgs\n {\n Chart = \"redis\",\n RepositoryOpts = new RepositoryOptsArgs\n {\n Repo = \"https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami\"\n },\n ValueYamlFiles = new FileAsset(\"./metrics.yml\");\n Values = new InputMap\n {\n [\"cluster\"] = new Dictionary\n {\n [\"enabled\"] = true,\n },\n [\"rbac\"] = new Dictionary\n {\n [\"create\"] = true,\n }\n },\n });\n }\n}\n\n// -- Contents of metrics.yml --\n// metrics:\n// enabled: true\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewRelease(ctx, \"redis\", &helm.ReleaseArgs{\n\t\t\tChart: pulumi.String(\"redis\"),\n\t\t\tRepositoryOpts: helm.RepositoryOptsArgs{\n\t\t\t\tRepo: pulumi.String(\"https://charts.helm.sh/stable\"),\n\t\t\t},\n\t\t\tValueYamlFiles: pulumi.AssetOrArchiveArray{\n\t\t\t\tpulumi.NewFileAsset(\"./metrics.yml\"),\n\t\t\t},\n\t\t\tValues: pulumi.Map{\n\t\t\t\t\"cluster\": pulumi.Map{\n\t\t\t\t\t\"enabled\": pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\t\"rbac\": pulumi.Map{\n\t\t\t\t\t\"create\": pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n\n// -- Contents of metrics.yml --\n// metrics:\n// enabled: true\n```\n{{% /example %}}\n{{% example %}}\n### Query Kubernetes Resource Installed By Helm Chart\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as k8s from \"@pulumi/kubernetes\";\nimport {FileAsset} from \"@pulumi/pulumi/asset\";\n\nconst redis = new k8s.helm.v3.Release(\"redis\", {\n chart: \"redis\",\n repositoryOpts: {\n repo: \"https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami\",\n },\n values: {\n cluster: {\n enabled: true,\n },\n rbac: {\n create: true,\n }\n },\n});\n\n// srv will only resolve after the redis chart is installed.\nconst srv = k8s.core.v1.Service.get(\"redis-master-svc\", pulumi.interpolate`${redis.status.namespace}/${redis.status.name}-master`);\nexport const redisMasterClusterIP = srv.spec.clusterIP;\n```\n```python\nfrom pulumi import Output\nfrom pulumi_kubernetes.core.v1 import Service\nfrom pulumi_kubernetes.helm.v3 import Release, ReleaseArgs, RepositoryOptsArgs\n\nredis = Release(\n \"redis\",\n ReleaseArgs(\n chart=\"redis\",\n repository_opts=RepositoryOptsArgs(\n repo=\"https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami\",\n ),\n values={\n \"cluster\": {\n \"enabled\": True,\n },\n \"rbac\": {\n \"create\": True,\n }\n },\n ),\n)\n\n# srv will only resolve after the redis chart is installed.\nsrv = Service.get(\"redis-master-svc\", Output.concat(redis.status.namespace, \"/\", redis.status.name, \"-master\"))\npulumi.export(\"redisMasterClusterIP\", srv.spec.cluster_ip)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Pulumi.Kubernetes.Types.Inputs.Helm.V3;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var redis = new Release(\"redis\", new ReleaseArgs\n {\n Chart = \"redis\",\n RepositoryOpts = new RepositoryOptsArgs\n {\n Repo = \"https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami\"\n },\n Values = new InputMap\n {\n [\"cluster\"] = new Dictionary\n {\n [\"enabled\"] = true,\n },\n [\"rbac\"] = new Dictionary\n {\n [\"create\"] = true,\n }\n },\n });\n\n var status = redis.Status;\n // srv will only resolve after the redis chart is installed.\n var srv = Service.Get(\"redist-master-svc\", Output.All(status).Apply(\n s => $\"{s[0].Namespace}/{s[0].Name}-master\"));\n this.RedisMasterClusterIP = srv.Spec.Apply(spec => spec.ClusterIP);\n }\n\n [Output]\n public Output RedisMasterClusterIP { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\tcorev1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1\"\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\trel, err := helm.NewRelease(ctx, \"redis\", &helm.ReleaseArgs{\n\t\t\tChart: pulumi.String(\"redis\"),\n\t\t\tRepositoryOpts: helm.RepositoryOptsArgs{\n\t\t\t\tRepo: pulumi.String(\"https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami\"),\n\t\t\t},\n\t\t\tValues: pulumi.Map{\n\t\t\t\t\"cluster\": pulumi.Map{\n\t\t\t\t\t\"enabled\": pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\t\"rbac\": pulumi.BoolMap{\n\t\t\t\t\t\"create\": pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\t// srv will only resolve after the redis chart is installed.\n\t\tsrv := pulumi.All(rel.Status.Namespace(), rel.Status.Name()).\n\t\t\tApplyT(func(r interface{}) (interface{}, error) {\n\t\t\t\tarr := r.([]interface{})\n\t\t\t\tnamespace := arr[0].(*string)\n\t\t\t\tname := arr[1].(*string)\n\t\t\t\tsvc, err := corev1.GetService(ctx,\n\t\t\t\t\t\"redis-master-svc\",\n\t\t\t\t\tpulumi.ID(fmt.Sprintf(\"%s/%s-master\", *namespace, *name)),\n\t\t\t\t\tnil,\n\t\t\t\t)\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn \"\", nil\n\t\t\t\t}\n\t\t\t\treturn svc.Spec.ClusterIP(), nil\n\t\t\t})\n\t\tctx.Export(\"redisMasterClusterIP\", srv)\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing Helm Release resource can be imported using its `type token`, `name` and identifier, e.g.\n\n```sh\n$ pulumi import kubernetes:helm.sh/v3:Release myRelease /\n```\n", "properties": { "allowNullValues": { "type": "boolean", "description": "Whether to allow Null values in helm chart configs." }, "atomic": { "type": "boolean", "description": "If set, installation process purges chart on fail. `skipAwait` will be disabled automatically if atomic is used." }, "chart": { "type": "string", "description": "Chart name to be installed. A path may be used." }, "cleanupOnFail": { "type": "boolean", "description": "Allow deletion of new resources created in this upgrade when upgrade fails." }, "createNamespace": { "type": "boolean", "description": "Create the namespace if it does not exist." }, "dependencyUpdate": { "type": "boolean", "description": "Run helm dependency update before installing the chart." }, "description": { "type": "string", "description": "Add a custom description" }, "devel": { "type": "boolean", "description": "Use chart development versions, too. Equivalent to version '>0.0.0-0'. If `version` is set, this is ignored." }, "disableCRDHooks": { "type": "boolean", "description": "Prevent CRD hooks from running, but run other hooks. See helm install --no-crd-hook" }, "disableOpenapiValidation": { "type": "boolean", "description": "If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema" }, "disableWebhooks": { "type": "boolean", "description": "Prevent hooks from running." }, "forceUpdate": { "type": "boolean", "description": "Force resource update through delete/recreate if needed." }, "keyring": { "type": "string", "description": "Location of public keys used for verification. Used only if `verify` is true" }, "lint": { "type": "boolean", "description": "Run helm lint when planning." }, "manifest": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, "description": "The rendered manifests as JSON. Not yet supported." }, "maxHistory": { "type": "integer", "description": "Limit the maximum number of revisions saved per release. Use 0 for no limit." }, "name": { "type": "string", "description": "Release name." }, "namespace": { "type": "string", "description": "Namespace to install the release into." }, "postrender": { "type": "string", "description": "Postrender command to run." }, "recreatePods": { "type": "boolean", "description": "Perform pods restart during upgrade/rollback." }, "renderSubchartNotes": { "type": "boolean", "description": "If set, render subchart notes along with the parent." }, "replace": { "type": "boolean", "description": "Re-use the given name, even if that name is already used. This is unsafe in production" }, "repositoryOpts": { "$ref": "#/types/kubernetes:helm.sh/v3:RepositoryOpts", "description": "Specification defining the Helm chart repository to use." }, "resetValues": { "type": "boolean", "description": "When upgrading, reset the values to the ones built into the chart." }, "resourceNames": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Names of resources created by the release grouped by \"kind/version\"." }, "reuseValues": { "type": "boolean", "description": "When upgrading, reuse the last release's values and merge in any overrides. If 'resetValues' is specified, this is ignored" }, "skipAwait": { "type": "boolean", "description": "By default, the provider waits until all resources are in a ready state before marking the release as successful. Setting this to true will skip such await logic." }, "skipCrds": { "type": "boolean", "description": "If set, no CRDs will be installed. By default, CRDs are installed if not already present." }, "status": { "$ref": "#/types/kubernetes:helm.sh/v3:ReleaseStatus", "description": "Status of the deployed release." }, "timeout": { "type": "integer", "description": "Time in seconds to wait for any individual kubernetes operation." }, "valueYamlFiles": { "type": "array", "items": { "$ref": "pulumi.json#/Asset" }, "description": "List of assets (raw yaml files). Content is read and merged with values (with values taking precedence)." }, "values": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, "description": "Custom values set for the release." }, "verify": { "type": "boolean", "description": "Verify the package before installing it." }, "version": { "type": "string", "description": "Specify the exact chart version to install. If this is not specified, the latest version is installed." }, "waitForJobs": { "type": "boolean", "description": "Will wait until all Jobs have been completed before marking the release as successful. This is ignored if `skipAwait` is enabled." } }, "type": "object", "required": [ "chart", "status" ], "language": { "nodejs": { "requiredOutputs": [ "name", "chart", "version", "devel", "values", "set", "manifest", "namespace", "verify", "keyring", "timeout", "disableWebhooks", "disableCRDHooks", "reuseValues", "resetValues", "forceUpdate", "recreatePods", "cleanupOnFail", "maxHistory", "atomic", "skipCrds", "renderSubchartNotes", "disableOpenapiValidation", "skipAwait", "waitForJobs", "dependencyUpdate", "replace", "description", "createNamespace", "postrender", "lint", "status" ] } }, "inputProperties": { "allowNullValues": { "type": "boolean", "description": "Whether to allow Null values in helm chart configs." }, "atomic": { "type": "boolean", "description": "If set, installation process purges chart on fail. `skipAwait` will be disabled automatically if atomic is used." }, "chart": { "type": "string", "description": "Chart name to be installed. A path may be used." }, "cleanupOnFail": { "type": "boolean", "description": "Allow deletion of new resources created in this upgrade when upgrade fails." }, "compat": { "type": "string", "const": "true" }, "createNamespace": { "type": "boolean", "description": "Create the namespace if it does not exist." }, "dependencyUpdate": { "type": "boolean", "description": "Run helm dependency update before installing the chart." }, "description": { "type": "string", "description": "Add a custom description" }, "devel": { "type": "boolean", "description": "Use chart development versions, too. Equivalent to version '>0.0.0-0'. If `version` is set, this is ignored." }, "disableCRDHooks": { "type": "boolean", "description": "Prevent CRD hooks from running, but run other hooks. See helm install --no-crd-hook" }, "disableOpenapiValidation": { "type": "boolean", "description": "If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema" }, "disableWebhooks": { "type": "boolean", "description": "Prevent hooks from running." }, "forceUpdate": { "type": "boolean", "description": "Force resource update through delete/recreate if needed." }, "keyring": { "type": "string", "description": "Location of public keys used for verification. Used only if `verify` is true" }, "lint": { "type": "boolean", "description": "Run helm lint when planning." }, "manifest": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, "description": "The rendered manifests as JSON. Not yet supported." }, "maxHistory": { "type": "integer", "description": "Limit the maximum number of revisions saved per release. Use 0 for no limit." }, "name": { "type": "string", "description": "Release name." }, "namespace": { "type": "string", "description": "Namespace to install the release into." }, "postrender": { "type": "string", "description": "Postrender command to run." }, "recreatePods": { "type": "boolean", "description": "Perform pods restart during upgrade/rollback." }, "renderSubchartNotes": { "type": "boolean", "description": "If set, render subchart notes along with the parent." }, "replace": { "type": "boolean", "description": "Re-use the given name, even if that name is already used. This is unsafe in production" }, "repositoryOpts": { "$ref": "#/types/kubernetes:helm.sh/v3:RepositoryOpts", "description": "Specification defining the Helm chart repository to use." }, "resetValues": { "type": "boolean", "description": "When upgrading, reset the values to the ones built into the chart." }, "resourceNames": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Names of resources created by the release grouped by \"kind/version\"." }, "reuseValues": { "type": "boolean", "description": "When upgrading, reuse the last release's values and merge in any overrides. If 'resetValues' is specified, this is ignored" }, "skipAwait": { "type": "boolean", "description": "By default, the provider waits until all resources are in a ready state before marking the release as successful. Setting this to true will skip such await logic." }, "skipCrds": { "type": "boolean", "description": "If set, no CRDs will be installed. By default, CRDs are installed if not already present." }, "timeout": { "type": "integer", "description": "Time in seconds to wait for any individual kubernetes operation." }, "valueYamlFiles": { "type": "array", "items": { "$ref": "pulumi.json#/Asset" }, "description": "List of assets (raw yaml files). Content is read and merged with values." }, "values": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, "description": "Custom values set for the release." }, "verify": { "type": "boolean", "description": "Verify the package before installing it." }, "version": { "type": "string", "description": "Specify the exact chart version to install. If this is not specified, the latest version is installed." }, "waitForJobs": { "type": "boolean", "description": "Will wait until all Jobs have been completed before marking the release as successful. This is ignored if `skipAwait` is enabled." } }, "requiredInputs": [ "chart" ] }, "kubernetes:kustomize:Directory": { "description": "Directory is a component representing a collection of resources described by a kustomize directory (kustomization).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Local Kustomize Directory\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst helloWorld = new k8s.kustomize.Directory(\"helloWorldLocal\", {\n directory: \"./helloWorld\",\n});\n```\n```python\nfrom pulumi_kubernetes.kustomize import Directory\n\nhello_world = Directory(\n \"hello-world-local\",\n directory=\"./helloWorld\",\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Kustomize;\n\nclass KustomizeStack : Stack\n{\n public KustomizeStack()\n {\n var helloWorld = new Directory(\"helloWorldLocal\", new DirectoryArgs\n {\n Directory = \"./helloWorld\",\n });\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/kustomize\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := kustomize.NewDirectory(ctx, \"helloWorldLocal\",\n\t\t\tkustomize.DirectoryArgs{\n\t\t\t\tDirectory: pulumi.String(\"./helloWorld\"),\n\t\t\t},\n\t\t)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Kustomize Directory from a Git Repo\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst helloWorld = new k8s.kustomize.Directory(\"helloWorldRemote\", {\n directory: \"https://github.com/kubernetes-sigs/kustomize/tree/v3.3.1/examples/helloWorld\",\n});\n```\n```python\nfrom pulumi_kubernetes.kustomize import Directory\n\nhello_world = Directory(\n \"hello-world-remote\",\n directory=\"https://github.com/kubernetes-sigs/kustomize/tree/v3.3.1/examples/helloWorld\",\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Kustomize;\n\nclass KustomizeStack : Stack\n{\n public KustomizeStack()\n {\n var helloWorld = new Directory(\"helloWorldRemote\", new DirectoryArgs\n {\n Directory = \"https://github.com/kubernetes-sigs/kustomize/tree/v3.3.1/examples/helloWorld\",\n });\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/kustomize\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := kustomize.NewDirectory(ctx, \"helloWorldRemote\",\n\t\t\tkustomize.DirectoryArgs{\n\t\t\t\tDirectory: pulumi.String(\"https://github.com/kubernetes-sigs/kustomize/tree/v3.3.1/examples/helloWorld\"),\n\t\t\t},\n\t\t)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Kustomize Directory with Transformations\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst helloWorld = new k8s.kustomize.Directory(\"helloWorldRemote\", {\n directory: \"https://github.com/kubernetes-sigs/kustomize/tree/v3.3.1/examples/helloWorld\",\n transformations: [\n // Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Service\" && obj.apiVersion === \"v1\") {\n if (obj.spec && obj.spec.type && obj.spec.type === \"LoadBalancer\") {\n obj.spec.type = \"ClusterIP\";\n }\n }\n },\n\n // Set a resource alias for a previous name.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Deployment\") {\n opts.aliases = [{ name: \"oldName\" }]\n }\n },\n\n // Omit a resource from the Chart by transforming the specified resource definition to an empty List.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Pod\" && obj.metadata.name === \"test\") {\n obj.apiVersion = \"v1\"\n obj.kind = \"List\"\n }\n },\n ],\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Chart, ChartOpts, FetchOpts\n\n# Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\ndef make_service_private(obj, opts):\n if obj[\"kind\"] == \"Service\" and obj[\"apiVersion\"] == \"v1\":\n try:\n t = obj[\"spec\"][\"type\"]\n if t == \"LoadBalancer\":\n obj[\"spec\"][\"type\"] = \"ClusterIP\"\n except KeyError:\n pass\n\n\n# Set a resource alias for a previous name.\ndef alias(obj, opts):\n if obj[\"kind\"] == \"Deployment\":\n opts.aliases = [\"oldName\"]\n\n\n# Omit a resource from the Chart by transforming the specified resource definition to an empty List.\ndef omit_resource(obj, opts):\n if obj[\"kind\"] == \"Pod\" and obj[\"metadata\"][\"name\"] == \"test\":\n obj[\"apiVersion\"] = \"v1\"\n obj[\"kind\"] = \"List\"\n\n\nhello_world = Directory(\n \"hello-world-remote\",\n directory=\"https://github.com/kubernetes-sigs/kustomize/tree/v3.3.1/examples/helloWorld\",\n transformations=[make_service_private, alias, omit_resource],\n)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Collections.Immutable;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Kustomize;\n\nclass KustomizeStack : Stack\n{\n public KustomizeStack()\n {\n var helloWorld = new Directory(\"helloWorldRemote\", new DirectoryArgs\n {\n Directory = \"https://github.com/kubernetes-sigs/kustomize/tree/v3.3.1/examples/helloWorld\",\n Transformations =\n {\n LoadBalancerToClusterIP,\n ResourceAlias,\n OmitTestPod,\n }\n });\n\n // Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\n ImmutableDictionary LoadBalancerToClusterIP(ImmutableDictionary obj, CustomResourceOptions opts)\n {\n if ((string)obj[\"kind\"] == \"Service\" && (string)obj[\"apiVersion\"] == \"v1\")\n {\n var spec = (ImmutableDictionary)obj[\"spec\"];\n if (spec != null && (string)spec[\"type\"] == \"LoadBalancer\")\n {\n return obj.SetItem(\"spec\", spec.SetItem(\"type\", \"ClusterIP\"));\n }\n }\n\n return obj;\n }\n\n // Set a resource alias for a previous name.\n ImmutableDictionary ResourceAlias(ImmutableDictionary obj, CustomResourceOptions opts)\n {\n if ((string)obj[\"kind\"] == \"Deployment\")\n {\n opts.Aliases.Add(new Alias { Name = \"oldName\" });\n }\n\n return obj;\n }\n\n // Omit a resource from the Chart by transforming the specified resource definition to an empty List.\n ImmutableDictionary OmitTestPod(ImmutableDictionary obj, CustomResourceOptions opts)\n {\n var metadata = (ImmutableDictionary)obj[\"metadata\"];\n if ((string)obj[\"kind\"] == \"Pod\" && (string)metadata[\"name\"] == \"test\")\n {\n return new Dictionary\n {\n [\"apiVersion\"] = \"v1\",\n [\"kind\"] = \"List\",\n [\"items\"] = new Dictionary(),\n }.ToImmutableDictionary();\n }\n\n return obj;\n }\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/kustomize\"\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := kustomize.NewDirectory(ctx, \"helloWorldRemote\",\n\t\t\tkustomize.DirectoryArgs{\n\t\t\t\tDirectory: pulumi.String(\"https://github.com/kubernetes-sigs/kustomize/tree/v3.3.1/examples/helloWorld\"),\n\t\t\t\tTransformations: []yaml.Transformation{\n\t\t\t\t\t// Make every service private to the cluster, i.e., turn all services into ClusterIP\n\t\t\t\t\t// instead of LoadBalancer.\n\t\t\t\t\tfunc(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n\t\t\t\t\t\tif state[\"kind\"] == \"Service\" {\n\t\t\t\t\t\t\tspec := state[\"spec\"].(map[string]interface{})\n\t\t\t\t\t\t\tspec[\"type\"] = \"ClusterIP\"\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\n\t\t\t\t\t// Set a resource alias for a previous name.\n\t\t\t\t\tfunc(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n\t\t\t\t\t\tif state[\"kind\"] == \"Deployment\" {\n\t\t\t\t\t\t\taliases := pulumi.Aliases([]pulumi.Alias{\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tName: pulumi.String(\"oldName\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\topts = append(opts, aliases)\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\n\t\t\t\t\t// Omit a resource from the Chart by transforming the specified resource definition\n\t\t\t\t\t// to an empty List.\n\t\t\t\t\tfunc(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n\t\t\t\t\t\tname := state[\"metadata\"].(map[string]interface{})[\"name\"]\n\t\t\t\t\t\tif state[\"kind\"] == \"Pod\" && name == \"test\" {\n\t\t\t\t\t\t\tstate[\"apiVersion\"] = \"core/v1\"\n\t\t\t\t\t\t\tstate[\"kind\"] = \"List\"\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "directory": { "type": "string", "description": "The directory containing the kustomization to apply. The value can be a local directory or a folder in a\ngit repository.\nExample: ./helloWorld\nExample: https://github.com/kubernetes-sigs/kustomize/tree/master/examples/helloWorld" }, "resourcePrefix": { "type": "string", "description": "An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\"." }, "transformations": { "type": "array", "items": { "$ref": "pulumi.json#/Any" }, "description": "A set of transformations to apply to Kubernetes resource definitions before registering with engine." } }, "type": "object", "required": [ "directory" ], "isOverlay": true, "inputProperties": { "directory": { "type": "string", "description": "The directory containing the kustomization to apply. The value can be a local directory or a folder in a\ngit repository.\nExample: ./helloWorld\nExample: https://github.com/kubernetes-sigs/kustomize/tree/master/examples/helloWorld" }, "resourcePrefix": { "type": "string", "description": "An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\"." }, "transformations": { "type": "array", "items": { "$ref": "pulumi.json#/Any" }, "description": "A set of transformations to apply to Kubernetes resource definitions before registering with engine." } }, "requiredInputs": [ "directory" ], "isComponent": true }, "kubernetes:meta/v1:Status": { "description": "Status is a return value for calls that don't return other objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "code": { "type": "integer", "description": "Suggested HTTP return code for this status, 0 if not set." }, "details": { "$ref": "#/types/kubernetes:meta/v1:StatusDetails", "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type." }, "kind": { "type": "string", "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", "const": "Status" }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "reason": { "type": "string", "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it." }, "status": { "type": "string", "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", "language": { "csharp": { "name": "StatusValue" } } } }, "type": "object", "required": [ "apiVersion", "code", "details", "kind", "message", "metadata", "reason" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "code", "details", "kind", "message", "metadata", "reason", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "code": { "type": "integer", "description": "Suggested HTTP return code for this status, 0 if not set." }, "details": { "$ref": "#/types/kubernetes:meta/v1:StatusDetails", "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type." }, "kind": { "type": "string", "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", "const": "Status" }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "reason": { "type": "string", "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it." } } }, "kubernetes:meta/v1:StatusPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nStatus is a return value for calls that don't return other objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "code": { "type": "integer", "description": "Suggested HTTP return code for this status, 0 if not set." }, "details": { "$ref": "#/types/kubernetes:meta/v1:StatusDetailsPatch", "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type." }, "kind": { "type": "string", "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", "const": "Status" }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMetaPatch", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "reason": { "type": "string", "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it." }, "status": { "type": "string", "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "code", "details", "kind", "message", "metadata", "reason", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "v1" }, "code": { "type": "integer", "description": "Suggested HTTP return code for this status, 0 if not set." }, "details": { "$ref": "#/types/kubernetes:meta/v1:StatusDetailsPatch", "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type." }, "kind": { "type": "string", "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", "const": "Status" }, "message": { "type": "string", "description": "A human-readable description of the status of this operation." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMetaPatch", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "reason": { "type": "string", "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it." } } }, "kubernetes:networking.k8s.io/v1:Ingress": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create an Ingress with auto-naming\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst ingress = new kubernetes.networking.v1.Ingress(\"ingress\", {\n metadata: {\n annotations: {\n \"nginx.ingress.kubernetes.io/rewrite-target\": \"/\",\n },\n },\n spec: {\n rules: [{\n http: {\n paths: [{\n backend: {\n service: {\n name: \"test\",\n port: {\n number: 80,\n },\n },\n },\n path: \"/testpath\",\n pathType: \"Prefix\",\n }],\n },\n }],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\ningress = kubernetes.networking.v1.Ingress(\"ingress\",\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n annotations={\n \"nginx.ingress.kubernetes.io/rewrite-target\": \"/\",\n },\n ),\n spec=kubernetes.networking.v1.IngressSpecArgs(\n rules=[kubernetes.networking.v1.IngressRuleArgs(\n http=kubernetes.networking.v1.HTTPIngressRuleValueArgs(\n paths=[kubernetes.networking.v1.HTTPIngressPathArgs(\n backend=kubernetes.networking.v1.IngressBackendArgs(\n service=kubernetes.networking.v1.IngressServiceBackendArgs(\n name=\"test\",\n port=kubernetes.networking.v1.ServiceBackendPortArgs(\n number=80,\n ),\n ),\n ),\n path=\"/testpath\",\n path_type=\"Prefix\",\n )],\n ),\n )],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var ingress = new Kubernetes.Networking.V1.Ingress(\"ingress\", new()\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Annotations = \n {\n { \"nginx.ingress.kubernetes.io/rewrite-target\", \"/\" },\n },\n },\n Spec = new Kubernetes.Types.Inputs.Networking.V1.IngressSpecArgs\n {\n Rules = new[]\n {\n new Kubernetes.Types.Inputs.Networking.V1.IngressRuleArgs\n {\n Http = new Kubernetes.Types.Inputs.Networking.V1.HTTPIngressRuleValueArgs\n {\n Paths = new[]\n {\n new Kubernetes.Types.Inputs.Networking.V1.HTTPIngressPathArgs\n {\n Backend = new Kubernetes.Types.Inputs.Networking.V1.IngressBackendArgs\n {\n Service = new Kubernetes.Types.Inputs.Networking.V1.IngressServiceBackendArgs\n {\n Name = \"test\",\n Port = new Kubernetes.Types.Inputs.Networking.V1.ServiceBackendPortArgs\n {\n Number = 80,\n },\n },\n },\n Path = \"/testpath\",\n PathType = \"Prefix\",\n },\n },\n },\n },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tmetav1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1\"\n\tnetworkingv1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/networking/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := networkingv1.NewIngress(ctx, \"ingress\", &networkingv1.IngressArgs{\n\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\tAnnotations: pulumi.StringMap{\n\t\t\t\t\t\"nginx.ingress.kubernetes.io/rewrite-target\": pulumi.String(\"/\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tSpec: &networkingv1.IngressSpecArgs{\n\t\t\t\tRules: networkingv1.IngressRuleArray{\n\t\t\t\t\t&networkingv1.IngressRuleArgs{\n\t\t\t\t\t\tHttp: &networkingv1.HTTPIngressRuleValueArgs{\n\t\t\t\t\t\t\tPaths: networkingv1.HTTPIngressPathArray{\n\t\t\t\t\t\t\t\t&networkingv1.HTTPIngressPathArgs{\n\t\t\t\t\t\t\t\t\tBackend: &networkingv1.IngressBackendArgs{\n\t\t\t\t\t\t\t\t\t\tService: &networkingv1.IngressServiceBackendArgs{\n\t\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"test\"),\n\t\t\t\t\t\t\t\t\t\t\tPort: &networkingv1.ServiceBackendPortArgs{\n\t\t\t\t\t\t\t\t\t\t\t\tNumber: pulumi.Int(80),\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tPath: pulumi.String(\"/testpath\"),\n\t\t\t\t\t\t\t\t\tPathType: pulumi.String(\"Prefix\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.networking.k8s.io_v1.Ingress;\nimport com.pulumi.kubernetes.networking.k8s.io_v1.IngressArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.ObjectMetaArgs;\nimport com.pulumi.kubernetes.networking.k8s.io_v1.inputs.IngressSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ingress = new Ingress(\"ingress\", IngressArgs.builder() \n .metadata(ObjectMetaArgs.builder()\n .annotations(Map.of(\"nginx.ingress.kubernetes.io/rewrite-target\", \"/\"))\n .build())\n .spec(IngressSpecArgs.builder()\n .rules(IngressRuleArgs.builder()\n .http(HTTPIngressRuleValueArgs.builder()\n .paths(HTTPIngressPathArgs.builder()\n .backend(IngressBackendArgs.builder()\n .service(IngressServiceBackendArgs.builder()\n .name(\"test\")\n .port(ServiceBackendPortArgs.builder()\n .number(80)\n .build())\n .build())\n .build())\n .path(\"/testpath\")\n .pathType(\"Prefix\")\n .build())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create an Ingress with auto-naming\nname: yaml-example\nresources:\n ingress:\n properties:\n metadata:\n annotations:\n nginx.ingress.kubernetes.io/rewrite-target: /\n spec:\n rules:\n - http:\n paths:\n - backend:\n service:\n name: test\n port:\n number: 80\n path: /testpath\n pathType: Prefix\n type: kubernetes:networking.k8s.io/v1:Ingress\nruntime: yaml\n```\n{{% /example %}}\n{{% example %}}\n### Create an Ingress with a user-specified name\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst ingress = new kubernetes.networking.v1.Ingress(\"ingress\", {\n metadata: {\n annotations: {\n \"nginx.ingress.kubernetes.io/rewrite-target\": \"/\",\n },\n name: \"minimal-ingress\",\n },\n spec: {\n rules: [{\n http: {\n paths: [{\n backend: {\n service: {\n name: \"test\",\n port: {\n number: 80,\n },\n },\n },\n path: \"/testpath\",\n pathType: \"Prefix\",\n }],\n },\n }],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_kubernetes as kubernetes\n\ningress = kubernetes.networking.v1.Ingress(\"ingress\",\n metadata=kubernetes.meta.v1.ObjectMetaArgs(\n annotations={\n \"nginx.ingress.kubernetes.io/rewrite-target\": \"/\",\n },\n name=\"minimal-ingress\",\n ),\n spec=kubernetes.networking.v1.IngressSpecArgs(\n rules=[kubernetes.networking.v1.IngressRuleArgs(\n http=kubernetes.networking.v1.HTTPIngressRuleValueArgs(\n paths=[kubernetes.networking.v1.HTTPIngressPathArgs(\n backend=kubernetes.networking.v1.IngressBackendArgs(\n service=kubernetes.networking.v1.IngressServiceBackendArgs(\n name=\"test\",\n port=kubernetes.networking.v1.ServiceBackendPortArgs(\n number=80,\n ),\n ),\n ),\n path=\"/testpath\",\n path_type=\"Prefix\",\n )],\n ),\n )],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() => \n{\n var ingress = new Kubernetes.Networking.V1.Ingress(\"ingress\", new()\n {\n Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs\n {\n Annotations = \n {\n { \"nginx.ingress.kubernetes.io/rewrite-target\", \"/\" },\n },\n Name = \"minimal-ingress\",\n },\n Spec = new Kubernetes.Types.Inputs.Networking.V1.IngressSpecArgs\n {\n Rules = new[]\n {\n new Kubernetes.Types.Inputs.Networking.V1.IngressRuleArgs\n {\n Http = new Kubernetes.Types.Inputs.Networking.V1.HTTPIngressRuleValueArgs\n {\n Paths = new[]\n {\n new Kubernetes.Types.Inputs.Networking.V1.HTTPIngressPathArgs\n {\n Backend = new Kubernetes.Types.Inputs.Networking.V1.IngressBackendArgs\n {\n Service = new Kubernetes.Types.Inputs.Networking.V1.IngressServiceBackendArgs\n {\n Name = \"test\",\n Port = new Kubernetes.Types.Inputs.Networking.V1.ServiceBackendPortArgs\n {\n Number = 80,\n },\n },\n },\n Path = \"/testpath\",\n PathType = \"Prefix\",\n },\n },\n },\n },\n },\n },\n });\n\n});\n\n```\n```go\npackage main\n\nimport (\n\tmetav1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1\"\n\tnetworkingv1 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/networking/v1\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := networkingv1.NewIngress(ctx, \"ingress\", &networkingv1.IngressArgs{\n\t\t\tMetadata: &metav1.ObjectMetaArgs{\n\t\t\t\tAnnotations: pulumi.StringMap{\n\t\t\t\t\t\"nginx.ingress.kubernetes.io/rewrite-target\": pulumi.String(\"/\"),\n\t\t\t\t},\n\t\t\t\tName: pulumi.String(\"minimal-ingress\"),\n\t\t\t},\n\t\t\tSpec: &networkingv1.IngressSpecArgs{\n\t\t\t\tRules: networkingv1.IngressRuleArray{\n\t\t\t\t\t&networkingv1.IngressRuleArgs{\n\t\t\t\t\t\tHttp: &networkingv1.HTTPIngressRuleValueArgs{\n\t\t\t\t\t\t\tPaths: networkingv1.HTTPIngressPathArray{\n\t\t\t\t\t\t\t\t&networkingv1.HTTPIngressPathArgs{\n\t\t\t\t\t\t\t\t\tBackend: &networkingv1.IngressBackendArgs{\n\t\t\t\t\t\t\t\t\t\tService: &networkingv1.IngressServiceBackendArgs{\n\t\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"test\"),\n\t\t\t\t\t\t\t\t\t\t\tPort: &networkingv1.ServiceBackendPortArgs{\n\t\t\t\t\t\t\t\t\t\t\t\tNumber: pulumi.Int(80),\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tPath: pulumi.String(\"/testpath\"),\n\t\t\t\t\t\t\t\t\tPathType: pulumi.String(\"Prefix\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.kubernetes.networking.k8s.io_v1.Ingress;\nimport com.pulumi.kubernetes.networking.k8s.io_v1.IngressArgs;\nimport com.pulumi.kubernetes.meta_v1.inputs.ObjectMetaArgs;\nimport com.pulumi.kubernetes.networking.k8s.io_v1.inputs.IngressSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ingress = new Ingress(\"ingress\", IngressArgs.builder() \n .metadata(ObjectMetaArgs.builder()\n .annotations(Map.of(\"nginx.ingress.kubernetes.io/rewrite-target\", \"/\"))\n .name(\"minimal-ingress\")\n .build())\n .spec(IngressSpecArgs.builder()\n .rules(IngressRuleArgs.builder()\n .http(HTTPIngressRuleValueArgs.builder()\n .paths(HTTPIngressPathArgs.builder()\n .backend(IngressBackendArgs.builder()\n .service(IngressServiceBackendArgs.builder()\n .name(\"test\")\n .port(ServiceBackendPortArgs.builder()\n .number(80)\n .build())\n .build())\n .build())\n .path(\"/testpath\")\n .pathType(\"Prefix\")\n .build())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\ndescription: Create an Ingress with a user-specified name\nname: yaml-example\nresources:\n ingress:\n properties:\n metadata:\n annotations:\n nginx.ingress.kubernetes.io/rewrite-target: /\n name: minimal-ingress\n spec:\n rules:\n - http:\n paths:\n - backend:\n service:\n name: test\n port:\n number: 80\n path: /testpath\n pathType: Prefix\n type: kubernetes:networking.k8s.io/v1:Ingress\nruntime: yaml\n```\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressSpec", "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressStatus", "description": "status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressSpec", "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:extensions/v1beta1:Ingress" }, { "type": "kubernetes:networking.k8s.io/v1beta1:Ingress" } ] }, "kubernetes:networking.k8s.io/v1:IngressClass": { "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressClassSpec", "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressClassSpec", "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:networking.k8s.io/v1beta1:IngressClass" } ] }, "kubernetes:networking.k8s.io/v1:IngressClassList": { "description": "IngressClassList is a collection of IngressClasses.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressClass" }, "description": "items is the list of IngressClasses." }, "kind": { "type": "string", "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", "const": "IngressClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressClass" }, "description": "items is the list of IngressClasses." }, "kind": { "type": "string", "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", "const": "IngressClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:networking.k8s.io/v1:IngressClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nIngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressClassSpecPatch", "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressClassSpecPatch", "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:networking.k8s.io/v1beta1:IngressClassPatch" } ] }, "kubernetes:networking.k8s.io/v1:IngressList": { "description": "IngressList is a collection of Ingress.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:Ingress" }, "description": "items is the list of Ingress." }, "kind": { "type": "string", "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", "const": "IngressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:Ingress" }, "description": "items is the list of Ingress." }, "kind": { "type": "string", "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", "const": "IngressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:networking.k8s.io/v1:IngressPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressSpecPatch", "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressStatusPatch", "description": "status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:IngressSpecPatch", "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:extensions/v1beta1:IngressPatch" }, { "type": "kubernetes:networking.k8s.io/v1beta1:IngressPatch" } ] }, "kubernetes:networking.k8s.io/v1:NetworkPolicy": { "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicySpec", "description": "spec represents the specification of the desired behavior for this NetworkPolicy." }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyStatus", "description": "Status is the current state of the NetworkPolicy. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicySpec", "description": "spec represents the specification of the desired behavior for this NetworkPolicy." } }, "aliases": [ { "type": "kubernetes:extensions/v1beta1:NetworkPolicy" } ] }, "kubernetes:networking.k8s.io/v1:NetworkPolicyList": { "description": "NetworkPolicyList is a list of NetworkPolicy objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicy" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "NetworkPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicy" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "NetworkPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:networking.k8s.io/v1:NetworkPolicyPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nNetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicySpecPatch", "description": "spec represents the specification of the desired behavior for this NetworkPolicy." }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicyStatusPatch", "description": "Status is the current state of the NetworkPolicy. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "NetworkPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1:NetworkPolicySpecPatch", "description": "spec represents the specification of the desired behavior for this NetworkPolicy." } }, "aliases": [ { "type": "kubernetes:extensions/v1beta1:NetworkPolicyPatch" } ] }, "kubernetes:networking.k8s.io/v1alpha1:ClusterCIDR": { "description": "ClusterCIDR represents a single configuration for per-Node Pod CIDR allocations when the MultiCIDRRangeAllocator is enabled (see the config for kube-controller-manager). A cluster may have any number of ClusterCIDR resources, all of which will be considered when allocating a CIDR for a Node. A ClusterCIDR is eligible to be used for a given Node when the node selector matches the node in question and has free CIDRs to allocate. In case of multiple matching ClusterCIDR resources, the allocator will attempt to break ties using internal heuristics, but any ClusterCIDR whose node selector matches the Node may be used.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRSpec", "description": "Spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRSpec", "description": "Spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRList": { "description": "ClusterCIDRList contains a list of ClusterCIDR.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ClusterCIDR" }, "description": "Items is the list of ClusterCIDRs." }, "kind": { "type": "string", "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", "const": "ClusterCIDRList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ClusterCIDR" }, "description": "Items is the list of ClusterCIDRs." }, "kind": { "type": "string", "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", "const": "ClusterCIDRList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nClusterCIDR represents a single configuration for per-Node Pod CIDR allocations when the MultiCIDRRangeAllocator is enabled (see the config for kube-controller-manager). A cluster may have any number of ClusterCIDR resources, all of which will be considered when allocating a CIDR for a Node. A ClusterCIDR is eligible to be used for a given Node when the node selector matches the node in question and has free CIDRs to allocate. In case of multiple matching ClusterCIDR resources, the allocator will attempt to break ties using internal heuristics, but any ClusterCIDR whose node selector matches the Node may be used.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRSpecPatch", "description": "Spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRSpecPatch", "description": "Spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:networking.k8s.io/v1alpha1:IPAddress": { "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "IPAddress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:IPAddressSpec", "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "IPAddress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:IPAddressSpec", "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:networking.k8s.io/v1alpha1:IPAddressList": { "description": "IPAddressList contains a list of IPAddress.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:IPAddress" }, "description": "items is the list of IPAddresses." }, "kind": { "type": "string", "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", "const": "IPAddressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:IPAddress" }, "description": "items is the list of IPAddresses." }, "kind": { "type": "string", "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", "const": "IPAddressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:networking.k8s.io/v1alpha1:IPAddressPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nIPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "IPAddress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:IPAddressSpecPatch", "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "IPAddress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:IPAddressSpecPatch", "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:networking.k8s.io/v1alpha1:ServiceCIDR": { "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ServiceCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRSpec", "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRStatus", "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ServiceCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRSpec", "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRList": { "description": "ServiceCIDRList contains a list of ServiceCIDR objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDR" }, "description": "items is the list of ServiceCIDRs." }, "kind": { "type": "string", "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", "const": "ServiceCIDRList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDR" }, "description": "items is the list of ServiceCIDRs." }, "kind": { "type": "string", "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", "const": "ServiceCIDRList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ServiceCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRSpecPatch", "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRStatusPatch", "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ServiceCIDR" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRSpecPatch", "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } } }, "kubernetes:networking.k8s.io/v1beta1:Ingress": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressSpec", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressStatus", "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressSpec", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:extensions/v1beta1:Ingress" }, { "type": "kubernetes:networking.k8s.io/v1:Ingress" } ] }, "kubernetes:networking.k8s.io/v1beta1:IngressClass": { "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressClassSpec", "description": "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressClassSpec", "description": "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:networking.k8s.io/v1:IngressClass" } ] }, "kubernetes:networking.k8s.io/v1beta1:IngressClassList": { "description": "IngressClassList is a collection of IngressClasses.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressClass" }, "description": "Items is the list of IngressClasses." }, "kind": { "type": "string", "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", "const": "IngressClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressClass" }, "description": "Items is the list of IngressClasses." }, "kind": { "type": "string", "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", "const": "IngressClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:networking.k8s.io/v1beta1:IngressClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nIngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressClassSpecPatch", "description": "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "IngressClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressClassSpecPatch", "description": "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:networking.k8s.io/v1:IngressClassPatch" } ] }, "kubernetes:networking.k8s.io/v1beta1:IngressList": { "description": "IngressList is a collection of Ingress.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:Ingress" }, "description": "Items is the list of Ingress." }, "kind": { "type": "string", "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", "const": "IngressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:Ingress" }, "description": "Items is the list of Ingress." }, "kind": { "type": "string", "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", "const": "IngressList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:networking.k8s.io/v1beta1:IngressPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.\n\nThis resource waits until its status is ready before registering success\nfor create/update, and populating output properties from the current state of the resource.\nThe following conditions are used to determine whether the resource creation has\nsucceeded or failed:\n\n1. Ingress object exists.\n2. Endpoint objects exist with matching names for each Ingress path (except when Service\n type is ExternalName).\n3. Ingress entry exists for '.status.loadBalancer.ingress'.\n\nIf the Ingress has not reached a Ready state after 10 minutes, it will\ntime out and mark the resource update as Failed. You can override the default timeout value\nby setting the 'customTimeouts' option on the resource.", "properties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressSpecPatch", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressStatusPatch", "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "networking.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Ingress" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:networking.k8s.io/v1beta1:IngressSpecPatch", "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:extensions/v1beta1:IngressPatch" }, { "type": "kubernetes:networking.k8s.io/v1:IngressPatch" } ] }, "kubernetes:node.k8s.io/v1:RuntimeClass": { "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1:Overhead", "description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/" }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1:Scheduling", "description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "type": "object", "required": [ "apiVersion", "handler", "kind", "metadata", "overhead", "scheduling" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "handler", "kind", "metadata", "overhead", "scheduling" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1:Overhead", "description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/" }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1:Scheduling", "description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "requiredInputs": [ "handler" ], "aliases": [ { "type": "kubernetes:node.k8s.io/v1alpha1:RuntimeClass" }, { "type": "kubernetes:node.k8s.io/v1beta1:RuntimeClass" } ] }, "kubernetes:node.k8s.io/v1:RuntimeClassList": { "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:node.k8s.io/v1:RuntimeClass" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "RuntimeClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:node.k8s.io/v1:RuntimeClass" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "RuntimeClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:node.k8s.io/v1:RuntimeClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nRuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1:OverheadPatch", "description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/" }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1:SchedulingPatch", "description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "handler", "kind", "metadata", "overhead", "scheduling" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1:OverheadPatch", "description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/" }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1:SchedulingPatch", "description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "aliases": [ { "type": "kubernetes:node.k8s.io/v1alpha1:RuntimeClassPatch" }, { "type": "kubernetes:node.k8s.io/v1beta1:RuntimeClassPatch" } ] }, "kubernetes:node.k8s.io/v1alpha1:RuntimeClass": { "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:RuntimeClassSpec", "description": "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:RuntimeClassSpec", "description": "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:node.k8s.io/v1:RuntimeClass" }, { "type": "kubernetes:node.k8s.io/v1beta1:RuntimeClass" } ] }, "kubernetes:node.k8s.io/v1alpha1:RuntimeClassList": { "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:RuntimeClass" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "RuntimeClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:RuntimeClass" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "RuntimeClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:node.k8s.io/v1alpha1:RuntimeClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nRuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:RuntimeClassSpecPatch", "description": "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:node.k8s.io/v1alpha1:RuntimeClassSpecPatch", "description": "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "aliases": [ { "type": "kubernetes:node.k8s.io/v1:RuntimeClassPatch" }, { "type": "kubernetes:node.k8s.io/v1beta1:RuntimeClassPatch" } ] }, "kubernetes:node.k8s.io/v1beta1:RuntimeClass": { "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1beta1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:Overhead", "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:Scheduling", "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "type": "object", "required": [ "apiVersion", "handler", "kind", "metadata", "overhead", "scheduling" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "handler", "kind", "metadata", "overhead", "scheduling" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1beta1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:Overhead", "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:Scheduling", "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "requiredInputs": [ "handler" ], "aliases": [ { "type": "kubernetes:node.k8s.io/v1:RuntimeClass" }, { "type": "kubernetes:node.k8s.io/v1alpha1:RuntimeClass" } ] }, "kubernetes:node.k8s.io/v1beta1:RuntimeClassList": { "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:RuntimeClass" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "RuntimeClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:RuntimeClass" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "RuntimeClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:node.k8s.io/v1beta1:RuntimeClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nRuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", "properties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1beta1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:OverheadPatch", "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:SchedulingPatch", "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "handler", "kind", "metadata", "overhead", "scheduling" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "node.k8s.io/v1beta1" }, "handler": { "type": "string", "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." }, "kind": { "type": "string", "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", "const": "RuntimeClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "overhead": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:OverheadPatch", "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." }, "scheduling": { "$ref": "#/types/kubernetes:node.k8s.io/v1beta1:SchedulingPatch", "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "aliases": [ { "type": "kubernetes:node.k8s.io/v1:RuntimeClassPatch" }, { "type": "kubernetes:node.k8s.io/v1alpha1:RuntimeClassPatch" } ] }, "kubernetes:policy/v1:PodDisruptionBudget": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudgetSpec", "description": "Specification of the desired behavior of the PodDisruptionBudget." }, "status": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudgetStatus", "description": "Most recently observed status of the PodDisruptionBudget." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "policy/v1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudgetSpec", "description": "Specification of the desired behavior of the PodDisruptionBudget." } }, "aliases": [ { "type": "kubernetes:policy/v1beta1:PodDisruptionBudget" } ] }, "kubernetes:policy/v1:PodDisruptionBudgetList": { "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudget" }, "description": "Items is a list of PodDisruptionBudgets" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudgetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "policy/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudget" }, "description": "Items is a list of PodDisruptionBudgets" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudgetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:policy/v1:PodDisruptionBudgetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudgetSpecPatch", "description": "Specification of the desired behavior of the PodDisruptionBudget." }, "status": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudgetStatusPatch", "description": "Most recently observed status of the PodDisruptionBudget." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "policy/v1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1:PodDisruptionBudgetSpecPatch", "description": "Specification of the desired behavior of the PodDisruptionBudget." } }, "aliases": [ { "type": "kubernetes:policy/v1beta1:PodDisruptionBudgetPatch" } ] }, "kubernetes:policy/v1beta1:PodDisruptionBudget": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudgetSpec", "description": "Specification of the desired behavior of the PodDisruptionBudget." }, "status": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudgetStatus", "description": "Most recently observed status of the PodDisruptionBudget." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudgetSpec", "description": "Specification of the desired behavior of the PodDisruptionBudget." } }, "aliases": [ { "type": "kubernetes:policy/v1:PodDisruptionBudget" } ] }, "kubernetes:policy/v1beta1:PodDisruptionBudgetList": { "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudget" } }, "kind": { "type": "string", "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", "const": "PodDisruptionBudgetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudget" } }, "kind": { "type": "string", "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", "const": "PodDisruptionBudgetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta" } }, "requiredInputs": [ "items" ] }, "kubernetes:policy/v1beta1:PodDisruptionBudgetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudgetSpecPatch", "description": "Specification of the desired behavior of the PodDisruptionBudget." }, "status": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch", "description": "Most recently observed status of the PodDisruptionBudget." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodDisruptionBudget" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodDisruptionBudgetSpecPatch", "description": "Specification of the desired behavior of the PodDisruptionBudget." } }, "aliases": [ { "type": "kubernetes:policy/v1:PodDisruptionBudgetPatch" } ] }, "kubernetes:policy/v1beta1:PodSecurityPolicy": { "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodSecurityPolicySpec", "description": "spec defines the policy enforced." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodSecurityPolicySpec", "description": "spec defines the policy enforced." } }, "aliases": [ { "type": "kubernetes:extensions/v1beta1:PodSecurityPolicy" } ] }, "kubernetes:policy/v1beta1:PodSecurityPolicyList": { "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:PodSecurityPolicy" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "PodSecurityPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:policy/v1beta1:PodSecurityPolicy" }, "description": "items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "PodSecurityPolicyList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:policy/v1beta1:PodSecurityPolicyPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", "properties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodSecurityPolicySpecPatch", "description": "spec defines the policy enforced." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "policy/v1beta1" }, "kind": { "type": "string", "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", "const": "PodSecurityPolicy" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:policy/v1beta1:PodSecurityPolicySpecPatch", "description": "spec defines the policy enforced." } }, "aliases": [ { "type": "kubernetes:extensions/v1beta1:PodSecurityPolicyPatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRole": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:AggregationRule", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "required": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ], "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:AggregationRule", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRole" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRole" } ] }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRef", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRef", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "requiredInputs": [ "roleRef" ], "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBinding" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBinding" } ] }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBindingList": { "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBinding" }, "description": "Items is a list of ClusterRoleBindings" }, "kind": { "type": "string", "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", "const": "ClusterRoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBinding" }, "description": "Items is a list of ClusterRoleBindings" }, "kind": { "type": "string", "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", "const": "ClusterRoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBindingPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRefPatch", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRefPatch", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBindingPatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBindingPatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:ClusterRole" }, "description": "Items is a list of ClusterRoles" }, "kind": { "type": "string", "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", "const": "ClusterRoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:ClusterRole" }, "description": "Items is a list of ClusterRoles" }, "kind": { "type": "string", "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", "const": "ClusterRoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1:ClusterRolePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:AggregationRulePatch", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:AggregationRulePatch", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRolePatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRolePatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1:Role": { "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "rules" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this Role" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:Role" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:Role" } ] }, "kubernetes:rbac.authorization.k8s.io/v1:RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRef", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRef", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "requiredInputs": [ "roleRef" ], "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBinding" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBinding" } ] }, "kubernetes:rbac.authorization.k8s.io/v1:RoleBindingList": { "description": "RoleBindingList is a collection of RoleBindings", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleBinding" }, "description": "Items is a list of RoleBindings" }, "kind": { "type": "string", "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", "const": "RoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleBinding" }, "description": "Items is a list of RoleBindings" }, "kind": { "type": "string", "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", "const": "RoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1:RoleBindingPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nRoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRefPatch", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:RoleRefPatch", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBindingPatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBindingPatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1:RoleList": { "description": "RoleList is a collection of Roles", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:Role" }, "description": "Items is a list of Roles" }, "kind": { "type": "string", "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", "const": "RoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:Role" }, "description": "Items is a list of Roles" }, "kind": { "type": "string", "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", "const": "RoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1:RolePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this Role" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:RolePatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:RolePatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRole": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:AggregationRule", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "required": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ], "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:AggregationRule", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:ClusterRole" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRole" } ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRef", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRef", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "requiredInputs": [ "roleRef" ], "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBinding" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBinding" } ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBindingList": { "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBinding" }, "description": "Items is a list of ClusterRoleBindings" }, "kind": { "type": "string", "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", "const": "ClusterRoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBinding" }, "description": "Items is a list of ClusterRoleBindings" }, "kind": { "type": "string", "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", "const": "ClusterRoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBindingPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRefPatch", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRefPatch", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBindingPatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBindingPatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRole" }, "description": "Items is a list of ClusterRoles" }, "kind": { "type": "string", "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", "const": "ClusterRoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRole" }, "description": "Items is a list of ClusterRoles" }, "kind": { "type": "string", "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", "const": "ClusterRoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRolePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:AggregationRulePatch", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:AggregationRulePatch", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:ClusterRolePatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRolePatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:Role": { "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "rules" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this Role" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:Role" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:Role" } ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRef", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRef", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "requiredInputs": [ "roleRef" ], "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:RoleBinding" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBinding" } ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBindingList": { "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBinding" }, "description": "Items is a list of RoleBindings" }, "kind": { "type": "string", "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", "const": "RoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBinding" }, "description": "Items is a list of RoleBindings" }, "kind": { "type": "string", "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", "const": "RoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBindingPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nRoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRefPatch", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleRefPatch", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:RoleBindingPatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBindingPatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleList": { "description": "RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:Role" }, "description": "Items is a list of Roles" }, "kind": { "type": "string", "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", "const": "RoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:Role" }, "description": "Items is a list of Roles" }, "kind": { "type": "string", "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", "const": "RoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1alpha1:RolePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this Role" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:RolePatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1beta1:RolePatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRole": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:AggregationRule", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "required": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ], "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:AggregationRule", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:ClusterRole" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRole" } ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRef", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRef", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "requiredInputs": [ "roleRef" ], "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBinding" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBinding" } ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBindingList": { "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBinding" }, "description": "Items is a list of ClusterRoleBindings" }, "kind": { "type": "string", "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", "const": "ClusterRoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBinding" }, "description": "Items is a list of ClusterRoleBindings" }, "kind": { "type": "string", "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", "const": "ClusterRoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBindingPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRefPatch", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRefPatch", "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBindingPatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBindingPatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRole" }, "description": "Items is a list of ClusterRoles" }, "kind": { "type": "string", "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", "const": "ClusterRoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRole" }, "description": "Items is a list of ClusterRoles" }, "kind": { "type": "string", "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", "const": "ClusterRoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRolePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:AggregationRulePatch", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "aggregationRule", "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:AggregationRulePatch", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "ClusterRole" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this ClusterRole" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:ClusterRolePatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRolePatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:Role": { "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "rules" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRule" }, "description": "Rules holds all the PolicyRules for this Role" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:Role" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:Role" } ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRef", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRef", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:Subject" }, "description": "Subjects holds references to the objects the role applies to." } }, "requiredInputs": [ "roleRef" ], "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:RoleBinding" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBinding" } ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBindingList": { "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBinding" }, "description": "Items is a list of RoleBindings" }, "kind": { "type": "string", "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", "const": "RoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBinding" }, "description": "Items is a list of RoleBindings" }, "kind": { "type": "string", "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", "const": "RoleBindingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBindingPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nRoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRefPatch", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "roleRef", "subjects" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "RoleBinding" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "roleRef": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:RoleRefPatch", "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, "subjects": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:SubjectPatch" }, "description": "Subjects holds references to the objects the role applies to." } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:RoleBindingPatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBindingPatch" } ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleList": { "description": "RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:Role" }, "description": "Items is a list of Roles" }, "kind": { "type": "string", "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", "const": "RoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:Role" }, "description": "Items is a list of Roles" }, "kind": { "type": "string", "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", "const": "RoleList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard object's metadata." } }, "requiredInputs": [ "items" ] }, "kubernetes:rbac.authorization.k8s.io/v1beta1:RolePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "properties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this Role" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "rules" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "rbac.authorization.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "Role" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata." }, "rules": { "type": "array", "items": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:PolicyRulePatch" }, "description": "Rules holds all the PolicyRules for this Role" } }, "aliases": [ { "type": "kubernetes:rbac.authorization.k8s.io/v1:RolePatch" }, { "type": "kubernetes:rbac.authorization.k8s.io/v1alpha1:RolePatch" } ] }, "kubernetes:resource.k8s.io/v1alpha1:PodScheduling": { "description": "PodScheduling objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodScheduling" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodSchedulingSpec", "description": "Spec describes where resources for the Pod are needed." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodSchedulingStatus", "description": "Status describes where resources for the Pod can be allocated." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodScheduling" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodSchedulingSpec", "description": "Spec describes where resources for the Pod are needed." } }, "requiredInputs": [ "spec" ] }, "kubernetes:resource.k8s.io/v1alpha1:PodSchedulingList": { "description": "PodSchedulingList is a collection of Pod scheduling objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodScheduling" }, "description": "Items is the list of PodScheduling objects." }, "kind": { "type": "string", "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", "const": "PodSchedulingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodScheduling" }, "description": "Items is the list of PodScheduling objects." }, "kind": { "type": "string", "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", "const": "PodSchedulingList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:resource.k8s.io/v1alpha1:PodSchedulingPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPodScheduling objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodScheduling" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodSchedulingSpecPatch", "description": "Spec describes where resources for the Pod are needed." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodSchedulingStatusPatch", "description": "Status describes where resources for the Pod can be allocated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodScheduling" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:PodSchedulingSpecPatch", "description": "Spec describes where resources for the Pod are needed." } } }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaim": { "description": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSpec", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimStatus", "description": "Status describes whether the resource is available and with which attributes." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSpec", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha2:ResourceClaim" } ] }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimList": { "description": "ResourceClaimList is a collection of claims.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaim" }, "description": "Items is the list of resource claims." }, "kind": { "type": "string", "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", "const": "ResourceClaimList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaim" }, "description": "Items is the list of resource claims." }, "kind": { "type": "string", "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", "const": "ResourceClaimList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSpecPatch", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimStatusPatch", "description": "Status describes whether the resource is available and with which attributes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimSpecPatch", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." } }, "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimPatch" } ] }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplate": { "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplateSpec", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplateSpec", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplate" } ] }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplateList": { "description": "ResourceClaimTemplateList is a collection of claim templates.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplate" }, "description": "Items is the list of resource claim templates." }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplateList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplate" }, "description": "Items is the list of resource claim templates." }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplateList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplatePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nResourceClaimTemplate is used to produce ResourceClaim objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplateSpecPatch", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplateSpecPatch", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplatePatch" } ] }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClass": { "description": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClassParametersReference", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelector", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "type": "object", "required": [ "apiVersion", "driverName", "kind", "metadata", "parametersRef", "suitableNodes" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parametersRef", "suitableNodes" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClassParametersReference", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelector", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "requiredInputs": [ "driverName" ], "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha2:ResourceClass" } ] }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClassList": { "description": "ResourceClassList is a collection of classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClass" }, "description": "Items is the list of resource classes." }, "kind": { "type": "string", "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", "const": "ResourceClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClass" }, "description": "Items is the list of resource classes." }, "kind": { "type": "string", "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", "const": "ResourceClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:resource.k8s.io/v1alpha1:ResourceClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClassParametersReferencePatch", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorPatch", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parametersRef", "suitableNodes" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha1:ResourceClassParametersReferencePatch", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorPatch", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha2:ResourceClassPatch" } ] }, "kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContext": { "description": "PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "PodSchedulingContext" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextSpec", "description": "Spec describes where resources for the Pod are needed." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextStatus", "description": "Status describes where resources for the Pod can be allocated." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "PodSchedulingContext" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextSpec", "description": "Spec describes where resources for the Pod are needed." } }, "requiredInputs": [ "spec" ] }, "kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextList": { "description": "PodSchedulingContextList is a collection of Pod scheduling objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContext" }, "description": "Items is the list of PodSchedulingContext objects." }, "kind": { "type": "string", "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", "const": "PodSchedulingContextList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContext" }, "description": "Items is the list of PodSchedulingContext objects." }, "kind": { "type": "string", "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", "const": "PodSchedulingContextList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "PodSchedulingContext" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextSpecPatch", "description": "Spec describes where resources for the Pod are needed." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextStatusPatch", "description": "Status describes where resources for the Pod can be allocated." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "PodSchedulingContext" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextSpecPatch", "description": "Spec describes where resources for the Pod are needed." } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaim": { "description": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSpec", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimStatus", "description": "Status describes whether the resource is available and with which attributes." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSpec", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha1:ResourceClaim" } ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimList": { "description": "ResourceClaimList is a collection of claims.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaim" }, "description": "Items is the list of resource claims." }, "kind": { "type": "string", "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", "const": "ResourceClaimList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaim" }, "description": "Items is the list of resource claims." }, "kind": { "type": "string", "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", "const": "ResourceClaimList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParameters": { "description": "ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverRequests": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:DriverRequests" }, "description": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersReference", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClaimParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "shareable": { "type": "boolean", "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time." } }, "type": "object", "required": [ "apiVersion", "driverRequests", "generatedFrom", "kind", "metadata", "shareable" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverRequests", "generatedFrom", "kind", "metadata", "shareable" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverRequests": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:DriverRequests" }, "description": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersReference", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClaimParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "shareable": { "type": "boolean", "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time." } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersList": { "description": "ResourceClaimParametersList is a collection of ResourceClaimParameters.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParameters" }, "description": "Items is the list of node resource capacity objects." }, "kind": { "type": "string", "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", "const": "ResourceClaimParametersList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParameters" }, "description": "Items is the list of node resource capacity objects." }, "kind": { "type": "string", "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", "const": "ResourceClaimParametersList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverRequests": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:DriverRequestsPatch" }, "description": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersReferencePatch", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClaimParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "shareable": { "type": "boolean", "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverRequests", "generatedFrom", "kind", "metadata", "shareable" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverRequests": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:DriverRequestsPatch" }, "description": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersReferencePatch", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClaimParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "shareable": { "type": "boolean", "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time." } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSpecPatch", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." }, "status": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimStatusPatch", "description": "Status describes whether the resource is available and with which attributes." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaim" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimSpecPatch", "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." } }, "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimPatch" } ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplate": { "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplateSpec", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplateSpec", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplate" } ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplateList": { "description": "ResourceClaimTemplateList is a collection of claim templates.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplate" }, "description": "Items is the list of resource claim templates." }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplateList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplate" }, "description": "Items is the list of resource claim templates." }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplateList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplatePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nResourceClaimTemplate is used to produce ResourceClaim objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplateSpecPatch", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "kind": { "type": "string", "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", "const": "ResourceClaimTemplate" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "spec": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplateSpecPatch", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplatePatch" } ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClass": { "description": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReference", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "structuredParameters": { "type": "boolean", "description": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelector", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "type": "object", "required": [ "apiVersion", "driverName", "kind", "metadata", "parametersRef", "structuredParameters", "suitableNodes" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parametersRef", "structuredParameters", "suitableNodes" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReference", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "structuredParameters": { "type": "boolean", "description": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelector", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "requiredInputs": [ "driverName" ], "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha1:ResourceClass" } ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassList": { "description": "ResourceClassList is a collection of classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClass" }, "description": "Items is the list of resource classes." }, "kind": { "type": "string", "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", "const": "ResourceClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClass" }, "description": "Items is the list of resource classes." }, "kind": { "type": "string", "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", "const": "ResourceClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassParameters": { "description": "ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "filters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceFilter" }, "description": "Filters describes additional contraints that must be met when using the class." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReference", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClassParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "vendorParameters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:VendorParameters" }, "description": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver." } }, "type": "object", "required": [ "apiVersion", "filters", "generatedFrom", "kind", "metadata", "vendorParameters" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "filters", "generatedFrom", "kind", "metadata", "vendorParameters" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "filters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceFilter" }, "description": "Filters describes additional contraints that must be met when using the class." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReference", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClassParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "vendorParameters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:VendorParameters" }, "description": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver." } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersList": { "description": "ResourceClassParametersList is a collection of ResourceClassParameters.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParameters" }, "description": "Items is the list of node resource capacity objects." }, "kind": { "type": "string", "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", "const": "ResourceClassParametersList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParameters" }, "description": "Items is the list of node resource capacity objects." }, "kind": { "type": "string", "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", "const": "ResourceClassParametersList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "filters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceFilterPatch" }, "description": "Filters describes additional contraints that must be met when using the class." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReferencePatch", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClassParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "vendorParameters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:VendorParametersPatch" }, "description": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "filters", "generatedFrom", "kind", "metadata", "vendorParameters" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "filters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceFilterPatch" }, "description": "Filters describes additional contraints that must be met when using the class." }, "generatedFrom": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReferencePatch", "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type." }, "kind": { "type": "string", "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", "const": "ResourceClassParameters" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "vendorParameters": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:VendorParametersPatch" }, "description": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver." } } }, "kubernetes:resource.k8s.io/v1alpha2:ResourceClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReferencePatch", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "structuredParameters": { "type": "boolean", "description": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorPatch", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parametersRef", "structuredParameters", "suitableNodes" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com)." }, "kind": { "type": "string", "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", "const": "ResourceClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "parametersRef": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersReferencePatch", "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." }, "structuredParameters": { "type": "boolean", "description": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true." }, "suitableNodes": { "$ref": "#/types/kubernetes:core/v1:NodeSelectorPatch", "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." } }, "aliases": [ { "type": "kubernetes:resource.k8s.io/v1alpha1:ResourceClassPatch" } ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceSlice": { "description": "ResourceSlice provides information about available resources on individual nodes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name." }, "kind": { "type": "string", "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", "const": "ResourceSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesResources", "description": "NamedResources describes available resources using the named resources model." }, "nodeName": { "type": "string", "description": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name." } }, "type": "object", "required": [ "apiVersion", "driverName", "kind", "metadata", "namedResources", "nodeName" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "namedResources", "nodeName" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name." }, "kind": { "type": "string", "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", "const": "ResourceSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata" }, "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesResources", "description": "NamedResources describes available resources using the named resources model." }, "nodeName": { "type": "string", "description": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name." } }, "requiredInputs": [ "driverName" ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceSliceList": { "description": "ResourceSliceList is a collection of ResourceSlices.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceSlice" }, "description": "Items is the list of node resource capacity objects." }, "kind": { "type": "string", "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", "const": "ResourceSliceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:ResourceSlice" }, "description": "Items is the list of node resource capacity objects." }, "kind": { "type": "string", "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", "const": "ResourceSliceList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:resource.k8s.io/v1alpha2:ResourceSlicePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nResourceSlice provides information about available resources on individual nodes.", "properties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name." }, "kind": { "type": "string", "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", "const": "ResourceSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesResourcesPatch", "description": "NamedResources describes available resources using the named resources model." }, "nodeName": { "type": "string", "description": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "namedResources", "nodeName" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "resource.k8s.io/v1alpha2" }, "driverName": { "type": "string", "description": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name." }, "kind": { "type": "string", "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", "const": "ResourceSlice" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata" }, "namedResources": { "$ref": "#/types/kubernetes:resource.k8s.io/v1alpha2:NamedResourcesResourcesPatch", "description": "NamedResources describes available resources using the named resources model." }, "nodeName": { "type": "string", "description": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name." } } }, "kubernetes:scheduling.k8s.io/v1:PriorityClass": { "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." }, "value": { "type": "integer", "description": "value represents the integer 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": "object", "required": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." }, "value": { "type": "integer", "description": "value represents the integer 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." } }, "requiredInputs": [ "value" ], "aliases": [ { "type": "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClass" }, { "type": "kubernetes:scheduling.k8s.io/v1beta1:PriorityClass" } ] }, "kubernetes:scheduling.k8s.io/v1:PriorityClassList": { "description": "PriorityClassList is a collection of priority classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:scheduling.k8s.io/v1:PriorityClass" }, "description": "items is the list of PriorityClasses" }, "kind": { "type": "string", "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", "const": "PriorityClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:scheduling.k8s.io/v1:PriorityClass" }, "description": "items is the list of PriorityClasses" }, "kind": { "type": "string", "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", "const": "PriorityClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:scheduling.k8s.io/v1:PriorityClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." }, "value": { "type": "integer", "description": "value represents the integer 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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." }, "value": { "type": "integer", "description": "value represents the integer 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." } }, "aliases": [ { "type": "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClassPatch" }, { "type": "kubernetes:scheduling.k8s.io/v1beta1:PriorityClassPatch" } ] }, "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClass": { "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1alpha1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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": "object", "required": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1alpha1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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." } }, "requiredInputs": [ "value" ], "aliases": [ { "type": "kubernetes:scheduling.k8s.io/v1:PriorityClass" }, { "type": "kubernetes:scheduling.k8s.io/v1beta1:PriorityClass" } ] }, "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClassList": { "description": "PriorityClassList is a collection of priority classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:scheduling.k8s.io/v1alpha1:PriorityClass" }, "description": "items is the list of PriorityClasses" }, "kind": { "type": "string", "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", "const": "PriorityClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:scheduling.k8s.io/v1alpha1:PriorityClass" }, "description": "items is the list of PriorityClasses" }, "kind": { "type": "string", "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", "const": "PriorityClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nDEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1alpha1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1alpha1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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." } }, "aliases": [ { "type": "kubernetes:scheduling.k8s.io/v1:PriorityClassPatch" }, { "type": "kubernetes:scheduling.k8s.io/v1beta1:PriorityClassPatch" } ] }, "kubernetes:scheduling.k8s.io/v1beta1:PriorityClass": { "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1beta1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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": "object", "required": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1beta1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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." } }, "requiredInputs": [ "value" ], "aliases": [ { "type": "kubernetes:scheduling.k8s.io/v1:PriorityClass" }, { "type": "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClass" } ] }, "kubernetes:scheduling.k8s.io/v1beta1:PriorityClassList": { "description": "PriorityClassList is a collection of priority classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:scheduling.k8s.io/v1beta1:PriorityClass" }, "description": "items is the list of PriorityClasses" }, "kind": { "type": "string", "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", "const": "PriorityClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:scheduling.k8s.io/v1beta1:PriorityClass" }, "description": "items is the list of PriorityClasses" }, "kind": { "type": "string", "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", "const": "PriorityClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:scheduling.k8s.io/v1beta1:PriorityClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nDEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1beta1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "description", "globalDefault", "kind", "metadata", "preemptionPolicy", "value" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "scheduling.k8s.io/v1beta1" }, "description": { "type": "string", "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." }, "globalDefault": { "type": "boolean", "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." }, "kind": { "type": "string", "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", "const": "PriorityClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "preemptionPolicy": { "type": "string", "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature." }, "value": { "type": "integer", "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." } }, "aliases": [ { "type": "kubernetes:scheduling.k8s.io/v1:PriorityClassPatch" }, { "type": "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClassPatch" } ] }, "kubernetes:settings.k8s.io/v1alpha1:PodPreset": { "description": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.", "properties": { "apiVersion": { "type": "string", "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", "const": "settings.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodPreset" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:settings.k8s.io/v1alpha1:PodPresetSpec" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "settings.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodPreset" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta" }, "spec": { "$ref": "#/types/kubernetes:settings.k8s.io/v1alpha1:PodPresetSpec" } } }, "kubernetes:settings.k8s.io/v1alpha1:PodPresetList": { "description": "PodPresetList is a list of PodPreset objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "settings.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:settings.k8s.io/v1alpha1:PodPreset" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "PodPresetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "settings.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:settings.k8s.io/v1alpha1:PodPreset" }, "description": "Items is a list of schema objects." }, "kind": { "type": "string", "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", "const": "PodPresetList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:settings.k8s.io/v1alpha1:PodPresetPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nPodPreset is a policy resource that defines additional runtime requirements for a Pod.", "properties": { "apiVersion": { "type": "string", "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", "const": "settings.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodPreset" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:settings.k8s.io/v1alpha1:PodPresetSpecPatch" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "settings.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "PodPreset" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch" }, "spec": { "$ref": "#/types/kubernetes:settings.k8s.io/v1alpha1:PodPresetSpecPatch" } } }, "kubernetes:storage.k8s.io/v1:CSIDriver": { "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIDriverSpec", "description": "spec represents the specification of the CSI Driver." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIDriverSpec", "description": "spec represents the specification of the CSI Driver." } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:storage.k8s.io/v1beta1:CSIDriver" } ] }, "kubernetes:storage.k8s.io/v1:CSIDriverList": { "description": "CSIDriverList is a collection of CSIDriver objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIDriver" }, "description": "items is the list of CSIDriver" }, "kind": { "type": "string", "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", "const": "CSIDriverList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIDriver" }, "description": "items is the list of CSIDriver" }, "kind": { "type": "string", "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", "const": "CSIDriverList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1:CSIDriverPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIDriverSpecPatch", "description": "spec represents the specification of the CSI Driver." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIDriverSpecPatch", "description": "spec represents the specification of the CSI Driver." } }, "aliases": [ { "type": "kubernetes:storage.k8s.io/v1beta1:CSIDriverPatch" } ] }, "kubernetes:storage.k8s.io/v1:CSINode": { "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSINodeSpec", "description": "spec is the specification of CSINode" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSINodeSpec", "description": "spec is the specification of CSINode" } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:storage.k8s.io/v1beta1:CSINode" } ] }, "kubernetes:storage.k8s.io/v1:CSINodeList": { "description": "CSINodeList is a collection of CSINode objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSINode" }, "description": "items is the list of CSINode" }, "kind": { "type": "string", "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", "const": "CSINodeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSINode" }, "description": "items is the list of CSINode" }, "kind": { "type": "string", "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", "const": "CSINodeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1:CSINodePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSINodeSpecPatch", "description": "spec is the specification of CSINode" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSINodeSpecPatch", "description": "spec is the specification of CSINode" } }, "aliases": [ { "type": "kubernetes:storage.k8s.io/v1beta1:CSINodePatch" } ] }, "kubernetes:storage.k8s.io/v1:CSIStorageCapacity": { "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "capacity": { "type": "string", "description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "description": "storageClassName represents 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": "object", "required": [ "apiVersion", "capacity", "kind", "maximumVolumeSize", "metadata", "nodeTopology", "storageClassName" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "capacity", "kind", "maximumVolumeSize", "metadata", "nodeTopology", "storageClassName" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "capacity": { "type": "string", "description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "description": "storageClassName represents 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." } }, "requiredInputs": [ "storageClassName" ], "aliases": [ { "type": "kubernetes:storage.k8s.io/v1beta1:CSIStorageCapacity" }, { "type": "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacity" } ] }, "kubernetes:storage.k8s.io/v1:CSIStorageCapacityList": { "description": "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIStorageCapacity" }, "description": "items is the list of CSIStorageCapacity objects." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacityList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:CSIStorageCapacity" }, "description": "items is the list of CSIStorageCapacity objects." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacityList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1:CSIStorageCapacityPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "capacity": { "type": "string", "description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "description": "storageClassName represents 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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "capacity", "kind", "maximumVolumeSize", "metadata", "nodeTopology", "storageClassName" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "capacity": { "type": "string", "description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "description": "storageClassName represents 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." } }, "aliases": [ { "type": "kubernetes:storage.k8s.io/v1beta1:CSIStorageCapacityPatch" }, { "type": "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacityPatch" } ] }, "kubernetes:storage.k8s.io/v1:StorageClass": { "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "properties": { "allowVolumeExpansion": { "type": "boolean", "description": "allowVolumeExpansion shows whether the storage class allow volume expand." }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTerm" }, "description": "allowedTopologies 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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "description": "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid." }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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": "object", "required": [ "allowVolumeExpansion", "allowedTopologies", "apiVersion", "kind", "metadata", "mountOptions", "parameters", "provisioner", "reclaimPolicy", "volumeBindingMode" ], "language": { "nodejs": { "requiredOutputs": [ "allowVolumeExpansion", "allowedTopologies", "apiVersion", "kind", "metadata", "mountOptions", "parameters", "provisioner", "reclaimPolicy", "volumeBindingMode" ] } }, "inputProperties": { "allowVolumeExpansion": { "type": "boolean", "description": "allowVolumeExpansion shows whether the storage class allow volume expand." }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTerm" }, "description": "allowedTopologies 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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "description": "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid." }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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." } }, "requiredInputs": [ "provisioner" ], "aliases": [ { "type": "kubernetes:storage.k8s.io/v1beta1:StorageClass" } ] }, "kubernetes:storage.k8s.io/v1:StorageClassList": { "description": "StorageClassList is a collection of storage classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:StorageClass" }, "description": "items is the list of StorageClasses" }, "kind": { "type": "string", "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", "const": "StorageClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:StorageClass" }, "description": "items is the list of StorageClasses" }, "kind": { "type": "string", "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", "const": "StorageClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1:StorageClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "properties": { "allowVolumeExpansion": { "type": "boolean", "description": "allowVolumeExpansion shows whether the storage class allow volume expand." }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTermPatch" }, "description": "allowedTopologies 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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "description": "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid." }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "allowVolumeExpansion", "allowedTopologies", "apiVersion", "kind", "metadata", "mountOptions", "parameters", "provisioner", "reclaimPolicy", "volumeBindingMode" ] } }, "inputProperties": { "allowVolumeExpansion": { "type": "boolean", "description": "allowVolumeExpansion shows whether the storage class allow volume expand." }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTermPatch" }, "description": "allowedTopologies 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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "description": "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid." }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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." } }, "aliases": [ { "type": "kubernetes:storage.k8s.io/v1beta1:StorageClassPatch" } ] }, "kubernetes:storage.k8s.io/v1:VolumeAttachment": { "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentSpec", "description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentStatus", "description": "status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentSpec", "description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachment" }, { "type": "kubernetes:storage.k8s.io/v1beta1:VolumeAttachment" } ] }, "kubernetes:storage.k8s.io/v1:VolumeAttachmentList": { "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachment" }, "description": "items is the list of VolumeAttachments" }, "kind": { "type": "string", "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", "const": "VolumeAttachmentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachment" }, "description": "items is the list of VolumeAttachments" }, "kind": { "type": "string", "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", "const": "VolumeAttachmentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1:VolumeAttachmentPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentSpecPatch", "description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentStatusPatch", "description": "status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1:VolumeAttachmentSpecPatch", "description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." } }, "aliases": [ { "type": "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentPatch" }, { "type": "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentPatch" } ] }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachment": { "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSpec", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentStatus", "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSpec", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:VolumeAttachment" }, { "type": "kubernetes:storage.k8s.io/v1beta1:VolumeAttachment" } ] }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentList": { "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachment" }, "description": "Items is the list of VolumeAttachments" }, "kind": { "type": "string", "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", "const": "VolumeAttachmentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachment" }, "description": "Items is the list of VolumeAttachments" }, "kind": { "type": "string", "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", "const": "VolumeAttachmentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSpecPatch", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentStatusPatch", "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentSpecPatch", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." } }, "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:VolumeAttachmentPatch" }, { "type": "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentPatch" } ] }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttributesClass": { "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "Name of the CSI driver This field is immutable." }, "kind": { "type": "string", "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", "const": "VolumeAttributesClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field." } }, "type": "object", "required": [ "apiVersion", "driverName", "kind", "metadata", "parameters" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parameters" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "Name of the CSI driver This field is immutable." }, "kind": { "type": "string", "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", "const": "VolumeAttributesClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field." } }, "requiredInputs": [ "driverName" ] }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttributesClassList": { "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttributesClass" }, "description": "items is the list of VolumeAttributesClass objects." }, "kind": { "type": "string", "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", "const": "VolumeAttributesClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1alpha1:VolumeAttributesClass" }, "description": "items is the list of VolumeAttributesClass objects." }, "kind": { "type": "string", "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", "const": "VolumeAttributesClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1alpha1:VolumeAttributesClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "Name of the CSI driver This field is immutable." }, "kind": { "type": "string", "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", "const": "VolumeAttributesClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "driverName", "kind", "metadata", "parameters" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1alpha1" }, "driverName": { "type": "string", "description": "Name of the CSI driver This field is immutable." }, "kind": { "type": "string", "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", "const": "VolumeAttributesClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "parameters": { "type": "object", "additionalProperties": { "type": "string" }, "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field." } } }, "kubernetes:storage.k8s.io/v1beta1:CSIDriver": { "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIDriverSpec", "description": "Specification of the CSI Driver." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIDriverSpec", "description": "Specification of the CSI Driver." } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:CSIDriver" } ] }, "kubernetes:storage.k8s.io/v1beta1:CSIDriverList": { "description": "CSIDriverList is a collection of CSIDriver objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIDriver" }, "description": "items is the list of CSIDriver" }, "kind": { "type": "string", "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", "const": "CSIDriverList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIDriver" }, "description": "items is the list of CSIDriver" }, "kind": { "type": "string", "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", "const": "CSIDriverList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1beta1:CSIDriverPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIDriverSpecPatch", "description": "Specification of the CSI Driver." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSIDriver" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIDriverSpecPatch", "description": "Specification of the CSI Driver." } }, "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:CSIDriverPatch" } ] }, "kubernetes:storage.k8s.io/v1beta1:CSINode": { "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSINodeSpec", "description": "spec is the specification of CSINode" } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSINodeSpec", "description": "spec is the specification of CSINode" } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:CSINode" } ], "deprecationMessage": "storage/v1beta1/CSINode is deprecated by storage.k8s.io/v1/CSINode." }, "kubernetes:storage.k8s.io/v1beta1:CSINodeList": { "description": "CSINodeList is a collection of CSINode objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSINode" }, "description": "items is the list of CSINode" }, "kind": { "type": "string", "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", "const": "CSINodeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSINode" }, "description": "items is the list of CSINode" }, "kind": { "type": "string", "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", "const": "CSINodeList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1beta1:CSINodePatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSINodeSpecPatch", "description": "spec is the specification of CSINode" } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "CSINode" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "metadata.name must be the Kubernetes node name." }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSINodeSpecPatch", "description": "spec is the specification of CSINode" } }, "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:CSINodePatch" } ], "deprecationMessage": "storage/v1beta1/CSINode is deprecated by storage.k8s.io/v1/CSINode." }, "kubernetes:storage.k8s.io/v1beta1:CSIStorageCapacity": { "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "capacity": { "type": "string", "description": "Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "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": "object", "required": [ "apiVersion", "capacity", "kind", "maximumVolumeSize", "metadata", "nodeTopology", "storageClassName" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "capacity", "kind", "maximumVolumeSize", "metadata", "nodeTopology", "storageClassName" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "capacity": { "type": "string", "description": "Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelector", "description": "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "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." } }, "requiredInputs": [ "storageClassName" ], "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:CSIStorageCapacity" }, { "type": "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacity" } ] }, "kubernetes:storage.k8s.io/v1beta1:CSIStorageCapacityList": { "description": "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIStorageCapacity" }, "description": "Items is the list of CSIStorageCapacity objects." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacityList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:CSIStorageCapacity" }, "description": "Items is the list of CSIStorageCapacity objects." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacityList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1beta1:CSIStorageCapacityPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nCSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "capacity": { "type": "string", "description": "Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "capacity", "kind", "maximumVolumeSize", "metadata", "nodeTopology", "storageClassName" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "capacity": { "type": "string", "description": "Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable." }, "kind": { "type": "string", "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", "const": "CSIStorageCapacity" }, "maximumVolumeSize": { "type": "string", "description": "MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "nodeTopology": { "$ref": "#/types/kubernetes:meta/v1:LabelSelectorPatch", "description": "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." }, "storageClassName": { "type": "string", "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." } }, "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:CSIStorageCapacityPatch" }, { "type": "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacityPatch" } ] }, "kubernetes:storage.k8s.io/v1beta1:StorageClass": { "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "properties": { "allowVolumeExpansion": { "type": "boolean", "description": "AllowVolumeExpansion shows whether the storage class allow volume expand" }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTerm" }, "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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "Provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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": "object", "required": [ "allowVolumeExpansion", "allowedTopologies", "apiVersion", "kind", "metadata", "mountOptions", "parameters", "provisioner", "reclaimPolicy", "volumeBindingMode" ], "language": { "nodejs": { "requiredOutputs": [ "allowVolumeExpansion", "allowedTopologies", "apiVersion", "kind", "metadata", "mountOptions", "parameters", "provisioner", "reclaimPolicy", "volumeBindingMode" ] } }, "inputProperties": { "allowVolumeExpansion": { "type": "boolean", "description": "AllowVolumeExpansion shows whether the storage class allow volume expand" }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTerm" }, "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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "Provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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." } }, "requiredInputs": [ "provisioner" ], "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:StorageClass" } ] }, "kubernetes:storage.k8s.io/v1beta1:StorageClassList": { "description": "StorageClassList is a collection of storage classes.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:StorageClass" }, "description": "Items is the list of StorageClasses" }, "kind": { "type": "string", "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", "const": "StorageClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:StorageClass" }, "description": "Items is the list of StorageClasses" }, "kind": { "type": "string", "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", "const": "StorageClassList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1beta1:StorageClassPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "properties": { "allowVolumeExpansion": { "type": "boolean", "description": "AllowVolumeExpansion shows whether the storage class allow volume expand" }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTermPatch" }, "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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "Provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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": "object", "language": { "nodejs": { "requiredOutputs": [ "allowVolumeExpansion", "allowedTopologies", "apiVersion", "kind", "metadata", "mountOptions", "parameters", "provisioner", "reclaimPolicy", "volumeBindingMode" ] } }, "inputProperties": { "allowVolumeExpansion": { "type": "boolean", "description": "AllowVolumeExpansion shows whether the storage class allow volume expand" }, "allowedTopologies": { "type": "array", "items": { "$ref": "#/types/kubernetes:core/v1:TopologySelectorTermPatch" }, "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." }, "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "StorageClass" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "type": "array", "items": { "type": "string" }, "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": "object", "additionalProperties": { "type": "string" }, "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class." }, "provisioner": { "type": "string", "description": "Provisioner indicates the type of the provisioner." }, "reclaimPolicy": { "type": "string", "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete." }, "volumeBindingMode": { "type": "string", "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." } }, "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:StorageClassPatch" } ] }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachment": { "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSpec", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentStatus", "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSpec", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." } }, "requiredInputs": [ "spec" ], "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:VolumeAttachment" }, { "type": "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachment" } ] }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentList": { "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachment" }, "description": "Items is the list of VolumeAttachments" }, "kind": { "type": "string", "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", "const": "VolumeAttachmentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachment" }, "description": "Items is the list of VolumeAttachments" }, "kind": { "type": "string", "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", "const": "VolumeAttachmentList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "properties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSpecPatch", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, "status": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentStatusPatch", "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storage.k8s.io/v1beta1" }, "kind": { "type": "string", "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", "const": "VolumeAttachment" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentSpecPatch", "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." } }, "aliases": [ { "type": "kubernetes:storage.k8s.io/v1:VolumeAttachmentPatch" }, { "type": "kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentPatch" } ] }, "kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigration": { "description": "StorageVersionMigration represents a migration of stored data to the latest storage version.", "properties": { "apiVersion": { "type": "string", "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", "const": "storagemigration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "StorageVersionMigration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationSpec", "description": "Specification of the migration." }, "status": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationStatus", "description": "Status of the migration." } }, "type": "object", "required": [ "apiVersion", "kind", "metadata", "spec" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storagemigration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "StorageVersionMigration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMeta", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationSpec", "description": "Specification of the migration." } } }, "kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationList": { "description": "StorageVersionMigrationList is a collection of storage version migrations.", "properties": { "apiVersion": { "type": "string", "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", "const": "storagemigration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigration" }, "description": "Items is the list of StorageVersionMigration" }, "kind": { "type": "string", "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", "const": "StorageVersionMigrationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "required": [ "apiVersion", "items", "kind", "metadata" ], "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "items", "kind", "metadata" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storagemigration.k8s.io/v1alpha1" }, "items": { "type": "array", "items": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigration" }, "description": "Items is the list of StorageVersionMigration" }, "kind": { "type": "string", "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", "const": "StorageVersionMigrationList" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "requiredInputs": [ "items" ] }, "kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationPatch": { "description": "Patch resources are used to modify existing Kubernetes resources by using\nServer-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than \none patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. \nConflicts will result in an error by default, but can be forced using the \"pulumi.com/patchForce\" annotation. See the\n[Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for\nadditional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.\nStorageVersionMigration represents a migration of stored data to the latest storage version.", "properties": { "apiVersion": { "type": "string", "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", "const": "storagemigration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "StorageVersionMigration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationSpecPatch", "description": "Specification of the migration." }, "status": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationStatusPatch", "description": "Status of the migration." } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ "apiVersion", "kind", "metadata", "spec", "status" ] } }, "inputProperties": { "apiVersion": { "type": "string", "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", "const": "storagemigration.k8s.io/v1alpha1" }, "kind": { "type": "string", "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", "const": "StorageVersionMigration" }, "metadata": { "$ref": "#/types/kubernetes:meta/v1:ObjectMetaPatch", "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/types/kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationSpecPatch", "description": "Specification of the migration." } } }, "kubernetes:yaml/v2:ConfigFile": { "description": "ConfigFile creates a set of Kubernetes resources from a Kubernetes YAML file.\n\n## Dependency ordering\nSometimes resources must be applied in a specific order. For example, a namespace resource must be\ncreated before any namespaced resources, or a Custom Resource Definition (CRD) must be pre-installed.\n\nPulumi uses heuristics to determine which order to apply and delete objects within the ConfigFile. Pulumi also\nwaits for each object to be fully reconciled, unless `skipAwait` is enabled.\n\n### Explicit Dependency Ordering\nPulumi supports the `config.kubernetes.io/depends-on` annotation to declare an explicit dependency on a given resource.\nThe annotation accepts a list of resource references, delimited by commas. \n\nNote that references to resources outside the ConfigFile aren't supported.\n\n**Resource reference**\n\nA resource reference is a string that uniquely identifies a resource.\n\nIt consists of the group, kind, name, and optionally the namespace, delimited by forward slashes.\n\n| Resource Scope | Format |\n| :--------------- | :--------------------------------------------- |\n| namespace-scoped | `/namespaces///` |\n| cluster-scoped | `//` |\n\nFor resources in the “core” group, the empty string is used instead (for example: `/namespaces/test/Pod/pod-a`).\n\n### Ordering across ConfigFiles\nThe `dependsOn` resource option creates a list of explicit dependencies between Pulumi resources.\nUse it on another resource to make it dependent on the ConfigFile and to wait for the resources within\nthe group to be deployed.\n\nA best practice is to deploy each application using its own ConfigFile, especially when that application\ninstalls custom resource definitions.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Local File\n\n```yaml\nname: example\nruntime: yaml\nresources:\n example:\n type: kubernetes:yaml/v2:ConfigFile\n properties:\n file: ./manifest.yaml\n```\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.v2.ConfigFile(\"example\", {\n files: [\"./manifest.yaml\"],\n});\n```\n```python\nimport pulumi\nfrom pulumi_kubernetes.yaml.v2 import ConfigFile\n\nexample = ConfigFile(\n \"example\",\n file=\"./manifest.yaml\"\n)\n```\n```csharp\nusing Pulumi;\nusing Pulumi.Kubernetes.Types.Inputs.Yaml.V2;\nusing Pulumi.Kubernetes.Yaml.V2;\nusing System.Collections.Generic;\n\nreturn await Deployment.RunAsync(() =>\n{\n var example = new ConfigFile(\"example\", new ConfigFileArgs\n {\n File = \"./manifest.yaml\"\n });\n});\n```\n```go\npackage main\n\nimport (\n\tyamlv2 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := yamlv2.NewConfigFile(ctx, \"example\", &yamlv2.ConfigFileArgs{\n\t\t\tFile: pulumi.String(\"manifest.yaml\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage myproject;\n\nimport com.pulumi.Pulumi;\nimport com.pulumi.kubernetes.yaml.v2.ConfigFile;\nimport com.pulumi.kubernetes.yaml.v2.ConfigFileArgs;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(ctx -> {\n var example = new ConfigFile(\"example\", ConfigFileArgs.builder()\n .file(\"./manifest.yaml\")\n .build());\n });\n }\n}\n```\n{{% /example %}}\n{% /examples %}}\n", "properties": { "resources": { "type": "array", "items": { "$ref": "pulumi.json#/Any" }, "description": "Resources created by the ConfigFile." } }, "type": "object", "inputProperties": { "file": { "type": "string", "description": "Path or URL to a Kubernetes manifest file. File must exist." }, "resourcePrefix": { "type": "string", "description": "A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\"." }, "skipAwait": { "type": "boolean", "description": "Indicates that child resources should skip the await logic." } }, "requiredInputs": [ "file" ], "isComponent": true }, "kubernetes:yaml/v2:ConfigGroup": { "description": "ConfigGroup creates a set of Kubernetes resources from Kubernetes YAML text. The YAML text\nmay be supplied using any of the following methods:\n\n1. Using a filename or a list of filenames:\n2. Using a file pattern or a list of file patterns:\n3. Using a literal string containing YAML, or a list of such strings:\n4. Any combination of files, patterns, or YAML strings:\n\n## Dependency ordering\nSometimes resources must be applied in a specific order. For example, a namespace resource must be\ncreated before any namespaced resources, or a Custom Resource Definition (CRD) must be pre-installed.\n\nPulumi uses heuristics to determine which order to apply and delete objects within the ConfigGroup. Pulumi also\nwaits for each object to be fully reconciled, unless `skipAwait` is enabled.\n\n### Explicit Dependency Ordering\nPulumi supports the `config.kubernetes.io/depends-on` annotation to declare an explicit dependency on a given resource.\nThe annotation accepts a list of resource references, delimited by commas. \n\nNote that references to resources outside the ConfigGroup aren't supported.\n\n**Resource reference**\n\nA resource reference is a string that uniquely identifies a resource.\n\nIt consists of the group, kind, name, and optionally the namespace, delimited by forward slashes.\n\n| Resource Scope | Format |\n| :--------------- | :--------------------------------------------- |\n| namespace-scoped | `/namespaces///` |\n| cluster-scoped | `//` |\n\nFor resources in the “core” group, the empty string is used instead (for example: `/namespaces/test/Pod/pod-a`).\n\n### Ordering across ConfigGroups\nThe `dependsOn` resource option creates a list of explicit dependencies between Pulumi resources.\nUse it on another resource to make it dependent on the ConfigGroup and to wait for the resources within\nthe group to be deployed.\n\nA best practice is to deploy each application using its own ConfigGroup, especially when that application\ninstalls custom resource definitions.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Local File(s)\n\n```yaml\nname: example\nruntime: yaml\nresources:\n example:\n type: kubernetes:yaml/v2:ConfigGroup\n properties:\n files:\n - ./manifest.yaml\n```\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.v2.ConfigGroup(\"example\", {\n files: [\"./manifest.yaml\"],\n});\n```\n```python\nimport pulumi\nfrom pulumi_kubernetes.yaml.v2 import ConfigGroup\n\nexample = ConfigGroup(\n \"example\",\n files=[\"./manifest.yaml\"]\n)\n```\n```csharp\nusing Pulumi;\nusing Pulumi.Kubernetes.Types.Inputs.Yaml.V2;\nusing Pulumi.Kubernetes.Yaml.V2;\nusing System.Collections.Generic;\n\nreturn await Deployment.RunAsync(() =>\n{\n var example = new ConfigGroup(\"example\", new ConfigGroupArgs\n {\n Files = new[] { \"./manifest.yaml\" }\n });\n});\n```\n```go\npackage main\n\nimport (\n\tyamlv2 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := yamlv2.NewConfigGroup(ctx, \"example\", &yamlv2.ConfigGroupArgs{\n\t\t\tFiles: pulumi.ToStringArray([]string{\"manifest.yaml\"}),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage myproject;\n\nimport com.pulumi.Pulumi;\nimport com.pulumi.kubernetes.yaml.v2.ConfigGroup;\nimport com.pulumi.kubernetes.yaml.v2.ConfigGroupArgs;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(ctx -> {\n var example = new ConfigGroup(\"example\", ConfigGroupArgs.builder()\n .files(\"./manifest.yaml\")\n .build());\n });\n }\n}\n```\n{{% /example %}}\n### Local File Pattern\n\n```yaml\nname: example\nruntime: yaml\nresources:\n example:\n type: kubernetes:yaml/v2:ConfigGroup\n properties:\n files:\n - ./manifests/*.yaml\n```\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.v2.ConfigGroup(\"example\", {\n files: [\"./manifests/*.yaml\"],\n});\n```\n```python\nimport pulumi\nfrom pulumi_kubernetes.yaml.v2 import ConfigGroup\n\nexample = ConfigGroup(\n \"example\",\n files=[\"./manifests/*.yaml\"]\n)\n```\n```csharp\nusing Pulumi;\nusing Pulumi.Kubernetes.Types.Inputs.Yaml.V2;\nusing Pulumi.Kubernetes.Yaml.V2;\nusing System.Collections.Generic;\n\nreturn await Deployment.RunAsync(() =>\n{\n var example = new ConfigGroup(\"example\", new ConfigGroupArgs\n {\n Files = new[] { \"./manifests/*.yaml\" }\n });\n});\n```\n```go\npackage main\n\nimport (\n\tyamlv2 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := yamlv2.NewConfigGroup(ctx, \"example\", &yamlv2.ConfigGroupArgs{\n\t\t\tFiles: pulumi.ToStringArray([]string{\"./manifests/*.yaml\"}),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage myproject;\n\nimport com.pulumi.Pulumi;\nimport com.pulumi.kubernetes.yaml.v2.ConfigGroup;\nimport com.pulumi.kubernetes.yaml.v2.ConfigGroupArgs;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(ctx -> {\n var example = new ConfigGroup(\"example\", ConfigGroupArgs.builder()\n .files(\"./manifests/*.yaml\")\n .build());\n });\n }\n}\n```\n{{% /example %}}\n{{% example %}}\n### Literal YAML String\n\n```yaml\nname: example\nruntime: yaml\nresources:\n example:\n type: kubernetes:yaml/v2:ConfigGroup\n properties:\n yaml: |\n apiVersion: v1\n kind: ConfigMap\n metadata:\n name: my-map\n```\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.v2.ConfigGroup(\"example\", {\n yaml: `\n apiVersion: v1\n kind: ConfigMap\n metadata:\n name: my-map\n `\n});\n```\n```python\nimport pulumi\nfrom pulumi_kubernetes.yaml.v2 import ConfigGroup\n\nexample = ConfigGroup(\n \"example\",\n yaml=\"\"\"\napiVersion: v1\nkind: ConfigMap\nmetadata:\n name: my-map\n\"\"\"\n)\n```\n```csharp\nusing Pulumi;\nusing Pulumi.Kubernetes.Types.Inputs.Yaml.V2;\nusing Pulumi.Kubernetes.Yaml.V2;\nusing System.Collections.Generic;\n\nreturn await Deployment.RunAsync(() =>\n{\n var example = new ConfigGroup(\"example\", new ConfigGroupArgs\n {\n Yaml = @\"\n apiVersion: v1\n kind: ConfigMap\n metadata:\n name: my-map\n \"\n });\n});\n```\n```go\npackage main\n\nimport (\n\tyamlv2 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := yamlv2.NewConfigGroup(ctx, \"example\", &yamlv2.ConfigGroupArgs{\n\t\t\tYaml: pulumi.StringPtr(`\napiVersion: v1\nkind: ConfigMap\nmetadata:\n name: my-map\n`),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage myproject;\n\nimport com.pulumi.Pulumi;\nimport com.pulumi.kubernetes.yaml.v2.ConfigGroup;\nimport com.pulumi.kubernetes.yaml.v2.ConfigGroupArgs;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(ctx -> {\n var example = new ConfigGroup(\"example\", ConfigGroupArgs.builder()\n .yaml(\"\"\"\n apiVersion: v1\n kind: ConfigMap\n metadata:\n name: my-map\n \"\"\"\n )\n .build());\n });\n }\n}\n```\n{{% /example %}}\n{{% example %}}\n### Literal Object\n\n```yaml\nname: example\nruntime: yaml\nresources:\n example:\n type: kubernetes:yaml/v2:ConfigGroup\n properties:\n objs:\n - apiVersion: v1\n kind: ConfigMap\n metadata:\n name: my-map\n```\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.v2.ConfigGroup(\"example\", {\n objs: [\n {\n apiVersion: \"v1\",\n kind: \"ConfigMap\",\n metadata: {\n name: \"my-map\"\n }\n }\n ]\n});\n```\n```python\nimport pulumi\nfrom pulumi_kubernetes.yaml.v2 import ConfigGroup\n\nexample = ConfigGroup(\n \"example\",\n objs=[\n {\n \"apiVersion\": \"v1\",\n \"kind\": \"ConfigMap\",\n \"metadata\": {\n \"name\": \"my-map\",\n },\n }\n ]\n)\n```\n```csharp\nusing Pulumi;\nusing Pulumi.Kubernetes.Types.Inputs.Yaml.V2;\nusing Pulumi.Kubernetes.Yaml.V2;\nusing System.Collections.Generic;\n\nreturn await Deployment.RunAsync(() =>\n{\n var example = new ConfigGroup(\"example\", new ConfigGroupArgs\n {\n Objs = new[]\n {\n new Dictionary\n {\n [\"apiVersion\"] = \"v1\",\n [\"kind\"] = \"ConfigMap\",\n [\"metadata\"] = new Dictionary\n {\n [\"name\"] = \"my-map\",\n },\n },\n },\n });\n});\n```\n```go\npackage main\n\nimport (\n\tyamlv2 \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := yamlv2.NewConfigGroup(ctx, \"example\", &yamlv2.ConfigGroupArgs{\n\t\t\tObjs: pulumi.Array{\n\t\t\t\tpulumi.Map{\n\t\t\t\t\t\"apiVersion\": pulumi.String(\"v1\"),\n\t\t\t\t\t\"kind\": pulumi.String(\"ConfigMap\"),\n\t\t\t\t\t\"metadata\": pulumi.Map{\n\t\t\t\t\t\t\"name\": pulumi.String(\"my-map\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage myproject;\n\nimport java.util.Map;\n\nimport com.pulumi.Pulumi;\nimport com.pulumi.kubernetes.yaml.v2.ConfigGroup;\nimport com.pulumi.kubernetes.yaml.v2.ConfigGroupArgs;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(ctx -> {\n var example = new ConfigGroup(\"example\", ConfigGroupArgs.builder()\n .objs(Map.ofEntries(\n Map.entry(\"apiVersion\", \"v1\"),\n Map.entry(\"kind\", \"ConfigMap\"),\n Map.entry(\"metadata\", Map.ofEntries(\n Map.entry(\"name\", \"my-map\")\n ))\n ))\n .build());\n });\n }\n}\n```\n{{% /example %}}\n{% /examples %}}\n", "properties": { "resources": { "type": "array", "items": { "$ref": "pulumi.json#/Any" }, "description": "Resources created by the ConfigGroup." } }, "type": "object", "inputProperties": { "files": { "type": "array", "items": { "type": "string" }, "description": "Set of paths and/or URLs to Kubernetes manifest files. Supports glob patterns." }, "objs": { "type": "array", "items": { "$ref": "pulumi.json#/Any" }, "description": "Objects representing Kubernetes resource configurations." }, "resourcePrefix": { "type": "string", "description": "A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\"." }, "skipAwait": { "type": "boolean", "description": "Indicates that child resources should skip the await logic." }, "yaml": { "type": "string", "description": "A Kubernetes YAML manifest containing Kubernetes resource configuration(s)." } }, "isComponent": true }, "kubernetes:yaml:ConfigFile": { "description": "ConfigFile creates a set of Kubernetes resources from a Kubernetes YAML file.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Local File\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.ConfigFile(\"example\", {\n file: \"foo.yaml\",\n});\n```\n```python\nfrom pulumi_kubernetes.yaml import ConfigFile\n\nexample = ConfigFile(\n \"example\",\n file=\"foo.yaml\",\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Yaml;\n\nclass YamlStack : Stack\n{\n public YamlStack()\n {\n var helloWorld = new ConfigFile(\"example\", new ConfigFileArgs\n {\n File = \"foo.yaml\",\n });\n }\n}\n```\n```go\npackage main\n\nimport (\n \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml\"\n \"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n pulumi.Run(func(ctx *pulumi.Context) error {\n _, err := yaml.NewConfigFile(ctx, \"example\",\n &yaml.ConfigFileArgs{\n File: \"foo.yaml\",\n },\n )\n if err != nil {\n return err\n }\n\n return nil\n })\n}\n```\n{{% /example %}}\n{{% example %}}\n### YAML with Transformations\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.ConfigFile(\"example\", {\n file: \"foo.yaml\",\n transformations: [\n // Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Service\" && obj.apiVersion === \"v1\") {\n if (obj.spec && obj.spec.type && obj.spec.type === \"LoadBalancer\") {\n obj.spec.type = \"ClusterIP\";\n }\n }\n },\n\n // Set a resource alias for a previous name.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Deployment\") {\n opts.aliases = [{name: \"oldName\"}]\n }\n },\n\n // Omit a resource from the Chart by transforming the specified resource definition to an empty List.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Pod\" && obj.metadata.name === \"test\") {\n obj.apiVersion = \"v1\"\n obj.kind = \"List\"\n }\n },\n ],\n});\n```\n```python\nfrom pulumi_kubernetes.yaml import ConfigFile\n\n# Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\ndef make_service_private(obj, opts):\n if obj[\"kind\"] == \"Service\" and obj[\"apiVersion\"] == \"v1\":\n try:\n t = obj[\"spec\"][\"type\"]\n if t == \"LoadBalancer\":\n obj[\"spec\"][\"type\"] = \"ClusterIP\"\n except KeyError:\n pass\n\n\n# Set a resource alias for a previous name.\ndef alias(obj, opts):\n if obj[\"kind\"] == \"Deployment\":\n opts.aliases = [\"oldName\"]\n\n\n# Omit a resource from the Chart by transforming the specified resource definition to an empty List.\ndef omit_resource(obj, opts):\n if obj[\"kind\"] == \"Pod\" and obj[\"metadata\"][\"name\"] == \"test\":\n obj[\"apiVersion\"] = \"v1\"\n obj[\"kind\"] = \"List\"\n\n\nexample = ConfigFile(\n \"example\",\n file=\"foo.yaml\",\n transformations=[make_service_private, alias, omit_resource],\n)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Collections.Immutable;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Yaml;\n\nclass YamlStack : Stack\n{\n public YamlStack()\n {\n var helloWorld = new ConfigFile(\"example\", new ConfigFileArgs\n {\n File = \"foo.yaml\",\n Transformations =\n {\n LoadBalancerToClusterIP,\n ResourceAlias,\n OmitTestPod,\n }\n });\n\n // Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\n ImmutableDictionary<string, object> LoadBalancerToClusterIP(ImmutableDictionary<string, object> obj, CustomResourceOptions opts)\n {\n if ((string)obj[\"kind\"] == \"Service\" && (string)obj[\"apiVersion\"] == \"v1\")\n {\n var spec = (ImmutableDictionary<string, object>)obj[\"spec\"];\n if (spec != null && (string)spec[\"type\"] == \"LoadBalancer\")\n {\n return obj.SetItem(\"spec\", spec.SetItem(\"type\", \"ClusterIP\"));\n }\n }\n\n return obj;\n }\n\n // Set a resource alias for a previous name.\n ImmutableDictionary<string, object> ResourceAlias(ImmutableDictionary<string, object> obj, CustomResourceOptions opts)\n {\n if ((string)obj[\"kind\"] == \"Deployment\")\n {\n opts.Aliases = new List<Input<Alias>> { new Alias { Name = \"oldName\" } };\n }\n\n return obj;\n }\n\n // Omit a resource from the Chart by transforming the specified resource definition to an empty List.\n ImmutableDictionary<string, object> OmitTestPod(ImmutableDictionary<string, object> obj, CustomResourceOptions opts)\n {\n var metadata = (ImmutableDictionary<string, object>)obj[\"metadata\"];\n if ((string)obj[\"kind\"] == \"Pod\" && (string)metadata[\"name\"] == \"test\")\n {\n return new Dictionary<string, object>\n {\n [\"apiVersion\"] = \"v1\",\n [\"kind\"] = \"List\",\n [\"items\"] = new Dictionary<string, object>(),\n }.ToImmutableDictionary();\n }\n\n return obj;\n }\n }\n}\n```\n```go\npackage main\n\nimport (\n \"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml\"\n \"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n pulumi.Run(func(ctx *pulumi.Context) error {\n _, err := yaml.NewConfigFile(ctx, \"example\",\n &yaml.ConfigFileArgs{\n File: \"foo.yaml\",\n Transformations: []yaml.Transformation{\n // Make every service private to the cluster, i.e., turn all services into ClusterIP\n // instead of LoadBalancer.\n func(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n if state[\"kind\"] == \"Service\" {\n spec := state[\"spec\"].(map[string]interface{})\n spec[\"type\"] = \"ClusterIP\"\n }\n },\n\n // Set a resource alias for a previous name.\n func(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n if state[\"kind\"] == \"Deployment\" {\n aliases := pulumi.Aliases([]pulumi.Alias{\n {\n Name: pulumi.String(\"oldName\"),\n },\n })\n opts = append(opts, aliases)\n }\n },\n\n // Omit a resource from the Chart by transforming the specified resource definition\n // to an empty List.\n func(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n name := state[\"metadata\"].(map[string]interface{})[\"name\"]\n if state[\"kind\"] == \"Pod\" && name == \"test\" {\n state[\"apiVersion\"] = \"core/v1\"\n state[\"kind\"] = \"List\"\n }\n },\n },\n },\n )\n if err != nil {\n return err\n }\n\n return nil\n })\n}\n```\n{{% /example %}}\n{% /examples %}}\n", "properties": { "resources": { "type": "string", "description": "Resources created by the ConfigFile." } }, "type": "object", "isOverlay": true, "inputProperties": { "file": { "type": "string", "description": "Path or a URL that uniquely identifies a file." }, "resourcePrefix": { "type": "string", "description": "An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\"." }, "transformations": { "type": "array", "items": { "$ref": "pulumi.json#/Any" }, "description": "A set of transformations to apply to Kubernetes resource definitions before registering with engine." } }, "requiredInputs": [ "file" ], "isComponent": true }, "kubernetes:yaml:ConfigGroup": { "description": "ConfigGroup creates a set of Kubernetes resources from Kubernetes YAML text. The YAML text\nmay be supplied using any of the following methods:\n\n1. Using a filename or a list of filenames:\n2. Using a file pattern or a list of file patterns:\n3. Using a literal string containing YAML, or a list of such strings:\n4. Any combination of files, patterns, or YAML strings:\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Local File\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.ConfigGroup(\"example\", {\n files: \"foo.yaml\",\n});\n```\n```python\nfrom pulumi_kubernetes.yaml import ConfigGroup\n\nexample = ConfigGroup(\n \"example\",\n files=[\"foo.yaml\"],\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Yaml;\n\nclass YamlStack : Stack\n{\n public YamlStack()\n {\n var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n {\n Files = new[] { \"foo.yaml\" }\n });\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := yaml.NewConfigGroup(ctx, \"example\",\n\t\t\t&yaml.ConfigGroupArgs{\n\t\t\t\tFiles: []string{\"foo.yaml\"},\n\t\t\t},\n\t\t)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Multiple Local Files\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.ConfigGroup(\"example\", {\n files: [\"foo.yaml\", \"bar.yaml\"],\n});\n```\n```python\nfrom pulumi_kubernetes.yaml import ConfigGroup\n\nexample = ConfigGroup(\n \"example\",\n files=[\"foo.yaml\", \"bar.yaml\"],\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Yaml;\n\nclass YamlStack : Stack\n{\n public YamlStack()\n {\n var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n {\n Files = new[] { \"foo.yaml\", \"bar.yaml\" }\n });\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := yaml.NewConfigGroup(ctx, \"example\",\n\t\t\t&yaml.ConfigGroupArgs{\n\t\t\t\tFiles: []string{\"foo.yaml\", \"bar.yaml\"},\n\t\t\t},\n\t\t)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Local File Pattern\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.ConfigGroup(\"example\", {\n files: \"yaml/*.yaml\",\n});\n```\n```python\nfrom pulumi_kubernetes.yaml import ConfigGroup\n\nexample = ConfigGroup(\n \"example\",\n files=[\"yaml/*.yaml\"],\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Yaml;\n\nclass YamlStack : Stack\n{\n public YamlStack()\n {\n var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n {\n Files = new[] { \"yaml/*.yaml\" }\n });\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := yaml.NewConfigGroup(ctx, \"example\",\n\t\t\t&yaml.ConfigGroupArgs{\n\t\t\t\tFiles: []string{\"yaml/*.yaml\"},\n\t\t\t},\n\t\t)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Multiple Local File Patterns\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.ConfigGroup(\"example\", {\n files: [\"foo/*.yaml\", \"bar/*.yaml\"],\n});\n```\n```python\nfrom pulumi_kubernetes.yaml import ConfigGroup\n\nexample = ConfigGroup(\n \"example\",\n files=[\"foo/*.yaml\", \"bar/*.yaml\"],\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Yaml;\n\nclass YamlStack : Stack\n{\n public YamlStack()\n {\n var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n {\n Files = new[] { \"foo/*.yaml\", \"bar/*.yaml\" }\n });\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := yaml.NewConfigGroup(ctx, \"example\",\n\t\t\t&yaml.ConfigGroupArgs{\n\t\t\t\tFiles: []string{\"yaml/*.yaml\", \"bar/*.yaml\"},\n\t\t\t},\n\t\t)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Literal YAML String\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.ConfigGroup(\"example\", {\n yaml: `\napiVersion: v1\nkind: Namespace\nmetadata:\n name: foo\n`,\n})\n```\n```python\nfrom pulumi_kubernetes.yaml import ConfigGroup\n\nexample = ConfigGroup(\n \"example\",\n yaml=['''\napiVersion: v1\nkind: Namespace\nmetadata:\n name: foo\n''']\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Yaml;\n\nclass YamlStack : Stack\n{\n public YamlStack()\n {\n var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n {\n Yaml = @\"\n apiVersion: v1\n kind: Namespace\n metadata:\n name: foo\n \",\n });\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := yaml.NewConfigGroup(ctx, \"example\",\n\t\t\t&yaml.ConfigGroupArgs{\n\t\t\t\tYAML: []string{\n\t\t\t\t\t`\napiVersion: v1\nkind: Namespace\nmetadata:\n name: foo\n`,\n\t\t\t\t},\n\t\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### YAML with Transformations\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst example = new k8s.yaml.ConfigGroup(\"example\", {\n files: \"foo.yaml\",\n transformations: [\n // Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Service\" && obj.apiVersion === \"v1\") {\n if (obj.spec && obj.spec.type && obj.spec.type === \"LoadBalancer\") {\n obj.spec.type = \"ClusterIP\";\n }\n }\n },\n\n // Set a resource alias for a previous name.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Deployment\") {\n opts.aliases = [{ name: \"oldName\" }]\n }\n },\n\n // Omit a resource from the Chart by transforming the specified resource definition to an empty List.\n (obj: any, opts: pulumi.CustomResourceOptions) => {\n if (obj.kind === \"Pod\" && obj.metadata.name === \"test\") {\n obj.apiVersion = \"v1\"\n obj.kind = \"List\"\n }\n },\n ],\n});\n```\n```python\nfrom pulumi_kubernetes.yaml import ConfigGroup\n\n# Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\ndef make_service_private(obj, opts):\n if obj[\"kind\"] == \"Service\" and obj[\"apiVersion\"] == \"v1\":\n try:\n t = obj[\"spec\"][\"type\"]\n if t == \"LoadBalancer\":\n obj[\"spec\"][\"type\"] = \"ClusterIP\"\n except KeyError:\n pass\n\n\n# Set a resource alias for a previous name.\ndef alias(obj, opts):\n if obj[\"kind\"] == \"Deployment\":\n opts.aliases = [\"oldName\"]\n\n\n# Omit a resource from the Chart by transforming the specified resource definition to an empty List.\ndef omit_resource(obj, opts):\n if obj[\"kind\"] == \"Pod\" and obj[\"metadata\"][\"name\"] == \"test\":\n obj[\"apiVersion\"] = \"v1\"\n obj[\"kind\"] = \"List\"\n\n\nexample = ConfigGroup(\n \"example\",\n files=[\"foo.yaml\"],\n transformations=[make_service_private, alias, omit_resource],\n)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Collections.Immutable;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Yaml;\n\nclass YamlStack : Stack\n{\n public YamlStack()\n {\n var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n {\n Files = new[] { \"foo.yaml\" },\n Transformations =\n {\n LoadBalancerToClusterIP,\n ResourceAlias,\n OmitTestPod,\n }\n });\n\n // Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\n ImmutableDictionary LoadBalancerToClusterIP(ImmutableDictionary obj, CustomResourceOptions opts)\n {\n if ((string)obj[\"kind\"] == \"Service\" && (string)obj[\"apiVersion\"] == \"v1\")\n {\n var spec = (ImmutableDictionary)obj[\"spec\"];\n if (spec != null && (string)spec[\"type\"] == \"LoadBalancer\")\n {\n return obj.SetItem(\"spec\", spec.SetItem(\"type\", \"ClusterIP\"));\n }\n }\n\n return obj;\n }\n\n // Set a resource alias for a previous name.\n ImmutableDictionary ResourceAlias(ImmutableDictionary obj, CustomResourceOptions opts)\n {\n if ((string)obj[\"kind\"] == \"Deployment\")\n {\n opts.Aliases.Add(new Alias { Name = \"oldName\" });\n }\n\n return obj;\n }\n\n // Omit a resource from the Chart by transforming the specified resource definition to an empty List.\n ImmutableDictionary OmitTestPod(ImmutableDictionary obj, CustomResourceOptions opts)\n {\n var metadata = (ImmutableDictionary)obj[\"metadata\"];\n if ((string)obj[\"kind\"] == \"Pod\" && (string)metadata[\"name\"] == \"test\")\n {\n return new Dictionary\n {\n [\"apiVersion\"] = \"v1\",\n [\"kind\"] = \"List\",\n [\"items\"] = new Dictionary(),\n }.ToImmutableDictionary();\n }\n\n return obj;\n }\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/yaml\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := yaml.NewConfigGroup(ctx, \"example\",\n\t\t\t&yaml.ConfigGroupArgs{\n\t\t\t\tFiles: []string{\"foo.yaml\"},\n\t\t\t\tTransformations: []yaml.Transformation{\n\t\t\t\t\t// Make every service private to the cluster, i.e., turn all services into ClusterIP\n\t\t\t\t\t// instead of LoadBalancer.\n\t\t\t\t\tfunc(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n\t\t\t\t\t\tif state[\"kind\"] == \"Service\" {\n\t\t\t\t\t\t\tspec := state[\"spec\"].(map[string]interface{})\n\t\t\t\t\t\t\tspec[\"type\"] = \"ClusterIP\"\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\n\t\t\t\t\t// Set a resource alias for a previous name.\n\t\t\t\t\tfunc(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n\t\t\t\t\t\tif state[\"kind\"] == \"Deployment\" {\n\t\t\t\t\t\t\taliases := pulumi.Aliases([]pulumi.Alias{\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tName: pulumi.String(\"oldName\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\topts = append(opts, aliases)\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\n\t\t\t\t\t// Omit a resource from the Chart by transforming the specified resource definition\n\t\t\t\t\t// to an empty List.\n\t\t\t\t\tfunc(state map[string]interface{}, opts ...pulumi.ResourceOption) {\n\t\t\t\t\t\tname := state[\"metadata\"].(map[string]interface{})[\"name\"]\n\t\t\t\t\t\tif state[\"kind\"] == \"Pod\" && name == \"test\" {\n\t\t\t\t\t\t\tstate[\"apiVersion\"] = \"core/v1\"\n\t\t\t\t\t\t\tstate[\"kind\"] = \"List\"\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{% /examples %}}\n", "properties": { "resources": { "type": "string", "description": "Resources created by the ConfigGroup." } }, "type": "object", "isOverlay": true, "inputProperties": { "files": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "Set of paths or a URLs that uniquely identify files." }, "objs": { "oneOf": [ { "$ref": "pulumi.json#/Any" }, { "type": "array", "items": { "$ref": "pulumi.json#/Any" } } ], "description": "Objects representing Kubernetes resources." }, "resourcePrefix": { "type": "string", "description": "An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\"." }, "transformations": { "type": "array", "items": { "$ref": "pulumi.json#/Any" }, "description": "A set of transformations to apply to Kubernetes resource definitions before registering with engine." }, "yaml": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "YAML text containing Kubernetes resource definitions." } }, "isComponent": true } } }