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
|
|
@@ -68,13 +68,13 @@ if not MYPY:
|
|
|
68
68
|
"""
|
|
69
69
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
70
70
|
"""
|
|
71
|
-
attach_required: NotRequired[pulumi.Input[bool]]
|
|
71
|
+
attach_required: NotRequired[pulumi.Input[_builtins.bool]]
|
|
72
72
|
"""
|
|
73
73
|
attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
74
74
|
|
|
75
75
|
This field is immutable.
|
|
76
76
|
"""
|
|
77
|
-
fs_group_policy: NotRequired[pulumi.Input[str]]
|
|
77
|
+
fs_group_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
78
78
|
"""
|
|
79
79
|
fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
80
80
|
|
|
@@ -82,7 +82,15 @@ if not MYPY:
|
|
|
82
82
|
|
|
83
83
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
84
84
|
"""
|
|
85
|
-
|
|
85
|
+
node_allocatable_update_period_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
86
|
+
"""
|
|
87
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
88
|
+
|
|
89
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
90
|
+
|
|
91
|
+
This field is mutable.
|
|
92
|
+
"""
|
|
93
|
+
pod_info_on_mount: NotRequired[pulumi.Input[_builtins.bool]]
|
|
86
94
|
"""
|
|
87
95
|
podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
88
96
|
|
|
@@ -95,13 +103,13 @@ if not MYPY:
|
|
|
95
103
|
|
|
96
104
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
97
105
|
"""
|
|
98
|
-
requires_republish: NotRequired[pulumi.Input[bool]]
|
|
106
|
+
requires_republish: NotRequired[pulumi.Input[_builtins.bool]]
|
|
99
107
|
"""
|
|
100
108
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
101
109
|
|
|
102
110
|
Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.
|
|
103
111
|
"""
|
|
104
|
-
se_linux_mount: NotRequired[pulumi.Input[bool]]
|
|
112
|
+
se_linux_mount: NotRequired[pulumi.Input[_builtins.bool]]
|
|
105
113
|
"""
|
|
106
114
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
107
115
|
|
|
@@ -111,7 +119,7 @@ if not MYPY:
|
|
|
111
119
|
|
|
112
120
|
Default is "false".
|
|
113
121
|
"""
|
|
114
|
-
storage_capacity: NotRequired[pulumi.Input[bool]]
|
|
122
|
+
storage_capacity: NotRequired[pulumi.Input[_builtins.bool]]
|
|
115
123
|
"""
|
|
116
124
|
storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
117
125
|
|
|
@@ -133,7 +141,7 @@ if not MYPY:
|
|
|
133
141
|
|
|
134
142
|
Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.
|
|
135
143
|
"""
|
|
136
|
-
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
144
|
+
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
137
145
|
"""
|
|
138
146
|
volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
139
147
|
|
|
@@ -149,25 +157,31 @@ elif False:
|
|
|
149
157
|
@pulumi.input_type
|
|
150
158
|
class CSIDriverSpecPatchArgs:
|
|
151
159
|
def __init__(__self__, *,
|
|
152
|
-
attach_required: Optional[pulumi.Input[bool]] = None,
|
|
153
|
-
fs_group_policy: Optional[pulumi.Input[str]] = None,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
160
|
+
attach_required: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
161
|
+
fs_group_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
162
|
+
node_allocatable_update_period_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
163
|
+
pod_info_on_mount: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
164
|
+
requires_republish: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
165
|
+
se_linux_mount: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
166
|
+
storage_capacity: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
158
167
|
token_requests: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestPatchArgs']]]] = None,
|
|
159
|
-
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
168
|
+
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
160
169
|
"""
|
|
161
170
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
162
|
-
:param pulumi.Input[bool] attach_required: attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
171
|
+
:param pulumi.Input[_builtins.bool] attach_required: attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
163
172
|
|
|
164
173
|
This field is immutable.
|
|
165
|
-
:param pulumi.Input[str] fs_group_policy: fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
174
|
+
:param pulumi.Input[_builtins.str] fs_group_policy: fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
166
175
|
|
|
167
176
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
168
177
|
|
|
169
178
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
170
|
-
:param pulumi.Input[
|
|
179
|
+
:param pulumi.Input[_builtins.int] node_allocatable_update_period_seconds: nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
180
|
+
|
|
181
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
182
|
+
|
|
183
|
+
This field is mutable.
|
|
184
|
+
:param pulumi.Input[_builtins.bool] pod_info_on_mount: podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
171
185
|
|
|
172
186
|
The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.
|
|
173
187
|
|
|
@@ -177,17 +191,17 @@ class CSIDriverSpecPatchArgs:
|
|
|
177
191
|
"csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.
|
|
178
192
|
|
|
179
193
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
180
|
-
:param pulumi.Input[bool] requires_republish: requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
194
|
+
:param pulumi.Input[_builtins.bool] requires_republish: requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
181
195
|
|
|
182
196
|
Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.
|
|
183
|
-
:param pulumi.Input[bool] se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
197
|
+
:param pulumi.Input[_builtins.bool] se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
184
198
|
|
|
185
199
|
When "true", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.
|
|
186
200
|
|
|
187
201
|
When "false", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.
|
|
188
202
|
|
|
189
203
|
Default is "false".
|
|
190
|
-
:param pulumi.Input[bool] storage_capacity: storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
204
|
+
:param pulumi.Input[_builtins.bool] storage_capacity: storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
191
205
|
|
|
192
206
|
The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.
|
|
193
207
|
|
|
@@ -203,7 +217,7 @@ class CSIDriverSpecPatchArgs:
|
|
|
203
217
|
}
|
|
204
218
|
|
|
205
219
|
Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.
|
|
206
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] volume_lifecycle_modes: volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
220
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] volume_lifecycle_modes: volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
207
221
|
|
|
208
222
|
The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.
|
|
209
223
|
|
|
@@ -215,6 +229,8 @@ class CSIDriverSpecPatchArgs:
|
|
|
215
229
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
216
230
|
if fs_group_policy is not None:
|
|
217
231
|
pulumi.set(__self__, "fs_group_policy", fs_group_policy)
|
|
232
|
+
if node_allocatable_update_period_seconds is not None:
|
|
233
|
+
pulumi.set(__self__, "node_allocatable_update_period_seconds", node_allocatable_update_period_seconds)
|
|
218
234
|
if pod_info_on_mount is not None:
|
|
219
235
|
pulumi.set(__self__, "pod_info_on_mount", pod_info_on_mount)
|
|
220
236
|
if requires_republish is not None:
|
|
@@ -228,9 +244,9 @@ class CSIDriverSpecPatchArgs:
|
|
|
228
244
|
if volume_lifecycle_modes is not None:
|
|
229
245
|
pulumi.set(__self__, "volume_lifecycle_modes", volume_lifecycle_modes)
|
|
230
246
|
|
|
231
|
-
@property
|
|
247
|
+
@_builtins.property
|
|
232
248
|
@pulumi.getter(name="attachRequired")
|
|
233
|
-
def attach_required(self) -> Optional[pulumi.Input[bool]]:
|
|
249
|
+
def attach_required(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
234
250
|
"""
|
|
235
251
|
attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
236
252
|
|
|
@@ -239,12 +255,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
239
255
|
return pulumi.get(self, "attach_required")
|
|
240
256
|
|
|
241
257
|
@attach_required.setter
|
|
242
|
-
def attach_required(self, value: Optional[pulumi.Input[bool]]):
|
|
258
|
+
def attach_required(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
243
259
|
pulumi.set(self, "attach_required", value)
|
|
244
260
|
|
|
245
|
-
@property
|
|
261
|
+
@_builtins.property
|
|
246
262
|
@pulumi.getter(name="fsGroupPolicy")
|
|
247
|
-
def fs_group_policy(self) -> Optional[pulumi.Input[str]]:
|
|
263
|
+
def fs_group_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
248
264
|
"""
|
|
249
265
|
fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
250
266
|
|
|
@@ -255,12 +271,28 @@ class CSIDriverSpecPatchArgs:
|
|
|
255
271
|
return pulumi.get(self, "fs_group_policy")
|
|
256
272
|
|
|
257
273
|
@fs_group_policy.setter
|
|
258
|
-
def fs_group_policy(self, value: Optional[pulumi.Input[str]]):
|
|
274
|
+
def fs_group_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
259
275
|
pulumi.set(self, "fs_group_policy", value)
|
|
260
276
|
|
|
261
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
278
|
+
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
279
|
+
def node_allocatable_update_period_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
280
|
+
"""
|
|
281
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
282
|
+
|
|
283
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
284
|
+
|
|
285
|
+
This field is mutable.
|
|
286
|
+
"""
|
|
287
|
+
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
288
|
+
|
|
289
|
+
@node_allocatable_update_period_seconds.setter
|
|
290
|
+
def node_allocatable_update_period_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
291
|
+
pulumi.set(self, "node_allocatable_update_period_seconds", value)
|
|
292
|
+
|
|
293
|
+
@_builtins.property
|
|
262
294
|
@pulumi.getter(name="podInfoOnMount")
|
|
263
|
-
def pod_info_on_mount(self) -> Optional[pulumi.Input[bool]]:
|
|
295
|
+
def pod_info_on_mount(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
264
296
|
"""
|
|
265
297
|
podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
266
298
|
|
|
@@ -276,12 +308,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
276
308
|
return pulumi.get(self, "pod_info_on_mount")
|
|
277
309
|
|
|
278
310
|
@pod_info_on_mount.setter
|
|
279
|
-
def pod_info_on_mount(self, value: Optional[pulumi.Input[bool]]):
|
|
311
|
+
def pod_info_on_mount(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
280
312
|
pulumi.set(self, "pod_info_on_mount", value)
|
|
281
313
|
|
|
282
|
-
@property
|
|
314
|
+
@_builtins.property
|
|
283
315
|
@pulumi.getter(name="requiresRepublish")
|
|
284
|
-
def requires_republish(self) -> Optional[pulumi.Input[bool]]:
|
|
316
|
+
def requires_republish(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
285
317
|
"""
|
|
286
318
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
287
319
|
|
|
@@ -290,12 +322,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
290
322
|
return pulumi.get(self, "requires_republish")
|
|
291
323
|
|
|
292
324
|
@requires_republish.setter
|
|
293
|
-
def requires_republish(self, value: Optional[pulumi.Input[bool]]):
|
|
325
|
+
def requires_republish(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
294
326
|
pulumi.set(self, "requires_republish", value)
|
|
295
327
|
|
|
296
|
-
@property
|
|
328
|
+
@_builtins.property
|
|
297
329
|
@pulumi.getter(name="seLinuxMount")
|
|
298
|
-
def se_linux_mount(self) -> Optional[pulumi.Input[bool]]:
|
|
330
|
+
def se_linux_mount(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
299
331
|
"""
|
|
300
332
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
301
333
|
|
|
@@ -308,12 +340,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
308
340
|
return pulumi.get(self, "se_linux_mount")
|
|
309
341
|
|
|
310
342
|
@se_linux_mount.setter
|
|
311
|
-
def se_linux_mount(self, value: Optional[pulumi.Input[bool]]):
|
|
343
|
+
def se_linux_mount(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
312
344
|
pulumi.set(self, "se_linux_mount", value)
|
|
313
345
|
|
|
314
|
-
@property
|
|
346
|
+
@_builtins.property
|
|
315
347
|
@pulumi.getter(name="storageCapacity")
|
|
316
|
-
def storage_capacity(self) -> Optional[pulumi.Input[bool]]:
|
|
348
|
+
def storage_capacity(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
317
349
|
"""
|
|
318
350
|
storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
319
351
|
|
|
@@ -326,10 +358,10 @@ class CSIDriverSpecPatchArgs:
|
|
|
326
358
|
return pulumi.get(self, "storage_capacity")
|
|
327
359
|
|
|
328
360
|
@storage_capacity.setter
|
|
329
|
-
def storage_capacity(self, value: Optional[pulumi.Input[bool]]):
|
|
361
|
+
def storage_capacity(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
330
362
|
pulumi.set(self, "storage_capacity", value)
|
|
331
363
|
|
|
332
|
-
@property
|
|
364
|
+
@_builtins.property
|
|
333
365
|
@pulumi.getter(name="tokenRequests")
|
|
334
366
|
def token_requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestPatchArgs']]]]:
|
|
335
367
|
"""
|
|
@@ -349,9 +381,9 @@ class CSIDriverSpecPatchArgs:
|
|
|
349
381
|
def token_requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestPatchArgs']]]]):
|
|
350
382
|
pulumi.set(self, "token_requests", value)
|
|
351
383
|
|
|
352
|
-
@property
|
|
384
|
+
@_builtins.property
|
|
353
385
|
@pulumi.getter(name="volumeLifecycleModes")
|
|
354
|
-
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
386
|
+
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
355
387
|
"""
|
|
356
388
|
volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
357
389
|
|
|
@@ -364,7 +396,7 @@ class CSIDriverSpecPatchArgs:
|
|
|
364
396
|
return pulumi.get(self, "volume_lifecycle_modes")
|
|
365
397
|
|
|
366
398
|
@volume_lifecycle_modes.setter
|
|
367
|
-
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
399
|
+
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
368
400
|
pulumi.set(self, "volume_lifecycle_modes", value)
|
|
369
401
|
|
|
370
402
|
|
|
@@ -373,13 +405,13 @@ if not MYPY:
|
|
|
373
405
|
"""
|
|
374
406
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
375
407
|
"""
|
|
376
|
-
attach_required: NotRequired[pulumi.Input[bool]]
|
|
408
|
+
attach_required: NotRequired[pulumi.Input[_builtins.bool]]
|
|
377
409
|
"""
|
|
378
410
|
attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
379
411
|
|
|
380
412
|
This field is immutable.
|
|
381
413
|
"""
|
|
382
|
-
fs_group_policy: NotRequired[pulumi.Input[str]]
|
|
414
|
+
fs_group_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
383
415
|
"""
|
|
384
416
|
fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
385
417
|
|
|
@@ -387,7 +419,15 @@ if not MYPY:
|
|
|
387
419
|
|
|
388
420
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
389
421
|
"""
|
|
390
|
-
|
|
422
|
+
node_allocatable_update_period_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
423
|
+
"""
|
|
424
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
425
|
+
|
|
426
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
427
|
+
|
|
428
|
+
This field is mutable.
|
|
429
|
+
"""
|
|
430
|
+
pod_info_on_mount: NotRequired[pulumi.Input[_builtins.bool]]
|
|
391
431
|
"""
|
|
392
432
|
podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
393
433
|
|
|
@@ -400,13 +440,13 @@ if not MYPY:
|
|
|
400
440
|
|
|
401
441
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
402
442
|
"""
|
|
403
|
-
requires_republish: NotRequired[pulumi.Input[bool]]
|
|
443
|
+
requires_republish: NotRequired[pulumi.Input[_builtins.bool]]
|
|
404
444
|
"""
|
|
405
445
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
406
446
|
|
|
407
447
|
Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.
|
|
408
448
|
"""
|
|
409
|
-
se_linux_mount: NotRequired[pulumi.Input[bool]]
|
|
449
|
+
se_linux_mount: NotRequired[pulumi.Input[_builtins.bool]]
|
|
410
450
|
"""
|
|
411
451
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
412
452
|
|
|
@@ -416,7 +456,7 @@ if not MYPY:
|
|
|
416
456
|
|
|
417
457
|
Default is "false".
|
|
418
458
|
"""
|
|
419
|
-
storage_capacity: NotRequired[pulumi.Input[bool]]
|
|
459
|
+
storage_capacity: NotRequired[pulumi.Input[_builtins.bool]]
|
|
420
460
|
"""
|
|
421
461
|
storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
422
462
|
|
|
@@ -438,7 +478,7 @@ if not MYPY:
|
|
|
438
478
|
|
|
439
479
|
Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.
|
|
440
480
|
"""
|
|
441
|
-
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
481
|
+
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
442
482
|
"""
|
|
443
483
|
volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
444
484
|
|
|
@@ -454,25 +494,31 @@ elif False:
|
|
|
454
494
|
@pulumi.input_type
|
|
455
495
|
class CSIDriverSpecArgs:
|
|
456
496
|
def __init__(__self__, *,
|
|
457
|
-
attach_required: Optional[pulumi.Input[bool]] = None,
|
|
458
|
-
fs_group_policy: Optional[pulumi.Input[str]] = None,
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
497
|
+
attach_required: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
498
|
+
fs_group_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
499
|
+
node_allocatable_update_period_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
500
|
+
pod_info_on_mount: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
501
|
+
requires_republish: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
502
|
+
se_linux_mount: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
503
|
+
storage_capacity: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
463
504
|
token_requests: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestArgs']]]] = None,
|
|
464
|
-
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
505
|
+
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
465
506
|
"""
|
|
466
507
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
467
|
-
:param pulumi.Input[bool] attach_required: attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
508
|
+
:param pulumi.Input[_builtins.bool] attach_required: attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
468
509
|
|
|
469
510
|
This field is immutable.
|
|
470
|
-
:param pulumi.Input[str] fs_group_policy: fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
511
|
+
:param pulumi.Input[_builtins.str] fs_group_policy: fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
471
512
|
|
|
472
513
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
473
514
|
|
|
474
515
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
475
|
-
:param pulumi.Input[
|
|
516
|
+
:param pulumi.Input[_builtins.int] node_allocatable_update_period_seconds: nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
517
|
+
|
|
518
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
519
|
+
|
|
520
|
+
This field is mutable.
|
|
521
|
+
:param pulumi.Input[_builtins.bool] pod_info_on_mount: podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
476
522
|
|
|
477
523
|
The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.
|
|
478
524
|
|
|
@@ -482,17 +528,17 @@ class CSIDriverSpecArgs:
|
|
|
482
528
|
"csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.
|
|
483
529
|
|
|
484
530
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
485
|
-
:param pulumi.Input[bool] requires_republish: requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
531
|
+
:param pulumi.Input[_builtins.bool] requires_republish: requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
486
532
|
|
|
487
533
|
Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.
|
|
488
|
-
:param pulumi.Input[bool] se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
534
|
+
:param pulumi.Input[_builtins.bool] se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
489
535
|
|
|
490
536
|
When "true", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.
|
|
491
537
|
|
|
492
538
|
When "false", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.
|
|
493
539
|
|
|
494
540
|
Default is "false".
|
|
495
|
-
:param pulumi.Input[bool] storage_capacity: storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
541
|
+
:param pulumi.Input[_builtins.bool] storage_capacity: storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
496
542
|
|
|
497
543
|
The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.
|
|
498
544
|
|
|
@@ -508,7 +554,7 @@ class CSIDriverSpecArgs:
|
|
|
508
554
|
}
|
|
509
555
|
|
|
510
556
|
Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.
|
|
511
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] volume_lifecycle_modes: volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
557
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] volume_lifecycle_modes: volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
512
558
|
|
|
513
559
|
The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.
|
|
514
560
|
|
|
@@ -520,6 +566,8 @@ class CSIDriverSpecArgs:
|
|
|
520
566
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
521
567
|
if fs_group_policy is not None:
|
|
522
568
|
pulumi.set(__self__, "fs_group_policy", fs_group_policy)
|
|
569
|
+
if node_allocatable_update_period_seconds is not None:
|
|
570
|
+
pulumi.set(__self__, "node_allocatable_update_period_seconds", node_allocatable_update_period_seconds)
|
|
523
571
|
if pod_info_on_mount is not None:
|
|
524
572
|
pulumi.set(__self__, "pod_info_on_mount", pod_info_on_mount)
|
|
525
573
|
if requires_republish is not None:
|
|
@@ -533,9 +581,9 @@ class CSIDriverSpecArgs:
|
|
|
533
581
|
if volume_lifecycle_modes is not None:
|
|
534
582
|
pulumi.set(__self__, "volume_lifecycle_modes", volume_lifecycle_modes)
|
|
535
583
|
|
|
536
|
-
@property
|
|
584
|
+
@_builtins.property
|
|
537
585
|
@pulumi.getter(name="attachRequired")
|
|
538
|
-
def attach_required(self) -> Optional[pulumi.Input[bool]]:
|
|
586
|
+
def attach_required(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
539
587
|
"""
|
|
540
588
|
attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
541
589
|
|
|
@@ -544,12 +592,12 @@ class CSIDriverSpecArgs:
|
|
|
544
592
|
return pulumi.get(self, "attach_required")
|
|
545
593
|
|
|
546
594
|
@attach_required.setter
|
|
547
|
-
def attach_required(self, value: Optional[pulumi.Input[bool]]):
|
|
595
|
+
def attach_required(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
548
596
|
pulumi.set(self, "attach_required", value)
|
|
549
597
|
|
|
550
|
-
@property
|
|
598
|
+
@_builtins.property
|
|
551
599
|
@pulumi.getter(name="fsGroupPolicy")
|
|
552
|
-
def fs_group_policy(self) -> Optional[pulumi.Input[str]]:
|
|
600
|
+
def fs_group_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
553
601
|
"""
|
|
554
602
|
fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
555
603
|
|
|
@@ -560,12 +608,28 @@ class CSIDriverSpecArgs:
|
|
|
560
608
|
return pulumi.get(self, "fs_group_policy")
|
|
561
609
|
|
|
562
610
|
@fs_group_policy.setter
|
|
563
|
-
def fs_group_policy(self, value: Optional[pulumi.Input[str]]):
|
|
611
|
+
def fs_group_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
564
612
|
pulumi.set(self, "fs_group_policy", value)
|
|
565
613
|
|
|
566
|
-
@property
|
|
614
|
+
@_builtins.property
|
|
615
|
+
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
616
|
+
def node_allocatable_update_period_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
617
|
+
"""
|
|
618
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
619
|
+
|
|
620
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
621
|
+
|
|
622
|
+
This field is mutable.
|
|
623
|
+
"""
|
|
624
|
+
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
625
|
+
|
|
626
|
+
@node_allocatable_update_period_seconds.setter
|
|
627
|
+
def node_allocatable_update_period_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
628
|
+
pulumi.set(self, "node_allocatable_update_period_seconds", value)
|
|
629
|
+
|
|
630
|
+
@_builtins.property
|
|
567
631
|
@pulumi.getter(name="podInfoOnMount")
|
|
568
|
-
def pod_info_on_mount(self) -> Optional[pulumi.Input[bool]]:
|
|
632
|
+
def pod_info_on_mount(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
569
633
|
"""
|
|
570
634
|
podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
571
635
|
|
|
@@ -581,12 +645,12 @@ class CSIDriverSpecArgs:
|
|
|
581
645
|
return pulumi.get(self, "pod_info_on_mount")
|
|
582
646
|
|
|
583
647
|
@pod_info_on_mount.setter
|
|
584
|
-
def pod_info_on_mount(self, value: Optional[pulumi.Input[bool]]):
|
|
648
|
+
def pod_info_on_mount(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
585
649
|
pulumi.set(self, "pod_info_on_mount", value)
|
|
586
650
|
|
|
587
|
-
@property
|
|
651
|
+
@_builtins.property
|
|
588
652
|
@pulumi.getter(name="requiresRepublish")
|
|
589
|
-
def requires_republish(self) -> Optional[pulumi.Input[bool]]:
|
|
653
|
+
def requires_republish(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
590
654
|
"""
|
|
591
655
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
592
656
|
|
|
@@ -595,12 +659,12 @@ class CSIDriverSpecArgs:
|
|
|
595
659
|
return pulumi.get(self, "requires_republish")
|
|
596
660
|
|
|
597
661
|
@requires_republish.setter
|
|
598
|
-
def requires_republish(self, value: Optional[pulumi.Input[bool]]):
|
|
662
|
+
def requires_republish(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
599
663
|
pulumi.set(self, "requires_republish", value)
|
|
600
664
|
|
|
601
|
-
@property
|
|
665
|
+
@_builtins.property
|
|
602
666
|
@pulumi.getter(name="seLinuxMount")
|
|
603
|
-
def se_linux_mount(self) -> Optional[pulumi.Input[bool]]:
|
|
667
|
+
def se_linux_mount(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
604
668
|
"""
|
|
605
669
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
606
670
|
|
|
@@ -613,12 +677,12 @@ class CSIDriverSpecArgs:
|
|
|
613
677
|
return pulumi.get(self, "se_linux_mount")
|
|
614
678
|
|
|
615
679
|
@se_linux_mount.setter
|
|
616
|
-
def se_linux_mount(self, value: Optional[pulumi.Input[bool]]):
|
|
680
|
+
def se_linux_mount(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
617
681
|
pulumi.set(self, "se_linux_mount", value)
|
|
618
682
|
|
|
619
|
-
@property
|
|
683
|
+
@_builtins.property
|
|
620
684
|
@pulumi.getter(name="storageCapacity")
|
|
621
|
-
def storage_capacity(self) -> Optional[pulumi.Input[bool]]:
|
|
685
|
+
def storage_capacity(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
622
686
|
"""
|
|
623
687
|
storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
624
688
|
|
|
@@ -631,10 +695,10 @@ class CSIDriverSpecArgs:
|
|
|
631
695
|
return pulumi.get(self, "storage_capacity")
|
|
632
696
|
|
|
633
697
|
@storage_capacity.setter
|
|
634
|
-
def storage_capacity(self, value: Optional[pulumi.Input[bool]]):
|
|
698
|
+
def storage_capacity(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
635
699
|
pulumi.set(self, "storage_capacity", value)
|
|
636
700
|
|
|
637
|
-
@property
|
|
701
|
+
@_builtins.property
|
|
638
702
|
@pulumi.getter(name="tokenRequests")
|
|
639
703
|
def token_requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestArgs']]]]:
|
|
640
704
|
"""
|
|
@@ -654,9 +718,9 @@ class CSIDriverSpecArgs:
|
|
|
654
718
|
def token_requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestArgs']]]]):
|
|
655
719
|
pulumi.set(self, "token_requests", value)
|
|
656
720
|
|
|
657
|
-
@property
|
|
721
|
+
@_builtins.property
|
|
658
722
|
@pulumi.getter(name="volumeLifecycleModes")
|
|
659
|
-
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
723
|
+
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
660
724
|
"""
|
|
661
725
|
volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
662
726
|
|
|
@@ -669,7 +733,7 @@ class CSIDriverSpecArgs:
|
|
|
669
733
|
return pulumi.get(self, "volume_lifecycle_modes")
|
|
670
734
|
|
|
671
735
|
@volume_lifecycle_modes.setter
|
|
672
|
-
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
736
|
+
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
673
737
|
pulumi.set(self, "volume_lifecycle_modes", value)
|
|
674
738
|
|
|
675
739
|
|
|
@@ -682,11 +746,11 @@ if not MYPY:
|
|
|
682
746
|
"""
|
|
683
747
|
spec represents the specification of the CSI Driver.
|
|
684
748
|
"""
|
|
685
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
749
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
686
750
|
"""
|
|
687
751
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
688
752
|
"""
|
|
689
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
753
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
690
754
|
"""
|
|
691
755
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
692
756
|
"""
|
|
@@ -701,14 +765,14 @@ elif False:
|
|
|
701
765
|
class CSIDriverArgs:
|
|
702
766
|
def __init__(__self__, *,
|
|
703
767
|
spec: pulumi.Input['CSIDriverSpecArgs'],
|
|
704
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
705
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
768
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
769
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
706
770
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
707
771
|
"""
|
|
708
772
|
CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.
|
|
709
773
|
:param pulumi.Input['CSIDriverSpecArgs'] spec: spec represents the specification of the CSI Driver.
|
|
710
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
711
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
774
|
+
: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
|
|
775
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
712
776
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
713
777
|
"""
|
|
714
778
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -719,7 +783,7 @@ class CSIDriverArgs:
|
|
|
719
783
|
if metadata is not None:
|
|
720
784
|
pulumi.set(__self__, "metadata", metadata)
|
|
721
785
|
|
|
722
|
-
@property
|
|
786
|
+
@_builtins.property
|
|
723
787
|
@pulumi.getter
|
|
724
788
|
def spec(self) -> pulumi.Input['CSIDriverSpecArgs']:
|
|
725
789
|
"""
|
|
@@ -731,31 +795,31 @@ class CSIDriverArgs:
|
|
|
731
795
|
def spec(self, value: pulumi.Input['CSIDriverSpecArgs']):
|
|
732
796
|
pulumi.set(self, "spec", value)
|
|
733
797
|
|
|
734
|
-
@property
|
|
798
|
+
@_builtins.property
|
|
735
799
|
@pulumi.getter(name="apiVersion")
|
|
736
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
800
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
737
801
|
"""
|
|
738
802
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
739
803
|
"""
|
|
740
804
|
return pulumi.get(self, "api_version")
|
|
741
805
|
|
|
742
806
|
@api_version.setter
|
|
743
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
807
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
744
808
|
pulumi.set(self, "api_version", value)
|
|
745
809
|
|
|
746
|
-
@property
|
|
810
|
+
@_builtins.property
|
|
747
811
|
@pulumi.getter
|
|
748
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
812
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
749
813
|
"""
|
|
750
814
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
751
815
|
"""
|
|
752
816
|
return pulumi.get(self, "kind")
|
|
753
817
|
|
|
754
818
|
@kind.setter
|
|
755
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
819
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
756
820
|
pulumi.set(self, "kind", value)
|
|
757
821
|
|
|
758
|
-
@property
|
|
822
|
+
@_builtins.property
|
|
759
823
|
@pulumi.getter
|
|
760
824
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
761
825
|
"""
|
|
@@ -777,15 +841,15 @@ if not MYPY:
|
|
|
777
841
|
"""
|
|
778
842
|
allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
779
843
|
"""
|
|
780
|
-
name: NotRequired[pulumi.Input[str]]
|
|
844
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
781
845
|
"""
|
|
782
846
|
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
783
847
|
"""
|
|
784
|
-
node_id: NotRequired[pulumi.Input[str]]
|
|
848
|
+
node_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
785
849
|
"""
|
|
786
850
|
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
787
851
|
"""
|
|
788
|
-
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
852
|
+
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
789
853
|
"""
|
|
790
854
|
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
791
855
|
"""
|
|
@@ -796,15 +860,15 @@ elif False:
|
|
|
796
860
|
class CSINodeDriverPatchArgs:
|
|
797
861
|
def __init__(__self__, *,
|
|
798
862
|
allocatable: Optional[pulumi.Input['VolumeNodeResourcesPatchArgs']] = None,
|
|
799
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
800
|
-
node_id: Optional[pulumi.Input[str]] = None,
|
|
801
|
-
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
863
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
864
|
+
node_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
865
|
+
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
802
866
|
"""
|
|
803
867
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
804
868
|
:param pulumi.Input['VolumeNodeResourcesPatchArgs'] allocatable: allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
805
|
-
:param pulumi.Input[str] name: name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
806
|
-
:param pulumi.Input[str] node_id: nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
807
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] topology_keys: topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
869
|
+
:param pulumi.Input[_builtins.str] name: name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
870
|
+
: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.
|
|
871
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] topology_keys: topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
808
872
|
"""
|
|
809
873
|
if allocatable is not None:
|
|
810
874
|
pulumi.set(__self__, "allocatable", allocatable)
|
|
@@ -815,7 +879,7 @@ class CSINodeDriverPatchArgs:
|
|
|
815
879
|
if topology_keys is not None:
|
|
816
880
|
pulumi.set(__self__, "topology_keys", topology_keys)
|
|
817
881
|
|
|
818
|
-
@property
|
|
882
|
+
@_builtins.property
|
|
819
883
|
@pulumi.getter
|
|
820
884
|
def allocatable(self) -> Optional[pulumi.Input['VolumeNodeResourcesPatchArgs']]:
|
|
821
885
|
"""
|
|
@@ -827,40 +891,40 @@ class CSINodeDriverPatchArgs:
|
|
|
827
891
|
def allocatable(self, value: Optional[pulumi.Input['VolumeNodeResourcesPatchArgs']]):
|
|
828
892
|
pulumi.set(self, "allocatable", value)
|
|
829
893
|
|
|
830
|
-
@property
|
|
894
|
+
@_builtins.property
|
|
831
895
|
@pulumi.getter
|
|
832
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
896
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
833
897
|
"""
|
|
834
898
|
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
835
899
|
"""
|
|
836
900
|
return pulumi.get(self, "name")
|
|
837
901
|
|
|
838
902
|
@name.setter
|
|
839
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
903
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
840
904
|
pulumi.set(self, "name", value)
|
|
841
905
|
|
|
842
|
-
@property
|
|
906
|
+
@_builtins.property
|
|
843
907
|
@pulumi.getter(name="nodeID")
|
|
844
|
-
def node_id(self) -> Optional[pulumi.Input[str]]:
|
|
908
|
+
def node_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
845
909
|
"""
|
|
846
910
|
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
847
911
|
"""
|
|
848
912
|
return pulumi.get(self, "node_id")
|
|
849
913
|
|
|
850
914
|
@node_id.setter
|
|
851
|
-
def node_id(self, value: Optional[pulumi.Input[str]]):
|
|
915
|
+
def node_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
852
916
|
pulumi.set(self, "node_id", value)
|
|
853
917
|
|
|
854
|
-
@property
|
|
918
|
+
@_builtins.property
|
|
855
919
|
@pulumi.getter(name="topologyKeys")
|
|
856
|
-
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
920
|
+
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
857
921
|
"""
|
|
858
922
|
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
859
923
|
"""
|
|
860
924
|
return pulumi.get(self, "topology_keys")
|
|
861
925
|
|
|
862
926
|
@topology_keys.setter
|
|
863
|
-
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
927
|
+
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
864
928
|
pulumi.set(self, "topology_keys", value)
|
|
865
929
|
|
|
866
930
|
|
|
@@ -869,11 +933,11 @@ if not MYPY:
|
|
|
869
933
|
"""
|
|
870
934
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
871
935
|
"""
|
|
872
|
-
name: pulumi.Input[str]
|
|
936
|
+
name: pulumi.Input[_builtins.str]
|
|
873
937
|
"""
|
|
874
938
|
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
875
939
|
"""
|
|
876
|
-
node_id: pulumi.Input[str]
|
|
940
|
+
node_id: pulumi.Input[_builtins.str]
|
|
877
941
|
"""
|
|
878
942
|
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
879
943
|
"""
|
|
@@ -881,7 +945,7 @@ if not MYPY:
|
|
|
881
945
|
"""
|
|
882
946
|
allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
883
947
|
"""
|
|
884
|
-
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
948
|
+
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
885
949
|
"""
|
|
886
950
|
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
887
951
|
"""
|
|
@@ -891,16 +955,16 @@ elif False:
|
|
|
891
955
|
@pulumi.input_type
|
|
892
956
|
class CSINodeDriverArgs:
|
|
893
957
|
def __init__(__self__, *,
|
|
894
|
-
name: pulumi.Input[str],
|
|
895
|
-
node_id: pulumi.Input[str],
|
|
958
|
+
name: pulumi.Input[_builtins.str],
|
|
959
|
+
node_id: pulumi.Input[_builtins.str],
|
|
896
960
|
allocatable: Optional[pulumi.Input['VolumeNodeResourcesArgs']] = None,
|
|
897
|
-
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
961
|
+
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
898
962
|
"""
|
|
899
963
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
900
|
-
:param pulumi.Input[str] name: name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
901
|
-
:param pulumi.Input[str] node_id: nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
964
|
+
:param pulumi.Input[_builtins.str] name: name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
965
|
+
:param pulumi.Input[_builtins.str] node_id: nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
902
966
|
:param pulumi.Input['VolumeNodeResourcesArgs'] allocatable: allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
903
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] topology_keys: topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
967
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] topology_keys: topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
904
968
|
"""
|
|
905
969
|
pulumi.set(__self__, "name", name)
|
|
906
970
|
pulumi.set(__self__, "node_id", node_id)
|
|
@@ -909,31 +973,31 @@ class CSINodeDriverArgs:
|
|
|
909
973
|
if topology_keys is not None:
|
|
910
974
|
pulumi.set(__self__, "topology_keys", topology_keys)
|
|
911
975
|
|
|
912
|
-
@property
|
|
976
|
+
@_builtins.property
|
|
913
977
|
@pulumi.getter
|
|
914
|
-
def name(self) -> pulumi.Input[str]:
|
|
978
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
915
979
|
"""
|
|
916
980
|
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
917
981
|
"""
|
|
918
982
|
return pulumi.get(self, "name")
|
|
919
983
|
|
|
920
984
|
@name.setter
|
|
921
|
-
def name(self, value: pulumi.Input[str]):
|
|
985
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
922
986
|
pulumi.set(self, "name", value)
|
|
923
987
|
|
|
924
|
-
@property
|
|
988
|
+
@_builtins.property
|
|
925
989
|
@pulumi.getter(name="nodeID")
|
|
926
|
-
def node_id(self) -> pulumi.Input[str]:
|
|
990
|
+
def node_id(self) -> pulumi.Input[_builtins.str]:
|
|
927
991
|
"""
|
|
928
992
|
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
929
993
|
"""
|
|
930
994
|
return pulumi.get(self, "node_id")
|
|
931
995
|
|
|
932
996
|
@node_id.setter
|
|
933
|
-
def node_id(self, value: pulumi.Input[str]):
|
|
997
|
+
def node_id(self, value: pulumi.Input[_builtins.str]):
|
|
934
998
|
pulumi.set(self, "node_id", value)
|
|
935
999
|
|
|
936
|
-
@property
|
|
1000
|
+
@_builtins.property
|
|
937
1001
|
@pulumi.getter
|
|
938
1002
|
def allocatable(self) -> Optional[pulumi.Input['VolumeNodeResourcesArgs']]:
|
|
939
1003
|
"""
|
|
@@ -945,16 +1009,16 @@ class CSINodeDriverArgs:
|
|
|
945
1009
|
def allocatable(self, value: Optional[pulumi.Input['VolumeNodeResourcesArgs']]):
|
|
946
1010
|
pulumi.set(self, "allocatable", value)
|
|
947
1011
|
|
|
948
|
-
@property
|
|
1012
|
+
@_builtins.property
|
|
949
1013
|
@pulumi.getter(name="topologyKeys")
|
|
950
|
-
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1014
|
+
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
951
1015
|
"""
|
|
952
1016
|
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
953
1017
|
"""
|
|
954
1018
|
return pulumi.get(self, "topology_keys")
|
|
955
1019
|
|
|
956
1020
|
@topology_keys.setter
|
|
957
|
-
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1021
|
+
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
958
1022
|
pulumi.set(self, "topology_keys", value)
|
|
959
1023
|
|
|
960
1024
|
|
|
@@ -981,7 +1045,7 @@ class CSINodeSpecPatchArgs:
|
|
|
981
1045
|
if drivers is not None:
|
|
982
1046
|
pulumi.set(__self__, "drivers", drivers)
|
|
983
1047
|
|
|
984
|
-
@property
|
|
1048
|
+
@_builtins.property
|
|
985
1049
|
@pulumi.getter
|
|
986
1050
|
def drivers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CSINodeDriverPatchArgs']]]]:
|
|
987
1051
|
"""
|
|
@@ -1016,7 +1080,7 @@ class CSINodeSpecArgs:
|
|
|
1016
1080
|
"""
|
|
1017
1081
|
pulumi.set(__self__, "drivers", drivers)
|
|
1018
1082
|
|
|
1019
|
-
@property
|
|
1083
|
+
@_builtins.property
|
|
1020
1084
|
@pulumi.getter
|
|
1021
1085
|
def drivers(self) -> pulumi.Input[Sequence[pulumi.Input['CSINodeDriverArgs']]]:
|
|
1022
1086
|
"""
|
|
@@ -1038,11 +1102,11 @@ if not MYPY:
|
|
|
1038
1102
|
"""
|
|
1039
1103
|
spec is the specification of CSINode
|
|
1040
1104
|
"""
|
|
1041
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1105
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1042
1106
|
"""
|
|
1043
1107
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1044
1108
|
"""
|
|
1045
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1109
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1046
1110
|
"""
|
|
1047
1111
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1048
1112
|
"""
|
|
@@ -1057,14 +1121,14 @@ elif False:
|
|
|
1057
1121
|
class CSINodeArgs:
|
|
1058
1122
|
def __init__(__self__, *,
|
|
1059
1123
|
spec: pulumi.Input['CSINodeSpecArgs'],
|
|
1060
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1061
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1124
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1125
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1062
1126
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
1063
1127
|
"""
|
|
1064
1128
|
CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.
|
|
1065
1129
|
:param pulumi.Input['CSINodeSpecArgs'] spec: spec is the specification of CSINode
|
|
1066
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1067
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1130
|
+
: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
|
|
1131
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1068
1132
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. metadata.name must be the Kubernetes node name.
|
|
1069
1133
|
"""
|
|
1070
1134
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -1075,7 +1139,7 @@ class CSINodeArgs:
|
|
|
1075
1139
|
if metadata is not None:
|
|
1076
1140
|
pulumi.set(__self__, "metadata", metadata)
|
|
1077
1141
|
|
|
1078
|
-
@property
|
|
1142
|
+
@_builtins.property
|
|
1079
1143
|
@pulumi.getter
|
|
1080
1144
|
def spec(self) -> pulumi.Input['CSINodeSpecArgs']:
|
|
1081
1145
|
"""
|
|
@@ -1087,31 +1151,31 @@ class CSINodeArgs:
|
|
|
1087
1151
|
def spec(self, value: pulumi.Input['CSINodeSpecArgs']):
|
|
1088
1152
|
pulumi.set(self, "spec", value)
|
|
1089
1153
|
|
|
1090
|
-
@property
|
|
1154
|
+
@_builtins.property
|
|
1091
1155
|
@pulumi.getter(name="apiVersion")
|
|
1092
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1156
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1093
1157
|
"""
|
|
1094
1158
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1095
1159
|
"""
|
|
1096
1160
|
return pulumi.get(self, "api_version")
|
|
1097
1161
|
|
|
1098
1162
|
@api_version.setter
|
|
1099
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1163
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1100
1164
|
pulumi.set(self, "api_version", value)
|
|
1101
1165
|
|
|
1102
|
-
@property
|
|
1166
|
+
@_builtins.property
|
|
1103
1167
|
@pulumi.getter
|
|
1104
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1168
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1105
1169
|
"""
|
|
1106
1170
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1107
1171
|
"""
|
|
1108
1172
|
return pulumi.get(self, "kind")
|
|
1109
1173
|
|
|
1110
1174
|
@kind.setter
|
|
1111
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1175
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1112
1176
|
pulumi.set(self, "kind", value)
|
|
1113
1177
|
|
|
1114
|
-
@property
|
|
1178
|
+
@_builtins.property
|
|
1115
1179
|
@pulumi.getter
|
|
1116
1180
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1117
1181
|
"""
|
|
@@ -1137,25 +1201,25 @@ if not MYPY:
|
|
|
1137
1201
|
|
|
1138
1202
|
They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.
|
|
1139
1203
|
"""
|
|
1140
|
-
storage_class_name: pulumi.Input[str]
|
|
1204
|
+
storage_class_name: pulumi.Input[_builtins.str]
|
|
1141
1205
|
"""
|
|
1142
1206
|
storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
|
|
1143
1207
|
"""
|
|
1144
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1208
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1145
1209
|
"""
|
|
1146
1210
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1147
1211
|
"""
|
|
1148
|
-
capacity: NotRequired[pulumi.Input[str]]
|
|
1212
|
+
capacity: NotRequired[pulumi.Input[_builtins.str]]
|
|
1149
1213
|
"""
|
|
1150
1214
|
capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1151
1215
|
|
|
1152
1216
|
The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.
|
|
1153
1217
|
"""
|
|
1154
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1218
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1155
1219
|
"""
|
|
1156
1220
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1157
1221
|
"""
|
|
1158
|
-
maximum_volume_size: NotRequired[pulumi.Input[str]]
|
|
1222
|
+
maximum_volume_size: NotRequired[pulumi.Input[_builtins.str]]
|
|
1159
1223
|
"""
|
|
1160
1224
|
maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1161
1225
|
|
|
@@ -1179,11 +1243,11 @@ elif False:
|
|
|
1179
1243
|
@pulumi.input_type
|
|
1180
1244
|
class CSIStorageCapacityArgs:
|
|
1181
1245
|
def __init__(__self__, *,
|
|
1182
|
-
storage_class_name: pulumi.Input[str],
|
|
1183
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1184
|
-
capacity: Optional[pulumi.Input[str]] = None,
|
|
1185
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1186
|
-
maximum_volume_size: Optional[pulumi.Input[str]] = None,
|
|
1246
|
+
storage_class_name: pulumi.Input[_builtins.str],
|
|
1247
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1248
|
+
capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1249
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1250
|
+
maximum_volume_size: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1187
1251
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1188
1252
|
node_topology: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
1189
1253
|
"""
|
|
@@ -1196,13 +1260,13 @@ class CSIStorageCapacityArgs:
|
|
|
1196
1260
|
The producer of these objects can decide which approach is more suitable.
|
|
1197
1261
|
|
|
1198
1262
|
They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.
|
|
1199
|
-
:param pulumi.Input[str] storage_class_name: storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
|
|
1200
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1201
|
-
:param pulumi.Input[str] capacity: capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1263
|
+
:param pulumi.Input[_builtins.str] storage_class_name: storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
|
|
1264
|
+
: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
|
|
1265
|
+
:param pulumi.Input[_builtins.str] capacity: capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1202
1266
|
|
|
1203
1267
|
The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.
|
|
1204
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1205
|
-
:param pulumi.Input[str] maximum_volume_size: maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1268
|
+
: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
|
|
1269
|
+
:param pulumi.Input[_builtins.str] maximum_volume_size: maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1206
1270
|
|
|
1207
1271
|
This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.
|
|
1208
1272
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.
|
|
@@ -1226,33 +1290,33 @@ class CSIStorageCapacityArgs:
|
|
|
1226
1290
|
if node_topology is not None:
|
|
1227
1291
|
pulumi.set(__self__, "node_topology", node_topology)
|
|
1228
1292
|
|
|
1229
|
-
@property
|
|
1293
|
+
@_builtins.property
|
|
1230
1294
|
@pulumi.getter(name="storageClassName")
|
|
1231
|
-
def storage_class_name(self) -> pulumi.Input[str]:
|
|
1295
|
+
def storage_class_name(self) -> pulumi.Input[_builtins.str]:
|
|
1232
1296
|
"""
|
|
1233
1297
|
storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
|
|
1234
1298
|
"""
|
|
1235
1299
|
return pulumi.get(self, "storage_class_name")
|
|
1236
1300
|
|
|
1237
1301
|
@storage_class_name.setter
|
|
1238
|
-
def storage_class_name(self, value: pulumi.Input[str]):
|
|
1302
|
+
def storage_class_name(self, value: pulumi.Input[_builtins.str]):
|
|
1239
1303
|
pulumi.set(self, "storage_class_name", value)
|
|
1240
1304
|
|
|
1241
|
-
@property
|
|
1305
|
+
@_builtins.property
|
|
1242
1306
|
@pulumi.getter(name="apiVersion")
|
|
1243
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1307
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1244
1308
|
"""
|
|
1245
1309
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1246
1310
|
"""
|
|
1247
1311
|
return pulumi.get(self, "api_version")
|
|
1248
1312
|
|
|
1249
1313
|
@api_version.setter
|
|
1250
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1314
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1251
1315
|
pulumi.set(self, "api_version", value)
|
|
1252
1316
|
|
|
1253
|
-
@property
|
|
1317
|
+
@_builtins.property
|
|
1254
1318
|
@pulumi.getter
|
|
1255
|
-
def capacity(self) -> Optional[pulumi.Input[str]]:
|
|
1319
|
+
def capacity(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1256
1320
|
"""
|
|
1257
1321
|
capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1258
1322
|
|
|
@@ -1261,24 +1325,24 @@ class CSIStorageCapacityArgs:
|
|
|
1261
1325
|
return pulumi.get(self, "capacity")
|
|
1262
1326
|
|
|
1263
1327
|
@capacity.setter
|
|
1264
|
-
def capacity(self, value: Optional[pulumi.Input[str]]):
|
|
1328
|
+
def capacity(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1265
1329
|
pulumi.set(self, "capacity", value)
|
|
1266
1330
|
|
|
1267
|
-
@property
|
|
1331
|
+
@_builtins.property
|
|
1268
1332
|
@pulumi.getter
|
|
1269
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1333
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1270
1334
|
"""
|
|
1271
1335
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1272
1336
|
"""
|
|
1273
1337
|
return pulumi.get(self, "kind")
|
|
1274
1338
|
|
|
1275
1339
|
@kind.setter
|
|
1276
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1340
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1277
1341
|
pulumi.set(self, "kind", value)
|
|
1278
1342
|
|
|
1279
|
-
@property
|
|
1343
|
+
@_builtins.property
|
|
1280
1344
|
@pulumi.getter(name="maximumVolumeSize")
|
|
1281
|
-
def maximum_volume_size(self) -> Optional[pulumi.Input[str]]:
|
|
1345
|
+
def maximum_volume_size(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1282
1346
|
"""
|
|
1283
1347
|
maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1284
1348
|
|
|
@@ -1287,10 +1351,10 @@ class CSIStorageCapacityArgs:
|
|
|
1287
1351
|
return pulumi.get(self, "maximum_volume_size")
|
|
1288
1352
|
|
|
1289
1353
|
@maximum_volume_size.setter
|
|
1290
|
-
def maximum_volume_size(self, value: Optional[pulumi.Input[str]]):
|
|
1354
|
+
def maximum_volume_size(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1291
1355
|
pulumi.set(self, "maximum_volume_size", value)
|
|
1292
1356
|
|
|
1293
|
-
@property
|
|
1357
|
+
@_builtins.property
|
|
1294
1358
|
@pulumi.getter
|
|
1295
1359
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1296
1360
|
"""
|
|
@@ -1306,7 +1370,7 @@ class CSIStorageCapacityArgs:
|
|
|
1306
1370
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1307
1371
|
pulumi.set(self, "metadata", value)
|
|
1308
1372
|
|
|
1309
|
-
@property
|
|
1373
|
+
@_builtins.property
|
|
1310
1374
|
@pulumi.getter(name="nodeTopology")
|
|
1311
1375
|
def node_topology(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1312
1376
|
"""
|
|
@@ -1326,11 +1390,11 @@ if not MYPY:
|
|
|
1326
1390
|
|
|
1327
1391
|
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
|
|
1328
1392
|
"""
|
|
1329
|
-
provisioner: pulumi.Input[str]
|
|
1393
|
+
provisioner: pulumi.Input[_builtins.str]
|
|
1330
1394
|
"""
|
|
1331
1395
|
provisioner indicates the type of the provisioner.
|
|
1332
1396
|
"""
|
|
1333
|
-
allow_volume_expansion: NotRequired[pulumi.Input[bool]]
|
|
1397
|
+
allow_volume_expansion: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1334
1398
|
"""
|
|
1335
1399
|
allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1336
1400
|
"""
|
|
@@ -1338,11 +1402,11 @@ if not MYPY:
|
|
|
1338
1402
|
"""
|
|
1339
1403
|
allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.
|
|
1340
1404
|
"""
|
|
1341
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1405
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1342
1406
|
"""
|
|
1343
1407
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1344
1408
|
"""
|
|
1345
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1409
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1346
1410
|
"""
|
|
1347
1411
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1348
1412
|
"""
|
|
@@ -1350,19 +1414,19 @@ if not MYPY:
|
|
|
1350
1414
|
"""
|
|
1351
1415
|
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1352
1416
|
"""
|
|
1353
|
-
mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1417
|
+
mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1354
1418
|
"""
|
|
1355
1419
|
mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
1356
1420
|
"""
|
|
1357
|
-
parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
1421
|
+
parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
1358
1422
|
"""
|
|
1359
1423
|
parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1360
1424
|
"""
|
|
1361
|
-
reclaim_policy: NotRequired[pulumi.Input[str]]
|
|
1425
|
+
reclaim_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1362
1426
|
"""
|
|
1363
1427
|
reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1364
1428
|
"""
|
|
1365
|
-
volume_binding_mode: NotRequired[pulumi.Input[str]]
|
|
1429
|
+
volume_binding_mode: NotRequired[pulumi.Input[_builtins.str]]
|
|
1366
1430
|
"""
|
|
1367
1431
|
volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
|
|
1368
1432
|
"""
|
|
@@ -1372,30 +1436,30 @@ elif False:
|
|
|
1372
1436
|
@pulumi.input_type
|
|
1373
1437
|
class StorageClassArgs:
|
|
1374
1438
|
def __init__(__self__, *,
|
|
1375
|
-
provisioner: pulumi.Input[str],
|
|
1376
|
-
allow_volume_expansion: Optional[pulumi.Input[bool]] = None,
|
|
1439
|
+
provisioner: pulumi.Input[_builtins.str],
|
|
1440
|
+
allow_volume_expansion: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1377
1441
|
allowed_topologies: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]]] = None,
|
|
1378
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1379
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1442
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1443
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1380
1444
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1381
|
-
mount_options: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1382
|
-
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1383
|
-
reclaim_policy: Optional[pulumi.Input[str]] = None,
|
|
1384
|
-
volume_binding_mode: Optional[pulumi.Input[str]] = None):
|
|
1445
|
+
mount_options: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1446
|
+
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
1447
|
+
reclaim_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1448
|
+
volume_binding_mode: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1385
1449
|
"""
|
|
1386
1450
|
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
|
|
1387
1451
|
|
|
1388
1452
|
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
|
|
1389
|
-
:param pulumi.Input[str] provisioner: provisioner indicates the type of the provisioner.
|
|
1390
|
-
:param pulumi.Input[bool] allow_volume_expansion: allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1453
|
+
:param pulumi.Input[_builtins.str] provisioner: provisioner indicates the type of the provisioner.
|
|
1454
|
+
:param pulumi.Input[_builtins.bool] allow_volume_expansion: allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1391
1455
|
:param pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]] allowed_topologies: allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.
|
|
1392
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1393
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1456
|
+
: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
|
|
1457
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1394
1458
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1395
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] mount_options: mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
1396
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1397
|
-
:param pulumi.Input[str] reclaim_policy: reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1398
|
-
:param pulumi.Input[str] volume_binding_mode: volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
|
|
1459
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] mount_options: mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
1460
|
+
: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.
|
|
1461
|
+
:param pulumi.Input[_builtins.str] reclaim_policy: reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1462
|
+
:param pulumi.Input[_builtins.str] volume_binding_mode: volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
|
|
1399
1463
|
"""
|
|
1400
1464
|
pulumi.set(__self__, "provisioner", provisioner)
|
|
1401
1465
|
if allow_volume_expansion is not None:
|
|
@@ -1417,31 +1481,31 @@ class StorageClassArgs:
|
|
|
1417
1481
|
if volume_binding_mode is not None:
|
|
1418
1482
|
pulumi.set(__self__, "volume_binding_mode", volume_binding_mode)
|
|
1419
1483
|
|
|
1420
|
-
@property
|
|
1484
|
+
@_builtins.property
|
|
1421
1485
|
@pulumi.getter
|
|
1422
|
-
def provisioner(self) -> pulumi.Input[str]:
|
|
1486
|
+
def provisioner(self) -> pulumi.Input[_builtins.str]:
|
|
1423
1487
|
"""
|
|
1424
1488
|
provisioner indicates the type of the provisioner.
|
|
1425
1489
|
"""
|
|
1426
1490
|
return pulumi.get(self, "provisioner")
|
|
1427
1491
|
|
|
1428
1492
|
@provisioner.setter
|
|
1429
|
-
def provisioner(self, value: pulumi.Input[str]):
|
|
1493
|
+
def provisioner(self, value: pulumi.Input[_builtins.str]):
|
|
1430
1494
|
pulumi.set(self, "provisioner", value)
|
|
1431
1495
|
|
|
1432
|
-
@property
|
|
1496
|
+
@_builtins.property
|
|
1433
1497
|
@pulumi.getter(name="allowVolumeExpansion")
|
|
1434
|
-
def allow_volume_expansion(self) -> Optional[pulumi.Input[bool]]:
|
|
1498
|
+
def allow_volume_expansion(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1435
1499
|
"""
|
|
1436
1500
|
allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1437
1501
|
"""
|
|
1438
1502
|
return pulumi.get(self, "allow_volume_expansion")
|
|
1439
1503
|
|
|
1440
1504
|
@allow_volume_expansion.setter
|
|
1441
|
-
def allow_volume_expansion(self, value: Optional[pulumi.Input[bool]]):
|
|
1505
|
+
def allow_volume_expansion(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1442
1506
|
pulumi.set(self, "allow_volume_expansion", value)
|
|
1443
1507
|
|
|
1444
|
-
@property
|
|
1508
|
+
@_builtins.property
|
|
1445
1509
|
@pulumi.getter(name="allowedTopologies")
|
|
1446
1510
|
def allowed_topologies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]]]:
|
|
1447
1511
|
"""
|
|
@@ -1453,31 +1517,31 @@ class StorageClassArgs:
|
|
|
1453
1517
|
def allowed_topologies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]]]):
|
|
1454
1518
|
pulumi.set(self, "allowed_topologies", value)
|
|
1455
1519
|
|
|
1456
|
-
@property
|
|
1520
|
+
@_builtins.property
|
|
1457
1521
|
@pulumi.getter(name="apiVersion")
|
|
1458
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1522
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1459
1523
|
"""
|
|
1460
1524
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1461
1525
|
"""
|
|
1462
1526
|
return pulumi.get(self, "api_version")
|
|
1463
1527
|
|
|
1464
1528
|
@api_version.setter
|
|
1465
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1529
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1466
1530
|
pulumi.set(self, "api_version", value)
|
|
1467
1531
|
|
|
1468
|
-
@property
|
|
1532
|
+
@_builtins.property
|
|
1469
1533
|
@pulumi.getter
|
|
1470
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1534
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1471
1535
|
"""
|
|
1472
1536
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1473
1537
|
"""
|
|
1474
1538
|
return pulumi.get(self, "kind")
|
|
1475
1539
|
|
|
1476
1540
|
@kind.setter
|
|
1477
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1541
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1478
1542
|
pulumi.set(self, "kind", value)
|
|
1479
1543
|
|
|
1480
|
-
@property
|
|
1544
|
+
@_builtins.property
|
|
1481
1545
|
@pulumi.getter
|
|
1482
1546
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1483
1547
|
"""
|
|
@@ -1489,52 +1553,52 @@ class StorageClassArgs:
|
|
|
1489
1553
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1490
1554
|
pulumi.set(self, "metadata", value)
|
|
1491
1555
|
|
|
1492
|
-
@property
|
|
1556
|
+
@_builtins.property
|
|
1493
1557
|
@pulumi.getter(name="mountOptions")
|
|
1494
|
-
def mount_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1558
|
+
def mount_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1495
1559
|
"""
|
|
1496
1560
|
mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
1497
1561
|
"""
|
|
1498
1562
|
return pulumi.get(self, "mount_options")
|
|
1499
1563
|
|
|
1500
1564
|
@mount_options.setter
|
|
1501
|
-
def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1565
|
+
def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1502
1566
|
pulumi.set(self, "mount_options", value)
|
|
1503
1567
|
|
|
1504
|
-
@property
|
|
1568
|
+
@_builtins.property
|
|
1505
1569
|
@pulumi.getter
|
|
1506
|
-
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1570
|
+
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
1507
1571
|
"""
|
|
1508
1572
|
parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1509
1573
|
"""
|
|
1510
1574
|
return pulumi.get(self, "parameters")
|
|
1511
1575
|
|
|
1512
1576
|
@parameters.setter
|
|
1513
|
-
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1577
|
+
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
1514
1578
|
pulumi.set(self, "parameters", value)
|
|
1515
1579
|
|
|
1516
|
-
@property
|
|
1580
|
+
@_builtins.property
|
|
1517
1581
|
@pulumi.getter(name="reclaimPolicy")
|
|
1518
|
-
def reclaim_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1582
|
+
def reclaim_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1519
1583
|
"""
|
|
1520
1584
|
reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1521
1585
|
"""
|
|
1522
1586
|
return pulumi.get(self, "reclaim_policy")
|
|
1523
1587
|
|
|
1524
1588
|
@reclaim_policy.setter
|
|
1525
|
-
def reclaim_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1589
|
+
def reclaim_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1526
1590
|
pulumi.set(self, "reclaim_policy", value)
|
|
1527
1591
|
|
|
1528
|
-
@property
|
|
1592
|
+
@_builtins.property
|
|
1529
1593
|
@pulumi.getter(name="volumeBindingMode")
|
|
1530
|
-
def volume_binding_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1594
|
+
def volume_binding_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1531
1595
|
"""
|
|
1532
1596
|
volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
|
|
1533
1597
|
"""
|
|
1534
1598
|
return pulumi.get(self, "volume_binding_mode")
|
|
1535
1599
|
|
|
1536
1600
|
@volume_binding_mode.setter
|
|
1537
|
-
def volume_binding_mode(self, value: Optional[pulumi.Input[str]]):
|
|
1601
|
+
def volume_binding_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1538
1602
|
pulumi.set(self, "volume_binding_mode", value)
|
|
1539
1603
|
|
|
1540
1604
|
|
|
@@ -1543,11 +1607,11 @@ if not MYPY:
|
|
|
1543
1607
|
"""
|
|
1544
1608
|
TokenRequest contains parameters of a service account token.
|
|
1545
1609
|
"""
|
|
1546
|
-
audience: NotRequired[pulumi.Input[str]]
|
|
1610
|
+
audience: NotRequired[pulumi.Input[_builtins.str]]
|
|
1547
1611
|
"""
|
|
1548
1612
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1549
1613
|
"""
|
|
1550
|
-
expiration_seconds: NotRequired[pulumi.Input[int]]
|
|
1614
|
+
expiration_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1551
1615
|
"""
|
|
1552
1616
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1553
1617
|
"""
|
|
@@ -1557,40 +1621,40 @@ elif False:
|
|
|
1557
1621
|
@pulumi.input_type
|
|
1558
1622
|
class TokenRequestPatchArgs:
|
|
1559
1623
|
def __init__(__self__, *,
|
|
1560
|
-
audience: Optional[pulumi.Input[str]] = None,
|
|
1561
|
-
expiration_seconds: Optional[pulumi.Input[int]] = None):
|
|
1624
|
+
audience: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1625
|
+
expiration_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1562
1626
|
"""
|
|
1563
1627
|
TokenRequest contains parameters of a service account token.
|
|
1564
|
-
:param pulumi.Input[str] audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1565
|
-
:param pulumi.Input[int] expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1628
|
+
: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.
|
|
1629
|
+
:param pulumi.Input[_builtins.int] expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1566
1630
|
"""
|
|
1567
1631
|
if audience is not None:
|
|
1568
1632
|
pulumi.set(__self__, "audience", audience)
|
|
1569
1633
|
if expiration_seconds is not None:
|
|
1570
1634
|
pulumi.set(__self__, "expiration_seconds", expiration_seconds)
|
|
1571
1635
|
|
|
1572
|
-
@property
|
|
1636
|
+
@_builtins.property
|
|
1573
1637
|
@pulumi.getter
|
|
1574
|
-
def audience(self) -> Optional[pulumi.Input[str]]:
|
|
1638
|
+
def audience(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1575
1639
|
"""
|
|
1576
1640
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1577
1641
|
"""
|
|
1578
1642
|
return pulumi.get(self, "audience")
|
|
1579
1643
|
|
|
1580
1644
|
@audience.setter
|
|
1581
|
-
def audience(self, value: Optional[pulumi.Input[str]]):
|
|
1645
|
+
def audience(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1582
1646
|
pulumi.set(self, "audience", value)
|
|
1583
1647
|
|
|
1584
|
-
@property
|
|
1648
|
+
@_builtins.property
|
|
1585
1649
|
@pulumi.getter(name="expirationSeconds")
|
|
1586
|
-
def expiration_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1650
|
+
def expiration_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1587
1651
|
"""
|
|
1588
1652
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1589
1653
|
"""
|
|
1590
1654
|
return pulumi.get(self, "expiration_seconds")
|
|
1591
1655
|
|
|
1592
1656
|
@expiration_seconds.setter
|
|
1593
|
-
def expiration_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1657
|
+
def expiration_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1594
1658
|
pulumi.set(self, "expiration_seconds", value)
|
|
1595
1659
|
|
|
1596
1660
|
|
|
@@ -1599,11 +1663,11 @@ if not MYPY:
|
|
|
1599
1663
|
"""
|
|
1600
1664
|
TokenRequest contains parameters of a service account token.
|
|
1601
1665
|
"""
|
|
1602
|
-
audience: pulumi.Input[str]
|
|
1666
|
+
audience: pulumi.Input[_builtins.str]
|
|
1603
1667
|
"""
|
|
1604
1668
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1605
1669
|
"""
|
|
1606
|
-
expiration_seconds: NotRequired[pulumi.Input[int]]
|
|
1670
|
+
expiration_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1607
1671
|
"""
|
|
1608
1672
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1609
1673
|
"""
|
|
@@ -1613,52 +1677,52 @@ elif False:
|
|
|
1613
1677
|
@pulumi.input_type
|
|
1614
1678
|
class TokenRequestArgs:
|
|
1615
1679
|
def __init__(__self__, *,
|
|
1616
|
-
audience: pulumi.Input[str],
|
|
1617
|
-
expiration_seconds: Optional[pulumi.Input[int]] = None):
|
|
1680
|
+
audience: pulumi.Input[_builtins.str],
|
|
1681
|
+
expiration_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1618
1682
|
"""
|
|
1619
1683
|
TokenRequest contains parameters of a service account token.
|
|
1620
|
-
:param pulumi.Input[str] audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1621
|
-
:param pulumi.Input[int] expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1684
|
+
: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.
|
|
1685
|
+
:param pulumi.Input[_builtins.int] expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1622
1686
|
"""
|
|
1623
1687
|
pulumi.set(__self__, "audience", audience)
|
|
1624
1688
|
if expiration_seconds is not None:
|
|
1625
1689
|
pulumi.set(__self__, "expiration_seconds", expiration_seconds)
|
|
1626
1690
|
|
|
1627
|
-
@property
|
|
1691
|
+
@_builtins.property
|
|
1628
1692
|
@pulumi.getter
|
|
1629
|
-
def audience(self) -> pulumi.Input[str]:
|
|
1693
|
+
def audience(self) -> pulumi.Input[_builtins.str]:
|
|
1630
1694
|
"""
|
|
1631
1695
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1632
1696
|
"""
|
|
1633
1697
|
return pulumi.get(self, "audience")
|
|
1634
1698
|
|
|
1635
1699
|
@audience.setter
|
|
1636
|
-
def audience(self, value: pulumi.Input[str]):
|
|
1700
|
+
def audience(self, value: pulumi.Input[_builtins.str]):
|
|
1637
1701
|
pulumi.set(self, "audience", value)
|
|
1638
1702
|
|
|
1639
|
-
@property
|
|
1703
|
+
@_builtins.property
|
|
1640
1704
|
@pulumi.getter(name="expirationSeconds")
|
|
1641
|
-
def expiration_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1705
|
+
def expiration_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1642
1706
|
"""
|
|
1643
1707
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1644
1708
|
"""
|
|
1645
1709
|
return pulumi.get(self, "expiration_seconds")
|
|
1646
1710
|
|
|
1647
1711
|
@expiration_seconds.setter
|
|
1648
|
-
def expiration_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1712
|
+
def expiration_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1649
1713
|
pulumi.set(self, "expiration_seconds", value)
|
|
1650
1714
|
|
|
1651
1715
|
|
|
1652
1716
|
if not MYPY:
|
|
1653
1717
|
class VolumeAttachmentSourcePatchArgsDict(TypedDict):
|
|
1654
1718
|
"""
|
|
1655
|
-
VolumeAttachmentSource represents a volume that should be attached. Right now only
|
|
1719
|
+
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.
|
|
1656
1720
|
"""
|
|
1657
1721
|
inline_volume_spec: NotRequired[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgsDict']]
|
|
1658
1722
|
"""
|
|
1659
1723
|
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1660
1724
|
"""
|
|
1661
|
-
persistent_volume_name: NotRequired[pulumi.Input[str]]
|
|
1725
|
+
persistent_volume_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1662
1726
|
"""
|
|
1663
1727
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1664
1728
|
"""
|
|
@@ -1669,18 +1733,18 @@ elif False:
|
|
|
1669
1733
|
class VolumeAttachmentSourcePatchArgs:
|
|
1670
1734
|
def __init__(__self__, *,
|
|
1671
1735
|
inline_volume_spec: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs']] = None,
|
|
1672
|
-
persistent_volume_name: Optional[pulumi.Input[str]] = None):
|
|
1736
|
+
persistent_volume_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1673
1737
|
"""
|
|
1674
|
-
VolumeAttachmentSource represents a volume that should be attached. Right now only
|
|
1738
|
+
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.
|
|
1675
1739
|
:param pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs'] inline_volume_spec: inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1676
|
-
:param pulumi.Input[str] persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1740
|
+
:param pulumi.Input[_builtins.str] persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1677
1741
|
"""
|
|
1678
1742
|
if inline_volume_spec is not None:
|
|
1679
1743
|
pulumi.set(__self__, "inline_volume_spec", inline_volume_spec)
|
|
1680
1744
|
if persistent_volume_name is not None:
|
|
1681
1745
|
pulumi.set(__self__, "persistent_volume_name", persistent_volume_name)
|
|
1682
1746
|
|
|
1683
|
-
@property
|
|
1747
|
+
@_builtins.property
|
|
1684
1748
|
@pulumi.getter(name="inlineVolumeSpec")
|
|
1685
1749
|
def inline_volume_spec(self) -> Optional[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs']]:
|
|
1686
1750
|
"""
|
|
@@ -1692,29 +1756,29 @@ class VolumeAttachmentSourcePatchArgs:
|
|
|
1692
1756
|
def inline_volume_spec(self, value: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs']]):
|
|
1693
1757
|
pulumi.set(self, "inline_volume_spec", value)
|
|
1694
1758
|
|
|
1695
|
-
@property
|
|
1759
|
+
@_builtins.property
|
|
1696
1760
|
@pulumi.getter(name="persistentVolumeName")
|
|
1697
|
-
def persistent_volume_name(self) -> Optional[pulumi.Input[str]]:
|
|
1761
|
+
def persistent_volume_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1698
1762
|
"""
|
|
1699
1763
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1700
1764
|
"""
|
|
1701
1765
|
return pulumi.get(self, "persistent_volume_name")
|
|
1702
1766
|
|
|
1703
1767
|
@persistent_volume_name.setter
|
|
1704
|
-
def persistent_volume_name(self, value: Optional[pulumi.Input[str]]):
|
|
1768
|
+
def persistent_volume_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1705
1769
|
pulumi.set(self, "persistent_volume_name", value)
|
|
1706
1770
|
|
|
1707
1771
|
|
|
1708
1772
|
if not MYPY:
|
|
1709
1773
|
class VolumeAttachmentSourceArgsDict(TypedDict):
|
|
1710
1774
|
"""
|
|
1711
|
-
VolumeAttachmentSource represents a volume that should be attached. Right now only
|
|
1775
|
+
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.
|
|
1712
1776
|
"""
|
|
1713
1777
|
inline_volume_spec: NotRequired[pulumi.Input['_core.v1.PersistentVolumeSpecArgsDict']]
|
|
1714
1778
|
"""
|
|
1715
1779
|
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1716
1780
|
"""
|
|
1717
|
-
persistent_volume_name: NotRequired[pulumi.Input[str]]
|
|
1781
|
+
persistent_volume_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1718
1782
|
"""
|
|
1719
1783
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1720
1784
|
"""
|
|
@@ -1725,18 +1789,18 @@ elif False:
|
|
|
1725
1789
|
class VolumeAttachmentSourceArgs:
|
|
1726
1790
|
def __init__(__self__, *,
|
|
1727
1791
|
inline_volume_spec: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecArgs']] = None,
|
|
1728
|
-
persistent_volume_name: Optional[pulumi.Input[str]] = None):
|
|
1792
|
+
persistent_volume_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1729
1793
|
"""
|
|
1730
|
-
VolumeAttachmentSource represents a volume that should be attached. Right now only
|
|
1794
|
+
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.
|
|
1731
1795
|
:param pulumi.Input['_core.v1.PersistentVolumeSpecArgs'] inline_volume_spec: inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1732
|
-
:param pulumi.Input[str] persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1796
|
+
:param pulumi.Input[_builtins.str] persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1733
1797
|
"""
|
|
1734
1798
|
if inline_volume_spec is not None:
|
|
1735
1799
|
pulumi.set(__self__, "inline_volume_spec", inline_volume_spec)
|
|
1736
1800
|
if persistent_volume_name is not None:
|
|
1737
1801
|
pulumi.set(__self__, "persistent_volume_name", persistent_volume_name)
|
|
1738
1802
|
|
|
1739
|
-
@property
|
|
1803
|
+
@_builtins.property
|
|
1740
1804
|
@pulumi.getter(name="inlineVolumeSpec")
|
|
1741
1805
|
def inline_volume_spec(self) -> Optional[pulumi.Input['_core.v1.PersistentVolumeSpecArgs']]:
|
|
1742
1806
|
"""
|
|
@@ -1748,16 +1812,16 @@ class VolumeAttachmentSourceArgs:
|
|
|
1748
1812
|
def inline_volume_spec(self, value: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecArgs']]):
|
|
1749
1813
|
pulumi.set(self, "inline_volume_spec", value)
|
|
1750
1814
|
|
|
1751
|
-
@property
|
|
1815
|
+
@_builtins.property
|
|
1752
1816
|
@pulumi.getter(name="persistentVolumeName")
|
|
1753
|
-
def persistent_volume_name(self) -> Optional[pulumi.Input[str]]:
|
|
1817
|
+
def persistent_volume_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1754
1818
|
"""
|
|
1755
1819
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1756
1820
|
"""
|
|
1757
1821
|
return pulumi.get(self, "persistent_volume_name")
|
|
1758
1822
|
|
|
1759
1823
|
@persistent_volume_name.setter
|
|
1760
|
-
def persistent_volume_name(self, value: Optional[pulumi.Input[str]]):
|
|
1824
|
+
def persistent_volume_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1761
1825
|
pulumi.set(self, "persistent_volume_name", value)
|
|
1762
1826
|
|
|
1763
1827
|
|
|
@@ -1766,11 +1830,11 @@ if not MYPY:
|
|
|
1766
1830
|
"""
|
|
1767
1831
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1768
1832
|
"""
|
|
1769
|
-
attacher: NotRequired[pulumi.Input[str]]
|
|
1833
|
+
attacher: NotRequired[pulumi.Input[_builtins.str]]
|
|
1770
1834
|
"""
|
|
1771
1835
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1772
1836
|
"""
|
|
1773
|
-
node_name: NotRequired[pulumi.Input[str]]
|
|
1837
|
+
node_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1774
1838
|
"""
|
|
1775
1839
|
nodeName represents the node that the volume should be attached to.
|
|
1776
1840
|
"""
|
|
@@ -1784,13 +1848,13 @@ elif False:
|
|
|
1784
1848
|
@pulumi.input_type
|
|
1785
1849
|
class VolumeAttachmentSpecPatchArgs:
|
|
1786
1850
|
def __init__(__self__, *,
|
|
1787
|
-
attacher: Optional[pulumi.Input[str]] = None,
|
|
1788
|
-
node_name: Optional[pulumi.Input[str]] = None,
|
|
1851
|
+
attacher: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1852
|
+
node_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1789
1853
|
source: Optional[pulumi.Input['VolumeAttachmentSourcePatchArgs']] = None):
|
|
1790
1854
|
"""
|
|
1791
1855
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1792
|
-
:param pulumi.Input[str] attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1793
|
-
:param pulumi.Input[str] node_name: nodeName represents the node that the volume should be attached to.
|
|
1856
|
+
: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().
|
|
1857
|
+
:param pulumi.Input[_builtins.str] node_name: nodeName represents the node that the volume should be attached to.
|
|
1794
1858
|
:param pulumi.Input['VolumeAttachmentSourcePatchArgs'] source: source represents the volume that should be attached.
|
|
1795
1859
|
"""
|
|
1796
1860
|
if attacher is not None:
|
|
@@ -1800,31 +1864,31 @@ class VolumeAttachmentSpecPatchArgs:
|
|
|
1800
1864
|
if source is not None:
|
|
1801
1865
|
pulumi.set(__self__, "source", source)
|
|
1802
1866
|
|
|
1803
|
-
@property
|
|
1867
|
+
@_builtins.property
|
|
1804
1868
|
@pulumi.getter
|
|
1805
|
-
def attacher(self) -> Optional[pulumi.Input[str]]:
|
|
1869
|
+
def attacher(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1806
1870
|
"""
|
|
1807
1871
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1808
1872
|
"""
|
|
1809
1873
|
return pulumi.get(self, "attacher")
|
|
1810
1874
|
|
|
1811
1875
|
@attacher.setter
|
|
1812
|
-
def attacher(self, value: Optional[pulumi.Input[str]]):
|
|
1876
|
+
def attacher(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1813
1877
|
pulumi.set(self, "attacher", value)
|
|
1814
1878
|
|
|
1815
|
-
@property
|
|
1879
|
+
@_builtins.property
|
|
1816
1880
|
@pulumi.getter(name="nodeName")
|
|
1817
|
-
def node_name(self) -> Optional[pulumi.Input[str]]:
|
|
1881
|
+
def node_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1818
1882
|
"""
|
|
1819
1883
|
nodeName represents the node that the volume should be attached to.
|
|
1820
1884
|
"""
|
|
1821
1885
|
return pulumi.get(self, "node_name")
|
|
1822
1886
|
|
|
1823
1887
|
@node_name.setter
|
|
1824
|
-
def node_name(self, value: Optional[pulumi.Input[str]]):
|
|
1888
|
+
def node_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1825
1889
|
pulumi.set(self, "node_name", value)
|
|
1826
1890
|
|
|
1827
|
-
@property
|
|
1891
|
+
@_builtins.property
|
|
1828
1892
|
@pulumi.getter
|
|
1829
1893
|
def source(self) -> Optional[pulumi.Input['VolumeAttachmentSourcePatchArgs']]:
|
|
1830
1894
|
"""
|
|
@@ -1842,11 +1906,11 @@ if not MYPY:
|
|
|
1842
1906
|
"""
|
|
1843
1907
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1844
1908
|
"""
|
|
1845
|
-
attacher: pulumi.Input[str]
|
|
1909
|
+
attacher: pulumi.Input[_builtins.str]
|
|
1846
1910
|
"""
|
|
1847
1911
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1848
1912
|
"""
|
|
1849
|
-
node_name: pulumi.Input[str]
|
|
1913
|
+
node_name: pulumi.Input[_builtins.str]
|
|
1850
1914
|
"""
|
|
1851
1915
|
nodeName represents the node that the volume should be attached to.
|
|
1852
1916
|
"""
|
|
@@ -1860,44 +1924,44 @@ elif False:
|
|
|
1860
1924
|
@pulumi.input_type
|
|
1861
1925
|
class VolumeAttachmentSpecArgs:
|
|
1862
1926
|
def __init__(__self__, *,
|
|
1863
|
-
attacher: pulumi.Input[str],
|
|
1864
|
-
node_name: pulumi.Input[str],
|
|
1927
|
+
attacher: pulumi.Input[_builtins.str],
|
|
1928
|
+
node_name: pulumi.Input[_builtins.str],
|
|
1865
1929
|
source: pulumi.Input['VolumeAttachmentSourceArgs']):
|
|
1866
1930
|
"""
|
|
1867
1931
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1868
|
-
:param pulumi.Input[str] attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1869
|
-
:param pulumi.Input[str] node_name: nodeName represents the node that the volume should be attached to.
|
|
1932
|
+
: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().
|
|
1933
|
+
:param pulumi.Input[_builtins.str] node_name: nodeName represents the node that the volume should be attached to.
|
|
1870
1934
|
:param pulumi.Input['VolumeAttachmentSourceArgs'] source: source represents the volume that should be attached.
|
|
1871
1935
|
"""
|
|
1872
1936
|
pulumi.set(__self__, "attacher", attacher)
|
|
1873
1937
|
pulumi.set(__self__, "node_name", node_name)
|
|
1874
1938
|
pulumi.set(__self__, "source", source)
|
|
1875
1939
|
|
|
1876
|
-
@property
|
|
1940
|
+
@_builtins.property
|
|
1877
1941
|
@pulumi.getter
|
|
1878
|
-
def attacher(self) -> pulumi.Input[str]:
|
|
1942
|
+
def attacher(self) -> pulumi.Input[_builtins.str]:
|
|
1879
1943
|
"""
|
|
1880
1944
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1881
1945
|
"""
|
|
1882
1946
|
return pulumi.get(self, "attacher")
|
|
1883
1947
|
|
|
1884
1948
|
@attacher.setter
|
|
1885
|
-
def attacher(self, value: pulumi.Input[str]):
|
|
1949
|
+
def attacher(self, value: pulumi.Input[_builtins.str]):
|
|
1886
1950
|
pulumi.set(self, "attacher", value)
|
|
1887
1951
|
|
|
1888
|
-
@property
|
|
1952
|
+
@_builtins.property
|
|
1889
1953
|
@pulumi.getter(name="nodeName")
|
|
1890
|
-
def node_name(self) -> pulumi.Input[str]:
|
|
1954
|
+
def node_name(self) -> pulumi.Input[_builtins.str]:
|
|
1891
1955
|
"""
|
|
1892
1956
|
nodeName represents the node that the volume should be attached to.
|
|
1893
1957
|
"""
|
|
1894
1958
|
return pulumi.get(self, "node_name")
|
|
1895
1959
|
|
|
1896
1960
|
@node_name.setter
|
|
1897
|
-
def node_name(self, value: pulumi.Input[str]):
|
|
1961
|
+
def node_name(self, value: pulumi.Input[_builtins.str]):
|
|
1898
1962
|
pulumi.set(self, "node_name", value)
|
|
1899
1963
|
|
|
1900
|
-
@property
|
|
1964
|
+
@_builtins.property
|
|
1901
1965
|
@pulumi.getter
|
|
1902
1966
|
def source(self) -> pulumi.Input['VolumeAttachmentSourceArgs']:
|
|
1903
1967
|
"""
|
|
@@ -1915,7 +1979,7 @@ if not MYPY:
|
|
|
1915
1979
|
"""
|
|
1916
1980
|
VolumeAttachmentStatus is the status of a VolumeAttachment request.
|
|
1917
1981
|
"""
|
|
1918
|
-
attached: pulumi.Input[bool]
|
|
1982
|
+
attached: pulumi.Input[_builtins.bool]
|
|
1919
1983
|
"""
|
|
1920
1984
|
attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1921
1985
|
"""
|
|
@@ -1923,7 +1987,7 @@ if not MYPY:
|
|
|
1923
1987
|
"""
|
|
1924
1988
|
attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1925
1989
|
"""
|
|
1926
|
-
attachment_metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
1990
|
+
attachment_metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
1927
1991
|
"""
|
|
1928
1992
|
attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1929
1993
|
"""
|
|
@@ -1937,15 +2001,15 @@ elif False:
|
|
|
1937
2001
|
@pulumi.input_type
|
|
1938
2002
|
class VolumeAttachmentStatusArgs:
|
|
1939
2003
|
def __init__(__self__, *,
|
|
1940
|
-
attached: pulumi.Input[bool],
|
|
2004
|
+
attached: pulumi.Input[_builtins.bool],
|
|
1941
2005
|
attach_error: Optional[pulumi.Input['VolumeErrorArgs']] = None,
|
|
1942
|
-
attachment_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2006
|
+
attachment_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
1943
2007
|
detach_error: Optional[pulumi.Input['VolumeErrorArgs']] = None):
|
|
1944
2008
|
"""
|
|
1945
2009
|
VolumeAttachmentStatus is the status of a VolumeAttachment request.
|
|
1946
|
-
:param pulumi.Input[bool] attached: attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
2010
|
+
:param pulumi.Input[_builtins.bool] attached: attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1947
2011
|
:param pulumi.Input['VolumeErrorArgs'] attach_error: attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1948
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] attachment_metadata: attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
2012
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] attachment_metadata: attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1949
2013
|
:param pulumi.Input['VolumeErrorArgs'] detach_error: detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.
|
|
1950
2014
|
"""
|
|
1951
2015
|
pulumi.set(__self__, "attached", attached)
|
|
@@ -1956,19 +2020,19 @@ class VolumeAttachmentStatusArgs:
|
|
|
1956
2020
|
if detach_error is not None:
|
|
1957
2021
|
pulumi.set(__self__, "detach_error", detach_error)
|
|
1958
2022
|
|
|
1959
|
-
@property
|
|
2023
|
+
@_builtins.property
|
|
1960
2024
|
@pulumi.getter
|
|
1961
|
-
def attached(self) -> pulumi.Input[bool]:
|
|
2025
|
+
def attached(self) -> pulumi.Input[_builtins.bool]:
|
|
1962
2026
|
"""
|
|
1963
2027
|
attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1964
2028
|
"""
|
|
1965
2029
|
return pulumi.get(self, "attached")
|
|
1966
2030
|
|
|
1967
2031
|
@attached.setter
|
|
1968
|
-
def attached(self, value: pulumi.Input[bool]):
|
|
2032
|
+
def attached(self, value: pulumi.Input[_builtins.bool]):
|
|
1969
2033
|
pulumi.set(self, "attached", value)
|
|
1970
2034
|
|
|
1971
|
-
@property
|
|
2035
|
+
@_builtins.property
|
|
1972
2036
|
@pulumi.getter(name="attachError")
|
|
1973
2037
|
def attach_error(self) -> Optional[pulumi.Input['VolumeErrorArgs']]:
|
|
1974
2038
|
"""
|
|
@@ -1980,19 +2044,19 @@ class VolumeAttachmentStatusArgs:
|
|
|
1980
2044
|
def attach_error(self, value: Optional[pulumi.Input['VolumeErrorArgs']]):
|
|
1981
2045
|
pulumi.set(self, "attach_error", value)
|
|
1982
2046
|
|
|
1983
|
-
@property
|
|
2047
|
+
@_builtins.property
|
|
1984
2048
|
@pulumi.getter(name="attachmentMetadata")
|
|
1985
|
-
def attachment_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
2049
|
+
def attachment_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
1986
2050
|
"""
|
|
1987
2051
|
attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1988
2052
|
"""
|
|
1989
2053
|
return pulumi.get(self, "attachment_metadata")
|
|
1990
2054
|
|
|
1991
2055
|
@attachment_metadata.setter
|
|
1992
|
-
def attachment_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
2056
|
+
def attachment_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
1993
2057
|
pulumi.set(self, "attachment_metadata", value)
|
|
1994
2058
|
|
|
1995
|
-
@property
|
|
2059
|
+
@_builtins.property
|
|
1996
2060
|
@pulumi.getter(name="detachError")
|
|
1997
2061
|
def detach_error(self) -> Optional[pulumi.Input['VolumeErrorArgs']]:
|
|
1998
2062
|
"""
|
|
@@ -2016,11 +2080,11 @@ if not MYPY:
|
|
|
2016
2080
|
"""
|
|
2017
2081
|
spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
|
|
2018
2082
|
"""
|
|
2019
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
2083
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
2020
2084
|
"""
|
|
2021
2085
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2022
2086
|
"""
|
|
2023
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
2087
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
2024
2088
|
"""
|
|
2025
2089
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2026
2090
|
"""
|
|
@@ -2039,8 +2103,8 @@ elif False:
|
|
|
2039
2103
|
class VolumeAttachmentArgs:
|
|
2040
2104
|
def __init__(__self__, *,
|
|
2041
2105
|
spec: pulumi.Input['VolumeAttachmentSpecArgs'],
|
|
2042
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2043
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
2106
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2107
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2044
2108
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
2045
2109
|
status: Optional[pulumi.Input['VolumeAttachmentStatusArgs']] = None):
|
|
2046
2110
|
"""
|
|
@@ -2048,8 +2112,8 @@ class VolumeAttachmentArgs:
|
|
|
2048
2112
|
|
|
2049
2113
|
VolumeAttachment objects are non-namespaced.
|
|
2050
2114
|
:param pulumi.Input['VolumeAttachmentSpecArgs'] spec: spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
|
|
2051
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2052
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2115
|
+
: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
|
|
2116
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2053
2117
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
2054
2118
|
:param pulumi.Input['VolumeAttachmentStatusArgs'] status: status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
|
|
2055
2119
|
"""
|
|
@@ -2063,7 +2127,7 @@ class VolumeAttachmentArgs:
|
|
|
2063
2127
|
if status is not None:
|
|
2064
2128
|
pulumi.set(__self__, "status", status)
|
|
2065
2129
|
|
|
2066
|
-
@property
|
|
2130
|
+
@_builtins.property
|
|
2067
2131
|
@pulumi.getter
|
|
2068
2132
|
def spec(self) -> pulumi.Input['VolumeAttachmentSpecArgs']:
|
|
2069
2133
|
"""
|
|
@@ -2075,31 +2139,31 @@ class VolumeAttachmentArgs:
|
|
|
2075
2139
|
def spec(self, value: pulumi.Input['VolumeAttachmentSpecArgs']):
|
|
2076
2140
|
pulumi.set(self, "spec", value)
|
|
2077
2141
|
|
|
2078
|
-
@property
|
|
2142
|
+
@_builtins.property
|
|
2079
2143
|
@pulumi.getter(name="apiVersion")
|
|
2080
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2144
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2081
2145
|
"""
|
|
2082
2146
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2083
2147
|
"""
|
|
2084
2148
|
return pulumi.get(self, "api_version")
|
|
2085
2149
|
|
|
2086
2150
|
@api_version.setter
|
|
2087
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2151
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2088
2152
|
pulumi.set(self, "api_version", value)
|
|
2089
2153
|
|
|
2090
|
-
@property
|
|
2154
|
+
@_builtins.property
|
|
2091
2155
|
@pulumi.getter
|
|
2092
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2156
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2093
2157
|
"""
|
|
2094
2158
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2095
2159
|
"""
|
|
2096
2160
|
return pulumi.get(self, "kind")
|
|
2097
2161
|
|
|
2098
2162
|
@kind.setter
|
|
2099
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2163
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2100
2164
|
pulumi.set(self, "kind", value)
|
|
2101
2165
|
|
|
2102
|
-
@property
|
|
2166
|
+
@_builtins.property
|
|
2103
2167
|
@pulumi.getter
|
|
2104
2168
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
2105
2169
|
"""
|
|
@@ -2111,7 +2175,7 @@ class VolumeAttachmentArgs:
|
|
|
2111
2175
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
2112
2176
|
pulumi.set(self, "metadata", value)
|
|
2113
2177
|
|
|
2114
|
-
@property
|
|
2178
|
+
@_builtins.property
|
|
2115
2179
|
@pulumi.getter
|
|
2116
2180
|
def status(self) -> Optional[pulumi.Input['VolumeAttachmentStatusArgs']]:
|
|
2117
2181
|
"""
|
|
@@ -2129,11 +2193,17 @@ if not MYPY:
|
|
|
2129
2193
|
"""
|
|
2130
2194
|
VolumeError captures an error encountered during a volume operation.
|
|
2131
2195
|
"""
|
|
2132
|
-
|
|
2196
|
+
error_code: NotRequired[pulumi.Input[_builtins.int]]
|
|
2197
|
+
"""
|
|
2198
|
+
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2199
|
+
|
|
2200
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
2201
|
+
"""
|
|
2202
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
2133
2203
|
"""
|
|
2134
2204
|
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2135
2205
|
"""
|
|
2136
|
-
time: NotRequired[pulumi.Input[str]]
|
|
2206
|
+
time: NotRequired[pulumi.Input[_builtins.str]]
|
|
2137
2207
|
"""
|
|
2138
2208
|
time represents the time the error was encountered.
|
|
2139
2209
|
"""
|
|
@@ -2143,40 +2213,60 @@ elif False:
|
|
|
2143
2213
|
@pulumi.input_type
|
|
2144
2214
|
class VolumeErrorArgs:
|
|
2145
2215
|
def __init__(__self__, *,
|
|
2146
|
-
|
|
2147
|
-
|
|
2216
|
+
error_code: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2217
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2218
|
+
time: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2148
2219
|
"""
|
|
2149
2220
|
VolumeError captures an error encountered during a volume operation.
|
|
2150
|
-
:param pulumi.Input[
|
|
2151
|
-
|
|
2221
|
+
:param pulumi.Input[_builtins.int] error_code: errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2222
|
+
|
|
2223
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
2224
|
+
:param pulumi.Input[_builtins.str] message: message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2225
|
+
:param pulumi.Input[_builtins.str] time: time represents the time the error was encountered.
|
|
2152
2226
|
"""
|
|
2227
|
+
if error_code is not None:
|
|
2228
|
+
pulumi.set(__self__, "error_code", error_code)
|
|
2153
2229
|
if message is not None:
|
|
2154
2230
|
pulumi.set(__self__, "message", message)
|
|
2155
2231
|
if time is not None:
|
|
2156
2232
|
pulumi.set(__self__, "time", time)
|
|
2157
2233
|
|
|
2158
|
-
@property
|
|
2234
|
+
@_builtins.property
|
|
2235
|
+
@pulumi.getter(name="errorCode")
|
|
2236
|
+
def error_code(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2237
|
+
"""
|
|
2238
|
+
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2239
|
+
|
|
2240
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
2241
|
+
"""
|
|
2242
|
+
return pulumi.get(self, "error_code")
|
|
2243
|
+
|
|
2244
|
+
@error_code.setter
|
|
2245
|
+
def error_code(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2246
|
+
pulumi.set(self, "error_code", value)
|
|
2247
|
+
|
|
2248
|
+
@_builtins.property
|
|
2159
2249
|
@pulumi.getter
|
|
2160
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
2250
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2161
2251
|
"""
|
|
2162
2252
|
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2163
2253
|
"""
|
|
2164
2254
|
return pulumi.get(self, "message")
|
|
2165
2255
|
|
|
2166
2256
|
@message.setter
|
|
2167
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
2257
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2168
2258
|
pulumi.set(self, "message", value)
|
|
2169
2259
|
|
|
2170
|
-
@property
|
|
2260
|
+
@_builtins.property
|
|
2171
2261
|
@pulumi.getter
|
|
2172
|
-
def time(self) -> Optional[pulumi.Input[str]]:
|
|
2262
|
+
def time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2173
2263
|
"""
|
|
2174
2264
|
time represents the time the error was encountered.
|
|
2175
2265
|
"""
|
|
2176
2266
|
return pulumi.get(self, "time")
|
|
2177
2267
|
|
|
2178
2268
|
@time.setter
|
|
2179
|
-
def time(self, value: Optional[pulumi.Input[str]]):
|
|
2269
|
+
def time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2180
2270
|
pulumi.set(self, "time", value)
|
|
2181
2271
|
|
|
2182
2272
|
|
|
@@ -2185,7 +2275,7 @@ if not MYPY:
|
|
|
2185
2275
|
"""
|
|
2186
2276
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2187
2277
|
"""
|
|
2188
|
-
count: NotRequired[pulumi.Input[int]]
|
|
2278
|
+
count: NotRequired[pulumi.Input[_builtins.int]]
|
|
2189
2279
|
"""
|
|
2190
2280
|
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2191
2281
|
"""
|
|
@@ -2195,24 +2285,24 @@ elif False:
|
|
|
2195
2285
|
@pulumi.input_type
|
|
2196
2286
|
class VolumeNodeResourcesPatchArgs:
|
|
2197
2287
|
def __init__(__self__, *,
|
|
2198
|
-
count: Optional[pulumi.Input[int]] = None):
|
|
2288
|
+
count: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2199
2289
|
"""
|
|
2200
2290
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2201
|
-
:param pulumi.Input[int] count: count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2291
|
+
:param pulumi.Input[_builtins.int] count: count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2202
2292
|
"""
|
|
2203
2293
|
if count is not None:
|
|
2204
2294
|
pulumi.set(__self__, "count", count)
|
|
2205
2295
|
|
|
2206
|
-
@property
|
|
2296
|
+
@_builtins.property
|
|
2207
2297
|
@pulumi.getter
|
|
2208
|
-
def count(self) -> Optional[pulumi.Input[int]]:
|
|
2298
|
+
def count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2209
2299
|
"""
|
|
2210
2300
|
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2211
2301
|
"""
|
|
2212
2302
|
return pulumi.get(self, "count")
|
|
2213
2303
|
|
|
2214
2304
|
@count.setter
|
|
2215
|
-
def count(self, value: Optional[pulumi.Input[int]]):
|
|
2305
|
+
def count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2216
2306
|
pulumi.set(self, "count", value)
|
|
2217
2307
|
|
|
2218
2308
|
|
|
@@ -2221,7 +2311,7 @@ if not MYPY:
|
|
|
2221
2311
|
"""
|
|
2222
2312
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2223
2313
|
"""
|
|
2224
|
-
count: NotRequired[pulumi.Input[int]]
|
|
2314
|
+
count: NotRequired[pulumi.Input[_builtins.int]]
|
|
2225
2315
|
"""
|
|
2226
2316
|
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2227
2317
|
"""
|
|
@@ -2231,24 +2321,24 @@ elif False:
|
|
|
2231
2321
|
@pulumi.input_type
|
|
2232
2322
|
class VolumeNodeResourcesArgs:
|
|
2233
2323
|
def __init__(__self__, *,
|
|
2234
|
-
count: Optional[pulumi.Input[int]] = None):
|
|
2324
|
+
count: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2235
2325
|
"""
|
|
2236
2326
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2237
|
-
:param pulumi.Input[int] count: count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2327
|
+
:param pulumi.Input[_builtins.int] count: count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2238
2328
|
"""
|
|
2239
2329
|
if count is not None:
|
|
2240
2330
|
pulumi.set(__self__, "count", count)
|
|
2241
2331
|
|
|
2242
|
-
@property
|
|
2332
|
+
@_builtins.property
|
|
2243
2333
|
@pulumi.getter
|
|
2244
|
-
def count(self) -> Optional[pulumi.Input[int]]:
|
|
2334
|
+
def count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2245
2335
|
"""
|
|
2246
2336
|
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2247
2337
|
"""
|
|
2248
2338
|
return pulumi.get(self, "count")
|
|
2249
2339
|
|
|
2250
2340
|
@count.setter
|
|
2251
|
-
def count(self, value: Optional[pulumi.Input[int]]):
|
|
2341
|
+
def count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2252
2342
|
pulumi.set(self, "count", value)
|
|
2253
2343
|
|
|
2254
2344
|
|