pulumi-kubernetes 4.17.0a1723576835__py3-none-any.whl → 4.26.0a1769215986__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.
- pulumi_kubernetes/__init__.py +73 -2
- pulumi_kubernetes/_inputs.py +49 -49
- pulumi_kubernetes/_utilities.py +9 -5
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +27 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +27 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +721 -721
- pulumi_kubernetes/admissionregistration/v1/outputs.py +516 -516
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +215 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +223 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +216 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +235 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +216 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +227 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +27 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +26 -33
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +26 -33
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +27 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +7 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +2219 -716
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +1649 -530
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +27 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +27 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +717 -717
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +512 -512
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +27 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +26 -25
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +27 -26
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +912 -912
- pulumi_kubernetes/apiextensions/v1/outputs.py +624 -624
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +27 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +26 -25
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +27 -26
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -834
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -572
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +27 -26
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +26 -25
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +27 -26
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -157
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -128
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +27 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +26 -25
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +27 -26
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -157
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -128
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +36 -35
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +26 -25
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +36 -35
- pulumi_kubernetes/apps/v1/DaemonSet.py +27 -26
- pulumi_kubernetes/apps/v1/DaemonSetList.py +26 -25
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1/Deployment.py +27 -26
- pulumi_kubernetes/apps/v1/DeploymentList.py +26 -25
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +27 -26
- pulumi_kubernetes/apps/v1/ReplicaSet.py +27 -26
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +30 -29
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1/StatefulSet.py +27 -26
- pulumi_kubernetes/apps/v1/StatefulSetList.py +26 -25
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +835 -782
- pulumi_kubernetes/apps/v1/outputs.py +806 -733
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +36 -35
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +26 -25
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +36 -35
- pulumi_kubernetes/apps/v1beta1/Deployment.py +27 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +26 -25
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +27 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -409
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -381
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +36 -35
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +36 -35
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +27 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/Deployment.py +27 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +27 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +27 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -655
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -645
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +26 -25
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +26 -25
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +26 -25
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -145
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -101
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -120
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -102
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +500 -420
- pulumi_kubernetes/autoscaling/v2/outputs.py +438 -382
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -451
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -424
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -398
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -366
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +27 -26
- pulumi_kubernetes/batch/v1/CronJobList.py +26 -25
- pulumi_kubernetes/batch/v1/CronJobPatch.py +27 -26
- pulumi_kubernetes/batch/v1/Job.py +27 -26
- pulumi_kubernetes/batch/v1/JobList.py +26 -25
- pulumi_kubernetes/batch/v1/JobPatch.py +27 -26
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +508 -538
- pulumi_kubernetes/batch/v1/outputs.py +427 -451
- pulumi_kubernetes/batch/v1beta1/CronJob.py +27 -26
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +26 -25
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +27 -26
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -101
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -76
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +27 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +26 -25
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +27 -26
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -101
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -76
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +27 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +26 -25
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +27 -26
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -155
- pulumi_kubernetes/certificates/v1/outputs.py +134 -134
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +28 -25
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +26 -25
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +28 -25
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -39
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +27 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +26 -25
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +27 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +226 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +216 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +237 -0
- pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +436 -144
- pulumi_kubernetes/certificates/v1beta1/outputs.py +369 -128
- pulumi_kubernetes/coordination/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1/Lease.py +26 -25
- pulumi_kubernetes/coordination/v1/LeaseList.py +26 -25
- pulumi_kubernetes/coordination/v1/LeasePatch.py +26 -25
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -99
- pulumi_kubernetes/coordination/v1/outputs.py +67 -67
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +28 -25
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +26 -25
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +28 -25
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -87
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -59
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +217 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +216 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +229 -0
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +13 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +393 -0
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +313 -0
- pulumi_kubernetes/coordination/v1beta1/Lease.py +26 -25
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +217 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +216 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +229 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +26 -25
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +26 -25
- pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +446 -75
- pulumi_kubernetes/coordination/v1beta1/outputs.py +343 -51
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +28 -27
- pulumi_kubernetes/core/v1/BindingPatch.py +28 -27
- pulumi_kubernetes/core/v1/ConfigMap.py +54 -53
- pulumi_kubernetes/core/v1/ConfigMapList.py +26 -25
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +54 -53
- pulumi_kubernetes/core/v1/Endpoints.py +34 -25
- pulumi_kubernetes/core/v1/EndpointsList.py +28 -27
- pulumi_kubernetes/core/v1/EndpointsPatch.py +34 -25
- pulumi_kubernetes/core/v1/Event.py +132 -131
- pulumi_kubernetes/core/v1/EventList.py +26 -25
- pulumi_kubernetes/core/v1/EventPatch.py +132 -131
- pulumi_kubernetes/core/v1/LimitRange.py +26 -25
- pulumi_kubernetes/core/v1/LimitRangeList.py +26 -25
- pulumi_kubernetes/core/v1/LimitRangePatch.py +26 -25
- pulumi_kubernetes/core/v1/Namespace.py +27 -26
- pulumi_kubernetes/core/v1/NamespaceList.py +26 -25
- pulumi_kubernetes/core/v1/NamespacePatch.py +27 -26
- pulumi_kubernetes/core/v1/Node.py +27 -26
- pulumi_kubernetes/core/v1/NodeList.py +26 -25
- pulumi_kubernetes/core/v1/NodePatch.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolume.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +26 -25
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +26 -25
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +27 -26
- pulumi_kubernetes/core/v1/Pod.py +27 -26
- pulumi_kubernetes/core/v1/PodList.py +26 -25
- pulumi_kubernetes/core/v1/PodPatch.py +27 -26
- pulumi_kubernetes/core/v1/PodTemplate.py +26 -25
- pulumi_kubernetes/core/v1/PodTemplateList.py +26 -25
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +26 -25
- pulumi_kubernetes/core/v1/ReplicationController.py +27 -26
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +26 -25
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +27 -26
- pulumi_kubernetes/core/v1/ResourceQuota.py +27 -26
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +26 -25
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +27 -26
- pulumi_kubernetes/core/v1/Secret.py +64 -63
- pulumi_kubernetes/core/v1/SecretList.py +26 -25
- pulumi_kubernetes/core/v1/SecretPatch.py +68 -65
- pulumi_kubernetes/core/v1/Service.py +33 -48
- pulumi_kubernetes/core/v1/ServiceAccount.py +42 -41
- pulumi_kubernetes/core/v1/ServiceAccountList.py +26 -25
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +42 -41
- pulumi_kubernetes/core/v1/ServiceList.py +26 -25
- pulumi_kubernetes/core/v1/ServicePatch.py +33 -48
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +4 -1
- pulumi_kubernetes/core/v1/_inputs.py +7862 -7453
- pulumi_kubernetes/core/v1/outputs.py +5980 -5608
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +46 -45
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +26 -25
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +46 -45
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +334 -219
- pulumi_kubernetes/discovery/v1/outputs.py +224 -149
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +38 -37
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +26 -25
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +38 -37
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -158
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -108
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +132 -131
- pulumi_kubernetes/events/v1/EventList.py +26 -25
- pulumi_kubernetes/events/v1/EventPatch.py +132 -131
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +102 -102
- pulumi_kubernetes/events/v1/outputs.py +70 -70
- pulumi_kubernetes/events/v1beta1/Event.py +132 -131
- pulumi_kubernetes/events/v1beta1/EventList.py +26 -25
- pulumi_kubernetes/events/v1beta1/EventPatch.py +132 -131
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -114
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -78
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1097
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -899
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -419
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -333
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -369
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -299
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -369
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -299
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -419
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -333
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +431 -431
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +341 -341
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +317 -316
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +39 -39
- pulumi_kubernetes/helm/v3/outputs.py +55 -55
- pulumi_kubernetes/helm/v4/Chart.py +114 -87
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +36 -36
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +36 -35
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +58 -57
- pulumi_kubernetes/meta/v1/StatusPatch.py +58 -57
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +551 -551
- pulumi_kubernetes/meta/v1/outputs.py +395 -395
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/IPAddress.py +217 -0
- pulumi_kubernetes/networking/v1/IPAddressList.py +216 -0
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +229 -0
- pulumi_kubernetes/networking/v1/Ingress.py +27 -26
- pulumi_kubernetes/networking/v1/IngressClass.py +26 -25
- pulumi_kubernetes/networking/v1/IngressClassList.py +26 -25
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +26 -25
- pulumi_kubernetes/networking/v1/IngressList.py +26 -25
- pulumi_kubernetes/networking/v1/IngressPatch.py +27 -26
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +27 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +26 -25
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +27 -26
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +227 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +216 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +239 -0
- pulumi_kubernetes/networking/v1/__init__.py +7 -0
- pulumi_kubernetes/networking/v1/_inputs.py +970 -371
- pulumi_kubernetes/networking/v1/outputs.py +746 -285
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +27 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +27 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +28 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +28 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -157
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -110
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +27 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +27 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +27 -26
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +27 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +28 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +28 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -247
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -173
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +38 -37
- pulumi_kubernetes/node/v1/RuntimeClassList.py +26 -25
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +38 -37
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +48 -48
- pulumi_kubernetes/node/v1/outputs.py +34 -34
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +26 -25
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +26 -25
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +26 -25
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -57
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -41
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +38 -37
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +26 -25
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +38 -37
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -48
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -34
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +27 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +26 -25
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +27 -26
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +91 -103
- pulumi_kubernetes/policy/v1/outputs.py +80 -88
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +27 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +26 -25
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +27 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +26 -25
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +26 -25
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +26 -25
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -470
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -342
- pulumi_kubernetes/provider.py +139 -99
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +28 -27
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +26 -25
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +28 -27
- pulumi_kubernetes/rbac/v1/Role.py +26 -25
- pulumi_kubernetes/rbac/v1/RoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1/RoleList.py +26 -25
- pulumi_kubernetes/rbac/v1/RolePatch.py +26 -25
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -206
- pulumi_kubernetes/rbac/v1/outputs.py +142 -142
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/Role.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -206
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -142
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/Role.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -206
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -142
- pulumi_kubernetes/resource/__init__.py +7 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +28 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +28 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +38 -37
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +38 -37
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -268
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -230
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +28 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +38 -37
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +38 -37
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +28 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +48 -47
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +30 -29
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +30 -29
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +48 -47
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +47 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +47 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -550
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -449
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +28 -25
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +28 -25
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +224 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +216 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +235 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +28 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +28 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +34 -33
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +246 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +5 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +3400 -606
- pulumi_kubernetes/resource/v1alpha3/outputs.py +2933 -565
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +238 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +249 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +233 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +217 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +244 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +230 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +241 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +247 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +217 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +258 -0
- pulumi_kubernetes/resource/v1beta1/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +5735 -0
- pulumi_kubernetes/resource/v1beta1/outputs.py +4736 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +238 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +216 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +249 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +233 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +244 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +230 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +216 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +241 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +247 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +258 -0
- pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta2/_inputs.py +5680 -0
- pulumi_kubernetes/resource/v1beta2/outputs.py +4725 -0
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +64 -63
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +26 -25
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +64 -63
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -38
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +64 -63
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +26 -25
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +64 -63
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -38
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +64 -63
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +26 -25
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +64 -63
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -38
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -26
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +26 -25
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +26 -25
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +26 -25
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -25
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -21
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +26 -25
- pulumi_kubernetes/storage/v1/CSIDriverList.py +26 -25
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +26 -25
- pulumi_kubernetes/storage/v1/CSINode.py +26 -25
- pulumi_kubernetes/storage/v1/CSINodeList.py +26 -25
- pulumi_kubernetes/storage/v1/CSINodePatch.py +26 -25
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +56 -55
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +26 -25
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +56 -55
- pulumi_kubernetes/storage/v1/StorageClass.py +86 -85
- pulumi_kubernetes/storage/v1/StorageClassList.py +26 -25
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +86 -85
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +27 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +26 -25
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +27 -26
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +448 -358
- pulumi_kubernetes/storage/v1/outputs.py +376 -266
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +27 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +26 -25
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +27 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +44 -43
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +26 -25
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +44 -43
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -107
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -93
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSINode.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +56 -55
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +56 -55
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +86 -85
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +86 -85
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +27 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +27 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +44 -43
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +44 -43
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -367
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -271
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +27 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +26 -25
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +27 -26
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -103
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -96
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +31 -28
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +36 -35
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- pulumi_kubernetes/yaml/yaml.py +198 -0
- {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/METADATA +9 -9
- pulumi_kubernetes-4.26.0a1769215986.dist-info/RECORD +709 -0
- {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.17.0a1723576835.dist-info/RECORD +0 -651
- {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/top_level.txt +0 -0
|
@@ -2,7 +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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -70,22 +70,22 @@ if not MYPY:
|
|
|
70
70
|
"""
|
|
71
71
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
72
72
|
"""
|
|
73
|
-
attach_required: NotRequired[pulumi.Input[bool]]
|
|
73
|
+
attach_required: NotRequired[pulumi.Input[_builtins.bool]]
|
|
74
74
|
"""
|
|
75
75
|
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.
|
|
76
76
|
"""
|
|
77
|
-
fs_group_policy: NotRequired[pulumi.Input[str]]
|
|
77
|
+
fs_group_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
78
78
|
"""
|
|
79
79
|
Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
|
|
80
80
|
"""
|
|
81
|
-
pod_info_on_mount: NotRequired[pulumi.Input[bool]]
|
|
81
|
+
pod_info_on_mount: NotRequired[pulumi.Input[_builtins.bool]]
|
|
82
82
|
"""
|
|
83
83
|
If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
|
|
84
84
|
defined by a CSIVolumeSource, otherwise "false"
|
|
85
85
|
|
|
86
86
|
"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.
|
|
87
87
|
"""
|
|
88
|
-
requires_republish: NotRequired[pulumi.Input[bool]]
|
|
88
|
+
requires_republish: NotRequired[pulumi.Input[_builtins.bool]]
|
|
89
89
|
"""
|
|
90
90
|
RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
91
91
|
|
|
@@ -93,7 +93,7 @@ if not MYPY:
|
|
|
93
93
|
|
|
94
94
|
This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
|
|
95
95
|
"""
|
|
96
|
-
storage_capacity: NotRequired[pulumi.Input[bool]]
|
|
96
|
+
storage_capacity: NotRequired[pulumi.Input[_builtins.bool]]
|
|
97
97
|
"""
|
|
98
98
|
If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
|
|
99
99
|
|
|
@@ -117,7 +117,7 @@ if not MYPY:
|
|
|
117
117
|
|
|
118
118
|
This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
|
|
119
119
|
"""
|
|
120
|
-
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
120
|
+
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
121
121
|
"""
|
|
122
122
|
VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
|
|
123
123
|
"""
|
|
@@ -127,27 +127,27 @@ elif False:
|
|
|
127
127
|
@pulumi.input_type
|
|
128
128
|
class CSIDriverSpecPatchArgs:
|
|
129
129
|
def __init__(__self__, *,
|
|
130
|
-
attach_required: Optional[pulumi.Input[bool]] = None,
|
|
131
|
-
fs_group_policy: Optional[pulumi.Input[str]] = None,
|
|
132
|
-
pod_info_on_mount: Optional[pulumi.Input[bool]] = None,
|
|
133
|
-
requires_republish: Optional[pulumi.Input[bool]] = None,
|
|
134
|
-
storage_capacity: Optional[pulumi.Input[bool]] = None,
|
|
130
|
+
attach_required: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
131
|
+
fs_group_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
|
+
pod_info_on_mount: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
133
|
+
requires_republish: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
134
|
+
storage_capacity: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
135
135
|
token_requests: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestPatchArgs']]]] = None,
|
|
136
|
-
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
136
|
+
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
137
137
|
"""
|
|
138
138
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
139
|
-
: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.
|
|
140
|
-
:param pulumi.Input[str] fs_group_policy: Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
|
|
141
|
-
:param pulumi.Input[bool] pod_info_on_mount: If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
|
|
139
|
+
: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.
|
|
140
|
+
:param pulumi.Input[_builtins.str] fs_group_policy: Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
|
|
141
|
+
:param pulumi.Input[_builtins.bool] pod_info_on_mount: If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
|
|
142
142
|
defined by a CSIVolumeSource, otherwise "false"
|
|
143
143
|
|
|
144
144
|
"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.
|
|
145
|
-
: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.
|
|
145
|
+
: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.
|
|
146
146
|
|
|
147
147
|
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.
|
|
148
148
|
|
|
149
149
|
This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
|
|
150
|
-
:param pulumi.Input[bool] storage_capacity: If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
|
|
150
|
+
:param pulumi.Input[_builtins.bool] storage_capacity: If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
|
|
151
151
|
|
|
152
152
|
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.
|
|
153
153
|
|
|
@@ -165,7 +165,7 @@ class CSIDriverSpecPatchArgs:
|
|
|
165
165
|
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.
|
|
166
166
|
|
|
167
167
|
This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
|
|
168
|
-
: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. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
|
|
168
|
+
: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. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
|
|
169
169
|
"""
|
|
170
170
|
if attach_required is not None:
|
|
171
171
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
@@ -182,33 +182,33 @@ class CSIDriverSpecPatchArgs:
|
|
|
182
182
|
if volume_lifecycle_modes is not None:
|
|
183
183
|
pulumi.set(__self__, "volume_lifecycle_modes", volume_lifecycle_modes)
|
|
184
184
|
|
|
185
|
-
@property
|
|
185
|
+
@_builtins.property
|
|
186
186
|
@pulumi.getter(name="attachRequired")
|
|
187
|
-
def attach_required(self) -> Optional[pulumi.Input[bool]]:
|
|
187
|
+
def attach_required(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
188
188
|
"""
|
|
189
189
|
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.
|
|
190
190
|
"""
|
|
191
191
|
return pulumi.get(self, "attach_required")
|
|
192
192
|
|
|
193
193
|
@attach_required.setter
|
|
194
|
-
def attach_required(self, value: Optional[pulumi.Input[bool]]):
|
|
194
|
+
def attach_required(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
195
195
|
pulumi.set(self, "attach_required", value)
|
|
196
196
|
|
|
197
|
-
@property
|
|
197
|
+
@_builtins.property
|
|
198
198
|
@pulumi.getter(name="fsGroupPolicy")
|
|
199
|
-
def fs_group_policy(self) -> Optional[pulumi.Input[str]]:
|
|
199
|
+
def fs_group_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
200
200
|
"""
|
|
201
201
|
Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
|
|
202
202
|
"""
|
|
203
203
|
return pulumi.get(self, "fs_group_policy")
|
|
204
204
|
|
|
205
205
|
@fs_group_policy.setter
|
|
206
|
-
def fs_group_policy(self, value: Optional[pulumi.Input[str]]):
|
|
206
|
+
def fs_group_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
207
207
|
pulumi.set(self, "fs_group_policy", value)
|
|
208
208
|
|
|
209
|
-
@property
|
|
209
|
+
@_builtins.property
|
|
210
210
|
@pulumi.getter(name="podInfoOnMount")
|
|
211
|
-
def pod_info_on_mount(self) -> Optional[pulumi.Input[bool]]:
|
|
211
|
+
def pod_info_on_mount(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
212
212
|
"""
|
|
213
213
|
If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
|
|
214
214
|
defined by a CSIVolumeSource, otherwise "false"
|
|
@@ -218,12 +218,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
218
218
|
return pulumi.get(self, "pod_info_on_mount")
|
|
219
219
|
|
|
220
220
|
@pod_info_on_mount.setter
|
|
221
|
-
def pod_info_on_mount(self, value: Optional[pulumi.Input[bool]]):
|
|
221
|
+
def pod_info_on_mount(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
222
222
|
pulumi.set(self, "pod_info_on_mount", value)
|
|
223
223
|
|
|
224
|
-
@property
|
|
224
|
+
@_builtins.property
|
|
225
225
|
@pulumi.getter(name="requiresRepublish")
|
|
226
|
-
def requires_republish(self) -> Optional[pulumi.Input[bool]]:
|
|
226
|
+
def requires_republish(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
227
227
|
"""
|
|
228
228
|
RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
229
229
|
|
|
@@ -234,12 +234,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
234
234
|
return pulumi.get(self, "requires_republish")
|
|
235
235
|
|
|
236
236
|
@requires_republish.setter
|
|
237
|
-
def requires_republish(self, value: Optional[pulumi.Input[bool]]):
|
|
237
|
+
def requires_republish(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
238
238
|
pulumi.set(self, "requires_republish", value)
|
|
239
239
|
|
|
240
|
-
@property
|
|
240
|
+
@_builtins.property
|
|
241
241
|
@pulumi.getter(name="storageCapacity")
|
|
242
|
-
def storage_capacity(self) -> Optional[pulumi.Input[bool]]:
|
|
242
|
+
def storage_capacity(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
243
243
|
"""
|
|
244
244
|
If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
|
|
245
245
|
|
|
@@ -252,10 +252,10 @@ class CSIDriverSpecPatchArgs:
|
|
|
252
252
|
return pulumi.get(self, "storage_capacity")
|
|
253
253
|
|
|
254
254
|
@storage_capacity.setter
|
|
255
|
-
def storage_capacity(self, value: Optional[pulumi.Input[bool]]):
|
|
255
|
+
def storage_capacity(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
256
256
|
pulumi.set(self, "storage_capacity", value)
|
|
257
257
|
|
|
258
|
-
@property
|
|
258
|
+
@_builtins.property
|
|
259
259
|
@pulumi.getter(name="tokenRequests")
|
|
260
260
|
def token_requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestPatchArgs']]]]:
|
|
261
261
|
"""
|
|
@@ -277,16 +277,16 @@ class CSIDriverSpecPatchArgs:
|
|
|
277
277
|
def token_requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestPatchArgs']]]]):
|
|
278
278
|
pulumi.set(self, "token_requests", value)
|
|
279
279
|
|
|
280
|
-
@property
|
|
280
|
+
@_builtins.property
|
|
281
281
|
@pulumi.getter(name="volumeLifecycleModes")
|
|
282
|
-
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
282
|
+
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
283
283
|
"""
|
|
284
284
|
VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
|
|
285
285
|
"""
|
|
286
286
|
return pulumi.get(self, "volume_lifecycle_modes")
|
|
287
287
|
|
|
288
288
|
@volume_lifecycle_modes.setter
|
|
289
|
-
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
289
|
+
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
290
290
|
pulumi.set(self, "volume_lifecycle_modes", value)
|
|
291
291
|
|
|
292
292
|
|
|
@@ -295,22 +295,22 @@ if not MYPY:
|
|
|
295
295
|
"""
|
|
296
296
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
297
297
|
"""
|
|
298
|
-
attach_required: NotRequired[pulumi.Input[bool]]
|
|
298
|
+
attach_required: NotRequired[pulumi.Input[_builtins.bool]]
|
|
299
299
|
"""
|
|
300
300
|
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.
|
|
301
301
|
"""
|
|
302
|
-
fs_group_policy: NotRequired[pulumi.Input[str]]
|
|
302
|
+
fs_group_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
303
303
|
"""
|
|
304
304
|
Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
|
|
305
305
|
"""
|
|
306
|
-
pod_info_on_mount: NotRequired[pulumi.Input[bool]]
|
|
306
|
+
pod_info_on_mount: NotRequired[pulumi.Input[_builtins.bool]]
|
|
307
307
|
"""
|
|
308
308
|
If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
|
|
309
309
|
defined by a CSIVolumeSource, otherwise "false"
|
|
310
310
|
|
|
311
311
|
"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.
|
|
312
312
|
"""
|
|
313
|
-
requires_republish: NotRequired[pulumi.Input[bool]]
|
|
313
|
+
requires_republish: NotRequired[pulumi.Input[_builtins.bool]]
|
|
314
314
|
"""
|
|
315
315
|
RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
316
316
|
|
|
@@ -318,7 +318,7 @@ if not MYPY:
|
|
|
318
318
|
|
|
319
319
|
This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
|
|
320
320
|
"""
|
|
321
|
-
storage_capacity: NotRequired[pulumi.Input[bool]]
|
|
321
|
+
storage_capacity: NotRequired[pulumi.Input[_builtins.bool]]
|
|
322
322
|
"""
|
|
323
323
|
If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
|
|
324
324
|
|
|
@@ -342,7 +342,7 @@ if not MYPY:
|
|
|
342
342
|
|
|
343
343
|
This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
|
|
344
344
|
"""
|
|
345
|
-
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
345
|
+
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
346
346
|
"""
|
|
347
347
|
VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
|
|
348
348
|
"""
|
|
@@ -352,27 +352,27 @@ elif False:
|
|
|
352
352
|
@pulumi.input_type
|
|
353
353
|
class CSIDriverSpecArgs:
|
|
354
354
|
def __init__(__self__, *,
|
|
355
|
-
attach_required: Optional[pulumi.Input[bool]] = None,
|
|
356
|
-
fs_group_policy: Optional[pulumi.Input[str]] = None,
|
|
357
|
-
pod_info_on_mount: Optional[pulumi.Input[bool]] = None,
|
|
358
|
-
requires_republish: Optional[pulumi.Input[bool]] = None,
|
|
359
|
-
storage_capacity: Optional[pulumi.Input[bool]] = None,
|
|
355
|
+
attach_required: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
356
|
+
fs_group_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
357
|
+
pod_info_on_mount: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
358
|
+
requires_republish: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
359
|
+
storage_capacity: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
360
360
|
token_requests: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestArgs']]]] = None,
|
|
361
|
-
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
361
|
+
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
362
362
|
"""
|
|
363
363
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
364
|
-
: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.
|
|
365
|
-
:param pulumi.Input[str] fs_group_policy: Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
|
|
366
|
-
:param pulumi.Input[bool] pod_info_on_mount: If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
|
|
364
|
+
: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.
|
|
365
|
+
:param pulumi.Input[_builtins.str] fs_group_policy: Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
|
|
366
|
+
:param pulumi.Input[_builtins.bool] pod_info_on_mount: If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
|
|
367
367
|
defined by a CSIVolumeSource, otherwise "false"
|
|
368
368
|
|
|
369
369
|
"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.
|
|
370
|
-
: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.
|
|
370
|
+
: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.
|
|
371
371
|
|
|
372
372
|
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.
|
|
373
373
|
|
|
374
374
|
This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
|
|
375
|
-
:param pulumi.Input[bool] storage_capacity: If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
|
|
375
|
+
:param pulumi.Input[_builtins.bool] storage_capacity: If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
|
|
376
376
|
|
|
377
377
|
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.
|
|
378
378
|
|
|
@@ -390,7 +390,7 @@ class CSIDriverSpecArgs:
|
|
|
390
390
|
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.
|
|
391
391
|
|
|
392
392
|
This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
|
|
393
|
-
: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. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
|
|
393
|
+
: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. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
|
|
394
394
|
"""
|
|
395
395
|
if attach_required is not None:
|
|
396
396
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
@@ -407,33 +407,33 @@ class CSIDriverSpecArgs:
|
|
|
407
407
|
if volume_lifecycle_modes is not None:
|
|
408
408
|
pulumi.set(__self__, "volume_lifecycle_modes", volume_lifecycle_modes)
|
|
409
409
|
|
|
410
|
-
@property
|
|
410
|
+
@_builtins.property
|
|
411
411
|
@pulumi.getter(name="attachRequired")
|
|
412
|
-
def attach_required(self) -> Optional[pulumi.Input[bool]]:
|
|
412
|
+
def attach_required(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
413
413
|
"""
|
|
414
414
|
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.
|
|
415
415
|
"""
|
|
416
416
|
return pulumi.get(self, "attach_required")
|
|
417
417
|
|
|
418
418
|
@attach_required.setter
|
|
419
|
-
def attach_required(self, value: Optional[pulumi.Input[bool]]):
|
|
419
|
+
def attach_required(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
420
420
|
pulumi.set(self, "attach_required", value)
|
|
421
421
|
|
|
422
|
-
@property
|
|
422
|
+
@_builtins.property
|
|
423
423
|
@pulumi.getter(name="fsGroupPolicy")
|
|
424
|
-
def fs_group_policy(self) -> Optional[pulumi.Input[str]]:
|
|
424
|
+
def fs_group_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
425
425
|
"""
|
|
426
426
|
Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
|
|
427
427
|
"""
|
|
428
428
|
return pulumi.get(self, "fs_group_policy")
|
|
429
429
|
|
|
430
430
|
@fs_group_policy.setter
|
|
431
|
-
def fs_group_policy(self, value: Optional[pulumi.Input[str]]):
|
|
431
|
+
def fs_group_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
432
432
|
pulumi.set(self, "fs_group_policy", value)
|
|
433
433
|
|
|
434
|
-
@property
|
|
434
|
+
@_builtins.property
|
|
435
435
|
@pulumi.getter(name="podInfoOnMount")
|
|
436
|
-
def pod_info_on_mount(self) -> Optional[pulumi.Input[bool]]:
|
|
436
|
+
def pod_info_on_mount(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
437
437
|
"""
|
|
438
438
|
If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
|
|
439
439
|
defined by a CSIVolumeSource, otherwise "false"
|
|
@@ -443,12 +443,12 @@ class CSIDriverSpecArgs:
|
|
|
443
443
|
return pulumi.get(self, "pod_info_on_mount")
|
|
444
444
|
|
|
445
445
|
@pod_info_on_mount.setter
|
|
446
|
-
def pod_info_on_mount(self, value: Optional[pulumi.Input[bool]]):
|
|
446
|
+
def pod_info_on_mount(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
447
447
|
pulumi.set(self, "pod_info_on_mount", value)
|
|
448
448
|
|
|
449
|
-
@property
|
|
449
|
+
@_builtins.property
|
|
450
450
|
@pulumi.getter(name="requiresRepublish")
|
|
451
|
-
def requires_republish(self) -> Optional[pulumi.Input[bool]]:
|
|
451
|
+
def requires_republish(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
452
452
|
"""
|
|
453
453
|
RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
454
454
|
|
|
@@ -459,12 +459,12 @@ class CSIDriverSpecArgs:
|
|
|
459
459
|
return pulumi.get(self, "requires_republish")
|
|
460
460
|
|
|
461
461
|
@requires_republish.setter
|
|
462
|
-
def requires_republish(self, value: Optional[pulumi.Input[bool]]):
|
|
462
|
+
def requires_republish(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
463
463
|
pulumi.set(self, "requires_republish", value)
|
|
464
464
|
|
|
465
|
-
@property
|
|
465
|
+
@_builtins.property
|
|
466
466
|
@pulumi.getter(name="storageCapacity")
|
|
467
|
-
def storage_capacity(self) -> Optional[pulumi.Input[bool]]:
|
|
467
|
+
def storage_capacity(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
468
468
|
"""
|
|
469
469
|
If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
|
|
470
470
|
|
|
@@ -477,10 +477,10 @@ class CSIDriverSpecArgs:
|
|
|
477
477
|
return pulumi.get(self, "storage_capacity")
|
|
478
478
|
|
|
479
479
|
@storage_capacity.setter
|
|
480
|
-
def storage_capacity(self, value: Optional[pulumi.Input[bool]]):
|
|
480
|
+
def storage_capacity(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
481
481
|
pulumi.set(self, "storage_capacity", value)
|
|
482
482
|
|
|
483
|
-
@property
|
|
483
|
+
@_builtins.property
|
|
484
484
|
@pulumi.getter(name="tokenRequests")
|
|
485
485
|
def token_requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestArgs']]]]:
|
|
486
486
|
"""
|
|
@@ -502,16 +502,16 @@ class CSIDriverSpecArgs:
|
|
|
502
502
|
def token_requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestArgs']]]]):
|
|
503
503
|
pulumi.set(self, "token_requests", value)
|
|
504
504
|
|
|
505
|
-
@property
|
|
505
|
+
@_builtins.property
|
|
506
506
|
@pulumi.getter(name="volumeLifecycleModes")
|
|
507
|
-
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
507
|
+
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
508
508
|
"""
|
|
509
509
|
VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
|
|
510
510
|
"""
|
|
511
511
|
return pulumi.get(self, "volume_lifecycle_modes")
|
|
512
512
|
|
|
513
513
|
@volume_lifecycle_modes.setter
|
|
514
|
-
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
514
|
+
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
515
515
|
pulumi.set(self, "volume_lifecycle_modes", value)
|
|
516
516
|
|
|
517
517
|
|
|
@@ -524,11 +524,11 @@ if not MYPY:
|
|
|
524
524
|
"""
|
|
525
525
|
Specification of the CSI Driver.
|
|
526
526
|
"""
|
|
527
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
527
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
528
528
|
"""
|
|
529
529
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
530
530
|
"""
|
|
531
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
531
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
532
532
|
"""
|
|
533
533
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
534
534
|
"""
|
|
@@ -543,14 +543,14 @@ elif False:
|
|
|
543
543
|
class CSIDriverArgs:
|
|
544
544
|
def __init__(__self__, *,
|
|
545
545
|
spec: pulumi.Input['CSIDriverSpecArgs'],
|
|
546
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
547
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
546
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
547
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
548
548
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
549
549
|
"""
|
|
550
550
|
CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.
|
|
551
551
|
:param pulumi.Input['CSIDriverSpecArgs'] spec: Specification of the CSI Driver.
|
|
552
|
-
: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
|
|
553
|
-
: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
|
|
552
|
+
: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
|
|
553
|
+
: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
|
|
554
554
|
: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
|
|
555
555
|
"""
|
|
556
556
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -561,7 +561,7 @@ class CSIDriverArgs:
|
|
|
561
561
|
if metadata is not None:
|
|
562
562
|
pulumi.set(__self__, "metadata", metadata)
|
|
563
563
|
|
|
564
|
-
@property
|
|
564
|
+
@_builtins.property
|
|
565
565
|
@pulumi.getter
|
|
566
566
|
def spec(self) -> pulumi.Input['CSIDriverSpecArgs']:
|
|
567
567
|
"""
|
|
@@ -573,31 +573,31 @@ class CSIDriverArgs:
|
|
|
573
573
|
def spec(self, value: pulumi.Input['CSIDriverSpecArgs']):
|
|
574
574
|
pulumi.set(self, "spec", value)
|
|
575
575
|
|
|
576
|
-
@property
|
|
576
|
+
@_builtins.property
|
|
577
577
|
@pulumi.getter(name="apiVersion")
|
|
578
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
578
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
579
579
|
"""
|
|
580
580
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
581
581
|
"""
|
|
582
582
|
return pulumi.get(self, "api_version")
|
|
583
583
|
|
|
584
584
|
@api_version.setter
|
|
585
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
585
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
586
586
|
pulumi.set(self, "api_version", value)
|
|
587
587
|
|
|
588
|
-
@property
|
|
588
|
+
@_builtins.property
|
|
589
589
|
@pulumi.getter
|
|
590
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
590
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
591
591
|
"""
|
|
592
592
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
593
593
|
"""
|
|
594
594
|
return pulumi.get(self, "kind")
|
|
595
595
|
|
|
596
596
|
@kind.setter
|
|
597
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
597
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
598
598
|
pulumi.set(self, "kind", value)
|
|
599
599
|
|
|
600
|
-
@property
|
|
600
|
+
@_builtins.property
|
|
601
601
|
@pulumi.getter
|
|
602
602
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
603
603
|
"""
|
|
@@ -619,15 +619,15 @@ if not MYPY:
|
|
|
619
619
|
"""
|
|
620
620
|
allocatable represents the volume resources of a node that are available for scheduling.
|
|
621
621
|
"""
|
|
622
|
-
name: NotRequired[pulumi.Input[str]]
|
|
622
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
623
623
|
"""
|
|
624
624
|
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
625
625
|
"""
|
|
626
|
-
node_id: NotRequired[pulumi.Input[str]]
|
|
626
|
+
node_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
627
627
|
"""
|
|
628
628
|
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.
|
|
629
629
|
"""
|
|
630
|
-
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
630
|
+
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
631
631
|
"""
|
|
632
632
|
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.
|
|
633
633
|
"""
|
|
@@ -638,15 +638,15 @@ elif False:
|
|
|
638
638
|
class CSINodeDriverPatchArgs:
|
|
639
639
|
def __init__(__self__, *,
|
|
640
640
|
allocatable: Optional[pulumi.Input['VolumeNodeResourcesPatchArgs']] = None,
|
|
641
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
642
|
-
node_id: Optional[pulumi.Input[str]] = None,
|
|
643
|
-
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
641
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
642
|
+
node_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
643
|
+
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
644
644
|
"""
|
|
645
645
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
646
646
|
:param pulumi.Input['VolumeNodeResourcesPatchArgs'] allocatable: allocatable represents the volume resources of a node that are available for scheduling.
|
|
647
|
-
:param pulumi.Input[str] name: This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
648
|
-
: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.
|
|
649
|
-
: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.
|
|
647
|
+
:param pulumi.Input[_builtins.str] name: This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
648
|
+
: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.
|
|
649
|
+
: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.
|
|
650
650
|
"""
|
|
651
651
|
if allocatable is not None:
|
|
652
652
|
pulumi.set(__self__, "allocatable", allocatable)
|
|
@@ -657,7 +657,7 @@ class CSINodeDriverPatchArgs:
|
|
|
657
657
|
if topology_keys is not None:
|
|
658
658
|
pulumi.set(__self__, "topology_keys", topology_keys)
|
|
659
659
|
|
|
660
|
-
@property
|
|
660
|
+
@_builtins.property
|
|
661
661
|
@pulumi.getter
|
|
662
662
|
def allocatable(self) -> Optional[pulumi.Input['VolumeNodeResourcesPatchArgs']]:
|
|
663
663
|
"""
|
|
@@ -669,40 +669,40 @@ class CSINodeDriverPatchArgs:
|
|
|
669
669
|
def allocatable(self, value: Optional[pulumi.Input['VolumeNodeResourcesPatchArgs']]):
|
|
670
670
|
pulumi.set(self, "allocatable", value)
|
|
671
671
|
|
|
672
|
-
@property
|
|
672
|
+
@_builtins.property
|
|
673
673
|
@pulumi.getter
|
|
674
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
674
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
675
675
|
"""
|
|
676
676
|
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
677
677
|
"""
|
|
678
678
|
return pulumi.get(self, "name")
|
|
679
679
|
|
|
680
680
|
@name.setter
|
|
681
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
681
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
682
682
|
pulumi.set(self, "name", value)
|
|
683
683
|
|
|
684
|
-
@property
|
|
684
|
+
@_builtins.property
|
|
685
685
|
@pulumi.getter(name="nodeID")
|
|
686
|
-
def node_id(self) -> Optional[pulumi.Input[str]]:
|
|
686
|
+
def node_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
687
687
|
"""
|
|
688
688
|
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.
|
|
689
689
|
"""
|
|
690
690
|
return pulumi.get(self, "node_id")
|
|
691
691
|
|
|
692
692
|
@node_id.setter
|
|
693
|
-
def node_id(self, value: Optional[pulumi.Input[str]]):
|
|
693
|
+
def node_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
694
694
|
pulumi.set(self, "node_id", value)
|
|
695
695
|
|
|
696
|
-
@property
|
|
696
|
+
@_builtins.property
|
|
697
697
|
@pulumi.getter(name="topologyKeys")
|
|
698
|
-
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
698
|
+
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
699
699
|
"""
|
|
700
700
|
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.
|
|
701
701
|
"""
|
|
702
702
|
return pulumi.get(self, "topology_keys")
|
|
703
703
|
|
|
704
704
|
@topology_keys.setter
|
|
705
|
-
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
705
|
+
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
706
706
|
pulumi.set(self, "topology_keys", value)
|
|
707
707
|
|
|
708
708
|
|
|
@@ -711,11 +711,11 @@ if not MYPY:
|
|
|
711
711
|
"""
|
|
712
712
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
713
713
|
"""
|
|
714
|
-
name: pulumi.Input[str]
|
|
714
|
+
name: pulumi.Input[_builtins.str]
|
|
715
715
|
"""
|
|
716
716
|
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
717
717
|
"""
|
|
718
|
-
node_id: pulumi.Input[str]
|
|
718
|
+
node_id: pulumi.Input[_builtins.str]
|
|
719
719
|
"""
|
|
720
720
|
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.
|
|
721
721
|
"""
|
|
@@ -723,7 +723,7 @@ if not MYPY:
|
|
|
723
723
|
"""
|
|
724
724
|
allocatable represents the volume resources of a node that are available for scheduling.
|
|
725
725
|
"""
|
|
726
|
-
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
726
|
+
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
727
727
|
"""
|
|
728
728
|
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.
|
|
729
729
|
"""
|
|
@@ -733,16 +733,16 @@ elif False:
|
|
|
733
733
|
@pulumi.input_type
|
|
734
734
|
class CSINodeDriverArgs:
|
|
735
735
|
def __init__(__self__, *,
|
|
736
|
-
name: pulumi.Input[str],
|
|
737
|
-
node_id: pulumi.Input[str],
|
|
736
|
+
name: pulumi.Input[_builtins.str],
|
|
737
|
+
node_id: pulumi.Input[_builtins.str],
|
|
738
738
|
allocatable: Optional[pulumi.Input['VolumeNodeResourcesArgs']] = None,
|
|
739
|
-
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
739
|
+
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
740
740
|
"""
|
|
741
741
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
742
|
-
:param pulumi.Input[str] name: This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
743
|
-
: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.
|
|
742
|
+
:param pulumi.Input[_builtins.str] name: This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
743
|
+
: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.
|
|
744
744
|
:param pulumi.Input['VolumeNodeResourcesArgs'] allocatable: allocatable represents the volume resources of a node that are available for scheduling.
|
|
745
|
-
: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.
|
|
745
|
+
: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.
|
|
746
746
|
"""
|
|
747
747
|
pulumi.set(__self__, "name", name)
|
|
748
748
|
pulumi.set(__self__, "node_id", node_id)
|
|
@@ -751,31 +751,31 @@ class CSINodeDriverArgs:
|
|
|
751
751
|
if topology_keys is not None:
|
|
752
752
|
pulumi.set(__self__, "topology_keys", topology_keys)
|
|
753
753
|
|
|
754
|
-
@property
|
|
754
|
+
@_builtins.property
|
|
755
755
|
@pulumi.getter
|
|
756
|
-
def name(self) -> pulumi.Input[str]:
|
|
756
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
757
757
|
"""
|
|
758
758
|
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
759
759
|
"""
|
|
760
760
|
return pulumi.get(self, "name")
|
|
761
761
|
|
|
762
762
|
@name.setter
|
|
763
|
-
def name(self, value: pulumi.Input[str]):
|
|
763
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
764
764
|
pulumi.set(self, "name", value)
|
|
765
765
|
|
|
766
|
-
@property
|
|
766
|
+
@_builtins.property
|
|
767
767
|
@pulumi.getter(name="nodeID")
|
|
768
|
-
def node_id(self) -> pulumi.Input[str]:
|
|
768
|
+
def node_id(self) -> pulumi.Input[_builtins.str]:
|
|
769
769
|
"""
|
|
770
770
|
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.
|
|
771
771
|
"""
|
|
772
772
|
return pulumi.get(self, "node_id")
|
|
773
773
|
|
|
774
774
|
@node_id.setter
|
|
775
|
-
def node_id(self, value: pulumi.Input[str]):
|
|
775
|
+
def node_id(self, value: pulumi.Input[_builtins.str]):
|
|
776
776
|
pulumi.set(self, "node_id", value)
|
|
777
777
|
|
|
778
|
-
@property
|
|
778
|
+
@_builtins.property
|
|
779
779
|
@pulumi.getter
|
|
780
780
|
def allocatable(self) -> Optional[pulumi.Input['VolumeNodeResourcesArgs']]:
|
|
781
781
|
"""
|
|
@@ -787,16 +787,16 @@ class CSINodeDriverArgs:
|
|
|
787
787
|
def allocatable(self, value: Optional[pulumi.Input['VolumeNodeResourcesArgs']]):
|
|
788
788
|
pulumi.set(self, "allocatable", value)
|
|
789
789
|
|
|
790
|
-
@property
|
|
790
|
+
@_builtins.property
|
|
791
791
|
@pulumi.getter(name="topologyKeys")
|
|
792
|
-
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
792
|
+
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
793
793
|
"""
|
|
794
794
|
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.
|
|
795
795
|
"""
|
|
796
796
|
return pulumi.get(self, "topology_keys")
|
|
797
797
|
|
|
798
798
|
@topology_keys.setter
|
|
799
|
-
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
799
|
+
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
800
800
|
pulumi.set(self, "topology_keys", value)
|
|
801
801
|
|
|
802
802
|
|
|
@@ -823,7 +823,7 @@ class CSINodeSpecPatchArgs:
|
|
|
823
823
|
if drivers is not None:
|
|
824
824
|
pulumi.set(__self__, "drivers", drivers)
|
|
825
825
|
|
|
826
|
-
@property
|
|
826
|
+
@_builtins.property
|
|
827
827
|
@pulumi.getter
|
|
828
828
|
def drivers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CSINodeDriverPatchArgs']]]]:
|
|
829
829
|
"""
|
|
@@ -858,7 +858,7 @@ class CSINodeSpecArgs:
|
|
|
858
858
|
"""
|
|
859
859
|
pulumi.set(__self__, "drivers", drivers)
|
|
860
860
|
|
|
861
|
-
@property
|
|
861
|
+
@_builtins.property
|
|
862
862
|
@pulumi.getter
|
|
863
863
|
def drivers(self) -> pulumi.Input[Sequence[pulumi.Input['CSINodeDriverArgs']]]:
|
|
864
864
|
"""
|
|
@@ -880,11 +880,11 @@ if not MYPY:
|
|
|
880
880
|
"""
|
|
881
881
|
spec is the specification of CSINode
|
|
882
882
|
"""
|
|
883
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
883
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
884
884
|
"""
|
|
885
885
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
886
886
|
"""
|
|
887
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
887
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
888
888
|
"""
|
|
889
889
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
890
890
|
"""
|
|
@@ -899,14 +899,14 @@ elif False:
|
|
|
899
899
|
class CSINodeArgs:
|
|
900
900
|
def __init__(__self__, *,
|
|
901
901
|
spec: pulumi.Input['CSINodeSpecArgs'],
|
|
902
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
903
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
902
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
903
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
904
904
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
905
905
|
"""
|
|
906
906
|
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.
|
|
907
907
|
:param pulumi.Input['CSINodeSpecArgs'] spec: spec is the specification of CSINode
|
|
908
|
-
: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
|
|
909
|
-
: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
|
|
908
|
+
: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
|
|
909
|
+
: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
|
|
910
910
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: metadata.name must be the Kubernetes node name.
|
|
911
911
|
"""
|
|
912
912
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -917,7 +917,7 @@ class CSINodeArgs:
|
|
|
917
917
|
if metadata is not None:
|
|
918
918
|
pulumi.set(__self__, "metadata", metadata)
|
|
919
919
|
|
|
920
|
-
@property
|
|
920
|
+
@_builtins.property
|
|
921
921
|
@pulumi.getter
|
|
922
922
|
def spec(self) -> pulumi.Input['CSINodeSpecArgs']:
|
|
923
923
|
"""
|
|
@@ -929,31 +929,31 @@ class CSINodeArgs:
|
|
|
929
929
|
def spec(self, value: pulumi.Input['CSINodeSpecArgs']):
|
|
930
930
|
pulumi.set(self, "spec", value)
|
|
931
931
|
|
|
932
|
-
@property
|
|
932
|
+
@_builtins.property
|
|
933
933
|
@pulumi.getter(name="apiVersion")
|
|
934
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
934
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
935
935
|
"""
|
|
936
936
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
937
937
|
"""
|
|
938
938
|
return pulumi.get(self, "api_version")
|
|
939
939
|
|
|
940
940
|
@api_version.setter
|
|
941
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
941
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
942
942
|
pulumi.set(self, "api_version", value)
|
|
943
943
|
|
|
944
|
-
@property
|
|
944
|
+
@_builtins.property
|
|
945
945
|
@pulumi.getter
|
|
946
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
946
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
947
947
|
"""
|
|
948
948
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
949
949
|
"""
|
|
950
950
|
return pulumi.get(self, "kind")
|
|
951
951
|
|
|
952
952
|
@kind.setter
|
|
953
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
953
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
954
954
|
pulumi.set(self, "kind", value)
|
|
955
955
|
|
|
956
|
-
@property
|
|
956
|
+
@_builtins.property
|
|
957
957
|
@pulumi.getter
|
|
958
958
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
959
959
|
"""
|
|
@@ -979,25 +979,25 @@ if not MYPY:
|
|
|
979
979
|
|
|
980
980
|
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.
|
|
981
981
|
"""
|
|
982
|
-
storage_class_name: pulumi.Input[str]
|
|
982
|
+
storage_class_name: pulumi.Input[_builtins.str]
|
|
983
983
|
"""
|
|
984
984
|
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.
|
|
985
985
|
"""
|
|
986
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
986
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
987
987
|
"""
|
|
988
988
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
989
989
|
"""
|
|
990
|
-
capacity: NotRequired[pulumi.Input[str]]
|
|
990
|
+
capacity: NotRequired[pulumi.Input[_builtins.str]]
|
|
991
991
|
"""
|
|
992
992
|
Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
993
993
|
|
|
994
994
|
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.
|
|
995
995
|
"""
|
|
996
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
996
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
997
997
|
"""
|
|
998
998
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
999
999
|
"""
|
|
1000
|
-
maximum_volume_size: NotRequired[pulumi.Input[str]]
|
|
1000
|
+
maximum_volume_size: NotRequired[pulumi.Input[_builtins.str]]
|
|
1001
1001
|
"""
|
|
1002
1002
|
MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1003
1003
|
|
|
@@ -1021,11 +1021,11 @@ elif False:
|
|
|
1021
1021
|
@pulumi.input_type
|
|
1022
1022
|
class CSIStorageCapacityArgs:
|
|
1023
1023
|
def __init__(__self__, *,
|
|
1024
|
-
storage_class_name: pulumi.Input[str],
|
|
1025
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1026
|
-
capacity: Optional[pulumi.Input[str]] = None,
|
|
1027
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1028
|
-
maximum_volume_size: Optional[pulumi.Input[str]] = None,
|
|
1024
|
+
storage_class_name: pulumi.Input[_builtins.str],
|
|
1025
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1026
|
+
capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1027
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1028
|
+
maximum_volume_size: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1029
1029
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1030
1030
|
node_topology: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
1031
1031
|
"""
|
|
@@ -1038,13 +1038,13 @@ class CSIStorageCapacityArgs:
|
|
|
1038
1038
|
The producer of these objects can decide which approach is more suitable.
|
|
1039
1039
|
|
|
1040
1040
|
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.
|
|
1041
|
-
:param pulumi.Input[str] storage_class_name: 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.
|
|
1042
|
-
: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
|
|
1043
|
-
: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.
|
|
1041
|
+
:param pulumi.Input[_builtins.str] storage_class_name: 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.
|
|
1042
|
+
: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
|
|
1043
|
+
: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.
|
|
1044
1044
|
|
|
1045
1045
|
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.
|
|
1046
|
-
: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
|
|
1047
|
-
: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.
|
|
1046
|
+
: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
|
|
1047
|
+
: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.
|
|
1048
1048
|
|
|
1049
1049
|
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.
|
|
1050
1050
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.
|
|
@@ -1068,33 +1068,33 @@ class CSIStorageCapacityArgs:
|
|
|
1068
1068
|
if node_topology is not None:
|
|
1069
1069
|
pulumi.set(__self__, "node_topology", node_topology)
|
|
1070
1070
|
|
|
1071
|
-
@property
|
|
1071
|
+
@_builtins.property
|
|
1072
1072
|
@pulumi.getter(name="storageClassName")
|
|
1073
|
-
def storage_class_name(self) -> pulumi.Input[str]:
|
|
1073
|
+
def storage_class_name(self) -> pulumi.Input[_builtins.str]:
|
|
1074
1074
|
"""
|
|
1075
1075
|
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.
|
|
1076
1076
|
"""
|
|
1077
1077
|
return pulumi.get(self, "storage_class_name")
|
|
1078
1078
|
|
|
1079
1079
|
@storage_class_name.setter
|
|
1080
|
-
def storage_class_name(self, value: pulumi.Input[str]):
|
|
1080
|
+
def storage_class_name(self, value: pulumi.Input[_builtins.str]):
|
|
1081
1081
|
pulumi.set(self, "storage_class_name", value)
|
|
1082
1082
|
|
|
1083
|
-
@property
|
|
1083
|
+
@_builtins.property
|
|
1084
1084
|
@pulumi.getter(name="apiVersion")
|
|
1085
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1085
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1086
1086
|
"""
|
|
1087
1087
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1088
1088
|
"""
|
|
1089
1089
|
return pulumi.get(self, "api_version")
|
|
1090
1090
|
|
|
1091
1091
|
@api_version.setter
|
|
1092
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1092
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1093
1093
|
pulumi.set(self, "api_version", value)
|
|
1094
1094
|
|
|
1095
|
-
@property
|
|
1095
|
+
@_builtins.property
|
|
1096
1096
|
@pulumi.getter
|
|
1097
|
-
def capacity(self) -> Optional[pulumi.Input[str]]:
|
|
1097
|
+
def capacity(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1098
1098
|
"""
|
|
1099
1099
|
Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1100
1100
|
|
|
@@ -1103,24 +1103,24 @@ class CSIStorageCapacityArgs:
|
|
|
1103
1103
|
return pulumi.get(self, "capacity")
|
|
1104
1104
|
|
|
1105
1105
|
@capacity.setter
|
|
1106
|
-
def capacity(self, value: Optional[pulumi.Input[str]]):
|
|
1106
|
+
def capacity(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1107
1107
|
pulumi.set(self, "capacity", value)
|
|
1108
1108
|
|
|
1109
|
-
@property
|
|
1109
|
+
@_builtins.property
|
|
1110
1110
|
@pulumi.getter
|
|
1111
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1111
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1112
1112
|
"""
|
|
1113
1113
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1114
1114
|
"""
|
|
1115
1115
|
return pulumi.get(self, "kind")
|
|
1116
1116
|
|
|
1117
1117
|
@kind.setter
|
|
1118
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1118
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1119
1119
|
pulumi.set(self, "kind", value)
|
|
1120
1120
|
|
|
1121
|
-
@property
|
|
1121
|
+
@_builtins.property
|
|
1122
1122
|
@pulumi.getter(name="maximumVolumeSize")
|
|
1123
|
-
def maximum_volume_size(self) -> Optional[pulumi.Input[str]]:
|
|
1123
|
+
def maximum_volume_size(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1124
1124
|
"""
|
|
1125
1125
|
MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1126
1126
|
|
|
@@ -1129,10 +1129,10 @@ class CSIStorageCapacityArgs:
|
|
|
1129
1129
|
return pulumi.get(self, "maximum_volume_size")
|
|
1130
1130
|
|
|
1131
1131
|
@maximum_volume_size.setter
|
|
1132
|
-
def maximum_volume_size(self, value: Optional[pulumi.Input[str]]):
|
|
1132
|
+
def maximum_volume_size(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1133
1133
|
pulumi.set(self, "maximum_volume_size", value)
|
|
1134
1134
|
|
|
1135
|
-
@property
|
|
1135
|
+
@_builtins.property
|
|
1136
1136
|
@pulumi.getter
|
|
1137
1137
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1138
1138
|
"""
|
|
@@ -1148,7 +1148,7 @@ class CSIStorageCapacityArgs:
|
|
|
1148
1148
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1149
1149
|
pulumi.set(self, "metadata", value)
|
|
1150
1150
|
|
|
1151
|
-
@property
|
|
1151
|
+
@_builtins.property
|
|
1152
1152
|
@pulumi.getter(name="nodeTopology")
|
|
1153
1153
|
def node_topology(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1154
1154
|
"""
|
|
@@ -1168,11 +1168,11 @@ if not MYPY:
|
|
|
1168
1168
|
|
|
1169
1169
|
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
|
|
1170
1170
|
"""
|
|
1171
|
-
provisioner: pulumi.Input[str]
|
|
1171
|
+
provisioner: pulumi.Input[_builtins.str]
|
|
1172
1172
|
"""
|
|
1173
1173
|
Provisioner indicates the type of the provisioner.
|
|
1174
1174
|
"""
|
|
1175
|
-
allow_volume_expansion: NotRequired[pulumi.Input[bool]]
|
|
1175
|
+
allow_volume_expansion: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1176
1176
|
"""
|
|
1177
1177
|
AllowVolumeExpansion shows whether the storage class allow volume expand
|
|
1178
1178
|
"""
|
|
@@ -1180,11 +1180,11 @@ if not MYPY:
|
|
|
1180
1180
|
"""
|
|
1181
1181
|
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.
|
|
1182
1182
|
"""
|
|
1183
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1183
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1184
1184
|
"""
|
|
1185
1185
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1186
1186
|
"""
|
|
1187
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1187
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1188
1188
|
"""
|
|
1189
1189
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1190
1190
|
"""
|
|
@@ -1192,19 +1192,19 @@ if not MYPY:
|
|
|
1192
1192
|
"""
|
|
1193
1193
|
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1194
1194
|
"""
|
|
1195
|
-
mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1195
|
+
mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1196
1196
|
"""
|
|
1197
1197
|
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
1198
1198
|
"""
|
|
1199
|
-
parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
1199
|
+
parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
1200
1200
|
"""
|
|
1201
1201
|
Parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1202
1202
|
"""
|
|
1203
|
-
reclaim_policy: NotRequired[pulumi.Input[str]]
|
|
1203
|
+
reclaim_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1204
1204
|
"""
|
|
1205
1205
|
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
|
|
1206
1206
|
"""
|
|
1207
|
-
volume_binding_mode: NotRequired[pulumi.Input[str]]
|
|
1207
|
+
volume_binding_mode: NotRequired[pulumi.Input[_builtins.str]]
|
|
1208
1208
|
"""
|
|
1209
1209
|
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.
|
|
1210
1210
|
"""
|
|
@@ -1214,30 +1214,30 @@ elif False:
|
|
|
1214
1214
|
@pulumi.input_type
|
|
1215
1215
|
class StorageClassArgs:
|
|
1216
1216
|
def __init__(__self__, *,
|
|
1217
|
-
provisioner: pulumi.Input[str],
|
|
1218
|
-
allow_volume_expansion: Optional[pulumi.Input[bool]] = None,
|
|
1217
|
+
provisioner: pulumi.Input[_builtins.str],
|
|
1218
|
+
allow_volume_expansion: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1219
1219
|
allowed_topologies: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]]] = None,
|
|
1220
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1221
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1220
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1221
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1222
1222
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1223
|
-
mount_options: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1224
|
-
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1225
|
-
reclaim_policy: Optional[pulumi.Input[str]] = None,
|
|
1226
|
-
volume_binding_mode: Optional[pulumi.Input[str]] = None):
|
|
1223
|
+
mount_options: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1224
|
+
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
1225
|
+
reclaim_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1226
|
+
volume_binding_mode: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1227
1227
|
"""
|
|
1228
1228
|
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
|
|
1229
1229
|
|
|
1230
1230
|
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
|
|
1231
|
-
:param pulumi.Input[str] provisioner: Provisioner indicates the type of the provisioner.
|
|
1232
|
-
:param pulumi.Input[bool] allow_volume_expansion: AllowVolumeExpansion shows whether the storage class allow volume expand
|
|
1231
|
+
:param pulumi.Input[_builtins.str] provisioner: Provisioner indicates the type of the provisioner.
|
|
1232
|
+
:param pulumi.Input[_builtins.bool] allow_volume_expansion: AllowVolumeExpansion shows whether the storage class allow volume expand
|
|
1233
1233
|
:param pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]] allowed_topologies: 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.
|
|
1234
|
-
: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
|
|
1235
|
-
: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
|
|
1234
|
+
: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
|
|
1235
|
+
: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
|
|
1236
1236
|
: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
|
|
1237
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] mount_options: Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
1238
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: Parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1239
|
-
:param pulumi.Input[str] reclaim_policy: Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
|
|
1240
|
-
: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.
|
|
1237
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] mount_options: Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
1238
|
+
: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.
|
|
1239
|
+
:param pulumi.Input[_builtins.str] reclaim_policy: Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
|
|
1240
|
+
: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.
|
|
1241
1241
|
"""
|
|
1242
1242
|
pulumi.set(__self__, "provisioner", provisioner)
|
|
1243
1243
|
if allow_volume_expansion is not None:
|
|
@@ -1259,31 +1259,31 @@ class StorageClassArgs:
|
|
|
1259
1259
|
if volume_binding_mode is not None:
|
|
1260
1260
|
pulumi.set(__self__, "volume_binding_mode", volume_binding_mode)
|
|
1261
1261
|
|
|
1262
|
-
@property
|
|
1262
|
+
@_builtins.property
|
|
1263
1263
|
@pulumi.getter
|
|
1264
|
-
def provisioner(self) -> pulumi.Input[str]:
|
|
1264
|
+
def provisioner(self) -> pulumi.Input[_builtins.str]:
|
|
1265
1265
|
"""
|
|
1266
1266
|
Provisioner indicates the type of the provisioner.
|
|
1267
1267
|
"""
|
|
1268
1268
|
return pulumi.get(self, "provisioner")
|
|
1269
1269
|
|
|
1270
1270
|
@provisioner.setter
|
|
1271
|
-
def provisioner(self, value: pulumi.Input[str]):
|
|
1271
|
+
def provisioner(self, value: pulumi.Input[_builtins.str]):
|
|
1272
1272
|
pulumi.set(self, "provisioner", value)
|
|
1273
1273
|
|
|
1274
|
-
@property
|
|
1274
|
+
@_builtins.property
|
|
1275
1275
|
@pulumi.getter(name="allowVolumeExpansion")
|
|
1276
|
-
def allow_volume_expansion(self) -> Optional[pulumi.Input[bool]]:
|
|
1276
|
+
def allow_volume_expansion(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1277
1277
|
"""
|
|
1278
1278
|
AllowVolumeExpansion shows whether the storage class allow volume expand
|
|
1279
1279
|
"""
|
|
1280
1280
|
return pulumi.get(self, "allow_volume_expansion")
|
|
1281
1281
|
|
|
1282
1282
|
@allow_volume_expansion.setter
|
|
1283
|
-
def allow_volume_expansion(self, value: Optional[pulumi.Input[bool]]):
|
|
1283
|
+
def allow_volume_expansion(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1284
1284
|
pulumi.set(self, "allow_volume_expansion", value)
|
|
1285
1285
|
|
|
1286
|
-
@property
|
|
1286
|
+
@_builtins.property
|
|
1287
1287
|
@pulumi.getter(name="allowedTopologies")
|
|
1288
1288
|
def allowed_topologies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]]]:
|
|
1289
1289
|
"""
|
|
@@ -1295,31 +1295,31 @@ class StorageClassArgs:
|
|
|
1295
1295
|
def allowed_topologies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]]]):
|
|
1296
1296
|
pulumi.set(self, "allowed_topologies", value)
|
|
1297
1297
|
|
|
1298
|
-
@property
|
|
1298
|
+
@_builtins.property
|
|
1299
1299
|
@pulumi.getter(name="apiVersion")
|
|
1300
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1300
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1301
1301
|
"""
|
|
1302
1302
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1303
1303
|
"""
|
|
1304
1304
|
return pulumi.get(self, "api_version")
|
|
1305
1305
|
|
|
1306
1306
|
@api_version.setter
|
|
1307
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1307
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1308
1308
|
pulumi.set(self, "api_version", value)
|
|
1309
1309
|
|
|
1310
|
-
@property
|
|
1310
|
+
@_builtins.property
|
|
1311
1311
|
@pulumi.getter
|
|
1312
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1312
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1313
1313
|
"""
|
|
1314
1314
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1315
1315
|
"""
|
|
1316
1316
|
return pulumi.get(self, "kind")
|
|
1317
1317
|
|
|
1318
1318
|
@kind.setter
|
|
1319
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1319
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1320
1320
|
pulumi.set(self, "kind", value)
|
|
1321
1321
|
|
|
1322
|
-
@property
|
|
1322
|
+
@_builtins.property
|
|
1323
1323
|
@pulumi.getter
|
|
1324
1324
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1325
1325
|
"""
|
|
@@ -1331,52 +1331,52 @@ class StorageClassArgs:
|
|
|
1331
1331
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1332
1332
|
pulumi.set(self, "metadata", value)
|
|
1333
1333
|
|
|
1334
|
-
@property
|
|
1334
|
+
@_builtins.property
|
|
1335
1335
|
@pulumi.getter(name="mountOptions")
|
|
1336
|
-
def mount_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1336
|
+
def mount_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1337
1337
|
"""
|
|
1338
1338
|
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
1339
1339
|
"""
|
|
1340
1340
|
return pulumi.get(self, "mount_options")
|
|
1341
1341
|
|
|
1342
1342
|
@mount_options.setter
|
|
1343
|
-
def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1343
|
+
def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1344
1344
|
pulumi.set(self, "mount_options", value)
|
|
1345
1345
|
|
|
1346
|
-
@property
|
|
1346
|
+
@_builtins.property
|
|
1347
1347
|
@pulumi.getter
|
|
1348
|
-
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1348
|
+
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
1349
1349
|
"""
|
|
1350
1350
|
Parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1351
1351
|
"""
|
|
1352
1352
|
return pulumi.get(self, "parameters")
|
|
1353
1353
|
|
|
1354
1354
|
@parameters.setter
|
|
1355
|
-
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1355
|
+
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
1356
1356
|
pulumi.set(self, "parameters", value)
|
|
1357
1357
|
|
|
1358
|
-
@property
|
|
1358
|
+
@_builtins.property
|
|
1359
1359
|
@pulumi.getter(name="reclaimPolicy")
|
|
1360
|
-
def reclaim_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1360
|
+
def reclaim_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1361
1361
|
"""
|
|
1362
1362
|
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
|
|
1363
1363
|
"""
|
|
1364
1364
|
return pulumi.get(self, "reclaim_policy")
|
|
1365
1365
|
|
|
1366
1366
|
@reclaim_policy.setter
|
|
1367
|
-
def reclaim_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1367
|
+
def reclaim_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1368
1368
|
pulumi.set(self, "reclaim_policy", value)
|
|
1369
1369
|
|
|
1370
|
-
@property
|
|
1370
|
+
@_builtins.property
|
|
1371
1371
|
@pulumi.getter(name="volumeBindingMode")
|
|
1372
|
-
def volume_binding_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1372
|
+
def volume_binding_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1373
1373
|
"""
|
|
1374
1374
|
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.
|
|
1375
1375
|
"""
|
|
1376
1376
|
return pulumi.get(self, "volume_binding_mode")
|
|
1377
1377
|
|
|
1378
1378
|
@volume_binding_mode.setter
|
|
1379
|
-
def volume_binding_mode(self, value: Optional[pulumi.Input[str]]):
|
|
1379
|
+
def volume_binding_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1380
1380
|
pulumi.set(self, "volume_binding_mode", value)
|
|
1381
1381
|
|
|
1382
1382
|
|
|
@@ -1385,11 +1385,11 @@ if not MYPY:
|
|
|
1385
1385
|
"""
|
|
1386
1386
|
TokenRequest contains parameters of a service account token.
|
|
1387
1387
|
"""
|
|
1388
|
-
audience: NotRequired[pulumi.Input[str]]
|
|
1388
|
+
audience: NotRequired[pulumi.Input[_builtins.str]]
|
|
1389
1389
|
"""
|
|
1390
1390
|
Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1391
1391
|
"""
|
|
1392
|
-
expiration_seconds: NotRequired[pulumi.Input[int]]
|
|
1392
|
+
expiration_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1393
1393
|
"""
|
|
1394
1394
|
ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"
|
|
1395
1395
|
"""
|
|
@@ -1399,40 +1399,40 @@ elif False:
|
|
|
1399
1399
|
@pulumi.input_type
|
|
1400
1400
|
class TokenRequestPatchArgs:
|
|
1401
1401
|
def __init__(__self__, *,
|
|
1402
|
-
audience: Optional[pulumi.Input[str]] = None,
|
|
1403
|
-
expiration_seconds: Optional[pulumi.Input[int]] = None):
|
|
1402
|
+
audience: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1403
|
+
expiration_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1404
1404
|
"""
|
|
1405
1405
|
TokenRequest contains parameters of a service account token.
|
|
1406
|
-
:param pulumi.Input[str] audience: Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1407
|
-
: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"
|
|
1406
|
+
: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.
|
|
1407
|
+
: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"
|
|
1408
1408
|
"""
|
|
1409
1409
|
if audience is not None:
|
|
1410
1410
|
pulumi.set(__self__, "audience", audience)
|
|
1411
1411
|
if expiration_seconds is not None:
|
|
1412
1412
|
pulumi.set(__self__, "expiration_seconds", expiration_seconds)
|
|
1413
1413
|
|
|
1414
|
-
@property
|
|
1414
|
+
@_builtins.property
|
|
1415
1415
|
@pulumi.getter
|
|
1416
|
-
def audience(self) -> Optional[pulumi.Input[str]]:
|
|
1416
|
+
def audience(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1417
1417
|
"""
|
|
1418
1418
|
Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1419
1419
|
"""
|
|
1420
1420
|
return pulumi.get(self, "audience")
|
|
1421
1421
|
|
|
1422
1422
|
@audience.setter
|
|
1423
|
-
def audience(self, value: Optional[pulumi.Input[str]]):
|
|
1423
|
+
def audience(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1424
1424
|
pulumi.set(self, "audience", value)
|
|
1425
1425
|
|
|
1426
|
-
@property
|
|
1426
|
+
@_builtins.property
|
|
1427
1427
|
@pulumi.getter(name="expirationSeconds")
|
|
1428
|
-
def expiration_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1428
|
+
def expiration_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1429
1429
|
"""
|
|
1430
1430
|
ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"
|
|
1431
1431
|
"""
|
|
1432
1432
|
return pulumi.get(self, "expiration_seconds")
|
|
1433
1433
|
|
|
1434
1434
|
@expiration_seconds.setter
|
|
1435
|
-
def expiration_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1435
|
+
def expiration_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1436
1436
|
pulumi.set(self, "expiration_seconds", value)
|
|
1437
1437
|
|
|
1438
1438
|
|
|
@@ -1441,11 +1441,11 @@ if not MYPY:
|
|
|
1441
1441
|
"""
|
|
1442
1442
|
TokenRequest contains parameters of a service account token.
|
|
1443
1443
|
"""
|
|
1444
|
-
audience: pulumi.Input[str]
|
|
1444
|
+
audience: pulumi.Input[_builtins.str]
|
|
1445
1445
|
"""
|
|
1446
1446
|
Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1447
1447
|
"""
|
|
1448
|
-
expiration_seconds: NotRequired[pulumi.Input[int]]
|
|
1448
|
+
expiration_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1449
1449
|
"""
|
|
1450
1450
|
ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"
|
|
1451
1451
|
"""
|
|
@@ -1455,39 +1455,39 @@ elif False:
|
|
|
1455
1455
|
@pulumi.input_type
|
|
1456
1456
|
class TokenRequestArgs:
|
|
1457
1457
|
def __init__(__self__, *,
|
|
1458
|
-
audience: pulumi.Input[str],
|
|
1459
|
-
expiration_seconds: Optional[pulumi.Input[int]] = None):
|
|
1458
|
+
audience: pulumi.Input[_builtins.str],
|
|
1459
|
+
expiration_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1460
1460
|
"""
|
|
1461
1461
|
TokenRequest contains parameters of a service account token.
|
|
1462
|
-
:param pulumi.Input[str] audience: Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1463
|
-
: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"
|
|
1462
|
+
: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.
|
|
1463
|
+
: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"
|
|
1464
1464
|
"""
|
|
1465
1465
|
pulumi.set(__self__, "audience", audience)
|
|
1466
1466
|
if expiration_seconds is not None:
|
|
1467
1467
|
pulumi.set(__self__, "expiration_seconds", expiration_seconds)
|
|
1468
1468
|
|
|
1469
|
-
@property
|
|
1469
|
+
@_builtins.property
|
|
1470
1470
|
@pulumi.getter
|
|
1471
|
-
def audience(self) -> pulumi.Input[str]:
|
|
1471
|
+
def audience(self) -> pulumi.Input[_builtins.str]:
|
|
1472
1472
|
"""
|
|
1473
1473
|
Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1474
1474
|
"""
|
|
1475
1475
|
return pulumi.get(self, "audience")
|
|
1476
1476
|
|
|
1477
1477
|
@audience.setter
|
|
1478
|
-
def audience(self, value: pulumi.Input[str]):
|
|
1478
|
+
def audience(self, value: pulumi.Input[_builtins.str]):
|
|
1479
1479
|
pulumi.set(self, "audience", value)
|
|
1480
1480
|
|
|
1481
|
-
@property
|
|
1481
|
+
@_builtins.property
|
|
1482
1482
|
@pulumi.getter(name="expirationSeconds")
|
|
1483
|
-
def expiration_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1483
|
+
def expiration_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1484
1484
|
"""
|
|
1485
1485
|
ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"
|
|
1486
1486
|
"""
|
|
1487
1487
|
return pulumi.get(self, "expiration_seconds")
|
|
1488
1488
|
|
|
1489
1489
|
@expiration_seconds.setter
|
|
1490
|
-
def expiration_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1490
|
+
def expiration_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1491
1491
|
pulumi.set(self, "expiration_seconds", value)
|
|
1492
1492
|
|
|
1493
1493
|
|
|
@@ -1500,7 +1500,7 @@ if not MYPY:
|
|
|
1500
1500
|
"""
|
|
1501
1501
|
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1502
1502
|
"""
|
|
1503
|
-
persistent_volume_name: NotRequired[pulumi.Input[str]]
|
|
1503
|
+
persistent_volume_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1504
1504
|
"""
|
|
1505
1505
|
Name of the persistent volume to attach.
|
|
1506
1506
|
"""
|
|
@@ -1511,18 +1511,18 @@ elif False:
|
|
|
1511
1511
|
class VolumeAttachmentSourcePatchArgs:
|
|
1512
1512
|
def __init__(__self__, *,
|
|
1513
1513
|
inline_volume_spec: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs']] = None,
|
|
1514
|
-
persistent_volume_name: Optional[pulumi.Input[str]] = None):
|
|
1514
|
+
persistent_volume_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1515
1515
|
"""
|
|
1516
1516
|
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
|
|
1517
1517
|
: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 alpha-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1518
|
-
:param pulumi.Input[str] persistent_volume_name: Name of the persistent volume to attach.
|
|
1518
|
+
:param pulumi.Input[_builtins.str] persistent_volume_name: Name of the persistent volume to attach.
|
|
1519
1519
|
"""
|
|
1520
1520
|
if inline_volume_spec is not None:
|
|
1521
1521
|
pulumi.set(__self__, "inline_volume_spec", inline_volume_spec)
|
|
1522
1522
|
if persistent_volume_name is not None:
|
|
1523
1523
|
pulumi.set(__self__, "persistent_volume_name", persistent_volume_name)
|
|
1524
1524
|
|
|
1525
|
-
@property
|
|
1525
|
+
@_builtins.property
|
|
1526
1526
|
@pulumi.getter(name="inlineVolumeSpec")
|
|
1527
1527
|
def inline_volume_spec(self) -> Optional[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs']]:
|
|
1528
1528
|
"""
|
|
@@ -1534,16 +1534,16 @@ class VolumeAttachmentSourcePatchArgs:
|
|
|
1534
1534
|
def inline_volume_spec(self, value: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs']]):
|
|
1535
1535
|
pulumi.set(self, "inline_volume_spec", value)
|
|
1536
1536
|
|
|
1537
|
-
@property
|
|
1537
|
+
@_builtins.property
|
|
1538
1538
|
@pulumi.getter(name="persistentVolumeName")
|
|
1539
|
-
def persistent_volume_name(self) -> Optional[pulumi.Input[str]]:
|
|
1539
|
+
def persistent_volume_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1540
1540
|
"""
|
|
1541
1541
|
Name of the persistent volume to attach.
|
|
1542
1542
|
"""
|
|
1543
1543
|
return pulumi.get(self, "persistent_volume_name")
|
|
1544
1544
|
|
|
1545
1545
|
@persistent_volume_name.setter
|
|
1546
|
-
def persistent_volume_name(self, value: Optional[pulumi.Input[str]]):
|
|
1546
|
+
def persistent_volume_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1547
1547
|
pulumi.set(self, "persistent_volume_name", value)
|
|
1548
1548
|
|
|
1549
1549
|
|
|
@@ -1556,7 +1556,7 @@ if not MYPY:
|
|
|
1556
1556
|
"""
|
|
1557
1557
|
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1558
1558
|
"""
|
|
1559
|
-
persistent_volume_name: NotRequired[pulumi.Input[str]]
|
|
1559
|
+
persistent_volume_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1560
1560
|
"""
|
|
1561
1561
|
Name of the persistent volume to attach.
|
|
1562
1562
|
"""
|
|
@@ -1567,18 +1567,18 @@ elif False:
|
|
|
1567
1567
|
class VolumeAttachmentSourceArgs:
|
|
1568
1568
|
def __init__(__self__, *,
|
|
1569
1569
|
inline_volume_spec: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecArgs']] = None,
|
|
1570
|
-
persistent_volume_name: Optional[pulumi.Input[str]] = None):
|
|
1570
|
+
persistent_volume_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1571
1571
|
"""
|
|
1572
1572
|
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
|
|
1573
1573
|
: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 alpha-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1574
|
-
:param pulumi.Input[str] persistent_volume_name: Name of the persistent volume to attach.
|
|
1574
|
+
:param pulumi.Input[_builtins.str] persistent_volume_name: Name of the persistent volume to attach.
|
|
1575
1575
|
"""
|
|
1576
1576
|
if inline_volume_spec is not None:
|
|
1577
1577
|
pulumi.set(__self__, "inline_volume_spec", inline_volume_spec)
|
|
1578
1578
|
if persistent_volume_name is not None:
|
|
1579
1579
|
pulumi.set(__self__, "persistent_volume_name", persistent_volume_name)
|
|
1580
1580
|
|
|
1581
|
-
@property
|
|
1581
|
+
@_builtins.property
|
|
1582
1582
|
@pulumi.getter(name="inlineVolumeSpec")
|
|
1583
1583
|
def inline_volume_spec(self) -> Optional[pulumi.Input['_core.v1.PersistentVolumeSpecArgs']]:
|
|
1584
1584
|
"""
|
|
@@ -1590,16 +1590,16 @@ class VolumeAttachmentSourceArgs:
|
|
|
1590
1590
|
def inline_volume_spec(self, value: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecArgs']]):
|
|
1591
1591
|
pulumi.set(self, "inline_volume_spec", value)
|
|
1592
1592
|
|
|
1593
|
-
@property
|
|
1593
|
+
@_builtins.property
|
|
1594
1594
|
@pulumi.getter(name="persistentVolumeName")
|
|
1595
|
-
def persistent_volume_name(self) -> Optional[pulumi.Input[str]]:
|
|
1595
|
+
def persistent_volume_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1596
1596
|
"""
|
|
1597
1597
|
Name of the persistent volume to attach.
|
|
1598
1598
|
"""
|
|
1599
1599
|
return pulumi.get(self, "persistent_volume_name")
|
|
1600
1600
|
|
|
1601
1601
|
@persistent_volume_name.setter
|
|
1602
|
-
def persistent_volume_name(self, value: Optional[pulumi.Input[str]]):
|
|
1602
|
+
def persistent_volume_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1603
1603
|
pulumi.set(self, "persistent_volume_name", value)
|
|
1604
1604
|
|
|
1605
1605
|
|
|
@@ -1608,11 +1608,11 @@ if not MYPY:
|
|
|
1608
1608
|
"""
|
|
1609
1609
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1610
1610
|
"""
|
|
1611
|
-
attacher: NotRequired[pulumi.Input[str]]
|
|
1611
|
+
attacher: NotRequired[pulumi.Input[_builtins.str]]
|
|
1612
1612
|
"""
|
|
1613
1613
|
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1614
1614
|
"""
|
|
1615
|
-
node_name: NotRequired[pulumi.Input[str]]
|
|
1615
|
+
node_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1616
1616
|
"""
|
|
1617
1617
|
The node that the volume should be attached to.
|
|
1618
1618
|
"""
|
|
@@ -1626,13 +1626,13 @@ elif False:
|
|
|
1626
1626
|
@pulumi.input_type
|
|
1627
1627
|
class VolumeAttachmentSpecPatchArgs:
|
|
1628
1628
|
def __init__(__self__, *,
|
|
1629
|
-
attacher: Optional[pulumi.Input[str]] = None,
|
|
1630
|
-
node_name: Optional[pulumi.Input[str]] = None,
|
|
1629
|
+
attacher: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1630
|
+
node_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1631
1631
|
source: Optional[pulumi.Input['VolumeAttachmentSourcePatchArgs']] = None):
|
|
1632
1632
|
"""
|
|
1633
1633
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1634
|
-
: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().
|
|
1635
|
-
:param pulumi.Input[str] node_name: The node that the volume should be attached to.
|
|
1634
|
+
: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().
|
|
1635
|
+
:param pulumi.Input[_builtins.str] node_name: The node that the volume should be attached to.
|
|
1636
1636
|
:param pulumi.Input['VolumeAttachmentSourcePatchArgs'] source: Source represents the volume that should be attached.
|
|
1637
1637
|
"""
|
|
1638
1638
|
if attacher is not None:
|
|
@@ -1642,31 +1642,31 @@ class VolumeAttachmentSpecPatchArgs:
|
|
|
1642
1642
|
if source is not None:
|
|
1643
1643
|
pulumi.set(__self__, "source", source)
|
|
1644
1644
|
|
|
1645
|
-
@property
|
|
1645
|
+
@_builtins.property
|
|
1646
1646
|
@pulumi.getter
|
|
1647
|
-
def attacher(self) -> Optional[pulumi.Input[str]]:
|
|
1647
|
+
def attacher(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1648
1648
|
"""
|
|
1649
1649
|
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1650
1650
|
"""
|
|
1651
1651
|
return pulumi.get(self, "attacher")
|
|
1652
1652
|
|
|
1653
1653
|
@attacher.setter
|
|
1654
|
-
def attacher(self, value: Optional[pulumi.Input[str]]):
|
|
1654
|
+
def attacher(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1655
1655
|
pulumi.set(self, "attacher", value)
|
|
1656
1656
|
|
|
1657
|
-
@property
|
|
1657
|
+
@_builtins.property
|
|
1658
1658
|
@pulumi.getter(name="nodeName")
|
|
1659
|
-
def node_name(self) -> Optional[pulumi.Input[str]]:
|
|
1659
|
+
def node_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1660
1660
|
"""
|
|
1661
1661
|
The node that the volume should be attached to.
|
|
1662
1662
|
"""
|
|
1663
1663
|
return pulumi.get(self, "node_name")
|
|
1664
1664
|
|
|
1665
1665
|
@node_name.setter
|
|
1666
|
-
def node_name(self, value: Optional[pulumi.Input[str]]):
|
|
1666
|
+
def node_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1667
1667
|
pulumi.set(self, "node_name", value)
|
|
1668
1668
|
|
|
1669
|
-
@property
|
|
1669
|
+
@_builtins.property
|
|
1670
1670
|
@pulumi.getter
|
|
1671
1671
|
def source(self) -> Optional[pulumi.Input['VolumeAttachmentSourcePatchArgs']]:
|
|
1672
1672
|
"""
|
|
@@ -1684,11 +1684,11 @@ if not MYPY:
|
|
|
1684
1684
|
"""
|
|
1685
1685
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1686
1686
|
"""
|
|
1687
|
-
attacher: pulumi.Input[str]
|
|
1687
|
+
attacher: pulumi.Input[_builtins.str]
|
|
1688
1688
|
"""
|
|
1689
1689
|
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1690
1690
|
"""
|
|
1691
|
-
node_name: pulumi.Input[str]
|
|
1691
|
+
node_name: pulumi.Input[_builtins.str]
|
|
1692
1692
|
"""
|
|
1693
1693
|
The node that the volume should be attached to.
|
|
1694
1694
|
"""
|
|
@@ -1702,44 +1702,44 @@ elif False:
|
|
|
1702
1702
|
@pulumi.input_type
|
|
1703
1703
|
class VolumeAttachmentSpecArgs:
|
|
1704
1704
|
def __init__(__self__, *,
|
|
1705
|
-
attacher: pulumi.Input[str],
|
|
1706
|
-
node_name: pulumi.Input[str],
|
|
1705
|
+
attacher: pulumi.Input[_builtins.str],
|
|
1706
|
+
node_name: pulumi.Input[_builtins.str],
|
|
1707
1707
|
source: pulumi.Input['VolumeAttachmentSourceArgs']):
|
|
1708
1708
|
"""
|
|
1709
1709
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1710
|
-
: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().
|
|
1711
|
-
:param pulumi.Input[str] node_name: The node that the volume should be attached to.
|
|
1710
|
+
: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().
|
|
1711
|
+
:param pulumi.Input[_builtins.str] node_name: The node that the volume should be attached to.
|
|
1712
1712
|
:param pulumi.Input['VolumeAttachmentSourceArgs'] source: Source represents the volume that should be attached.
|
|
1713
1713
|
"""
|
|
1714
1714
|
pulumi.set(__self__, "attacher", attacher)
|
|
1715
1715
|
pulumi.set(__self__, "node_name", node_name)
|
|
1716
1716
|
pulumi.set(__self__, "source", source)
|
|
1717
1717
|
|
|
1718
|
-
@property
|
|
1718
|
+
@_builtins.property
|
|
1719
1719
|
@pulumi.getter
|
|
1720
|
-
def attacher(self) -> pulumi.Input[str]:
|
|
1720
|
+
def attacher(self) -> pulumi.Input[_builtins.str]:
|
|
1721
1721
|
"""
|
|
1722
1722
|
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1723
1723
|
"""
|
|
1724
1724
|
return pulumi.get(self, "attacher")
|
|
1725
1725
|
|
|
1726
1726
|
@attacher.setter
|
|
1727
|
-
def attacher(self, value: pulumi.Input[str]):
|
|
1727
|
+
def attacher(self, value: pulumi.Input[_builtins.str]):
|
|
1728
1728
|
pulumi.set(self, "attacher", value)
|
|
1729
1729
|
|
|
1730
|
-
@property
|
|
1730
|
+
@_builtins.property
|
|
1731
1731
|
@pulumi.getter(name="nodeName")
|
|
1732
|
-
def node_name(self) -> pulumi.Input[str]:
|
|
1732
|
+
def node_name(self) -> pulumi.Input[_builtins.str]:
|
|
1733
1733
|
"""
|
|
1734
1734
|
The node that the volume should be attached to.
|
|
1735
1735
|
"""
|
|
1736
1736
|
return pulumi.get(self, "node_name")
|
|
1737
1737
|
|
|
1738
1738
|
@node_name.setter
|
|
1739
|
-
def node_name(self, value: pulumi.Input[str]):
|
|
1739
|
+
def node_name(self, value: pulumi.Input[_builtins.str]):
|
|
1740
1740
|
pulumi.set(self, "node_name", value)
|
|
1741
1741
|
|
|
1742
|
-
@property
|
|
1742
|
+
@_builtins.property
|
|
1743
1743
|
@pulumi.getter
|
|
1744
1744
|
def source(self) -> pulumi.Input['VolumeAttachmentSourceArgs']:
|
|
1745
1745
|
"""
|
|
@@ -1757,7 +1757,7 @@ if not MYPY:
|
|
|
1757
1757
|
"""
|
|
1758
1758
|
VolumeAttachmentStatus is the status of a VolumeAttachment request.
|
|
1759
1759
|
"""
|
|
1760
|
-
attached: pulumi.Input[bool]
|
|
1760
|
+
attached: pulumi.Input[_builtins.bool]
|
|
1761
1761
|
"""
|
|
1762
1762
|
Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1763
1763
|
"""
|
|
@@ -1765,7 +1765,7 @@ if not MYPY:
|
|
|
1765
1765
|
"""
|
|
1766
1766
|
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.
|
|
1767
1767
|
"""
|
|
1768
|
-
attachment_metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
1768
|
+
attachment_metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
1769
1769
|
"""
|
|
1770
1770
|
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1771
1771
|
"""
|
|
@@ -1779,15 +1779,15 @@ elif False:
|
|
|
1779
1779
|
@pulumi.input_type
|
|
1780
1780
|
class VolumeAttachmentStatusArgs:
|
|
1781
1781
|
def __init__(__self__, *,
|
|
1782
|
-
attached: pulumi.Input[bool],
|
|
1782
|
+
attached: pulumi.Input[_builtins.bool],
|
|
1783
1783
|
attach_error: Optional[pulumi.Input['VolumeErrorArgs']] = None,
|
|
1784
|
-
attachment_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1784
|
+
attachment_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
1785
1785
|
detach_error: Optional[pulumi.Input['VolumeErrorArgs']] = None):
|
|
1786
1786
|
"""
|
|
1787
1787
|
VolumeAttachmentStatus is the status of a VolumeAttachment request.
|
|
1788
|
-
:param pulumi.Input[bool] 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.
|
|
1788
|
+
:param pulumi.Input[_builtins.bool] 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.
|
|
1789
1789
|
:param pulumi.Input['VolumeErrorArgs'] attach_error: 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.
|
|
1790
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] attachment_metadata: Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1790
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] attachment_metadata: Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1791
1791
|
:param pulumi.Input['VolumeErrorArgs'] detach_error: 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.
|
|
1792
1792
|
"""
|
|
1793
1793
|
pulumi.set(__self__, "attached", attached)
|
|
@@ -1798,19 +1798,19 @@ class VolumeAttachmentStatusArgs:
|
|
|
1798
1798
|
if detach_error is not None:
|
|
1799
1799
|
pulumi.set(__self__, "detach_error", detach_error)
|
|
1800
1800
|
|
|
1801
|
-
@property
|
|
1801
|
+
@_builtins.property
|
|
1802
1802
|
@pulumi.getter
|
|
1803
|
-
def attached(self) -> pulumi.Input[bool]:
|
|
1803
|
+
def attached(self) -> pulumi.Input[_builtins.bool]:
|
|
1804
1804
|
"""
|
|
1805
1805
|
Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1806
1806
|
"""
|
|
1807
1807
|
return pulumi.get(self, "attached")
|
|
1808
1808
|
|
|
1809
1809
|
@attached.setter
|
|
1810
|
-
def attached(self, value: pulumi.Input[bool]):
|
|
1810
|
+
def attached(self, value: pulumi.Input[_builtins.bool]):
|
|
1811
1811
|
pulumi.set(self, "attached", value)
|
|
1812
1812
|
|
|
1813
|
-
@property
|
|
1813
|
+
@_builtins.property
|
|
1814
1814
|
@pulumi.getter(name="attachError")
|
|
1815
1815
|
def attach_error(self) -> Optional[pulumi.Input['VolumeErrorArgs']]:
|
|
1816
1816
|
"""
|
|
@@ -1822,19 +1822,19 @@ class VolumeAttachmentStatusArgs:
|
|
|
1822
1822
|
def attach_error(self, value: Optional[pulumi.Input['VolumeErrorArgs']]):
|
|
1823
1823
|
pulumi.set(self, "attach_error", value)
|
|
1824
1824
|
|
|
1825
|
-
@property
|
|
1825
|
+
@_builtins.property
|
|
1826
1826
|
@pulumi.getter(name="attachmentMetadata")
|
|
1827
|
-
def attachment_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1827
|
+
def attachment_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
1828
1828
|
"""
|
|
1829
1829
|
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1830
1830
|
"""
|
|
1831
1831
|
return pulumi.get(self, "attachment_metadata")
|
|
1832
1832
|
|
|
1833
1833
|
@attachment_metadata.setter
|
|
1834
|
-
def attachment_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1834
|
+
def attachment_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
1835
1835
|
pulumi.set(self, "attachment_metadata", value)
|
|
1836
1836
|
|
|
1837
|
-
@property
|
|
1837
|
+
@_builtins.property
|
|
1838
1838
|
@pulumi.getter(name="detachError")
|
|
1839
1839
|
def detach_error(self) -> Optional[pulumi.Input['VolumeErrorArgs']]:
|
|
1840
1840
|
"""
|
|
@@ -1858,11 +1858,11 @@ if not MYPY:
|
|
|
1858
1858
|
"""
|
|
1859
1859
|
Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
|
|
1860
1860
|
"""
|
|
1861
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1861
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1862
1862
|
"""
|
|
1863
1863
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1864
1864
|
"""
|
|
1865
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1865
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1866
1866
|
"""
|
|
1867
1867
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1868
1868
|
"""
|
|
@@ -1881,8 +1881,8 @@ elif False:
|
|
|
1881
1881
|
class VolumeAttachmentArgs:
|
|
1882
1882
|
def __init__(__self__, *,
|
|
1883
1883
|
spec: pulumi.Input['VolumeAttachmentSpecArgs'],
|
|
1884
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1885
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1884
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1885
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1886
1886
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1887
1887
|
status: Optional[pulumi.Input['VolumeAttachmentStatusArgs']] = None):
|
|
1888
1888
|
"""
|
|
@@ -1890,8 +1890,8 @@ class VolumeAttachmentArgs:
|
|
|
1890
1890
|
|
|
1891
1891
|
VolumeAttachment objects are non-namespaced.
|
|
1892
1892
|
:param pulumi.Input['VolumeAttachmentSpecArgs'] spec: Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
|
|
1893
|
-
: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
|
|
1894
|
-
: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
|
|
1893
|
+
: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
|
|
1894
|
+
: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
|
|
1895
1895
|
: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
|
|
1896
1896
|
:param pulumi.Input['VolumeAttachmentStatusArgs'] status: Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
|
|
1897
1897
|
"""
|
|
@@ -1905,7 +1905,7 @@ class VolumeAttachmentArgs:
|
|
|
1905
1905
|
if status is not None:
|
|
1906
1906
|
pulumi.set(__self__, "status", status)
|
|
1907
1907
|
|
|
1908
|
-
@property
|
|
1908
|
+
@_builtins.property
|
|
1909
1909
|
@pulumi.getter
|
|
1910
1910
|
def spec(self) -> pulumi.Input['VolumeAttachmentSpecArgs']:
|
|
1911
1911
|
"""
|
|
@@ -1917,31 +1917,31 @@ class VolumeAttachmentArgs:
|
|
|
1917
1917
|
def spec(self, value: pulumi.Input['VolumeAttachmentSpecArgs']):
|
|
1918
1918
|
pulumi.set(self, "spec", value)
|
|
1919
1919
|
|
|
1920
|
-
@property
|
|
1920
|
+
@_builtins.property
|
|
1921
1921
|
@pulumi.getter(name="apiVersion")
|
|
1922
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1922
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1923
1923
|
"""
|
|
1924
1924
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1925
1925
|
"""
|
|
1926
1926
|
return pulumi.get(self, "api_version")
|
|
1927
1927
|
|
|
1928
1928
|
@api_version.setter
|
|
1929
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1929
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1930
1930
|
pulumi.set(self, "api_version", value)
|
|
1931
1931
|
|
|
1932
|
-
@property
|
|
1932
|
+
@_builtins.property
|
|
1933
1933
|
@pulumi.getter
|
|
1934
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1934
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1935
1935
|
"""
|
|
1936
1936
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1937
1937
|
"""
|
|
1938
1938
|
return pulumi.get(self, "kind")
|
|
1939
1939
|
|
|
1940
1940
|
@kind.setter
|
|
1941
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1941
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1942
1942
|
pulumi.set(self, "kind", value)
|
|
1943
1943
|
|
|
1944
|
-
@property
|
|
1944
|
+
@_builtins.property
|
|
1945
1945
|
@pulumi.getter
|
|
1946
1946
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1947
1947
|
"""
|
|
@@ -1953,7 +1953,7 @@ class VolumeAttachmentArgs:
|
|
|
1953
1953
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1954
1954
|
pulumi.set(self, "metadata", value)
|
|
1955
1955
|
|
|
1956
|
-
@property
|
|
1956
|
+
@_builtins.property
|
|
1957
1957
|
@pulumi.getter
|
|
1958
1958
|
def status(self) -> Optional[pulumi.Input['VolumeAttachmentStatusArgs']]:
|
|
1959
1959
|
"""
|
|
@@ -1971,15 +1971,15 @@ if not MYPY:
|
|
|
1971
1971
|
"""
|
|
1972
1972
|
VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
|
|
1973
1973
|
"""
|
|
1974
|
-
driver_name: pulumi.Input[str]
|
|
1974
|
+
driver_name: pulumi.Input[_builtins.str]
|
|
1975
1975
|
"""
|
|
1976
1976
|
Name of the CSI driver This field is immutable.
|
|
1977
1977
|
"""
|
|
1978
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1978
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1979
1979
|
"""
|
|
1980
1980
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1981
1981
|
"""
|
|
1982
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1982
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1983
1983
|
"""
|
|
1984
1984
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1985
1985
|
"""
|
|
@@ -1987,7 +1987,7 @@ if not MYPY:
|
|
|
1987
1987
|
"""
|
|
1988
1988
|
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1989
1989
|
"""
|
|
1990
|
-
parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
1990
|
+
parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
1991
1991
|
"""
|
|
1992
1992
|
parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.
|
|
1993
1993
|
|
|
@@ -1999,18 +1999,18 @@ elif False:
|
|
|
1999
1999
|
@pulumi.input_type
|
|
2000
2000
|
class VolumeAttributesClassArgs:
|
|
2001
2001
|
def __init__(__self__, *,
|
|
2002
|
-
driver_name: pulumi.Input[str],
|
|
2003
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2004
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
2002
|
+
driver_name: pulumi.Input[_builtins.str],
|
|
2003
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2004
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2005
2005
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
2006
|
-
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
2006
|
+
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
2007
2007
|
"""
|
|
2008
2008
|
VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
|
|
2009
|
-
:param pulumi.Input[str] driver_name: Name of the CSI driver This field is immutable.
|
|
2010
|
-
: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
|
|
2011
|
-
: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
|
|
2009
|
+
:param pulumi.Input[_builtins.str] driver_name: Name of the CSI driver This field is immutable.
|
|
2010
|
+
: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
|
|
2011
|
+
: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
|
|
2012
2012
|
: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
|
|
2013
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.
|
|
2013
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.
|
|
2014
2014
|
|
|
2015
2015
|
This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.
|
|
2016
2016
|
"""
|
|
@@ -2024,43 +2024,43 @@ class VolumeAttributesClassArgs:
|
|
|
2024
2024
|
if parameters is not None:
|
|
2025
2025
|
pulumi.set(__self__, "parameters", parameters)
|
|
2026
2026
|
|
|
2027
|
-
@property
|
|
2027
|
+
@_builtins.property
|
|
2028
2028
|
@pulumi.getter(name="driverName")
|
|
2029
|
-
def driver_name(self) -> pulumi.Input[str]:
|
|
2029
|
+
def driver_name(self) -> pulumi.Input[_builtins.str]:
|
|
2030
2030
|
"""
|
|
2031
2031
|
Name of the CSI driver This field is immutable.
|
|
2032
2032
|
"""
|
|
2033
2033
|
return pulumi.get(self, "driver_name")
|
|
2034
2034
|
|
|
2035
2035
|
@driver_name.setter
|
|
2036
|
-
def driver_name(self, value: pulumi.Input[str]):
|
|
2036
|
+
def driver_name(self, value: pulumi.Input[_builtins.str]):
|
|
2037
2037
|
pulumi.set(self, "driver_name", value)
|
|
2038
2038
|
|
|
2039
|
-
@property
|
|
2039
|
+
@_builtins.property
|
|
2040
2040
|
@pulumi.getter(name="apiVersion")
|
|
2041
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2041
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2042
2042
|
"""
|
|
2043
2043
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2044
2044
|
"""
|
|
2045
2045
|
return pulumi.get(self, "api_version")
|
|
2046
2046
|
|
|
2047
2047
|
@api_version.setter
|
|
2048
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2048
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2049
2049
|
pulumi.set(self, "api_version", value)
|
|
2050
2050
|
|
|
2051
|
-
@property
|
|
2051
|
+
@_builtins.property
|
|
2052
2052
|
@pulumi.getter
|
|
2053
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2053
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2054
2054
|
"""
|
|
2055
2055
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2056
2056
|
"""
|
|
2057
2057
|
return pulumi.get(self, "kind")
|
|
2058
2058
|
|
|
2059
2059
|
@kind.setter
|
|
2060
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2060
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2061
2061
|
pulumi.set(self, "kind", value)
|
|
2062
2062
|
|
|
2063
|
-
@property
|
|
2063
|
+
@_builtins.property
|
|
2064
2064
|
@pulumi.getter
|
|
2065
2065
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
2066
2066
|
"""
|
|
@@ -2072,9 +2072,9 @@ class VolumeAttributesClassArgs:
|
|
|
2072
2072
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
2073
2073
|
pulumi.set(self, "metadata", value)
|
|
2074
2074
|
|
|
2075
|
-
@property
|
|
2075
|
+
@_builtins.property
|
|
2076
2076
|
@pulumi.getter
|
|
2077
|
-
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
2077
|
+
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
2078
2078
|
"""
|
|
2079
2079
|
parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.
|
|
2080
2080
|
|
|
@@ -2083,7 +2083,7 @@ class VolumeAttributesClassArgs:
|
|
|
2083
2083
|
return pulumi.get(self, "parameters")
|
|
2084
2084
|
|
|
2085
2085
|
@parameters.setter
|
|
2086
|
-
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
2086
|
+
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
2087
2087
|
pulumi.set(self, "parameters", value)
|
|
2088
2088
|
|
|
2089
2089
|
|
|
@@ -2092,11 +2092,11 @@ if not MYPY:
|
|
|
2092
2092
|
"""
|
|
2093
2093
|
VolumeError captures an error encountered during a volume operation.
|
|
2094
2094
|
"""
|
|
2095
|
-
message: NotRequired[pulumi.Input[str]]
|
|
2095
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
2096
2096
|
"""
|
|
2097
2097
|
String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2098
2098
|
"""
|
|
2099
|
-
time: NotRequired[pulumi.Input[str]]
|
|
2099
|
+
time: NotRequired[pulumi.Input[_builtins.str]]
|
|
2100
2100
|
"""
|
|
2101
2101
|
Time the error was encountered.
|
|
2102
2102
|
"""
|
|
@@ -2106,40 +2106,40 @@ elif False:
|
|
|
2106
2106
|
@pulumi.input_type
|
|
2107
2107
|
class VolumeErrorArgs:
|
|
2108
2108
|
def __init__(__self__, *,
|
|
2109
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
2110
|
-
time: Optional[pulumi.Input[str]] = None):
|
|
2109
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2110
|
+
time: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2111
2111
|
"""
|
|
2112
2112
|
VolumeError captures an error encountered during a volume operation.
|
|
2113
|
-
:param pulumi.Input[str] message: String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2114
|
-
:param pulumi.Input[str] time: Time the error was encountered.
|
|
2113
|
+
:param pulumi.Input[_builtins.str] message: String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2114
|
+
:param pulumi.Input[_builtins.str] time: Time the error was encountered.
|
|
2115
2115
|
"""
|
|
2116
2116
|
if message is not None:
|
|
2117
2117
|
pulumi.set(__self__, "message", message)
|
|
2118
2118
|
if time is not None:
|
|
2119
2119
|
pulumi.set(__self__, "time", time)
|
|
2120
2120
|
|
|
2121
|
-
@property
|
|
2121
|
+
@_builtins.property
|
|
2122
2122
|
@pulumi.getter
|
|
2123
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
2123
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2124
2124
|
"""
|
|
2125
2125
|
String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2126
2126
|
"""
|
|
2127
2127
|
return pulumi.get(self, "message")
|
|
2128
2128
|
|
|
2129
2129
|
@message.setter
|
|
2130
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
2130
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2131
2131
|
pulumi.set(self, "message", value)
|
|
2132
2132
|
|
|
2133
|
-
@property
|
|
2133
|
+
@_builtins.property
|
|
2134
2134
|
@pulumi.getter
|
|
2135
|
-
def time(self) -> Optional[pulumi.Input[str]]:
|
|
2135
|
+
def time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2136
2136
|
"""
|
|
2137
2137
|
Time the error was encountered.
|
|
2138
2138
|
"""
|
|
2139
2139
|
return pulumi.get(self, "time")
|
|
2140
2140
|
|
|
2141
2141
|
@time.setter
|
|
2142
|
-
def time(self, value: Optional[pulumi.Input[str]]):
|
|
2142
|
+
def time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2143
2143
|
pulumi.set(self, "time", value)
|
|
2144
2144
|
|
|
2145
2145
|
|
|
@@ -2148,7 +2148,7 @@ if not MYPY:
|
|
|
2148
2148
|
"""
|
|
2149
2149
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2150
2150
|
"""
|
|
2151
|
-
count: NotRequired[pulumi.Input[int]]
|
|
2151
|
+
count: NotRequired[pulumi.Input[_builtins.int]]
|
|
2152
2152
|
"""
|
|
2153
2153
|
Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
|
|
2154
2154
|
"""
|
|
@@ -2158,24 +2158,24 @@ elif False:
|
|
|
2158
2158
|
@pulumi.input_type
|
|
2159
2159
|
class VolumeNodeResourcesPatchArgs:
|
|
2160
2160
|
def __init__(__self__, *,
|
|
2161
|
-
count: Optional[pulumi.Input[int]] = None):
|
|
2161
|
+
count: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2162
2162
|
"""
|
|
2163
2163
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2164
|
-
:param pulumi.Input[int] count: Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
|
|
2164
|
+
:param pulumi.Input[_builtins.int] count: Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
|
|
2165
2165
|
"""
|
|
2166
2166
|
if count is not None:
|
|
2167
2167
|
pulumi.set(__self__, "count", count)
|
|
2168
2168
|
|
|
2169
|
-
@property
|
|
2169
|
+
@_builtins.property
|
|
2170
2170
|
@pulumi.getter
|
|
2171
|
-
def count(self) -> Optional[pulumi.Input[int]]:
|
|
2171
|
+
def count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2172
2172
|
"""
|
|
2173
2173
|
Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
|
|
2174
2174
|
"""
|
|
2175
2175
|
return pulumi.get(self, "count")
|
|
2176
2176
|
|
|
2177
2177
|
@count.setter
|
|
2178
|
-
def count(self, value: Optional[pulumi.Input[int]]):
|
|
2178
|
+
def count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2179
2179
|
pulumi.set(self, "count", value)
|
|
2180
2180
|
|
|
2181
2181
|
|
|
@@ -2184,7 +2184,7 @@ if not MYPY:
|
|
|
2184
2184
|
"""
|
|
2185
2185
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2186
2186
|
"""
|
|
2187
|
-
count: NotRequired[pulumi.Input[int]]
|
|
2187
|
+
count: NotRequired[pulumi.Input[_builtins.int]]
|
|
2188
2188
|
"""
|
|
2189
2189
|
Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
|
|
2190
2190
|
"""
|
|
@@ -2194,24 +2194,24 @@ elif False:
|
|
|
2194
2194
|
@pulumi.input_type
|
|
2195
2195
|
class VolumeNodeResourcesArgs:
|
|
2196
2196
|
def __init__(__self__, *,
|
|
2197
|
-
count: Optional[pulumi.Input[int]] = None):
|
|
2197
|
+
count: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2198
2198
|
"""
|
|
2199
2199
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2200
|
-
:param pulumi.Input[int] count: Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
|
|
2200
|
+
:param pulumi.Input[_builtins.int] count: Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
|
|
2201
2201
|
"""
|
|
2202
2202
|
if count is not None:
|
|
2203
2203
|
pulumi.set(__self__, "count", count)
|
|
2204
2204
|
|
|
2205
|
-
@property
|
|
2205
|
+
@_builtins.property
|
|
2206
2206
|
@pulumi.getter
|
|
2207
|
-
def count(self) -> Optional[pulumi.Input[int]]:
|
|
2207
|
+
def count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2208
2208
|
"""
|
|
2209
2209
|
Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
|
|
2210
2210
|
"""
|
|
2211
2211
|
return pulumi.get(self, "count")
|
|
2212
2212
|
|
|
2213
2213
|
@count.setter
|
|
2214
|
-
def count(self, value: Optional[pulumi.Input[int]]):
|
|
2214
|
+
def count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2215
2215
|
pulumi.set(self, "count", value)
|
|
2216
2216
|
|
|
2217
2217
|
|