pulumi-kubernetes 4.22.1__py3-none-any.whl → 4.23.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +37 -2
- pulumi_kubernetes/_inputs.py +41 -40
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1/outputs.py +337 -336
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +396 -395
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +249 -248
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +337 -336
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +18 -16
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +699 -698
- pulumi_kubernetes/apiextensions/v1/outputs.py +405 -404
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +639 -638
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +369 -368
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +18 -16
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1/outputs.py +91 -90
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +91 -90
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +22 -20
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +664 -610
- pulumi_kubernetes/apps/v1/outputs.py +582 -508
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +316 -315
- pulumi_kubernetes/apps/v1beta1/outputs.py +260 -259
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +506 -505
- pulumi_kubernetes/apps/v1beta2/outputs.py +442 -441
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +111 -110
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +96 -95
- pulumi_kubernetes/autoscaling/v1/outputs.py +73 -72
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +371 -290
- pulumi_kubernetes/autoscaling/v2/outputs.py +281 -224
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +346 -345
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +283 -282
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +217 -216
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/Job.py +18 -16
- pulumi_kubernetes/batch/v1/JobList.py +18 -16
- pulumi_kubernetes/batch/v1/JobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +394 -423
- pulumi_kubernetes/batch/v1/outputs.py +293 -316
- pulumi_kubernetes/batch/v1beta1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v1beta1/outputs.py +49 -48
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v2alpha1/outputs.py +49 -48
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +18 -16
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +126 -125
- pulumi_kubernetes/certificates/v1/outputs.py +97 -96
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +20 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +18 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +20 -16
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +227 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +217 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +238 -0
- pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +409 -116
- pulumi_kubernetes/certificates/v1beta1/outputs.py +334 -92
- pulumi_kubernetes/coordination/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1/LeasePatch.py +18 -16
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +81 -80
- pulumi_kubernetes/coordination/v1/outputs.py +49 -48
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +19 -17
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +19 -17
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +19 -17
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +19 -17
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +75 -74
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +45 -44
- pulumi_kubernetes/coordination/v1beta1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +218 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +217 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +230 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +432 -60
- pulumi_kubernetes/coordination/v1beta1/outputs.py +329 -36
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +18 -16
- pulumi_kubernetes/core/v1/BindingPatch.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMap.py +42 -40
- pulumi_kubernetes/core/v1/ConfigMapList.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +42 -40
- pulumi_kubernetes/core/v1/Endpoints.py +26 -16
- pulumi_kubernetes/core/v1/EndpointsList.py +20 -18
- pulumi_kubernetes/core/v1/EndpointsPatch.py +26 -16
- pulumi_kubernetes/core/v1/Event.py +98 -96
- pulumi_kubernetes/core/v1/EventList.py +18 -16
- pulumi_kubernetes/core/v1/EventPatch.py +98 -96
- pulumi_kubernetes/core/v1/LimitRange.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangeList.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangePatch.py +18 -16
- pulumi_kubernetes/core/v1/Namespace.py +18 -16
- pulumi_kubernetes/core/v1/NamespaceList.py +18 -16
- pulumi_kubernetes/core/v1/NamespacePatch.py +18 -16
- pulumi_kubernetes/core/v1/Node.py +18 -16
- pulumi_kubernetes/core/v1/NodeList.py +18 -16
- pulumi_kubernetes/core/v1/NodePatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolume.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +18 -16
- pulumi_kubernetes/core/v1/Pod.py +18 -16
- pulumi_kubernetes/core/v1/PodList.py +18 -16
- pulumi_kubernetes/core/v1/PodPatch.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplate.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplateList.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationController.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuota.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +18 -16
- pulumi_kubernetes/core/v1/Secret.py +50 -48
- pulumi_kubernetes/core/v1/SecretList.py +18 -16
- pulumi_kubernetes/core/v1/SecretPatch.py +50 -48
- pulumi_kubernetes/core/v1/Service.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccount.py +26 -24
- pulumi_kubernetes/core/v1/ServiceAccountList.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +26 -24
- pulumi_kubernetes/core/v1/ServiceList.py +18 -16
- pulumi_kubernetes/core/v1/ServicePatch.py +18 -16
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +4 -1
- pulumi_kubernetes/core/v1/_inputs.py +5736 -5561
- pulumi_kubernetes/core/v1/outputs.py +3853 -3652
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +34 -32
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +34 -32
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +294 -178
- pulumi_kubernetes/discovery/v1/outputs.py +184 -108
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +26 -24
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +26 -24
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/discovery/v1beta1/outputs.py +76 -75
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +98 -96
- pulumi_kubernetes/events/v1/EventList.py +18 -16
- pulumi_kubernetes/events/v1/EventPatch.py +98 -96
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +81 -80
- pulumi_kubernetes/events/v1/outputs.py +49 -48
- pulumi_kubernetes/events/v1beta1/Event.py +98 -96
- pulumi_kubernetes/events/v1beta1/EventList.py +18 -16
- pulumi_kubernetes/events/v1beta1/EventPatch.py +98 -96
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +91 -90
- pulumi_kubernetes/events/v1beta1/outputs.py +55 -54
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +826 -825
- pulumi_kubernetes/extensions/v1beta1/outputs.py +587 -586
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +223 -222
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +247 -245
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +31 -30
- pulumi_kubernetes/helm/v3/outputs.py +41 -40
- pulumi_kubernetes/helm/v4/Chart.py +72 -70
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +26 -25
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +31 -29
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +43 -41
- pulumi_kubernetes/meta/v1/StatusPatch.py +43 -41
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +451 -450
- pulumi_kubernetes/meta/v1/outputs.py +289 -288
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/IPAddress.py +218 -0
- pulumi_kubernetes/networking/v1/IPAddressList.py +217 -0
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +230 -0
- pulumi_kubernetes/networking/v1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +228 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +217 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +240 -0
- pulumi_kubernetes/networking/v1/__init__.py +7 -0
- pulumi_kubernetes/networking/v1/_inputs.py +865 -265
- pulumi_kubernetes/networking/v1/outputs.py +632 -170
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +121 -120
- pulumi_kubernetes/networking/v1alpha1/outputs.py +73 -72
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +19 -17
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +19 -17
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +181 -180
- pulumi_kubernetes/networking/v1beta1/outputs.py +105 -104
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +26 -24
- pulumi_kubernetes/node/v1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +26 -24
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1/outputs.py +22 -21
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +18 -16
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +41 -40
- pulumi_kubernetes/node/v1alpha1/outputs.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +26 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +26 -24
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1beta1/outputs.py +22 -21
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +71 -82
- pulumi_kubernetes/policy/v1/outputs.py +53 -60
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +18 -16
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +361 -360
- pulumi_kubernetes/policy/v1beta1/outputs.py +227 -226
- pulumi_kubernetes/provider.py +93 -91
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1beta1/outputs.py +97 -96
- pulumi_kubernetes/resource/__init__.py +4 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +26 -24
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +26 -24
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +206 -205
- pulumi_kubernetes/resource/v1alpha1/outputs.py +154 -153
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +35 -33
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +35 -33
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +411 -410
- pulumi_kubernetes/resource/v1alpha2/outputs.py +286 -285
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +225 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +217 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +236 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/__init__.py +4 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +2999 -652
- pulumi_kubernetes/resource/v1alpha3/outputs.py +2286 -504
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +19 -17
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +2481 -612
- pulumi_kubernetes/resource/v1beta1/outputs.py +1782 -379
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +239 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +250 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +234 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +245 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +231 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +242 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +248 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +259 -0
- pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta2/_inputs.py +5681 -0
- pulumi_kubernetes/resource/v1beta2/outputs.py +4726 -0
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +19 -18
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +11 -10
- pulumi_kubernetes/settings/v1alpha1/outputs.py +7 -6
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +366 -275
- pulumi_kubernetes/storage/v1/outputs.py +288 -177
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +34 -32
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storage/v1alpha1/outputs.py +61 -60
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +34 -32
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +286 -285
- pulumi_kubernetes/storage/v1beta1/outputs.py +184 -183
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +23 -21
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +30 -28
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- pulumi_kubernetes/yaml/yaml.py +108 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/METADATA +4 -4
- pulumi_kubernetes-4.23.0.dist-info/RECORD +709 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.22.1.dist-info/RECORD +0 -679
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -68,13 +69,13 @@ if not MYPY:
|
|
|
68
69
|
"""
|
|
69
70
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
70
71
|
"""
|
|
71
|
-
attach_required: NotRequired[pulumi.Input[bool]]
|
|
72
|
+
attach_required: NotRequired[pulumi.Input[builtins.bool]]
|
|
72
73
|
"""
|
|
73
74
|
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.
|
|
74
75
|
|
|
75
76
|
This field is immutable.
|
|
76
77
|
"""
|
|
77
|
-
fs_group_policy: NotRequired[pulumi.Input[str]]
|
|
78
|
+
fs_group_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
78
79
|
"""
|
|
79
80
|
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.
|
|
80
81
|
|
|
@@ -82,7 +83,15 @@ if not MYPY:
|
|
|
82
83
|
|
|
83
84
|
Defaults 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.
|
|
84
85
|
"""
|
|
85
|
-
|
|
86
|
+
node_allocatable_update_period_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
87
|
+
"""
|
|
88
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
89
|
+
|
|
90
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
91
|
+
|
|
92
|
+
This field is mutable.
|
|
93
|
+
"""
|
|
94
|
+
pod_info_on_mount: NotRequired[pulumi.Input[builtins.bool]]
|
|
86
95
|
"""
|
|
87
96
|
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.
|
|
88
97
|
|
|
@@ -95,13 +104,13 @@ if not MYPY:
|
|
|
95
104
|
|
|
96
105
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
97
106
|
"""
|
|
98
|
-
requires_republish: NotRequired[pulumi.Input[bool]]
|
|
107
|
+
requires_republish: NotRequired[pulumi.Input[builtins.bool]]
|
|
99
108
|
"""
|
|
100
109
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
101
110
|
|
|
102
111
|
Note: 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.
|
|
103
112
|
"""
|
|
104
|
-
se_linux_mount: NotRequired[pulumi.Input[bool]]
|
|
113
|
+
se_linux_mount: NotRequired[pulumi.Input[builtins.bool]]
|
|
105
114
|
"""
|
|
106
115
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
107
116
|
|
|
@@ -111,7 +120,7 @@ if not MYPY:
|
|
|
111
120
|
|
|
112
121
|
Default is "false".
|
|
113
122
|
"""
|
|
114
|
-
storage_capacity: NotRequired[pulumi.Input[bool]]
|
|
123
|
+
storage_capacity: NotRequired[pulumi.Input[builtins.bool]]
|
|
115
124
|
"""
|
|
116
125
|
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.
|
|
117
126
|
|
|
@@ -133,7 +142,7 @@ if not MYPY:
|
|
|
133
142
|
|
|
134
143
|
Note: 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.
|
|
135
144
|
"""
|
|
136
|
-
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
145
|
+
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
137
146
|
"""
|
|
138
147
|
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.
|
|
139
148
|
|
|
@@ -149,25 +158,31 @@ elif False:
|
|
|
149
158
|
@pulumi.input_type
|
|
150
159
|
class CSIDriverSpecPatchArgs:
|
|
151
160
|
def __init__(__self__, *,
|
|
152
|
-
attach_required: Optional[pulumi.Input[bool]] = None,
|
|
153
|
-
fs_group_policy: Optional[pulumi.Input[str]] = None,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
161
|
+
attach_required: Optional[pulumi.Input[builtins.bool]] = None,
|
|
162
|
+
fs_group_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
163
|
+
node_allocatable_update_period_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
164
|
+
pod_info_on_mount: Optional[pulumi.Input[builtins.bool]] = None,
|
|
165
|
+
requires_republish: Optional[pulumi.Input[builtins.bool]] = None,
|
|
166
|
+
se_linux_mount: Optional[pulumi.Input[builtins.bool]] = None,
|
|
167
|
+
storage_capacity: Optional[pulumi.Input[builtins.bool]] = None,
|
|
158
168
|
token_requests: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestPatchArgs']]]] = None,
|
|
159
|
-
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
169
|
+
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
160
170
|
"""
|
|
161
171
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
162
|
-
:param pulumi.Input[bool] attach_required: 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.
|
|
172
|
+
:param pulumi.Input[builtins.bool] attach_required: 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.
|
|
163
173
|
|
|
164
174
|
This field is immutable.
|
|
165
|
-
:param pulumi.Input[str] fs_group_policy: 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.
|
|
175
|
+
:param pulumi.Input[builtins.str] fs_group_policy: 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.
|
|
166
176
|
|
|
167
177
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
168
178
|
|
|
169
179
|
Defaults 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.
|
|
170
|
-
:param pulumi.Input[
|
|
180
|
+
:param pulumi.Input[builtins.int] node_allocatable_update_period_seconds: nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
181
|
+
|
|
182
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
183
|
+
|
|
184
|
+
This field is mutable.
|
|
185
|
+
:param pulumi.Input[builtins.bool] pod_info_on_mount: 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.
|
|
171
186
|
|
|
172
187
|
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.
|
|
173
188
|
|
|
@@ -177,17 +192,17 @@ class CSIDriverSpecPatchArgs:
|
|
|
177
192
|
"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.
|
|
178
193
|
|
|
179
194
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
180
|
-
:param pulumi.Input[bool] requires_republish: requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
195
|
+
:param pulumi.Input[builtins.bool] requires_republish: requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
181
196
|
|
|
182
197
|
Note: 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.
|
|
183
|
-
:param pulumi.Input[bool] se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
198
|
+
:param pulumi.Input[builtins.bool] se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
184
199
|
|
|
185
200
|
When "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.
|
|
186
201
|
|
|
187
202
|
When "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.
|
|
188
203
|
|
|
189
204
|
Default is "false".
|
|
190
|
-
:param pulumi.Input[bool] storage_capacity: 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.
|
|
205
|
+
:param pulumi.Input[builtins.bool] storage_capacity: 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.
|
|
191
206
|
|
|
192
207
|
The 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.
|
|
193
208
|
|
|
@@ -203,7 +218,7 @@ class CSIDriverSpecPatchArgs:
|
|
|
203
218
|
}
|
|
204
219
|
|
|
205
220
|
Note: 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.
|
|
206
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] volume_lifecycle_modes: 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.
|
|
221
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] volume_lifecycle_modes: 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.
|
|
207
222
|
|
|
208
223
|
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.
|
|
209
224
|
|
|
@@ -215,6 +230,8 @@ class CSIDriverSpecPatchArgs:
|
|
|
215
230
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
216
231
|
if fs_group_policy is not None:
|
|
217
232
|
pulumi.set(__self__, "fs_group_policy", fs_group_policy)
|
|
233
|
+
if node_allocatable_update_period_seconds is not None:
|
|
234
|
+
pulumi.set(__self__, "node_allocatable_update_period_seconds", node_allocatable_update_period_seconds)
|
|
218
235
|
if pod_info_on_mount is not None:
|
|
219
236
|
pulumi.set(__self__, "pod_info_on_mount", pod_info_on_mount)
|
|
220
237
|
if requires_republish is not None:
|
|
@@ -230,7 +247,7 @@ class CSIDriverSpecPatchArgs:
|
|
|
230
247
|
|
|
231
248
|
@property
|
|
232
249
|
@pulumi.getter(name="attachRequired")
|
|
233
|
-
def attach_required(self) -> Optional[pulumi.Input[bool]]:
|
|
250
|
+
def attach_required(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
234
251
|
"""
|
|
235
252
|
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.
|
|
236
253
|
|
|
@@ -239,12 +256,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
239
256
|
return pulumi.get(self, "attach_required")
|
|
240
257
|
|
|
241
258
|
@attach_required.setter
|
|
242
|
-
def attach_required(self, value: Optional[pulumi.Input[bool]]):
|
|
259
|
+
def attach_required(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
243
260
|
pulumi.set(self, "attach_required", value)
|
|
244
261
|
|
|
245
262
|
@property
|
|
246
263
|
@pulumi.getter(name="fsGroupPolicy")
|
|
247
|
-
def fs_group_policy(self) -> Optional[pulumi.Input[str]]:
|
|
264
|
+
def fs_group_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
248
265
|
"""
|
|
249
266
|
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.
|
|
250
267
|
|
|
@@ -255,12 +272,28 @@ class CSIDriverSpecPatchArgs:
|
|
|
255
272
|
return pulumi.get(self, "fs_group_policy")
|
|
256
273
|
|
|
257
274
|
@fs_group_policy.setter
|
|
258
|
-
def fs_group_policy(self, value: Optional[pulumi.Input[str]]):
|
|
275
|
+
def fs_group_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
259
276
|
pulumi.set(self, "fs_group_policy", value)
|
|
260
277
|
|
|
278
|
+
@property
|
|
279
|
+
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
280
|
+
def node_allocatable_update_period_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
281
|
+
"""
|
|
282
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
283
|
+
|
|
284
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
285
|
+
|
|
286
|
+
This field is mutable.
|
|
287
|
+
"""
|
|
288
|
+
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
289
|
+
|
|
290
|
+
@node_allocatable_update_period_seconds.setter
|
|
291
|
+
def node_allocatable_update_period_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
292
|
+
pulumi.set(self, "node_allocatable_update_period_seconds", value)
|
|
293
|
+
|
|
261
294
|
@property
|
|
262
295
|
@pulumi.getter(name="podInfoOnMount")
|
|
263
|
-
def pod_info_on_mount(self) -> Optional[pulumi.Input[bool]]:
|
|
296
|
+
def pod_info_on_mount(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
264
297
|
"""
|
|
265
298
|
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.
|
|
266
299
|
|
|
@@ -276,12 +309,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
276
309
|
return pulumi.get(self, "pod_info_on_mount")
|
|
277
310
|
|
|
278
311
|
@pod_info_on_mount.setter
|
|
279
|
-
def pod_info_on_mount(self, value: Optional[pulumi.Input[bool]]):
|
|
312
|
+
def pod_info_on_mount(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
280
313
|
pulumi.set(self, "pod_info_on_mount", value)
|
|
281
314
|
|
|
282
315
|
@property
|
|
283
316
|
@pulumi.getter(name="requiresRepublish")
|
|
284
|
-
def requires_republish(self) -> Optional[pulumi.Input[bool]]:
|
|
317
|
+
def requires_republish(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
285
318
|
"""
|
|
286
319
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
287
320
|
|
|
@@ -290,12 +323,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
290
323
|
return pulumi.get(self, "requires_republish")
|
|
291
324
|
|
|
292
325
|
@requires_republish.setter
|
|
293
|
-
def requires_republish(self, value: Optional[pulumi.Input[bool]]):
|
|
326
|
+
def requires_republish(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
294
327
|
pulumi.set(self, "requires_republish", value)
|
|
295
328
|
|
|
296
329
|
@property
|
|
297
330
|
@pulumi.getter(name="seLinuxMount")
|
|
298
|
-
def se_linux_mount(self) -> Optional[pulumi.Input[bool]]:
|
|
331
|
+
def se_linux_mount(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
299
332
|
"""
|
|
300
333
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
301
334
|
|
|
@@ -308,12 +341,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
308
341
|
return pulumi.get(self, "se_linux_mount")
|
|
309
342
|
|
|
310
343
|
@se_linux_mount.setter
|
|
311
|
-
def se_linux_mount(self, value: Optional[pulumi.Input[bool]]):
|
|
344
|
+
def se_linux_mount(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
312
345
|
pulumi.set(self, "se_linux_mount", value)
|
|
313
346
|
|
|
314
347
|
@property
|
|
315
348
|
@pulumi.getter(name="storageCapacity")
|
|
316
|
-
def storage_capacity(self) -> Optional[pulumi.Input[bool]]:
|
|
349
|
+
def storage_capacity(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
317
350
|
"""
|
|
318
351
|
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.
|
|
319
352
|
|
|
@@ -326,7 +359,7 @@ class CSIDriverSpecPatchArgs:
|
|
|
326
359
|
return pulumi.get(self, "storage_capacity")
|
|
327
360
|
|
|
328
361
|
@storage_capacity.setter
|
|
329
|
-
def storage_capacity(self, value: Optional[pulumi.Input[bool]]):
|
|
362
|
+
def storage_capacity(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
330
363
|
pulumi.set(self, "storage_capacity", value)
|
|
331
364
|
|
|
332
365
|
@property
|
|
@@ -351,7 +384,7 @@ class CSIDriverSpecPatchArgs:
|
|
|
351
384
|
|
|
352
385
|
@property
|
|
353
386
|
@pulumi.getter(name="volumeLifecycleModes")
|
|
354
|
-
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
387
|
+
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
355
388
|
"""
|
|
356
389
|
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.
|
|
357
390
|
|
|
@@ -364,7 +397,7 @@ class CSIDriverSpecPatchArgs:
|
|
|
364
397
|
return pulumi.get(self, "volume_lifecycle_modes")
|
|
365
398
|
|
|
366
399
|
@volume_lifecycle_modes.setter
|
|
367
|
-
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
400
|
+
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
368
401
|
pulumi.set(self, "volume_lifecycle_modes", value)
|
|
369
402
|
|
|
370
403
|
|
|
@@ -373,13 +406,13 @@ if not MYPY:
|
|
|
373
406
|
"""
|
|
374
407
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
375
408
|
"""
|
|
376
|
-
attach_required: NotRequired[pulumi.Input[bool]]
|
|
409
|
+
attach_required: NotRequired[pulumi.Input[builtins.bool]]
|
|
377
410
|
"""
|
|
378
411
|
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.
|
|
379
412
|
|
|
380
413
|
This field is immutable.
|
|
381
414
|
"""
|
|
382
|
-
fs_group_policy: NotRequired[pulumi.Input[str]]
|
|
415
|
+
fs_group_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
383
416
|
"""
|
|
384
417
|
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.
|
|
385
418
|
|
|
@@ -387,7 +420,15 @@ if not MYPY:
|
|
|
387
420
|
|
|
388
421
|
Defaults 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.
|
|
389
422
|
"""
|
|
390
|
-
|
|
423
|
+
node_allocatable_update_period_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
424
|
+
"""
|
|
425
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
426
|
+
|
|
427
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
428
|
+
|
|
429
|
+
This field is mutable.
|
|
430
|
+
"""
|
|
431
|
+
pod_info_on_mount: NotRequired[pulumi.Input[builtins.bool]]
|
|
391
432
|
"""
|
|
392
433
|
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.
|
|
393
434
|
|
|
@@ -400,13 +441,13 @@ if not MYPY:
|
|
|
400
441
|
|
|
401
442
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
402
443
|
"""
|
|
403
|
-
requires_republish: NotRequired[pulumi.Input[bool]]
|
|
444
|
+
requires_republish: NotRequired[pulumi.Input[builtins.bool]]
|
|
404
445
|
"""
|
|
405
446
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
406
447
|
|
|
407
448
|
Note: 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.
|
|
408
449
|
"""
|
|
409
|
-
se_linux_mount: NotRequired[pulumi.Input[bool]]
|
|
450
|
+
se_linux_mount: NotRequired[pulumi.Input[builtins.bool]]
|
|
410
451
|
"""
|
|
411
452
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
412
453
|
|
|
@@ -416,7 +457,7 @@ if not MYPY:
|
|
|
416
457
|
|
|
417
458
|
Default is "false".
|
|
418
459
|
"""
|
|
419
|
-
storage_capacity: NotRequired[pulumi.Input[bool]]
|
|
460
|
+
storage_capacity: NotRequired[pulumi.Input[builtins.bool]]
|
|
420
461
|
"""
|
|
421
462
|
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.
|
|
422
463
|
|
|
@@ -438,7 +479,7 @@ if not MYPY:
|
|
|
438
479
|
|
|
439
480
|
Note: 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.
|
|
440
481
|
"""
|
|
441
|
-
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
482
|
+
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
442
483
|
"""
|
|
443
484
|
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.
|
|
444
485
|
|
|
@@ -454,25 +495,31 @@ elif False:
|
|
|
454
495
|
@pulumi.input_type
|
|
455
496
|
class CSIDriverSpecArgs:
|
|
456
497
|
def __init__(__self__, *,
|
|
457
|
-
attach_required: Optional[pulumi.Input[bool]] = None,
|
|
458
|
-
fs_group_policy: Optional[pulumi.Input[str]] = None,
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
498
|
+
attach_required: Optional[pulumi.Input[builtins.bool]] = None,
|
|
499
|
+
fs_group_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
500
|
+
node_allocatable_update_period_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
501
|
+
pod_info_on_mount: Optional[pulumi.Input[builtins.bool]] = None,
|
|
502
|
+
requires_republish: Optional[pulumi.Input[builtins.bool]] = None,
|
|
503
|
+
se_linux_mount: Optional[pulumi.Input[builtins.bool]] = None,
|
|
504
|
+
storage_capacity: Optional[pulumi.Input[builtins.bool]] = None,
|
|
463
505
|
token_requests: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestArgs']]]] = None,
|
|
464
|
-
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
506
|
+
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
465
507
|
"""
|
|
466
508
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
467
|
-
:param pulumi.Input[bool] attach_required: 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.
|
|
509
|
+
:param pulumi.Input[builtins.bool] attach_required: 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.
|
|
468
510
|
|
|
469
511
|
This field is immutable.
|
|
470
|
-
:param pulumi.Input[str] fs_group_policy: 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.
|
|
512
|
+
:param pulumi.Input[builtins.str] fs_group_policy: 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.
|
|
471
513
|
|
|
472
514
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
473
515
|
|
|
474
516
|
Defaults 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.
|
|
475
|
-
:param pulumi.Input[
|
|
517
|
+
:param pulumi.Input[builtins.int] node_allocatable_update_period_seconds: nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
518
|
+
|
|
519
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
520
|
+
|
|
521
|
+
This field is mutable.
|
|
522
|
+
:param pulumi.Input[builtins.bool] pod_info_on_mount: 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.
|
|
476
523
|
|
|
477
524
|
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.
|
|
478
525
|
|
|
@@ -482,17 +529,17 @@ class CSIDriverSpecArgs:
|
|
|
482
529
|
"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.
|
|
483
530
|
|
|
484
531
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
485
|
-
:param pulumi.Input[bool] requires_republish: requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
532
|
+
:param pulumi.Input[builtins.bool] requires_republish: requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
486
533
|
|
|
487
534
|
Note: 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.
|
|
488
|
-
:param pulumi.Input[bool] se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
535
|
+
:param pulumi.Input[builtins.bool] se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
489
536
|
|
|
490
537
|
When "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.
|
|
491
538
|
|
|
492
539
|
When "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.
|
|
493
540
|
|
|
494
541
|
Default is "false".
|
|
495
|
-
:param pulumi.Input[bool] storage_capacity: 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.
|
|
542
|
+
:param pulumi.Input[builtins.bool] storage_capacity: 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.
|
|
496
543
|
|
|
497
544
|
The 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.
|
|
498
545
|
|
|
@@ -508,7 +555,7 @@ class CSIDriverSpecArgs:
|
|
|
508
555
|
}
|
|
509
556
|
|
|
510
557
|
Note: 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.
|
|
511
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] volume_lifecycle_modes: 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.
|
|
558
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] volume_lifecycle_modes: 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.
|
|
512
559
|
|
|
513
560
|
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.
|
|
514
561
|
|
|
@@ -520,6 +567,8 @@ class CSIDriverSpecArgs:
|
|
|
520
567
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
521
568
|
if fs_group_policy is not None:
|
|
522
569
|
pulumi.set(__self__, "fs_group_policy", fs_group_policy)
|
|
570
|
+
if node_allocatable_update_period_seconds is not None:
|
|
571
|
+
pulumi.set(__self__, "node_allocatable_update_period_seconds", node_allocatable_update_period_seconds)
|
|
523
572
|
if pod_info_on_mount is not None:
|
|
524
573
|
pulumi.set(__self__, "pod_info_on_mount", pod_info_on_mount)
|
|
525
574
|
if requires_republish is not None:
|
|
@@ -535,7 +584,7 @@ class CSIDriverSpecArgs:
|
|
|
535
584
|
|
|
536
585
|
@property
|
|
537
586
|
@pulumi.getter(name="attachRequired")
|
|
538
|
-
def attach_required(self) -> Optional[pulumi.Input[bool]]:
|
|
587
|
+
def attach_required(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
539
588
|
"""
|
|
540
589
|
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.
|
|
541
590
|
|
|
@@ -544,12 +593,12 @@ class CSIDriverSpecArgs:
|
|
|
544
593
|
return pulumi.get(self, "attach_required")
|
|
545
594
|
|
|
546
595
|
@attach_required.setter
|
|
547
|
-
def attach_required(self, value: Optional[pulumi.Input[bool]]):
|
|
596
|
+
def attach_required(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
548
597
|
pulumi.set(self, "attach_required", value)
|
|
549
598
|
|
|
550
599
|
@property
|
|
551
600
|
@pulumi.getter(name="fsGroupPolicy")
|
|
552
|
-
def fs_group_policy(self) -> Optional[pulumi.Input[str]]:
|
|
601
|
+
def fs_group_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
553
602
|
"""
|
|
554
603
|
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.
|
|
555
604
|
|
|
@@ -560,12 +609,28 @@ class CSIDriverSpecArgs:
|
|
|
560
609
|
return pulumi.get(self, "fs_group_policy")
|
|
561
610
|
|
|
562
611
|
@fs_group_policy.setter
|
|
563
|
-
def fs_group_policy(self, value: Optional[pulumi.Input[str]]):
|
|
612
|
+
def fs_group_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
564
613
|
pulumi.set(self, "fs_group_policy", value)
|
|
565
614
|
|
|
615
|
+
@property
|
|
616
|
+
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
617
|
+
def node_allocatable_update_period_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
618
|
+
"""
|
|
619
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
620
|
+
|
|
621
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
622
|
+
|
|
623
|
+
This field is mutable.
|
|
624
|
+
"""
|
|
625
|
+
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
626
|
+
|
|
627
|
+
@node_allocatable_update_period_seconds.setter
|
|
628
|
+
def node_allocatable_update_period_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
629
|
+
pulumi.set(self, "node_allocatable_update_period_seconds", value)
|
|
630
|
+
|
|
566
631
|
@property
|
|
567
632
|
@pulumi.getter(name="podInfoOnMount")
|
|
568
|
-
def pod_info_on_mount(self) -> Optional[pulumi.Input[bool]]:
|
|
633
|
+
def pod_info_on_mount(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
569
634
|
"""
|
|
570
635
|
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.
|
|
571
636
|
|
|
@@ -581,12 +646,12 @@ class CSIDriverSpecArgs:
|
|
|
581
646
|
return pulumi.get(self, "pod_info_on_mount")
|
|
582
647
|
|
|
583
648
|
@pod_info_on_mount.setter
|
|
584
|
-
def pod_info_on_mount(self, value: Optional[pulumi.Input[bool]]):
|
|
649
|
+
def pod_info_on_mount(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
585
650
|
pulumi.set(self, "pod_info_on_mount", value)
|
|
586
651
|
|
|
587
652
|
@property
|
|
588
653
|
@pulumi.getter(name="requiresRepublish")
|
|
589
|
-
def requires_republish(self) -> Optional[pulumi.Input[bool]]:
|
|
654
|
+
def requires_republish(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
590
655
|
"""
|
|
591
656
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
592
657
|
|
|
@@ -595,12 +660,12 @@ class CSIDriverSpecArgs:
|
|
|
595
660
|
return pulumi.get(self, "requires_republish")
|
|
596
661
|
|
|
597
662
|
@requires_republish.setter
|
|
598
|
-
def requires_republish(self, value: Optional[pulumi.Input[bool]]):
|
|
663
|
+
def requires_republish(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
599
664
|
pulumi.set(self, "requires_republish", value)
|
|
600
665
|
|
|
601
666
|
@property
|
|
602
667
|
@pulumi.getter(name="seLinuxMount")
|
|
603
|
-
def se_linux_mount(self) -> Optional[pulumi.Input[bool]]:
|
|
668
|
+
def se_linux_mount(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
604
669
|
"""
|
|
605
670
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
606
671
|
|
|
@@ -613,12 +678,12 @@ class CSIDriverSpecArgs:
|
|
|
613
678
|
return pulumi.get(self, "se_linux_mount")
|
|
614
679
|
|
|
615
680
|
@se_linux_mount.setter
|
|
616
|
-
def se_linux_mount(self, value: Optional[pulumi.Input[bool]]):
|
|
681
|
+
def se_linux_mount(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
617
682
|
pulumi.set(self, "se_linux_mount", value)
|
|
618
683
|
|
|
619
684
|
@property
|
|
620
685
|
@pulumi.getter(name="storageCapacity")
|
|
621
|
-
def storage_capacity(self) -> Optional[pulumi.Input[bool]]:
|
|
686
|
+
def storage_capacity(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
622
687
|
"""
|
|
623
688
|
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.
|
|
624
689
|
|
|
@@ -631,7 +696,7 @@ class CSIDriverSpecArgs:
|
|
|
631
696
|
return pulumi.get(self, "storage_capacity")
|
|
632
697
|
|
|
633
698
|
@storage_capacity.setter
|
|
634
|
-
def storage_capacity(self, value: Optional[pulumi.Input[bool]]):
|
|
699
|
+
def storage_capacity(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
635
700
|
pulumi.set(self, "storage_capacity", value)
|
|
636
701
|
|
|
637
702
|
@property
|
|
@@ -656,7 +721,7 @@ class CSIDriverSpecArgs:
|
|
|
656
721
|
|
|
657
722
|
@property
|
|
658
723
|
@pulumi.getter(name="volumeLifecycleModes")
|
|
659
|
-
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
724
|
+
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
660
725
|
"""
|
|
661
726
|
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.
|
|
662
727
|
|
|
@@ -669,7 +734,7 @@ class CSIDriverSpecArgs:
|
|
|
669
734
|
return pulumi.get(self, "volume_lifecycle_modes")
|
|
670
735
|
|
|
671
736
|
@volume_lifecycle_modes.setter
|
|
672
|
-
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
737
|
+
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
673
738
|
pulumi.set(self, "volume_lifecycle_modes", value)
|
|
674
739
|
|
|
675
740
|
|
|
@@ -682,11 +747,11 @@ if not MYPY:
|
|
|
682
747
|
"""
|
|
683
748
|
spec represents the specification of the CSI Driver.
|
|
684
749
|
"""
|
|
685
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
750
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
686
751
|
"""
|
|
687
752
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
688
753
|
"""
|
|
689
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
754
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
690
755
|
"""
|
|
691
756
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
692
757
|
"""
|
|
@@ -701,14 +766,14 @@ elif False:
|
|
|
701
766
|
class CSIDriverArgs:
|
|
702
767
|
def __init__(__self__, *,
|
|
703
768
|
spec: pulumi.Input['CSIDriverSpecArgs'],
|
|
704
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
705
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
769
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
770
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
706
771
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
707
772
|
"""
|
|
708
773
|
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.
|
|
709
774
|
:param pulumi.Input['CSIDriverSpecArgs'] spec: spec represents the specification of the CSI Driver.
|
|
710
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
711
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
775
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
776
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
712
777
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: 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
|
|
713
778
|
"""
|
|
714
779
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -733,26 +798,26 @@ class CSIDriverArgs:
|
|
|
733
798
|
|
|
734
799
|
@property
|
|
735
800
|
@pulumi.getter(name="apiVersion")
|
|
736
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
801
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
737
802
|
"""
|
|
738
803
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
739
804
|
"""
|
|
740
805
|
return pulumi.get(self, "api_version")
|
|
741
806
|
|
|
742
807
|
@api_version.setter
|
|
743
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
808
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
744
809
|
pulumi.set(self, "api_version", value)
|
|
745
810
|
|
|
746
811
|
@property
|
|
747
812
|
@pulumi.getter
|
|
748
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
813
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
749
814
|
"""
|
|
750
815
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
751
816
|
"""
|
|
752
817
|
return pulumi.get(self, "kind")
|
|
753
818
|
|
|
754
819
|
@kind.setter
|
|
755
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
820
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
756
821
|
pulumi.set(self, "kind", value)
|
|
757
822
|
|
|
758
823
|
@property
|
|
@@ -777,15 +842,15 @@ if not MYPY:
|
|
|
777
842
|
"""
|
|
778
843
|
allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
779
844
|
"""
|
|
780
|
-
name: NotRequired[pulumi.Input[str]]
|
|
845
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
781
846
|
"""
|
|
782
847
|
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.
|
|
783
848
|
"""
|
|
784
|
-
node_id: NotRequired[pulumi.Input[str]]
|
|
849
|
+
node_id: NotRequired[pulumi.Input[builtins.str]]
|
|
785
850
|
"""
|
|
786
851
|
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.
|
|
787
852
|
"""
|
|
788
|
-
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
853
|
+
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
789
854
|
"""
|
|
790
855
|
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.
|
|
791
856
|
"""
|
|
@@ -796,15 +861,15 @@ elif False:
|
|
|
796
861
|
class CSINodeDriverPatchArgs:
|
|
797
862
|
def __init__(__self__, *,
|
|
798
863
|
allocatable: Optional[pulumi.Input['VolumeNodeResourcesPatchArgs']] = None,
|
|
799
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
800
|
-
node_id: Optional[pulumi.Input[str]] = None,
|
|
801
|
-
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
864
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
865
|
+
node_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
866
|
+
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
802
867
|
"""
|
|
803
868
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
804
869
|
:param pulumi.Input['VolumeNodeResourcesPatchArgs'] allocatable: allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
805
|
-
:param pulumi.Input[str] name: 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.
|
|
806
|
-
:param pulumi.Input[str] node_id: 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.
|
|
807
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] topology_keys: 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.
|
|
870
|
+
:param pulumi.Input[builtins.str] name: 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.
|
|
871
|
+
:param pulumi.Input[builtins.str] node_id: 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.
|
|
872
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] topology_keys: 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.
|
|
808
873
|
"""
|
|
809
874
|
if allocatable is not None:
|
|
810
875
|
pulumi.set(__self__, "allocatable", allocatable)
|
|
@@ -829,38 +894,38 @@ class CSINodeDriverPatchArgs:
|
|
|
829
894
|
|
|
830
895
|
@property
|
|
831
896
|
@pulumi.getter
|
|
832
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
897
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
833
898
|
"""
|
|
834
899
|
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.
|
|
835
900
|
"""
|
|
836
901
|
return pulumi.get(self, "name")
|
|
837
902
|
|
|
838
903
|
@name.setter
|
|
839
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
904
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
840
905
|
pulumi.set(self, "name", value)
|
|
841
906
|
|
|
842
907
|
@property
|
|
843
908
|
@pulumi.getter(name="nodeID")
|
|
844
|
-
def node_id(self) -> Optional[pulumi.Input[str]]:
|
|
909
|
+
def node_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
845
910
|
"""
|
|
846
911
|
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.
|
|
847
912
|
"""
|
|
848
913
|
return pulumi.get(self, "node_id")
|
|
849
914
|
|
|
850
915
|
@node_id.setter
|
|
851
|
-
def node_id(self, value: Optional[pulumi.Input[str]]):
|
|
916
|
+
def node_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
852
917
|
pulumi.set(self, "node_id", value)
|
|
853
918
|
|
|
854
919
|
@property
|
|
855
920
|
@pulumi.getter(name="topologyKeys")
|
|
856
|
-
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
921
|
+
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
857
922
|
"""
|
|
858
923
|
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.
|
|
859
924
|
"""
|
|
860
925
|
return pulumi.get(self, "topology_keys")
|
|
861
926
|
|
|
862
927
|
@topology_keys.setter
|
|
863
|
-
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
928
|
+
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
864
929
|
pulumi.set(self, "topology_keys", value)
|
|
865
930
|
|
|
866
931
|
|
|
@@ -869,11 +934,11 @@ if not MYPY:
|
|
|
869
934
|
"""
|
|
870
935
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
871
936
|
"""
|
|
872
|
-
name: pulumi.Input[str]
|
|
937
|
+
name: pulumi.Input[builtins.str]
|
|
873
938
|
"""
|
|
874
939
|
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.
|
|
875
940
|
"""
|
|
876
|
-
node_id: pulumi.Input[str]
|
|
941
|
+
node_id: pulumi.Input[builtins.str]
|
|
877
942
|
"""
|
|
878
943
|
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.
|
|
879
944
|
"""
|
|
@@ -881,7 +946,7 @@ if not MYPY:
|
|
|
881
946
|
"""
|
|
882
947
|
allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
883
948
|
"""
|
|
884
|
-
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
949
|
+
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
885
950
|
"""
|
|
886
951
|
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.
|
|
887
952
|
"""
|
|
@@ -891,16 +956,16 @@ elif False:
|
|
|
891
956
|
@pulumi.input_type
|
|
892
957
|
class CSINodeDriverArgs:
|
|
893
958
|
def __init__(__self__, *,
|
|
894
|
-
name: pulumi.Input[str],
|
|
895
|
-
node_id: pulumi.Input[str],
|
|
959
|
+
name: pulumi.Input[builtins.str],
|
|
960
|
+
node_id: pulumi.Input[builtins.str],
|
|
896
961
|
allocatable: Optional[pulumi.Input['VolumeNodeResourcesArgs']] = None,
|
|
897
|
-
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
962
|
+
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
898
963
|
"""
|
|
899
964
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
900
|
-
:param pulumi.Input[str] name: 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.
|
|
901
|
-
:param pulumi.Input[str] node_id: 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.
|
|
965
|
+
:param pulumi.Input[builtins.str] name: 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.
|
|
966
|
+
:param pulumi.Input[builtins.str] node_id: 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.
|
|
902
967
|
:param pulumi.Input['VolumeNodeResourcesArgs'] allocatable: allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
903
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] topology_keys: 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.
|
|
968
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] topology_keys: 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.
|
|
904
969
|
"""
|
|
905
970
|
pulumi.set(__self__, "name", name)
|
|
906
971
|
pulumi.set(__self__, "node_id", node_id)
|
|
@@ -911,26 +976,26 @@ class CSINodeDriverArgs:
|
|
|
911
976
|
|
|
912
977
|
@property
|
|
913
978
|
@pulumi.getter
|
|
914
|
-
def name(self) -> pulumi.Input[str]:
|
|
979
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
915
980
|
"""
|
|
916
981
|
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.
|
|
917
982
|
"""
|
|
918
983
|
return pulumi.get(self, "name")
|
|
919
984
|
|
|
920
985
|
@name.setter
|
|
921
|
-
def name(self, value: pulumi.Input[str]):
|
|
986
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
922
987
|
pulumi.set(self, "name", value)
|
|
923
988
|
|
|
924
989
|
@property
|
|
925
990
|
@pulumi.getter(name="nodeID")
|
|
926
|
-
def node_id(self) -> pulumi.Input[str]:
|
|
991
|
+
def node_id(self) -> pulumi.Input[builtins.str]:
|
|
927
992
|
"""
|
|
928
993
|
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.
|
|
929
994
|
"""
|
|
930
995
|
return pulumi.get(self, "node_id")
|
|
931
996
|
|
|
932
997
|
@node_id.setter
|
|
933
|
-
def node_id(self, value: pulumi.Input[str]):
|
|
998
|
+
def node_id(self, value: pulumi.Input[builtins.str]):
|
|
934
999
|
pulumi.set(self, "node_id", value)
|
|
935
1000
|
|
|
936
1001
|
@property
|
|
@@ -947,14 +1012,14 @@ class CSINodeDriverArgs:
|
|
|
947
1012
|
|
|
948
1013
|
@property
|
|
949
1014
|
@pulumi.getter(name="topologyKeys")
|
|
950
|
-
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1015
|
+
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
951
1016
|
"""
|
|
952
1017
|
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.
|
|
953
1018
|
"""
|
|
954
1019
|
return pulumi.get(self, "topology_keys")
|
|
955
1020
|
|
|
956
1021
|
@topology_keys.setter
|
|
957
|
-
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1022
|
+
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
958
1023
|
pulumi.set(self, "topology_keys", value)
|
|
959
1024
|
|
|
960
1025
|
|
|
@@ -1038,11 +1103,11 @@ if not MYPY:
|
|
|
1038
1103
|
"""
|
|
1039
1104
|
spec is the specification of CSINode
|
|
1040
1105
|
"""
|
|
1041
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1106
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
1042
1107
|
"""
|
|
1043
1108
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1044
1109
|
"""
|
|
1045
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1110
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
1046
1111
|
"""
|
|
1047
1112
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1048
1113
|
"""
|
|
@@ -1057,14 +1122,14 @@ elif False:
|
|
|
1057
1122
|
class CSINodeArgs:
|
|
1058
1123
|
def __init__(__self__, *,
|
|
1059
1124
|
spec: pulumi.Input['CSINodeSpecArgs'],
|
|
1060
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1061
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1125
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
1126
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
1062
1127
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
1063
1128
|
"""
|
|
1064
1129
|
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.
|
|
1065
1130
|
:param pulumi.Input['CSINodeSpecArgs'] spec: spec is the specification of CSINode
|
|
1066
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1067
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1131
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1132
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1068
1133
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. metadata.name must be the Kubernetes node name.
|
|
1069
1134
|
"""
|
|
1070
1135
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -1089,26 +1154,26 @@ class CSINodeArgs:
|
|
|
1089
1154
|
|
|
1090
1155
|
@property
|
|
1091
1156
|
@pulumi.getter(name="apiVersion")
|
|
1092
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1157
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1093
1158
|
"""
|
|
1094
1159
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1095
1160
|
"""
|
|
1096
1161
|
return pulumi.get(self, "api_version")
|
|
1097
1162
|
|
|
1098
1163
|
@api_version.setter
|
|
1099
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1164
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1100
1165
|
pulumi.set(self, "api_version", value)
|
|
1101
1166
|
|
|
1102
1167
|
@property
|
|
1103
1168
|
@pulumi.getter
|
|
1104
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1169
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1105
1170
|
"""
|
|
1106
1171
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1107
1172
|
"""
|
|
1108
1173
|
return pulumi.get(self, "kind")
|
|
1109
1174
|
|
|
1110
1175
|
@kind.setter
|
|
1111
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1176
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1112
1177
|
pulumi.set(self, "kind", value)
|
|
1113
1178
|
|
|
1114
1179
|
@property
|
|
@@ -1137,25 +1202,25 @@ if not MYPY:
|
|
|
1137
1202
|
|
|
1138
1203
|
They 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.
|
|
1139
1204
|
"""
|
|
1140
|
-
storage_class_name: pulumi.Input[str]
|
|
1205
|
+
storage_class_name: pulumi.Input[builtins.str]
|
|
1141
1206
|
"""
|
|
1142
1207
|
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.
|
|
1143
1208
|
"""
|
|
1144
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1209
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
1145
1210
|
"""
|
|
1146
1211
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1147
1212
|
"""
|
|
1148
|
-
capacity: NotRequired[pulumi.Input[str]]
|
|
1213
|
+
capacity: NotRequired[pulumi.Input[builtins.str]]
|
|
1149
1214
|
"""
|
|
1150
1215
|
capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1151
1216
|
|
|
1152
1217
|
The 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.
|
|
1153
1218
|
"""
|
|
1154
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1219
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
1155
1220
|
"""
|
|
1156
1221
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1157
1222
|
"""
|
|
1158
|
-
maximum_volume_size: NotRequired[pulumi.Input[str]]
|
|
1223
|
+
maximum_volume_size: NotRequired[pulumi.Input[builtins.str]]
|
|
1159
1224
|
"""
|
|
1160
1225
|
maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1161
1226
|
|
|
@@ -1179,11 +1244,11 @@ elif False:
|
|
|
1179
1244
|
@pulumi.input_type
|
|
1180
1245
|
class CSIStorageCapacityArgs:
|
|
1181
1246
|
def __init__(__self__, *,
|
|
1182
|
-
storage_class_name: pulumi.Input[str],
|
|
1183
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1184
|
-
capacity: Optional[pulumi.Input[str]] = None,
|
|
1185
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1186
|
-
maximum_volume_size: Optional[pulumi.Input[str]] = None,
|
|
1247
|
+
storage_class_name: pulumi.Input[builtins.str],
|
|
1248
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
1249
|
+
capacity: Optional[pulumi.Input[builtins.str]] = None,
|
|
1250
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
1251
|
+
maximum_volume_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
1187
1252
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1188
1253
|
node_topology: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
1189
1254
|
"""
|
|
@@ -1196,13 +1261,13 @@ class CSIStorageCapacityArgs:
|
|
|
1196
1261
|
The producer of these objects can decide which approach is more suitable.
|
|
1197
1262
|
|
|
1198
1263
|
They 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.
|
|
1199
|
-
:param pulumi.Input[str] storage_class_name: 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.
|
|
1200
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1201
|
-
:param pulumi.Input[str] capacity: capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1264
|
+
:param pulumi.Input[builtins.str] storage_class_name: 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.
|
|
1265
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1266
|
+
:param pulumi.Input[builtins.str] capacity: capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1202
1267
|
|
|
1203
1268
|
The 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.
|
|
1204
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1205
|
-
:param pulumi.Input[str] maximum_volume_size: maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1269
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1270
|
+
:param pulumi.Input[builtins.str] maximum_volume_size: maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1206
1271
|
|
|
1207
1272
|
This 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.
|
|
1208
1273
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: 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-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.
|
|
@@ -1228,31 +1293,31 @@ class CSIStorageCapacityArgs:
|
|
|
1228
1293
|
|
|
1229
1294
|
@property
|
|
1230
1295
|
@pulumi.getter(name="storageClassName")
|
|
1231
|
-
def storage_class_name(self) -> pulumi.Input[str]:
|
|
1296
|
+
def storage_class_name(self) -> pulumi.Input[builtins.str]:
|
|
1232
1297
|
"""
|
|
1233
1298
|
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.
|
|
1234
1299
|
"""
|
|
1235
1300
|
return pulumi.get(self, "storage_class_name")
|
|
1236
1301
|
|
|
1237
1302
|
@storage_class_name.setter
|
|
1238
|
-
def storage_class_name(self, value: pulumi.Input[str]):
|
|
1303
|
+
def storage_class_name(self, value: pulumi.Input[builtins.str]):
|
|
1239
1304
|
pulumi.set(self, "storage_class_name", value)
|
|
1240
1305
|
|
|
1241
1306
|
@property
|
|
1242
1307
|
@pulumi.getter(name="apiVersion")
|
|
1243
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1308
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1244
1309
|
"""
|
|
1245
1310
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1246
1311
|
"""
|
|
1247
1312
|
return pulumi.get(self, "api_version")
|
|
1248
1313
|
|
|
1249
1314
|
@api_version.setter
|
|
1250
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1315
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1251
1316
|
pulumi.set(self, "api_version", value)
|
|
1252
1317
|
|
|
1253
1318
|
@property
|
|
1254
1319
|
@pulumi.getter
|
|
1255
|
-
def capacity(self) -> Optional[pulumi.Input[str]]:
|
|
1320
|
+
def capacity(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1256
1321
|
"""
|
|
1257
1322
|
capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1258
1323
|
|
|
@@ -1261,24 +1326,24 @@ class CSIStorageCapacityArgs:
|
|
|
1261
1326
|
return pulumi.get(self, "capacity")
|
|
1262
1327
|
|
|
1263
1328
|
@capacity.setter
|
|
1264
|
-
def capacity(self, value: Optional[pulumi.Input[str]]):
|
|
1329
|
+
def capacity(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1265
1330
|
pulumi.set(self, "capacity", value)
|
|
1266
1331
|
|
|
1267
1332
|
@property
|
|
1268
1333
|
@pulumi.getter
|
|
1269
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1334
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1270
1335
|
"""
|
|
1271
1336
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1272
1337
|
"""
|
|
1273
1338
|
return pulumi.get(self, "kind")
|
|
1274
1339
|
|
|
1275
1340
|
@kind.setter
|
|
1276
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1341
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1277
1342
|
pulumi.set(self, "kind", value)
|
|
1278
1343
|
|
|
1279
1344
|
@property
|
|
1280
1345
|
@pulumi.getter(name="maximumVolumeSize")
|
|
1281
|
-
def maximum_volume_size(self) -> Optional[pulumi.Input[str]]:
|
|
1346
|
+
def maximum_volume_size(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1282
1347
|
"""
|
|
1283
1348
|
maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1284
1349
|
|
|
@@ -1287,7 +1352,7 @@ class CSIStorageCapacityArgs:
|
|
|
1287
1352
|
return pulumi.get(self, "maximum_volume_size")
|
|
1288
1353
|
|
|
1289
1354
|
@maximum_volume_size.setter
|
|
1290
|
-
def maximum_volume_size(self, value: Optional[pulumi.Input[str]]):
|
|
1355
|
+
def maximum_volume_size(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1291
1356
|
pulumi.set(self, "maximum_volume_size", value)
|
|
1292
1357
|
|
|
1293
1358
|
@property
|
|
@@ -1326,11 +1391,11 @@ if not MYPY:
|
|
|
1326
1391
|
|
|
1327
1392
|
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
|
|
1328
1393
|
"""
|
|
1329
|
-
provisioner: pulumi.Input[str]
|
|
1394
|
+
provisioner: pulumi.Input[builtins.str]
|
|
1330
1395
|
"""
|
|
1331
1396
|
provisioner indicates the type of the provisioner.
|
|
1332
1397
|
"""
|
|
1333
|
-
allow_volume_expansion: NotRequired[pulumi.Input[bool]]
|
|
1398
|
+
allow_volume_expansion: NotRequired[pulumi.Input[builtins.bool]]
|
|
1334
1399
|
"""
|
|
1335
1400
|
allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1336
1401
|
"""
|
|
@@ -1338,11 +1403,11 @@ if not MYPY:
|
|
|
1338
1403
|
"""
|
|
1339
1404
|
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.
|
|
1340
1405
|
"""
|
|
1341
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1406
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
1342
1407
|
"""
|
|
1343
1408
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1344
1409
|
"""
|
|
1345
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1410
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
1346
1411
|
"""
|
|
1347
1412
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1348
1413
|
"""
|
|
@@ -1350,19 +1415,19 @@ if not MYPY:
|
|
|
1350
1415
|
"""
|
|
1351
1416
|
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1352
1417
|
"""
|
|
1353
|
-
mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1418
|
+
mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1354
1419
|
"""
|
|
1355
1420
|
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.
|
|
1356
1421
|
"""
|
|
1357
|
-
parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
1422
|
+
parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
|
|
1358
1423
|
"""
|
|
1359
1424
|
parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1360
1425
|
"""
|
|
1361
|
-
reclaim_policy: NotRequired[pulumi.Input[str]]
|
|
1426
|
+
reclaim_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1362
1427
|
"""
|
|
1363
1428
|
reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1364
1429
|
"""
|
|
1365
|
-
volume_binding_mode: NotRequired[pulumi.Input[str]]
|
|
1430
|
+
volume_binding_mode: NotRequired[pulumi.Input[builtins.str]]
|
|
1366
1431
|
"""
|
|
1367
1432
|
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.
|
|
1368
1433
|
"""
|
|
@@ -1372,30 +1437,30 @@ elif False:
|
|
|
1372
1437
|
@pulumi.input_type
|
|
1373
1438
|
class StorageClassArgs:
|
|
1374
1439
|
def __init__(__self__, *,
|
|
1375
|
-
provisioner: pulumi.Input[str],
|
|
1376
|
-
allow_volume_expansion: Optional[pulumi.Input[bool]] = None,
|
|
1440
|
+
provisioner: pulumi.Input[builtins.str],
|
|
1441
|
+
allow_volume_expansion: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1377
1442
|
allowed_topologies: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]]] = None,
|
|
1378
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1379
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1443
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
1444
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
1380
1445
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1381
|
-
mount_options: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1382
|
-
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1383
|
-
reclaim_policy: Optional[pulumi.Input[str]] = None,
|
|
1384
|
-
volume_binding_mode: Optional[pulumi.Input[str]] = None):
|
|
1446
|
+
mount_options: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1447
|
+
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1448
|
+
reclaim_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1449
|
+
volume_binding_mode: Optional[pulumi.Input[builtins.str]] = None):
|
|
1385
1450
|
"""
|
|
1386
1451
|
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
|
|
1387
1452
|
|
|
1388
1453
|
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
|
|
1389
|
-
:param pulumi.Input[str] provisioner: provisioner indicates the type of the provisioner.
|
|
1390
|
-
:param pulumi.Input[bool] allow_volume_expansion: allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1454
|
+
:param pulumi.Input[builtins.str] provisioner: provisioner indicates the type of the provisioner.
|
|
1455
|
+
:param pulumi.Input[builtins.bool] allow_volume_expansion: allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1391
1456
|
:param pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]] allowed_topologies: 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.
|
|
1392
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1393
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1457
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1458
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1394
1459
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1395
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] mount_options: 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.
|
|
1396
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1397
|
-
:param pulumi.Input[str] reclaim_policy: reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1398
|
-
:param pulumi.Input[str] volume_binding_mode: 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.
|
|
1460
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] mount_options: 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.
|
|
1461
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] parameters: parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1462
|
+
:param pulumi.Input[builtins.str] reclaim_policy: reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1463
|
+
:param pulumi.Input[builtins.str] volume_binding_mode: 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.
|
|
1399
1464
|
"""
|
|
1400
1465
|
pulumi.set(__self__, "provisioner", provisioner)
|
|
1401
1466
|
if allow_volume_expansion is not None:
|
|
@@ -1419,26 +1484,26 @@ class StorageClassArgs:
|
|
|
1419
1484
|
|
|
1420
1485
|
@property
|
|
1421
1486
|
@pulumi.getter
|
|
1422
|
-
def provisioner(self) -> pulumi.Input[str]:
|
|
1487
|
+
def provisioner(self) -> pulumi.Input[builtins.str]:
|
|
1423
1488
|
"""
|
|
1424
1489
|
provisioner indicates the type of the provisioner.
|
|
1425
1490
|
"""
|
|
1426
1491
|
return pulumi.get(self, "provisioner")
|
|
1427
1492
|
|
|
1428
1493
|
@provisioner.setter
|
|
1429
|
-
def provisioner(self, value: pulumi.Input[str]):
|
|
1494
|
+
def provisioner(self, value: pulumi.Input[builtins.str]):
|
|
1430
1495
|
pulumi.set(self, "provisioner", value)
|
|
1431
1496
|
|
|
1432
1497
|
@property
|
|
1433
1498
|
@pulumi.getter(name="allowVolumeExpansion")
|
|
1434
|
-
def allow_volume_expansion(self) -> Optional[pulumi.Input[bool]]:
|
|
1499
|
+
def allow_volume_expansion(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1435
1500
|
"""
|
|
1436
1501
|
allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1437
1502
|
"""
|
|
1438
1503
|
return pulumi.get(self, "allow_volume_expansion")
|
|
1439
1504
|
|
|
1440
1505
|
@allow_volume_expansion.setter
|
|
1441
|
-
def allow_volume_expansion(self, value: Optional[pulumi.Input[bool]]):
|
|
1506
|
+
def allow_volume_expansion(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1442
1507
|
pulumi.set(self, "allow_volume_expansion", value)
|
|
1443
1508
|
|
|
1444
1509
|
@property
|
|
@@ -1455,26 +1520,26 @@ class StorageClassArgs:
|
|
|
1455
1520
|
|
|
1456
1521
|
@property
|
|
1457
1522
|
@pulumi.getter(name="apiVersion")
|
|
1458
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1523
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1459
1524
|
"""
|
|
1460
1525
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1461
1526
|
"""
|
|
1462
1527
|
return pulumi.get(self, "api_version")
|
|
1463
1528
|
|
|
1464
1529
|
@api_version.setter
|
|
1465
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1530
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1466
1531
|
pulumi.set(self, "api_version", value)
|
|
1467
1532
|
|
|
1468
1533
|
@property
|
|
1469
1534
|
@pulumi.getter
|
|
1470
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1535
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1471
1536
|
"""
|
|
1472
1537
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1473
1538
|
"""
|
|
1474
1539
|
return pulumi.get(self, "kind")
|
|
1475
1540
|
|
|
1476
1541
|
@kind.setter
|
|
1477
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1542
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1478
1543
|
pulumi.set(self, "kind", value)
|
|
1479
1544
|
|
|
1480
1545
|
@property
|
|
@@ -1491,50 +1556,50 @@ class StorageClassArgs:
|
|
|
1491
1556
|
|
|
1492
1557
|
@property
|
|
1493
1558
|
@pulumi.getter(name="mountOptions")
|
|
1494
|
-
def mount_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1559
|
+
def mount_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1495
1560
|
"""
|
|
1496
1561
|
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.
|
|
1497
1562
|
"""
|
|
1498
1563
|
return pulumi.get(self, "mount_options")
|
|
1499
1564
|
|
|
1500
1565
|
@mount_options.setter
|
|
1501
|
-
def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1566
|
+
def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1502
1567
|
pulumi.set(self, "mount_options", value)
|
|
1503
1568
|
|
|
1504
1569
|
@property
|
|
1505
1570
|
@pulumi.getter
|
|
1506
|
-
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1571
|
+
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
1507
1572
|
"""
|
|
1508
1573
|
parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1509
1574
|
"""
|
|
1510
1575
|
return pulumi.get(self, "parameters")
|
|
1511
1576
|
|
|
1512
1577
|
@parameters.setter
|
|
1513
|
-
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1578
|
+
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
1514
1579
|
pulumi.set(self, "parameters", value)
|
|
1515
1580
|
|
|
1516
1581
|
@property
|
|
1517
1582
|
@pulumi.getter(name="reclaimPolicy")
|
|
1518
|
-
def reclaim_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1583
|
+
def reclaim_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1519
1584
|
"""
|
|
1520
1585
|
reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1521
1586
|
"""
|
|
1522
1587
|
return pulumi.get(self, "reclaim_policy")
|
|
1523
1588
|
|
|
1524
1589
|
@reclaim_policy.setter
|
|
1525
|
-
def reclaim_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1590
|
+
def reclaim_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1526
1591
|
pulumi.set(self, "reclaim_policy", value)
|
|
1527
1592
|
|
|
1528
1593
|
@property
|
|
1529
1594
|
@pulumi.getter(name="volumeBindingMode")
|
|
1530
|
-
def volume_binding_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1595
|
+
def volume_binding_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1531
1596
|
"""
|
|
1532
1597
|
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.
|
|
1533
1598
|
"""
|
|
1534
1599
|
return pulumi.get(self, "volume_binding_mode")
|
|
1535
1600
|
|
|
1536
1601
|
@volume_binding_mode.setter
|
|
1537
|
-
def volume_binding_mode(self, value: Optional[pulumi.Input[str]]):
|
|
1602
|
+
def volume_binding_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1538
1603
|
pulumi.set(self, "volume_binding_mode", value)
|
|
1539
1604
|
|
|
1540
1605
|
|
|
@@ -1543,11 +1608,11 @@ if not MYPY:
|
|
|
1543
1608
|
"""
|
|
1544
1609
|
TokenRequest contains parameters of a service account token.
|
|
1545
1610
|
"""
|
|
1546
|
-
audience: NotRequired[pulumi.Input[str]]
|
|
1611
|
+
audience: NotRequired[pulumi.Input[builtins.str]]
|
|
1547
1612
|
"""
|
|
1548
1613
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1549
1614
|
"""
|
|
1550
|
-
expiration_seconds: NotRequired[pulumi.Input[int]]
|
|
1615
|
+
expiration_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1551
1616
|
"""
|
|
1552
1617
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1553
1618
|
"""
|
|
@@ -1557,12 +1622,12 @@ elif False:
|
|
|
1557
1622
|
@pulumi.input_type
|
|
1558
1623
|
class TokenRequestPatchArgs:
|
|
1559
1624
|
def __init__(__self__, *,
|
|
1560
|
-
audience: Optional[pulumi.Input[str]] = None,
|
|
1561
|
-
expiration_seconds: Optional[pulumi.Input[int]] = None):
|
|
1625
|
+
audience: Optional[pulumi.Input[builtins.str]] = None,
|
|
1626
|
+
expiration_seconds: Optional[pulumi.Input[builtins.int]] = None):
|
|
1562
1627
|
"""
|
|
1563
1628
|
TokenRequest contains parameters of a service account token.
|
|
1564
|
-
:param pulumi.Input[str] audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1565
|
-
:param pulumi.Input[int] expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1629
|
+
:param pulumi.Input[builtins.str] audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1630
|
+
:param pulumi.Input[builtins.int] expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1566
1631
|
"""
|
|
1567
1632
|
if audience is not None:
|
|
1568
1633
|
pulumi.set(__self__, "audience", audience)
|
|
@@ -1571,26 +1636,26 @@ class TokenRequestPatchArgs:
|
|
|
1571
1636
|
|
|
1572
1637
|
@property
|
|
1573
1638
|
@pulumi.getter
|
|
1574
|
-
def audience(self) -> Optional[pulumi.Input[str]]:
|
|
1639
|
+
def audience(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1575
1640
|
"""
|
|
1576
1641
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1577
1642
|
"""
|
|
1578
1643
|
return pulumi.get(self, "audience")
|
|
1579
1644
|
|
|
1580
1645
|
@audience.setter
|
|
1581
|
-
def audience(self, value: Optional[pulumi.Input[str]]):
|
|
1646
|
+
def audience(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1582
1647
|
pulumi.set(self, "audience", value)
|
|
1583
1648
|
|
|
1584
1649
|
@property
|
|
1585
1650
|
@pulumi.getter(name="expirationSeconds")
|
|
1586
|
-
def expiration_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1651
|
+
def expiration_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1587
1652
|
"""
|
|
1588
1653
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1589
1654
|
"""
|
|
1590
1655
|
return pulumi.get(self, "expiration_seconds")
|
|
1591
1656
|
|
|
1592
1657
|
@expiration_seconds.setter
|
|
1593
|
-
def expiration_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1658
|
+
def expiration_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1594
1659
|
pulumi.set(self, "expiration_seconds", value)
|
|
1595
1660
|
|
|
1596
1661
|
|
|
@@ -1599,11 +1664,11 @@ if not MYPY:
|
|
|
1599
1664
|
"""
|
|
1600
1665
|
TokenRequest contains parameters of a service account token.
|
|
1601
1666
|
"""
|
|
1602
|
-
audience: pulumi.Input[str]
|
|
1667
|
+
audience: pulumi.Input[builtins.str]
|
|
1603
1668
|
"""
|
|
1604
1669
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1605
1670
|
"""
|
|
1606
|
-
expiration_seconds: NotRequired[pulumi.Input[int]]
|
|
1671
|
+
expiration_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1607
1672
|
"""
|
|
1608
1673
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1609
1674
|
"""
|
|
@@ -1613,12 +1678,12 @@ elif False:
|
|
|
1613
1678
|
@pulumi.input_type
|
|
1614
1679
|
class TokenRequestArgs:
|
|
1615
1680
|
def __init__(__self__, *,
|
|
1616
|
-
audience: pulumi.Input[str],
|
|
1617
|
-
expiration_seconds: Optional[pulumi.Input[int]] = None):
|
|
1681
|
+
audience: pulumi.Input[builtins.str],
|
|
1682
|
+
expiration_seconds: Optional[pulumi.Input[builtins.int]] = None):
|
|
1618
1683
|
"""
|
|
1619
1684
|
TokenRequest contains parameters of a service account token.
|
|
1620
|
-
:param pulumi.Input[str] audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1621
|
-
:param pulumi.Input[int] expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1685
|
+
:param pulumi.Input[builtins.str] audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1686
|
+
:param pulumi.Input[builtins.int] expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1622
1687
|
"""
|
|
1623
1688
|
pulumi.set(__self__, "audience", audience)
|
|
1624
1689
|
if expiration_seconds is not None:
|
|
@@ -1626,26 +1691,26 @@ class TokenRequestArgs:
|
|
|
1626
1691
|
|
|
1627
1692
|
@property
|
|
1628
1693
|
@pulumi.getter
|
|
1629
|
-
def audience(self) -> pulumi.Input[str]:
|
|
1694
|
+
def audience(self) -> pulumi.Input[builtins.str]:
|
|
1630
1695
|
"""
|
|
1631
1696
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1632
1697
|
"""
|
|
1633
1698
|
return pulumi.get(self, "audience")
|
|
1634
1699
|
|
|
1635
1700
|
@audience.setter
|
|
1636
|
-
def audience(self, value: pulumi.Input[str]):
|
|
1701
|
+
def audience(self, value: pulumi.Input[builtins.str]):
|
|
1637
1702
|
pulumi.set(self, "audience", value)
|
|
1638
1703
|
|
|
1639
1704
|
@property
|
|
1640
1705
|
@pulumi.getter(name="expirationSeconds")
|
|
1641
|
-
def expiration_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1706
|
+
def expiration_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1642
1707
|
"""
|
|
1643
1708
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1644
1709
|
"""
|
|
1645
1710
|
return pulumi.get(self, "expiration_seconds")
|
|
1646
1711
|
|
|
1647
1712
|
@expiration_seconds.setter
|
|
1648
|
-
def expiration_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1713
|
+
def expiration_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1649
1714
|
pulumi.set(self, "expiration_seconds", value)
|
|
1650
1715
|
|
|
1651
1716
|
|
|
@@ -1658,7 +1723,7 @@ if not MYPY:
|
|
|
1658
1723
|
"""
|
|
1659
1724
|
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.
|
|
1660
1725
|
"""
|
|
1661
|
-
persistent_volume_name: NotRequired[pulumi.Input[str]]
|
|
1726
|
+
persistent_volume_name: NotRequired[pulumi.Input[builtins.str]]
|
|
1662
1727
|
"""
|
|
1663
1728
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1664
1729
|
"""
|
|
@@ -1669,11 +1734,11 @@ elif False:
|
|
|
1669
1734
|
class VolumeAttachmentSourcePatchArgs:
|
|
1670
1735
|
def __init__(__self__, *,
|
|
1671
1736
|
inline_volume_spec: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs']] = None,
|
|
1672
|
-
persistent_volume_name: Optional[pulumi.Input[str]] = None):
|
|
1737
|
+
persistent_volume_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
1673
1738
|
"""
|
|
1674
1739
|
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.
|
|
1675
1740
|
:param pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs'] inline_volume_spec: 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.
|
|
1676
|
-
:param pulumi.Input[str] persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1741
|
+
:param pulumi.Input[builtins.str] persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1677
1742
|
"""
|
|
1678
1743
|
if inline_volume_spec is not None:
|
|
1679
1744
|
pulumi.set(__self__, "inline_volume_spec", inline_volume_spec)
|
|
@@ -1694,14 +1759,14 @@ class VolumeAttachmentSourcePatchArgs:
|
|
|
1694
1759
|
|
|
1695
1760
|
@property
|
|
1696
1761
|
@pulumi.getter(name="persistentVolumeName")
|
|
1697
|
-
def persistent_volume_name(self) -> Optional[pulumi.Input[str]]:
|
|
1762
|
+
def persistent_volume_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1698
1763
|
"""
|
|
1699
1764
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1700
1765
|
"""
|
|
1701
1766
|
return pulumi.get(self, "persistent_volume_name")
|
|
1702
1767
|
|
|
1703
1768
|
@persistent_volume_name.setter
|
|
1704
|
-
def persistent_volume_name(self, value: Optional[pulumi.Input[str]]):
|
|
1769
|
+
def persistent_volume_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1705
1770
|
pulumi.set(self, "persistent_volume_name", value)
|
|
1706
1771
|
|
|
1707
1772
|
|
|
@@ -1714,7 +1779,7 @@ if not MYPY:
|
|
|
1714
1779
|
"""
|
|
1715
1780
|
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.
|
|
1716
1781
|
"""
|
|
1717
|
-
persistent_volume_name: NotRequired[pulumi.Input[str]]
|
|
1782
|
+
persistent_volume_name: NotRequired[pulumi.Input[builtins.str]]
|
|
1718
1783
|
"""
|
|
1719
1784
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1720
1785
|
"""
|
|
@@ -1725,11 +1790,11 @@ elif False:
|
|
|
1725
1790
|
class VolumeAttachmentSourceArgs:
|
|
1726
1791
|
def __init__(__self__, *,
|
|
1727
1792
|
inline_volume_spec: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecArgs']] = None,
|
|
1728
|
-
persistent_volume_name: Optional[pulumi.Input[str]] = None):
|
|
1793
|
+
persistent_volume_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
1729
1794
|
"""
|
|
1730
1795
|
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.
|
|
1731
1796
|
:param pulumi.Input['_core.v1.PersistentVolumeSpecArgs'] inline_volume_spec: 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.
|
|
1732
|
-
:param pulumi.Input[str] persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1797
|
+
:param pulumi.Input[builtins.str] persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1733
1798
|
"""
|
|
1734
1799
|
if inline_volume_spec is not None:
|
|
1735
1800
|
pulumi.set(__self__, "inline_volume_spec", inline_volume_spec)
|
|
@@ -1750,14 +1815,14 @@ class VolumeAttachmentSourceArgs:
|
|
|
1750
1815
|
|
|
1751
1816
|
@property
|
|
1752
1817
|
@pulumi.getter(name="persistentVolumeName")
|
|
1753
|
-
def persistent_volume_name(self) -> Optional[pulumi.Input[str]]:
|
|
1818
|
+
def persistent_volume_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1754
1819
|
"""
|
|
1755
1820
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1756
1821
|
"""
|
|
1757
1822
|
return pulumi.get(self, "persistent_volume_name")
|
|
1758
1823
|
|
|
1759
1824
|
@persistent_volume_name.setter
|
|
1760
|
-
def persistent_volume_name(self, value: Optional[pulumi.Input[str]]):
|
|
1825
|
+
def persistent_volume_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1761
1826
|
pulumi.set(self, "persistent_volume_name", value)
|
|
1762
1827
|
|
|
1763
1828
|
|
|
@@ -1766,11 +1831,11 @@ if not MYPY:
|
|
|
1766
1831
|
"""
|
|
1767
1832
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1768
1833
|
"""
|
|
1769
|
-
attacher: NotRequired[pulumi.Input[str]]
|
|
1834
|
+
attacher: NotRequired[pulumi.Input[builtins.str]]
|
|
1770
1835
|
"""
|
|
1771
1836
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1772
1837
|
"""
|
|
1773
|
-
node_name: NotRequired[pulumi.Input[str]]
|
|
1838
|
+
node_name: NotRequired[pulumi.Input[builtins.str]]
|
|
1774
1839
|
"""
|
|
1775
1840
|
nodeName represents the node that the volume should be attached to.
|
|
1776
1841
|
"""
|
|
@@ -1784,13 +1849,13 @@ elif False:
|
|
|
1784
1849
|
@pulumi.input_type
|
|
1785
1850
|
class VolumeAttachmentSpecPatchArgs:
|
|
1786
1851
|
def __init__(__self__, *,
|
|
1787
|
-
attacher: Optional[pulumi.Input[str]] = None,
|
|
1788
|
-
node_name: Optional[pulumi.Input[str]] = None,
|
|
1852
|
+
attacher: Optional[pulumi.Input[builtins.str]] = None,
|
|
1853
|
+
node_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1789
1854
|
source: Optional[pulumi.Input['VolumeAttachmentSourcePatchArgs']] = None):
|
|
1790
1855
|
"""
|
|
1791
1856
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1792
|
-
:param pulumi.Input[str] attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1793
|
-
:param pulumi.Input[str] node_name: nodeName represents the node that the volume should be attached to.
|
|
1857
|
+
:param pulumi.Input[builtins.str] attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1858
|
+
:param pulumi.Input[builtins.str] node_name: nodeName represents the node that the volume should be attached to.
|
|
1794
1859
|
:param pulumi.Input['VolumeAttachmentSourcePatchArgs'] source: source represents the volume that should be attached.
|
|
1795
1860
|
"""
|
|
1796
1861
|
if attacher is not None:
|
|
@@ -1802,26 +1867,26 @@ class VolumeAttachmentSpecPatchArgs:
|
|
|
1802
1867
|
|
|
1803
1868
|
@property
|
|
1804
1869
|
@pulumi.getter
|
|
1805
|
-
def attacher(self) -> Optional[pulumi.Input[str]]:
|
|
1870
|
+
def attacher(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1806
1871
|
"""
|
|
1807
1872
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1808
1873
|
"""
|
|
1809
1874
|
return pulumi.get(self, "attacher")
|
|
1810
1875
|
|
|
1811
1876
|
@attacher.setter
|
|
1812
|
-
def attacher(self, value: Optional[pulumi.Input[str]]):
|
|
1877
|
+
def attacher(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1813
1878
|
pulumi.set(self, "attacher", value)
|
|
1814
1879
|
|
|
1815
1880
|
@property
|
|
1816
1881
|
@pulumi.getter(name="nodeName")
|
|
1817
|
-
def node_name(self) -> Optional[pulumi.Input[str]]:
|
|
1882
|
+
def node_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1818
1883
|
"""
|
|
1819
1884
|
nodeName represents the node that the volume should be attached to.
|
|
1820
1885
|
"""
|
|
1821
1886
|
return pulumi.get(self, "node_name")
|
|
1822
1887
|
|
|
1823
1888
|
@node_name.setter
|
|
1824
|
-
def node_name(self, value: Optional[pulumi.Input[str]]):
|
|
1889
|
+
def node_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1825
1890
|
pulumi.set(self, "node_name", value)
|
|
1826
1891
|
|
|
1827
1892
|
@property
|
|
@@ -1842,11 +1907,11 @@ if not MYPY:
|
|
|
1842
1907
|
"""
|
|
1843
1908
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1844
1909
|
"""
|
|
1845
|
-
attacher: pulumi.Input[str]
|
|
1910
|
+
attacher: pulumi.Input[builtins.str]
|
|
1846
1911
|
"""
|
|
1847
1912
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1848
1913
|
"""
|
|
1849
|
-
node_name: pulumi.Input[str]
|
|
1914
|
+
node_name: pulumi.Input[builtins.str]
|
|
1850
1915
|
"""
|
|
1851
1916
|
nodeName represents the node that the volume should be attached to.
|
|
1852
1917
|
"""
|
|
@@ -1860,13 +1925,13 @@ elif False:
|
|
|
1860
1925
|
@pulumi.input_type
|
|
1861
1926
|
class VolumeAttachmentSpecArgs:
|
|
1862
1927
|
def __init__(__self__, *,
|
|
1863
|
-
attacher: pulumi.Input[str],
|
|
1864
|
-
node_name: pulumi.Input[str],
|
|
1928
|
+
attacher: pulumi.Input[builtins.str],
|
|
1929
|
+
node_name: pulumi.Input[builtins.str],
|
|
1865
1930
|
source: pulumi.Input['VolumeAttachmentSourceArgs']):
|
|
1866
1931
|
"""
|
|
1867
1932
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1868
|
-
:param pulumi.Input[str] attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1869
|
-
:param pulumi.Input[str] node_name: nodeName represents the node that the volume should be attached to.
|
|
1933
|
+
:param pulumi.Input[builtins.str] attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1934
|
+
:param pulumi.Input[builtins.str] node_name: nodeName represents the node that the volume should be attached to.
|
|
1870
1935
|
:param pulumi.Input['VolumeAttachmentSourceArgs'] source: source represents the volume that should be attached.
|
|
1871
1936
|
"""
|
|
1872
1937
|
pulumi.set(__self__, "attacher", attacher)
|
|
@@ -1875,26 +1940,26 @@ class VolumeAttachmentSpecArgs:
|
|
|
1875
1940
|
|
|
1876
1941
|
@property
|
|
1877
1942
|
@pulumi.getter
|
|
1878
|
-
def attacher(self) -> pulumi.Input[str]:
|
|
1943
|
+
def attacher(self) -> pulumi.Input[builtins.str]:
|
|
1879
1944
|
"""
|
|
1880
1945
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1881
1946
|
"""
|
|
1882
1947
|
return pulumi.get(self, "attacher")
|
|
1883
1948
|
|
|
1884
1949
|
@attacher.setter
|
|
1885
|
-
def attacher(self, value: pulumi.Input[str]):
|
|
1950
|
+
def attacher(self, value: pulumi.Input[builtins.str]):
|
|
1886
1951
|
pulumi.set(self, "attacher", value)
|
|
1887
1952
|
|
|
1888
1953
|
@property
|
|
1889
1954
|
@pulumi.getter(name="nodeName")
|
|
1890
|
-
def node_name(self) -> pulumi.Input[str]:
|
|
1955
|
+
def node_name(self) -> pulumi.Input[builtins.str]:
|
|
1891
1956
|
"""
|
|
1892
1957
|
nodeName represents the node that the volume should be attached to.
|
|
1893
1958
|
"""
|
|
1894
1959
|
return pulumi.get(self, "node_name")
|
|
1895
1960
|
|
|
1896
1961
|
@node_name.setter
|
|
1897
|
-
def node_name(self, value: pulumi.Input[str]):
|
|
1962
|
+
def node_name(self, value: pulumi.Input[builtins.str]):
|
|
1898
1963
|
pulumi.set(self, "node_name", value)
|
|
1899
1964
|
|
|
1900
1965
|
@property
|
|
@@ -1915,7 +1980,7 @@ if not MYPY:
|
|
|
1915
1980
|
"""
|
|
1916
1981
|
VolumeAttachmentStatus is the status of a VolumeAttachment request.
|
|
1917
1982
|
"""
|
|
1918
|
-
attached: pulumi.Input[bool]
|
|
1983
|
+
attached: pulumi.Input[builtins.bool]
|
|
1919
1984
|
"""
|
|
1920
1985
|
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.
|
|
1921
1986
|
"""
|
|
@@ -1923,7 +1988,7 @@ if not MYPY:
|
|
|
1923
1988
|
"""
|
|
1924
1989
|
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.
|
|
1925
1990
|
"""
|
|
1926
|
-
attachment_metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
1991
|
+
attachment_metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
|
|
1927
1992
|
"""
|
|
1928
1993
|
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.
|
|
1929
1994
|
"""
|
|
@@ -1937,15 +2002,15 @@ elif False:
|
|
|
1937
2002
|
@pulumi.input_type
|
|
1938
2003
|
class VolumeAttachmentStatusArgs:
|
|
1939
2004
|
def __init__(__self__, *,
|
|
1940
|
-
attached: pulumi.Input[bool],
|
|
2005
|
+
attached: pulumi.Input[builtins.bool],
|
|
1941
2006
|
attach_error: Optional[pulumi.Input['VolumeErrorArgs']] = None,
|
|
1942
|
-
attachment_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2007
|
+
attachment_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1943
2008
|
detach_error: Optional[pulumi.Input['VolumeErrorArgs']] = None):
|
|
1944
2009
|
"""
|
|
1945
2010
|
VolumeAttachmentStatus is the status of a VolumeAttachment request.
|
|
1946
|
-
:param pulumi.Input[bool] attached: 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.
|
|
2011
|
+
:param pulumi.Input[builtins.bool] attached: 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.
|
|
1947
2012
|
:param pulumi.Input['VolumeErrorArgs'] attach_error: 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.
|
|
1948
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] attachment_metadata: 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.
|
|
2013
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] attachment_metadata: 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.
|
|
1949
2014
|
:param pulumi.Input['VolumeErrorArgs'] detach_error: 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.
|
|
1950
2015
|
"""
|
|
1951
2016
|
pulumi.set(__self__, "attached", attached)
|
|
@@ -1958,14 +2023,14 @@ class VolumeAttachmentStatusArgs:
|
|
|
1958
2023
|
|
|
1959
2024
|
@property
|
|
1960
2025
|
@pulumi.getter
|
|
1961
|
-
def attached(self) -> pulumi.Input[bool]:
|
|
2026
|
+
def attached(self) -> pulumi.Input[builtins.bool]:
|
|
1962
2027
|
"""
|
|
1963
2028
|
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.
|
|
1964
2029
|
"""
|
|
1965
2030
|
return pulumi.get(self, "attached")
|
|
1966
2031
|
|
|
1967
2032
|
@attached.setter
|
|
1968
|
-
def attached(self, value: pulumi.Input[bool]):
|
|
2033
|
+
def attached(self, value: pulumi.Input[builtins.bool]):
|
|
1969
2034
|
pulumi.set(self, "attached", value)
|
|
1970
2035
|
|
|
1971
2036
|
@property
|
|
@@ -1982,14 +2047,14 @@ class VolumeAttachmentStatusArgs:
|
|
|
1982
2047
|
|
|
1983
2048
|
@property
|
|
1984
2049
|
@pulumi.getter(name="attachmentMetadata")
|
|
1985
|
-
def attachment_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
2050
|
+
def attachment_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
1986
2051
|
"""
|
|
1987
2052
|
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.
|
|
1988
2053
|
"""
|
|
1989
2054
|
return pulumi.get(self, "attachment_metadata")
|
|
1990
2055
|
|
|
1991
2056
|
@attachment_metadata.setter
|
|
1992
|
-
def attachment_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
2057
|
+
def attachment_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
1993
2058
|
pulumi.set(self, "attachment_metadata", value)
|
|
1994
2059
|
|
|
1995
2060
|
@property
|
|
@@ -2016,11 +2081,11 @@ if not MYPY:
|
|
|
2016
2081
|
"""
|
|
2017
2082
|
spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
|
|
2018
2083
|
"""
|
|
2019
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
2084
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
2020
2085
|
"""
|
|
2021
2086
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2022
2087
|
"""
|
|
2023
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
2088
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
2024
2089
|
"""
|
|
2025
2090
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2026
2091
|
"""
|
|
@@ -2039,8 +2104,8 @@ elif False:
|
|
|
2039
2104
|
class VolumeAttachmentArgs:
|
|
2040
2105
|
def __init__(__self__, *,
|
|
2041
2106
|
spec: pulumi.Input['VolumeAttachmentSpecArgs'],
|
|
2042
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2043
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
2107
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
2108
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
2044
2109
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
2045
2110
|
status: Optional[pulumi.Input['VolumeAttachmentStatusArgs']] = None):
|
|
2046
2111
|
"""
|
|
@@ -2048,8 +2113,8 @@ class VolumeAttachmentArgs:
|
|
|
2048
2113
|
|
|
2049
2114
|
VolumeAttachment objects are non-namespaced.
|
|
2050
2115
|
:param pulumi.Input['VolumeAttachmentSpecArgs'] spec: spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
|
|
2051
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2052
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2116
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2117
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2053
2118
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
2054
2119
|
:param pulumi.Input['VolumeAttachmentStatusArgs'] status: status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
|
|
2055
2120
|
"""
|
|
@@ -2077,26 +2142,26 @@ class VolumeAttachmentArgs:
|
|
|
2077
2142
|
|
|
2078
2143
|
@property
|
|
2079
2144
|
@pulumi.getter(name="apiVersion")
|
|
2080
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2145
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2081
2146
|
"""
|
|
2082
2147
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2083
2148
|
"""
|
|
2084
2149
|
return pulumi.get(self, "api_version")
|
|
2085
2150
|
|
|
2086
2151
|
@api_version.setter
|
|
2087
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2152
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2088
2153
|
pulumi.set(self, "api_version", value)
|
|
2089
2154
|
|
|
2090
2155
|
@property
|
|
2091
2156
|
@pulumi.getter
|
|
2092
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2157
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2093
2158
|
"""
|
|
2094
2159
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2095
2160
|
"""
|
|
2096
2161
|
return pulumi.get(self, "kind")
|
|
2097
2162
|
|
|
2098
2163
|
@kind.setter
|
|
2099
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2164
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2100
2165
|
pulumi.set(self, "kind", value)
|
|
2101
2166
|
|
|
2102
2167
|
@property
|
|
@@ -2129,11 +2194,17 @@ if not MYPY:
|
|
|
2129
2194
|
"""
|
|
2130
2195
|
VolumeError captures an error encountered during a volume operation.
|
|
2131
2196
|
"""
|
|
2132
|
-
|
|
2197
|
+
error_code: NotRequired[pulumi.Input[builtins.int]]
|
|
2198
|
+
"""
|
|
2199
|
+
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2200
|
+
|
|
2201
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
2202
|
+
"""
|
|
2203
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
2133
2204
|
"""
|
|
2134
2205
|
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2135
2206
|
"""
|
|
2136
|
-
time: NotRequired[pulumi.Input[str]]
|
|
2207
|
+
time: NotRequired[pulumi.Input[builtins.str]]
|
|
2137
2208
|
"""
|
|
2138
2209
|
time represents the time the error was encountered.
|
|
2139
2210
|
"""
|
|
@@ -2143,40 +2214,60 @@ elif False:
|
|
|
2143
2214
|
@pulumi.input_type
|
|
2144
2215
|
class VolumeErrorArgs:
|
|
2145
2216
|
def __init__(__self__, *,
|
|
2146
|
-
|
|
2147
|
-
|
|
2217
|
+
error_code: Optional[pulumi.Input[builtins.int]] = None,
|
|
2218
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
2219
|
+
time: Optional[pulumi.Input[builtins.str]] = None):
|
|
2148
2220
|
"""
|
|
2149
2221
|
VolumeError captures an error encountered during a volume operation.
|
|
2150
|
-
:param pulumi.Input[
|
|
2151
|
-
|
|
2222
|
+
:param pulumi.Input[builtins.int] error_code: errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2223
|
+
|
|
2224
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
2225
|
+
:param pulumi.Input[builtins.str] message: message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2226
|
+
:param pulumi.Input[builtins.str] time: time represents the time the error was encountered.
|
|
2152
2227
|
"""
|
|
2228
|
+
if error_code is not None:
|
|
2229
|
+
pulumi.set(__self__, "error_code", error_code)
|
|
2153
2230
|
if message is not None:
|
|
2154
2231
|
pulumi.set(__self__, "message", message)
|
|
2155
2232
|
if time is not None:
|
|
2156
2233
|
pulumi.set(__self__, "time", time)
|
|
2157
2234
|
|
|
2235
|
+
@property
|
|
2236
|
+
@pulumi.getter(name="errorCode")
|
|
2237
|
+
def error_code(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2238
|
+
"""
|
|
2239
|
+
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2240
|
+
|
|
2241
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
2242
|
+
"""
|
|
2243
|
+
return pulumi.get(self, "error_code")
|
|
2244
|
+
|
|
2245
|
+
@error_code.setter
|
|
2246
|
+
def error_code(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2247
|
+
pulumi.set(self, "error_code", value)
|
|
2248
|
+
|
|
2158
2249
|
@property
|
|
2159
2250
|
@pulumi.getter
|
|
2160
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
2251
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2161
2252
|
"""
|
|
2162
2253
|
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2163
2254
|
"""
|
|
2164
2255
|
return pulumi.get(self, "message")
|
|
2165
2256
|
|
|
2166
2257
|
@message.setter
|
|
2167
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
2258
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2168
2259
|
pulumi.set(self, "message", value)
|
|
2169
2260
|
|
|
2170
2261
|
@property
|
|
2171
2262
|
@pulumi.getter
|
|
2172
|
-
def time(self) -> Optional[pulumi.Input[str]]:
|
|
2263
|
+
def time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2173
2264
|
"""
|
|
2174
2265
|
time represents the time the error was encountered.
|
|
2175
2266
|
"""
|
|
2176
2267
|
return pulumi.get(self, "time")
|
|
2177
2268
|
|
|
2178
2269
|
@time.setter
|
|
2179
|
-
def time(self, value: Optional[pulumi.Input[str]]):
|
|
2270
|
+
def time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2180
2271
|
pulumi.set(self, "time", value)
|
|
2181
2272
|
|
|
2182
2273
|
|
|
@@ -2185,7 +2276,7 @@ if not MYPY:
|
|
|
2185
2276
|
"""
|
|
2186
2277
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2187
2278
|
"""
|
|
2188
|
-
count: NotRequired[pulumi.Input[int]]
|
|
2279
|
+
count: NotRequired[pulumi.Input[builtins.int]]
|
|
2189
2280
|
"""
|
|
2190
2281
|
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.
|
|
2191
2282
|
"""
|
|
@@ -2195,24 +2286,24 @@ elif False:
|
|
|
2195
2286
|
@pulumi.input_type
|
|
2196
2287
|
class VolumeNodeResourcesPatchArgs:
|
|
2197
2288
|
def __init__(__self__, *,
|
|
2198
|
-
count: Optional[pulumi.Input[int]] = None):
|
|
2289
|
+
count: Optional[pulumi.Input[builtins.int]] = None):
|
|
2199
2290
|
"""
|
|
2200
2291
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2201
|
-
:param pulumi.Input[int] count: 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.
|
|
2292
|
+
:param pulumi.Input[builtins.int] count: 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.
|
|
2202
2293
|
"""
|
|
2203
2294
|
if count is not None:
|
|
2204
2295
|
pulumi.set(__self__, "count", count)
|
|
2205
2296
|
|
|
2206
2297
|
@property
|
|
2207
2298
|
@pulumi.getter
|
|
2208
|
-
def count(self) -> Optional[pulumi.Input[int]]:
|
|
2299
|
+
def count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2209
2300
|
"""
|
|
2210
2301
|
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.
|
|
2211
2302
|
"""
|
|
2212
2303
|
return pulumi.get(self, "count")
|
|
2213
2304
|
|
|
2214
2305
|
@count.setter
|
|
2215
|
-
def count(self, value: Optional[pulumi.Input[int]]):
|
|
2306
|
+
def count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2216
2307
|
pulumi.set(self, "count", value)
|
|
2217
2308
|
|
|
2218
2309
|
|
|
@@ -2221,7 +2312,7 @@ if not MYPY:
|
|
|
2221
2312
|
"""
|
|
2222
2313
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2223
2314
|
"""
|
|
2224
|
-
count: NotRequired[pulumi.Input[int]]
|
|
2315
|
+
count: NotRequired[pulumi.Input[builtins.int]]
|
|
2225
2316
|
"""
|
|
2226
2317
|
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.
|
|
2227
2318
|
"""
|
|
@@ -2231,24 +2322,24 @@ elif False:
|
|
|
2231
2322
|
@pulumi.input_type
|
|
2232
2323
|
class VolumeNodeResourcesArgs:
|
|
2233
2324
|
def __init__(__self__, *,
|
|
2234
|
-
count: Optional[pulumi.Input[int]] = None):
|
|
2325
|
+
count: Optional[pulumi.Input[builtins.int]] = None):
|
|
2235
2326
|
"""
|
|
2236
2327
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2237
|
-
:param pulumi.Input[int] count: 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.
|
|
2328
|
+
:param pulumi.Input[builtins.int] count: 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.
|
|
2238
2329
|
"""
|
|
2239
2330
|
if count is not None:
|
|
2240
2331
|
pulumi.set(__self__, "count", count)
|
|
2241
2332
|
|
|
2242
2333
|
@property
|
|
2243
2334
|
@pulumi.getter
|
|
2244
|
-
def count(self) -> Optional[pulumi.Input[int]]:
|
|
2335
|
+
def count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2245
2336
|
"""
|
|
2246
2337
|
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.
|
|
2247
2338
|
"""
|
|
2248
2339
|
return pulumi.get(self, "count")
|
|
2249
2340
|
|
|
2250
2341
|
@count.setter
|
|
2251
|
-
def count(self, value: Optional[pulumi.Input[int]]):
|
|
2342
|
+
def count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2252
2343
|
pulumi.set(self, "count", value)
|
|
2253
2344
|
|
|
2254
2345
|
|