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
|
|
@@ -67,14 +67,14 @@ class CSIDriver(dict):
|
|
|
67
67
|
|
|
68
68
|
def __init__(__self__, *,
|
|
69
69
|
spec: 'outputs.CSIDriverSpec',
|
|
70
|
-
api_version: Optional[str] = None,
|
|
71
|
-
kind: Optional[str] = None,
|
|
70
|
+
api_version: Optional[_builtins.str] = None,
|
|
71
|
+
kind: Optional[_builtins.str] = None,
|
|
72
72
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None):
|
|
73
73
|
"""
|
|
74
74
|
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.
|
|
75
75
|
:param 'CSIDriverSpecArgs' spec: spec represents the specification of the CSI Driver.
|
|
76
|
-
:param 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
|
|
77
|
-
:param 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
|
|
76
|
+
:param _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
|
|
77
|
+
:param _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
|
|
78
78
|
:param '_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
|
|
79
79
|
"""
|
|
80
80
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -85,7 +85,7 @@ class CSIDriver(dict):
|
|
|
85
85
|
if metadata is not None:
|
|
86
86
|
pulumi.set(__self__, "metadata", metadata)
|
|
87
87
|
|
|
88
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
89
89
|
@pulumi.getter
|
|
90
90
|
def spec(self) -> 'outputs.CSIDriverSpec':
|
|
91
91
|
"""
|
|
@@ -93,23 +93,23 @@ class CSIDriver(dict):
|
|
|
93
93
|
"""
|
|
94
94
|
return pulumi.get(self, "spec")
|
|
95
95
|
|
|
96
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
97
97
|
@pulumi.getter(name="apiVersion")
|
|
98
|
-
def api_version(self) -> Optional[str]:
|
|
98
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
99
99
|
"""
|
|
100
100
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
101
101
|
"""
|
|
102
102
|
return pulumi.get(self, "api_version")
|
|
103
103
|
|
|
104
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
105
105
|
@pulumi.getter
|
|
106
|
-
def kind(self) -> Optional[str]:
|
|
106
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
107
107
|
"""
|
|
108
108
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
109
109
|
"""
|
|
110
110
|
return pulumi.get(self, "kind")
|
|
111
111
|
|
|
112
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
113
113
|
@pulumi.getter
|
|
114
114
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
115
115
|
"""
|
|
@@ -130,6 +130,8 @@ class CSIDriverSpec(dict):
|
|
|
130
130
|
suggest = "attach_required"
|
|
131
131
|
elif key == "fsGroupPolicy":
|
|
132
132
|
suggest = "fs_group_policy"
|
|
133
|
+
elif key == "nodeAllocatableUpdatePeriodSeconds":
|
|
134
|
+
suggest = "node_allocatable_update_period_seconds"
|
|
133
135
|
elif key == "podInfoOnMount":
|
|
134
136
|
suggest = "pod_info_on_mount"
|
|
135
137
|
elif key == "requiresRepublish":
|
|
@@ -155,25 +157,31 @@ class CSIDriverSpec(dict):
|
|
|
155
157
|
return super().get(key, default)
|
|
156
158
|
|
|
157
159
|
def __init__(__self__, *,
|
|
158
|
-
attach_required: Optional[bool] = None,
|
|
159
|
-
fs_group_policy: Optional[str] = None,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
160
|
+
attach_required: Optional[_builtins.bool] = None,
|
|
161
|
+
fs_group_policy: Optional[_builtins.str] = None,
|
|
162
|
+
node_allocatable_update_period_seconds: Optional[_builtins.int] = None,
|
|
163
|
+
pod_info_on_mount: Optional[_builtins.bool] = None,
|
|
164
|
+
requires_republish: Optional[_builtins.bool] = None,
|
|
165
|
+
se_linux_mount: Optional[_builtins.bool] = None,
|
|
166
|
+
storage_capacity: Optional[_builtins.bool] = None,
|
|
164
167
|
token_requests: Optional[Sequence['outputs.TokenRequest']] = None,
|
|
165
|
-
volume_lifecycle_modes: Optional[Sequence[str]] = None):
|
|
168
|
+
volume_lifecycle_modes: Optional[Sequence[_builtins.str]] = None):
|
|
166
169
|
"""
|
|
167
170
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
168
|
-
:param 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 _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.
|
|
169
172
|
|
|
170
173
|
This field is immutable.
|
|
171
|
-
:param 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 _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.
|
|
172
175
|
|
|
173
176
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
174
177
|
|
|
175
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.
|
|
176
|
-
:param
|
|
179
|
+
:param _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 _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.
|
|
177
185
|
|
|
178
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.
|
|
179
187
|
|
|
@@ -183,17 +191,17 @@ class CSIDriverSpec(dict):
|
|
|
183
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.
|
|
184
192
|
|
|
185
193
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
186
|
-
:param 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 _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.
|
|
187
195
|
|
|
188
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.
|
|
189
|
-
:param bool se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
197
|
+
:param _builtins.bool se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
190
198
|
|
|
191
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.
|
|
192
200
|
|
|
193
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.
|
|
194
202
|
|
|
195
203
|
Default is "false".
|
|
196
|
-
:param 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 _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.
|
|
197
205
|
|
|
198
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.
|
|
199
207
|
|
|
@@ -209,7 +217,7 @@ class CSIDriverSpec(dict):
|
|
|
209
217
|
}
|
|
210
218
|
|
|
211
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.
|
|
212
|
-
:param Sequence[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 Sequence[_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.
|
|
213
221
|
|
|
214
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.
|
|
215
223
|
|
|
@@ -221,6 +229,8 @@ class CSIDriverSpec(dict):
|
|
|
221
229
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
222
230
|
if fs_group_policy is not None:
|
|
223
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)
|
|
224
234
|
if pod_info_on_mount is not None:
|
|
225
235
|
pulumi.set(__self__, "pod_info_on_mount", pod_info_on_mount)
|
|
226
236
|
if requires_republish is not None:
|
|
@@ -234,9 +244,9 @@ class CSIDriverSpec(dict):
|
|
|
234
244
|
if volume_lifecycle_modes is not None:
|
|
235
245
|
pulumi.set(__self__, "volume_lifecycle_modes", volume_lifecycle_modes)
|
|
236
246
|
|
|
237
|
-
@property
|
|
247
|
+
@_builtins.property
|
|
238
248
|
@pulumi.getter(name="attachRequired")
|
|
239
|
-
def attach_required(self) -> Optional[bool]:
|
|
249
|
+
def attach_required(self) -> Optional[_builtins.bool]:
|
|
240
250
|
"""
|
|
241
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.
|
|
242
252
|
|
|
@@ -244,9 +254,9 @@ class CSIDriverSpec(dict):
|
|
|
244
254
|
"""
|
|
245
255
|
return pulumi.get(self, "attach_required")
|
|
246
256
|
|
|
247
|
-
@property
|
|
257
|
+
@_builtins.property
|
|
248
258
|
@pulumi.getter(name="fsGroupPolicy")
|
|
249
|
-
def fs_group_policy(self) -> Optional[str]:
|
|
259
|
+
def fs_group_policy(self) -> Optional[_builtins.str]:
|
|
250
260
|
"""
|
|
251
261
|
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.
|
|
252
262
|
|
|
@@ -256,9 +266,21 @@ class CSIDriverSpec(dict):
|
|
|
256
266
|
"""
|
|
257
267
|
return pulumi.get(self, "fs_group_policy")
|
|
258
268
|
|
|
259
|
-
@property
|
|
269
|
+
@_builtins.property
|
|
270
|
+
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
271
|
+
def node_allocatable_update_period_seconds(self) -> Optional[_builtins.int]:
|
|
272
|
+
"""
|
|
273
|
+
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.
|
|
274
|
+
|
|
275
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
276
|
+
|
|
277
|
+
This field is mutable.
|
|
278
|
+
"""
|
|
279
|
+
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
280
|
+
|
|
281
|
+
@_builtins.property
|
|
260
282
|
@pulumi.getter(name="podInfoOnMount")
|
|
261
|
-
def pod_info_on_mount(self) -> Optional[bool]:
|
|
283
|
+
def pod_info_on_mount(self) -> Optional[_builtins.bool]:
|
|
262
284
|
"""
|
|
263
285
|
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.
|
|
264
286
|
|
|
@@ -273,9 +295,9 @@ class CSIDriverSpec(dict):
|
|
|
273
295
|
"""
|
|
274
296
|
return pulumi.get(self, "pod_info_on_mount")
|
|
275
297
|
|
|
276
|
-
@property
|
|
298
|
+
@_builtins.property
|
|
277
299
|
@pulumi.getter(name="requiresRepublish")
|
|
278
|
-
def requires_republish(self) -> Optional[bool]:
|
|
300
|
+
def requires_republish(self) -> Optional[_builtins.bool]:
|
|
279
301
|
"""
|
|
280
302
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
281
303
|
|
|
@@ -283,9 +305,9 @@ class CSIDriverSpec(dict):
|
|
|
283
305
|
"""
|
|
284
306
|
return pulumi.get(self, "requires_republish")
|
|
285
307
|
|
|
286
|
-
@property
|
|
308
|
+
@_builtins.property
|
|
287
309
|
@pulumi.getter(name="seLinuxMount")
|
|
288
|
-
def se_linux_mount(self) -> Optional[bool]:
|
|
310
|
+
def se_linux_mount(self) -> Optional[_builtins.bool]:
|
|
289
311
|
"""
|
|
290
312
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
291
313
|
|
|
@@ -297,9 +319,9 @@ class CSIDriverSpec(dict):
|
|
|
297
319
|
"""
|
|
298
320
|
return pulumi.get(self, "se_linux_mount")
|
|
299
321
|
|
|
300
|
-
@property
|
|
322
|
+
@_builtins.property
|
|
301
323
|
@pulumi.getter(name="storageCapacity")
|
|
302
|
-
def storage_capacity(self) -> Optional[bool]:
|
|
324
|
+
def storage_capacity(self) -> Optional[_builtins.bool]:
|
|
303
325
|
"""
|
|
304
326
|
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.
|
|
305
327
|
|
|
@@ -311,7 +333,7 @@ class CSIDriverSpec(dict):
|
|
|
311
333
|
"""
|
|
312
334
|
return pulumi.get(self, "storage_capacity")
|
|
313
335
|
|
|
314
|
-
@property
|
|
336
|
+
@_builtins.property
|
|
315
337
|
@pulumi.getter(name="tokenRequests")
|
|
316
338
|
def token_requests(self) -> Optional[Sequence['outputs.TokenRequest']]:
|
|
317
339
|
"""
|
|
@@ -327,9 +349,9 @@ class CSIDriverSpec(dict):
|
|
|
327
349
|
"""
|
|
328
350
|
return pulumi.get(self, "token_requests")
|
|
329
351
|
|
|
330
|
-
@property
|
|
352
|
+
@_builtins.property
|
|
331
353
|
@pulumi.getter(name="volumeLifecycleModes")
|
|
332
|
-
def volume_lifecycle_modes(self) -> Optional[Sequence[str]]:
|
|
354
|
+
def volume_lifecycle_modes(self) -> Optional[Sequence[_builtins.str]]:
|
|
333
355
|
"""
|
|
334
356
|
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.
|
|
335
357
|
|
|
@@ -354,6 +376,8 @@ class CSIDriverSpecPatch(dict):
|
|
|
354
376
|
suggest = "attach_required"
|
|
355
377
|
elif key == "fsGroupPolicy":
|
|
356
378
|
suggest = "fs_group_policy"
|
|
379
|
+
elif key == "nodeAllocatableUpdatePeriodSeconds":
|
|
380
|
+
suggest = "node_allocatable_update_period_seconds"
|
|
357
381
|
elif key == "podInfoOnMount":
|
|
358
382
|
suggest = "pod_info_on_mount"
|
|
359
383
|
elif key == "requiresRepublish":
|
|
@@ -379,25 +403,31 @@ class CSIDriverSpecPatch(dict):
|
|
|
379
403
|
return super().get(key, default)
|
|
380
404
|
|
|
381
405
|
def __init__(__self__, *,
|
|
382
|
-
attach_required: Optional[bool] = None,
|
|
383
|
-
fs_group_policy: Optional[str] = None,
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
406
|
+
attach_required: Optional[_builtins.bool] = None,
|
|
407
|
+
fs_group_policy: Optional[_builtins.str] = None,
|
|
408
|
+
node_allocatable_update_period_seconds: Optional[_builtins.int] = None,
|
|
409
|
+
pod_info_on_mount: Optional[_builtins.bool] = None,
|
|
410
|
+
requires_republish: Optional[_builtins.bool] = None,
|
|
411
|
+
se_linux_mount: Optional[_builtins.bool] = None,
|
|
412
|
+
storage_capacity: Optional[_builtins.bool] = None,
|
|
388
413
|
token_requests: Optional[Sequence['outputs.TokenRequestPatch']] = None,
|
|
389
|
-
volume_lifecycle_modes: Optional[Sequence[str]] = None):
|
|
414
|
+
volume_lifecycle_modes: Optional[Sequence[_builtins.str]] = None):
|
|
390
415
|
"""
|
|
391
416
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
392
|
-
:param 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.
|
|
417
|
+
:param _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.
|
|
393
418
|
|
|
394
419
|
This field is immutable.
|
|
395
|
-
:param 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.
|
|
420
|
+
:param _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.
|
|
396
421
|
|
|
397
422
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
398
423
|
|
|
399
424
|
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.
|
|
400
|
-
:param
|
|
425
|
+
:param _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.
|
|
426
|
+
|
|
427
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
428
|
+
|
|
429
|
+
This field is mutable.
|
|
430
|
+
:param _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.
|
|
401
431
|
|
|
402
432
|
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.
|
|
403
433
|
|
|
@@ -407,17 +437,17 @@ class CSIDriverSpecPatch(dict):
|
|
|
407
437
|
"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.
|
|
408
438
|
|
|
409
439
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
410
|
-
:param 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.
|
|
440
|
+
:param _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.
|
|
411
441
|
|
|
412
442
|
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.
|
|
413
|
-
:param bool se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
443
|
+
:param _builtins.bool se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
414
444
|
|
|
415
445
|
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.
|
|
416
446
|
|
|
417
447
|
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.
|
|
418
448
|
|
|
419
449
|
Default is "false".
|
|
420
|
-
:param 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.
|
|
450
|
+
:param _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.
|
|
421
451
|
|
|
422
452
|
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.
|
|
423
453
|
|
|
@@ -433,7 +463,7 @@ class CSIDriverSpecPatch(dict):
|
|
|
433
463
|
}
|
|
434
464
|
|
|
435
465
|
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.
|
|
436
|
-
:param Sequence[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.
|
|
466
|
+
:param Sequence[_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.
|
|
437
467
|
|
|
438
468
|
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.
|
|
439
469
|
|
|
@@ -445,6 +475,8 @@ class CSIDriverSpecPatch(dict):
|
|
|
445
475
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
446
476
|
if fs_group_policy is not None:
|
|
447
477
|
pulumi.set(__self__, "fs_group_policy", fs_group_policy)
|
|
478
|
+
if node_allocatable_update_period_seconds is not None:
|
|
479
|
+
pulumi.set(__self__, "node_allocatable_update_period_seconds", node_allocatable_update_period_seconds)
|
|
448
480
|
if pod_info_on_mount is not None:
|
|
449
481
|
pulumi.set(__self__, "pod_info_on_mount", pod_info_on_mount)
|
|
450
482
|
if requires_republish is not None:
|
|
@@ -458,9 +490,9 @@ class CSIDriverSpecPatch(dict):
|
|
|
458
490
|
if volume_lifecycle_modes is not None:
|
|
459
491
|
pulumi.set(__self__, "volume_lifecycle_modes", volume_lifecycle_modes)
|
|
460
492
|
|
|
461
|
-
@property
|
|
493
|
+
@_builtins.property
|
|
462
494
|
@pulumi.getter(name="attachRequired")
|
|
463
|
-
def attach_required(self) -> Optional[bool]:
|
|
495
|
+
def attach_required(self) -> Optional[_builtins.bool]:
|
|
464
496
|
"""
|
|
465
497
|
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.
|
|
466
498
|
|
|
@@ -468,9 +500,9 @@ class CSIDriverSpecPatch(dict):
|
|
|
468
500
|
"""
|
|
469
501
|
return pulumi.get(self, "attach_required")
|
|
470
502
|
|
|
471
|
-
@property
|
|
503
|
+
@_builtins.property
|
|
472
504
|
@pulumi.getter(name="fsGroupPolicy")
|
|
473
|
-
def fs_group_policy(self) -> Optional[str]:
|
|
505
|
+
def fs_group_policy(self) -> Optional[_builtins.str]:
|
|
474
506
|
"""
|
|
475
507
|
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.
|
|
476
508
|
|
|
@@ -480,9 +512,21 @@ class CSIDriverSpecPatch(dict):
|
|
|
480
512
|
"""
|
|
481
513
|
return pulumi.get(self, "fs_group_policy")
|
|
482
514
|
|
|
483
|
-
@property
|
|
515
|
+
@_builtins.property
|
|
516
|
+
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
517
|
+
def node_allocatable_update_period_seconds(self) -> Optional[_builtins.int]:
|
|
518
|
+
"""
|
|
519
|
+
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.
|
|
520
|
+
|
|
521
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
522
|
+
|
|
523
|
+
This field is mutable.
|
|
524
|
+
"""
|
|
525
|
+
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
526
|
+
|
|
527
|
+
@_builtins.property
|
|
484
528
|
@pulumi.getter(name="podInfoOnMount")
|
|
485
|
-
def pod_info_on_mount(self) -> Optional[bool]:
|
|
529
|
+
def pod_info_on_mount(self) -> Optional[_builtins.bool]:
|
|
486
530
|
"""
|
|
487
531
|
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.
|
|
488
532
|
|
|
@@ -497,9 +541,9 @@ class CSIDriverSpecPatch(dict):
|
|
|
497
541
|
"""
|
|
498
542
|
return pulumi.get(self, "pod_info_on_mount")
|
|
499
543
|
|
|
500
|
-
@property
|
|
544
|
+
@_builtins.property
|
|
501
545
|
@pulumi.getter(name="requiresRepublish")
|
|
502
|
-
def requires_republish(self) -> Optional[bool]:
|
|
546
|
+
def requires_republish(self) -> Optional[_builtins.bool]:
|
|
503
547
|
"""
|
|
504
548
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
505
549
|
|
|
@@ -507,9 +551,9 @@ class CSIDriverSpecPatch(dict):
|
|
|
507
551
|
"""
|
|
508
552
|
return pulumi.get(self, "requires_republish")
|
|
509
553
|
|
|
510
|
-
@property
|
|
554
|
+
@_builtins.property
|
|
511
555
|
@pulumi.getter(name="seLinuxMount")
|
|
512
|
-
def se_linux_mount(self) -> Optional[bool]:
|
|
556
|
+
def se_linux_mount(self) -> Optional[_builtins.bool]:
|
|
513
557
|
"""
|
|
514
558
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
515
559
|
|
|
@@ -521,9 +565,9 @@ class CSIDriverSpecPatch(dict):
|
|
|
521
565
|
"""
|
|
522
566
|
return pulumi.get(self, "se_linux_mount")
|
|
523
567
|
|
|
524
|
-
@property
|
|
568
|
+
@_builtins.property
|
|
525
569
|
@pulumi.getter(name="storageCapacity")
|
|
526
|
-
def storage_capacity(self) -> Optional[bool]:
|
|
570
|
+
def storage_capacity(self) -> Optional[_builtins.bool]:
|
|
527
571
|
"""
|
|
528
572
|
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.
|
|
529
573
|
|
|
@@ -535,7 +579,7 @@ class CSIDriverSpecPatch(dict):
|
|
|
535
579
|
"""
|
|
536
580
|
return pulumi.get(self, "storage_capacity")
|
|
537
581
|
|
|
538
|
-
@property
|
|
582
|
+
@_builtins.property
|
|
539
583
|
@pulumi.getter(name="tokenRequests")
|
|
540
584
|
def token_requests(self) -> Optional[Sequence['outputs.TokenRequestPatch']]:
|
|
541
585
|
"""
|
|
@@ -551,9 +595,9 @@ class CSIDriverSpecPatch(dict):
|
|
|
551
595
|
"""
|
|
552
596
|
return pulumi.get(self, "token_requests")
|
|
553
597
|
|
|
554
|
-
@property
|
|
598
|
+
@_builtins.property
|
|
555
599
|
@pulumi.getter(name="volumeLifecycleModes")
|
|
556
|
-
def volume_lifecycle_modes(self) -> Optional[Sequence[str]]:
|
|
600
|
+
def volume_lifecycle_modes(self) -> Optional[Sequence[_builtins.str]]:
|
|
557
601
|
"""
|
|
558
602
|
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.
|
|
559
603
|
|
|
@@ -590,14 +634,14 @@ class CSINode(dict):
|
|
|
590
634
|
|
|
591
635
|
def __init__(__self__, *,
|
|
592
636
|
spec: 'outputs.CSINodeSpec',
|
|
593
|
-
api_version: Optional[str] = None,
|
|
594
|
-
kind: Optional[str] = None,
|
|
637
|
+
api_version: Optional[_builtins.str] = None,
|
|
638
|
+
kind: Optional[_builtins.str] = None,
|
|
595
639
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None):
|
|
596
640
|
"""
|
|
597
641
|
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.
|
|
598
642
|
:param 'CSINodeSpecArgs' spec: spec is the specification of CSINode
|
|
599
|
-
:param 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
|
|
600
|
-
:param 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
|
|
643
|
+
:param _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
|
|
644
|
+
:param _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
|
|
601
645
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. metadata.name must be the Kubernetes node name.
|
|
602
646
|
"""
|
|
603
647
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -608,7 +652,7 @@ class CSINode(dict):
|
|
|
608
652
|
if metadata is not None:
|
|
609
653
|
pulumi.set(__self__, "metadata", metadata)
|
|
610
654
|
|
|
611
|
-
@property
|
|
655
|
+
@_builtins.property
|
|
612
656
|
@pulumi.getter
|
|
613
657
|
def spec(self) -> 'outputs.CSINodeSpec':
|
|
614
658
|
"""
|
|
@@ -616,23 +660,23 @@ class CSINode(dict):
|
|
|
616
660
|
"""
|
|
617
661
|
return pulumi.get(self, "spec")
|
|
618
662
|
|
|
619
|
-
@property
|
|
663
|
+
@_builtins.property
|
|
620
664
|
@pulumi.getter(name="apiVersion")
|
|
621
|
-
def api_version(self) -> Optional[str]:
|
|
665
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
622
666
|
"""
|
|
623
667
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
624
668
|
"""
|
|
625
669
|
return pulumi.get(self, "api_version")
|
|
626
670
|
|
|
627
|
-
@property
|
|
671
|
+
@_builtins.property
|
|
628
672
|
@pulumi.getter
|
|
629
|
-
def kind(self) -> Optional[str]:
|
|
673
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
630
674
|
"""
|
|
631
675
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
632
676
|
"""
|
|
633
677
|
return pulumi.get(self, "kind")
|
|
634
678
|
|
|
635
|
-
@property
|
|
679
|
+
@_builtins.property
|
|
636
680
|
@pulumi.getter
|
|
637
681
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
638
682
|
"""
|
|
@@ -666,16 +710,16 @@ class CSINodeDriver(dict):
|
|
|
666
710
|
return super().get(key, default)
|
|
667
711
|
|
|
668
712
|
def __init__(__self__, *,
|
|
669
|
-
name: str,
|
|
670
|
-
node_id: str,
|
|
713
|
+
name: _builtins.str,
|
|
714
|
+
node_id: _builtins.str,
|
|
671
715
|
allocatable: Optional['outputs.VolumeNodeResources'] = None,
|
|
672
|
-
topology_keys: Optional[Sequence[str]] = None):
|
|
716
|
+
topology_keys: Optional[Sequence[_builtins.str]] = None):
|
|
673
717
|
"""
|
|
674
718
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
675
|
-
:param 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.
|
|
676
|
-
:param 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.
|
|
719
|
+
:param _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.
|
|
720
|
+
:param _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.
|
|
677
721
|
:param 'VolumeNodeResourcesArgs' allocatable: allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
678
|
-
:param Sequence[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.
|
|
722
|
+
:param Sequence[_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.
|
|
679
723
|
"""
|
|
680
724
|
pulumi.set(__self__, "name", name)
|
|
681
725
|
pulumi.set(__self__, "node_id", node_id)
|
|
@@ -684,23 +728,23 @@ class CSINodeDriver(dict):
|
|
|
684
728
|
if topology_keys is not None:
|
|
685
729
|
pulumi.set(__self__, "topology_keys", topology_keys)
|
|
686
730
|
|
|
687
|
-
@property
|
|
731
|
+
@_builtins.property
|
|
688
732
|
@pulumi.getter
|
|
689
|
-
def name(self) -> str:
|
|
733
|
+
def name(self) -> _builtins.str:
|
|
690
734
|
"""
|
|
691
735
|
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.
|
|
692
736
|
"""
|
|
693
737
|
return pulumi.get(self, "name")
|
|
694
738
|
|
|
695
|
-
@property
|
|
739
|
+
@_builtins.property
|
|
696
740
|
@pulumi.getter(name="nodeID")
|
|
697
|
-
def node_id(self) -> str:
|
|
741
|
+
def node_id(self) -> _builtins.str:
|
|
698
742
|
"""
|
|
699
743
|
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.
|
|
700
744
|
"""
|
|
701
745
|
return pulumi.get(self, "node_id")
|
|
702
746
|
|
|
703
|
-
@property
|
|
747
|
+
@_builtins.property
|
|
704
748
|
@pulumi.getter
|
|
705
749
|
def allocatable(self) -> Optional['outputs.VolumeNodeResources']:
|
|
706
750
|
"""
|
|
@@ -708,9 +752,9 @@ class CSINodeDriver(dict):
|
|
|
708
752
|
"""
|
|
709
753
|
return pulumi.get(self, "allocatable")
|
|
710
754
|
|
|
711
|
-
@property
|
|
755
|
+
@_builtins.property
|
|
712
756
|
@pulumi.getter(name="topologyKeys")
|
|
713
|
-
def topology_keys(self) -> Optional[Sequence[str]]:
|
|
757
|
+
def topology_keys(self) -> Optional[Sequence[_builtins.str]]:
|
|
714
758
|
"""
|
|
715
759
|
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.
|
|
716
760
|
"""
|
|
@@ -743,15 +787,15 @@ class CSINodeDriverPatch(dict):
|
|
|
743
787
|
|
|
744
788
|
def __init__(__self__, *,
|
|
745
789
|
allocatable: Optional['outputs.VolumeNodeResourcesPatch'] = None,
|
|
746
|
-
name: Optional[str] = None,
|
|
747
|
-
node_id: Optional[str] = None,
|
|
748
|
-
topology_keys: Optional[Sequence[str]] = None):
|
|
790
|
+
name: Optional[_builtins.str] = None,
|
|
791
|
+
node_id: Optional[_builtins.str] = None,
|
|
792
|
+
topology_keys: Optional[Sequence[_builtins.str]] = None):
|
|
749
793
|
"""
|
|
750
794
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
751
795
|
:param 'VolumeNodeResourcesPatchArgs' allocatable: allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
752
|
-
:param 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.
|
|
753
|
-
:param 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.
|
|
754
|
-
:param Sequence[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.
|
|
796
|
+
:param _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.
|
|
797
|
+
:param _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.
|
|
798
|
+
:param Sequence[_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.
|
|
755
799
|
"""
|
|
756
800
|
if allocatable is not None:
|
|
757
801
|
pulumi.set(__self__, "allocatable", allocatable)
|
|
@@ -762,7 +806,7 @@ class CSINodeDriverPatch(dict):
|
|
|
762
806
|
if topology_keys is not None:
|
|
763
807
|
pulumi.set(__self__, "topology_keys", topology_keys)
|
|
764
808
|
|
|
765
|
-
@property
|
|
809
|
+
@_builtins.property
|
|
766
810
|
@pulumi.getter
|
|
767
811
|
def allocatable(self) -> Optional['outputs.VolumeNodeResourcesPatch']:
|
|
768
812
|
"""
|
|
@@ -770,25 +814,25 @@ class CSINodeDriverPatch(dict):
|
|
|
770
814
|
"""
|
|
771
815
|
return pulumi.get(self, "allocatable")
|
|
772
816
|
|
|
773
|
-
@property
|
|
817
|
+
@_builtins.property
|
|
774
818
|
@pulumi.getter
|
|
775
|
-
def name(self) -> Optional[str]:
|
|
819
|
+
def name(self) -> Optional[_builtins.str]:
|
|
776
820
|
"""
|
|
777
821
|
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.
|
|
778
822
|
"""
|
|
779
823
|
return pulumi.get(self, "name")
|
|
780
824
|
|
|
781
|
-
@property
|
|
825
|
+
@_builtins.property
|
|
782
826
|
@pulumi.getter(name="nodeID")
|
|
783
|
-
def node_id(self) -> Optional[str]:
|
|
827
|
+
def node_id(self) -> Optional[_builtins.str]:
|
|
784
828
|
"""
|
|
785
829
|
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.
|
|
786
830
|
"""
|
|
787
831
|
return pulumi.get(self, "node_id")
|
|
788
832
|
|
|
789
|
-
@property
|
|
833
|
+
@_builtins.property
|
|
790
834
|
@pulumi.getter(name="topologyKeys")
|
|
791
|
-
def topology_keys(self) -> Optional[Sequence[str]]:
|
|
835
|
+
def topology_keys(self) -> Optional[Sequence[_builtins.str]]:
|
|
792
836
|
"""
|
|
793
837
|
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.
|
|
794
838
|
"""
|
|
@@ -808,7 +852,7 @@ class CSINodeSpec(dict):
|
|
|
808
852
|
"""
|
|
809
853
|
pulumi.set(__self__, "drivers", drivers)
|
|
810
854
|
|
|
811
|
-
@property
|
|
855
|
+
@_builtins.property
|
|
812
856
|
@pulumi.getter
|
|
813
857
|
def drivers(self) -> Sequence['outputs.CSINodeDriver']:
|
|
814
858
|
"""
|
|
@@ -831,7 +875,7 @@ class CSINodeSpecPatch(dict):
|
|
|
831
875
|
if drivers is not None:
|
|
832
876
|
pulumi.set(__self__, "drivers", drivers)
|
|
833
877
|
|
|
834
|
-
@property
|
|
878
|
+
@_builtins.property
|
|
835
879
|
@pulumi.getter
|
|
836
880
|
def drivers(self) -> Optional[Sequence['outputs.CSINodeDriverPatch']]:
|
|
837
881
|
"""
|
|
@@ -877,11 +921,11 @@ class CSIStorageCapacity(dict):
|
|
|
877
921
|
return super().get(key, default)
|
|
878
922
|
|
|
879
923
|
def __init__(__self__, *,
|
|
880
|
-
storage_class_name: str,
|
|
881
|
-
api_version: Optional[str] = None,
|
|
882
|
-
capacity: Optional[str] = None,
|
|
883
|
-
kind: Optional[str] = None,
|
|
884
|
-
maximum_volume_size: Optional[str] = None,
|
|
924
|
+
storage_class_name: _builtins.str,
|
|
925
|
+
api_version: Optional[_builtins.str] = None,
|
|
926
|
+
capacity: Optional[_builtins.str] = None,
|
|
927
|
+
kind: Optional[_builtins.str] = None,
|
|
928
|
+
maximum_volume_size: Optional[_builtins.str] = None,
|
|
885
929
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
886
930
|
node_topology: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
887
931
|
"""
|
|
@@ -894,13 +938,13 @@ class CSIStorageCapacity(dict):
|
|
|
894
938
|
The producer of these objects can decide which approach is more suitable.
|
|
895
939
|
|
|
896
940
|
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.
|
|
897
|
-
:param 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.
|
|
898
|
-
:param 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
|
|
899
|
-
:param 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.
|
|
941
|
+
:param _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.
|
|
942
|
+
:param _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
|
|
943
|
+
:param _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.
|
|
900
944
|
|
|
901
945
|
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.
|
|
902
|
-
:param 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
|
|
903
|
-
:param 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.
|
|
946
|
+
:param _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
|
|
947
|
+
:param _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.
|
|
904
948
|
|
|
905
949
|
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.
|
|
906
950
|
:param '_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.
|
|
@@ -924,25 +968,25 @@ class CSIStorageCapacity(dict):
|
|
|
924
968
|
if node_topology is not None:
|
|
925
969
|
pulumi.set(__self__, "node_topology", node_topology)
|
|
926
970
|
|
|
927
|
-
@property
|
|
971
|
+
@_builtins.property
|
|
928
972
|
@pulumi.getter(name="storageClassName")
|
|
929
|
-
def storage_class_name(self) -> str:
|
|
973
|
+
def storage_class_name(self) -> _builtins.str:
|
|
930
974
|
"""
|
|
931
975
|
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.
|
|
932
976
|
"""
|
|
933
977
|
return pulumi.get(self, "storage_class_name")
|
|
934
978
|
|
|
935
|
-
@property
|
|
979
|
+
@_builtins.property
|
|
936
980
|
@pulumi.getter(name="apiVersion")
|
|
937
|
-
def api_version(self) -> Optional[str]:
|
|
981
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
938
982
|
"""
|
|
939
983
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
940
984
|
"""
|
|
941
985
|
return pulumi.get(self, "api_version")
|
|
942
986
|
|
|
943
|
-
@property
|
|
987
|
+
@_builtins.property
|
|
944
988
|
@pulumi.getter
|
|
945
|
-
def capacity(self) -> Optional[str]:
|
|
989
|
+
def capacity(self) -> Optional[_builtins.str]:
|
|
946
990
|
"""
|
|
947
991
|
capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
948
992
|
|
|
@@ -950,17 +994,17 @@ class CSIStorageCapacity(dict):
|
|
|
950
994
|
"""
|
|
951
995
|
return pulumi.get(self, "capacity")
|
|
952
996
|
|
|
953
|
-
@property
|
|
997
|
+
@_builtins.property
|
|
954
998
|
@pulumi.getter
|
|
955
|
-
def kind(self) -> Optional[str]:
|
|
999
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
956
1000
|
"""
|
|
957
1001
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
958
1002
|
"""
|
|
959
1003
|
return pulumi.get(self, "kind")
|
|
960
1004
|
|
|
961
|
-
@property
|
|
1005
|
+
@_builtins.property
|
|
962
1006
|
@pulumi.getter(name="maximumVolumeSize")
|
|
963
|
-
def maximum_volume_size(self) -> Optional[str]:
|
|
1007
|
+
def maximum_volume_size(self) -> Optional[_builtins.str]:
|
|
964
1008
|
"""
|
|
965
1009
|
maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
966
1010
|
|
|
@@ -968,7 +1012,7 @@ class CSIStorageCapacity(dict):
|
|
|
968
1012
|
"""
|
|
969
1013
|
return pulumi.get(self, "maximum_volume_size")
|
|
970
1014
|
|
|
971
|
-
@property
|
|
1015
|
+
@_builtins.property
|
|
972
1016
|
@pulumi.getter
|
|
973
1017
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
974
1018
|
"""
|
|
@@ -980,7 +1024,7 @@ class CSIStorageCapacity(dict):
|
|
|
980
1024
|
"""
|
|
981
1025
|
return pulumi.get(self, "metadata")
|
|
982
1026
|
|
|
983
|
-
@property
|
|
1027
|
+
@_builtins.property
|
|
984
1028
|
@pulumi.getter(name="nodeTopology")
|
|
985
1029
|
def node_topology(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
986
1030
|
"""
|
|
@@ -1024,30 +1068,30 @@ class StorageClass(dict):
|
|
|
1024
1068
|
return super().get(key, default)
|
|
1025
1069
|
|
|
1026
1070
|
def __init__(__self__, *,
|
|
1027
|
-
provisioner: str,
|
|
1028
|
-
allow_volume_expansion: Optional[bool] = None,
|
|
1071
|
+
provisioner: _builtins.str,
|
|
1072
|
+
allow_volume_expansion: Optional[_builtins.bool] = None,
|
|
1029
1073
|
allowed_topologies: Optional[Sequence['_core.v1.outputs.TopologySelectorTerm']] = None,
|
|
1030
|
-
api_version: Optional[str] = None,
|
|
1031
|
-
kind: Optional[str] = None,
|
|
1074
|
+
api_version: Optional[_builtins.str] = None,
|
|
1075
|
+
kind: Optional[_builtins.str] = None,
|
|
1032
1076
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
1033
|
-
mount_options: Optional[Sequence[str]] = None,
|
|
1034
|
-
parameters: Optional[Mapping[str, str]] = None,
|
|
1035
|
-
reclaim_policy: Optional[str] = None,
|
|
1036
|
-
volume_binding_mode: Optional[str] = None):
|
|
1077
|
+
mount_options: Optional[Sequence[_builtins.str]] = None,
|
|
1078
|
+
parameters: Optional[Mapping[str, _builtins.str]] = None,
|
|
1079
|
+
reclaim_policy: Optional[_builtins.str] = None,
|
|
1080
|
+
volume_binding_mode: Optional[_builtins.str] = None):
|
|
1037
1081
|
"""
|
|
1038
1082
|
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
|
|
1039
1083
|
|
|
1040
1084
|
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
|
|
1041
|
-
:param str provisioner: provisioner indicates the type of the provisioner.
|
|
1042
|
-
:param bool allow_volume_expansion: allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1085
|
+
:param _builtins.str provisioner: provisioner indicates the type of the provisioner.
|
|
1086
|
+
:param _builtins.bool allow_volume_expansion: allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1043
1087
|
:param Sequence['_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.
|
|
1044
|
-
:param 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
|
|
1045
|
-
:param 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
|
|
1088
|
+
:param _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
|
|
1089
|
+
:param _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
|
|
1046
1090
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1047
|
-
:param Sequence[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.
|
|
1048
|
-
:param Mapping[str, str] parameters: parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1049
|
-
:param str reclaim_policy: reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1050
|
-
:param 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.
|
|
1091
|
+
:param Sequence[_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.
|
|
1092
|
+
:param Mapping[str, _builtins.str] parameters: parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1093
|
+
:param _builtins.str reclaim_policy: reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1094
|
+
:param _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.
|
|
1051
1095
|
"""
|
|
1052
1096
|
pulumi.set(__self__, "provisioner", provisioner)
|
|
1053
1097
|
if allow_volume_expansion is not None:
|
|
@@ -1069,23 +1113,23 @@ class StorageClass(dict):
|
|
|
1069
1113
|
if volume_binding_mode is not None:
|
|
1070
1114
|
pulumi.set(__self__, "volume_binding_mode", volume_binding_mode)
|
|
1071
1115
|
|
|
1072
|
-
@property
|
|
1116
|
+
@_builtins.property
|
|
1073
1117
|
@pulumi.getter
|
|
1074
|
-
def provisioner(self) -> str:
|
|
1118
|
+
def provisioner(self) -> _builtins.str:
|
|
1075
1119
|
"""
|
|
1076
1120
|
provisioner indicates the type of the provisioner.
|
|
1077
1121
|
"""
|
|
1078
1122
|
return pulumi.get(self, "provisioner")
|
|
1079
1123
|
|
|
1080
|
-
@property
|
|
1124
|
+
@_builtins.property
|
|
1081
1125
|
@pulumi.getter(name="allowVolumeExpansion")
|
|
1082
|
-
def allow_volume_expansion(self) -> Optional[bool]:
|
|
1126
|
+
def allow_volume_expansion(self) -> Optional[_builtins.bool]:
|
|
1083
1127
|
"""
|
|
1084
1128
|
allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1085
1129
|
"""
|
|
1086
1130
|
return pulumi.get(self, "allow_volume_expansion")
|
|
1087
1131
|
|
|
1088
|
-
@property
|
|
1132
|
+
@_builtins.property
|
|
1089
1133
|
@pulumi.getter(name="allowedTopologies")
|
|
1090
1134
|
def allowed_topologies(self) -> Optional[Sequence['_core.v1.outputs.TopologySelectorTerm']]:
|
|
1091
1135
|
"""
|
|
@@ -1093,23 +1137,23 @@ class StorageClass(dict):
|
|
|
1093
1137
|
"""
|
|
1094
1138
|
return pulumi.get(self, "allowed_topologies")
|
|
1095
1139
|
|
|
1096
|
-
@property
|
|
1140
|
+
@_builtins.property
|
|
1097
1141
|
@pulumi.getter(name="apiVersion")
|
|
1098
|
-
def api_version(self) -> Optional[str]:
|
|
1142
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1099
1143
|
"""
|
|
1100
1144
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1101
1145
|
"""
|
|
1102
1146
|
return pulumi.get(self, "api_version")
|
|
1103
1147
|
|
|
1104
|
-
@property
|
|
1148
|
+
@_builtins.property
|
|
1105
1149
|
@pulumi.getter
|
|
1106
|
-
def kind(self) -> Optional[str]:
|
|
1150
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1107
1151
|
"""
|
|
1108
1152
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1109
1153
|
"""
|
|
1110
1154
|
return pulumi.get(self, "kind")
|
|
1111
1155
|
|
|
1112
|
-
@property
|
|
1156
|
+
@_builtins.property
|
|
1113
1157
|
@pulumi.getter
|
|
1114
1158
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
1115
1159
|
"""
|
|
@@ -1117,33 +1161,33 @@ class StorageClass(dict):
|
|
|
1117
1161
|
"""
|
|
1118
1162
|
return pulumi.get(self, "metadata")
|
|
1119
1163
|
|
|
1120
|
-
@property
|
|
1164
|
+
@_builtins.property
|
|
1121
1165
|
@pulumi.getter(name="mountOptions")
|
|
1122
|
-
def mount_options(self) -> Optional[Sequence[str]]:
|
|
1166
|
+
def mount_options(self) -> Optional[Sequence[_builtins.str]]:
|
|
1123
1167
|
"""
|
|
1124
1168
|
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.
|
|
1125
1169
|
"""
|
|
1126
1170
|
return pulumi.get(self, "mount_options")
|
|
1127
1171
|
|
|
1128
|
-
@property
|
|
1172
|
+
@_builtins.property
|
|
1129
1173
|
@pulumi.getter
|
|
1130
|
-
def parameters(self) -> Optional[Mapping[str, str]]:
|
|
1174
|
+
def parameters(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
1131
1175
|
"""
|
|
1132
1176
|
parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1133
1177
|
"""
|
|
1134
1178
|
return pulumi.get(self, "parameters")
|
|
1135
1179
|
|
|
1136
|
-
@property
|
|
1180
|
+
@_builtins.property
|
|
1137
1181
|
@pulumi.getter(name="reclaimPolicy")
|
|
1138
|
-
def reclaim_policy(self) -> Optional[str]:
|
|
1182
|
+
def reclaim_policy(self) -> Optional[_builtins.str]:
|
|
1139
1183
|
"""
|
|
1140
1184
|
reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1141
1185
|
"""
|
|
1142
1186
|
return pulumi.get(self, "reclaim_policy")
|
|
1143
1187
|
|
|
1144
|
-
@property
|
|
1188
|
+
@_builtins.property
|
|
1145
1189
|
@pulumi.getter(name="volumeBindingMode")
|
|
1146
|
-
def volume_binding_mode(self) -> Optional[str]:
|
|
1190
|
+
def volume_binding_mode(self) -> Optional[_builtins.str]:
|
|
1147
1191
|
"""
|
|
1148
1192
|
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.
|
|
1149
1193
|
"""
|
|
@@ -1173,28 +1217,28 @@ class TokenRequest(dict):
|
|
|
1173
1217
|
return super().get(key, default)
|
|
1174
1218
|
|
|
1175
1219
|
def __init__(__self__, *,
|
|
1176
|
-
audience: str,
|
|
1177
|
-
expiration_seconds: Optional[int] = None):
|
|
1220
|
+
audience: _builtins.str,
|
|
1221
|
+
expiration_seconds: Optional[_builtins.int] = None):
|
|
1178
1222
|
"""
|
|
1179
1223
|
TokenRequest contains parameters of a service account token.
|
|
1180
|
-
:param str audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1181
|
-
:param int expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1224
|
+
:param _builtins.str audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1225
|
+
:param _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".
|
|
1182
1226
|
"""
|
|
1183
1227
|
pulumi.set(__self__, "audience", audience)
|
|
1184
1228
|
if expiration_seconds is not None:
|
|
1185
1229
|
pulumi.set(__self__, "expiration_seconds", expiration_seconds)
|
|
1186
1230
|
|
|
1187
|
-
@property
|
|
1231
|
+
@_builtins.property
|
|
1188
1232
|
@pulumi.getter
|
|
1189
|
-
def audience(self) -> str:
|
|
1233
|
+
def audience(self) -> _builtins.str:
|
|
1190
1234
|
"""
|
|
1191
1235
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1192
1236
|
"""
|
|
1193
1237
|
return pulumi.get(self, "audience")
|
|
1194
1238
|
|
|
1195
|
-
@property
|
|
1239
|
+
@_builtins.property
|
|
1196
1240
|
@pulumi.getter(name="expirationSeconds")
|
|
1197
|
-
def expiration_seconds(self) -> Optional[int]:
|
|
1241
|
+
def expiration_seconds(self) -> Optional[_builtins.int]:
|
|
1198
1242
|
"""
|
|
1199
1243
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1200
1244
|
"""
|
|
@@ -1224,29 +1268,29 @@ class TokenRequestPatch(dict):
|
|
|
1224
1268
|
return super().get(key, default)
|
|
1225
1269
|
|
|
1226
1270
|
def __init__(__self__, *,
|
|
1227
|
-
audience: Optional[str] = None,
|
|
1228
|
-
expiration_seconds: Optional[int] = None):
|
|
1271
|
+
audience: Optional[_builtins.str] = None,
|
|
1272
|
+
expiration_seconds: Optional[_builtins.int] = None):
|
|
1229
1273
|
"""
|
|
1230
1274
|
TokenRequest contains parameters of a service account token.
|
|
1231
|
-
:param str audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1232
|
-
:param int expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1275
|
+
:param _builtins.str audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1276
|
+
:param _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".
|
|
1233
1277
|
"""
|
|
1234
1278
|
if audience is not None:
|
|
1235
1279
|
pulumi.set(__self__, "audience", audience)
|
|
1236
1280
|
if expiration_seconds is not None:
|
|
1237
1281
|
pulumi.set(__self__, "expiration_seconds", expiration_seconds)
|
|
1238
1282
|
|
|
1239
|
-
@property
|
|
1283
|
+
@_builtins.property
|
|
1240
1284
|
@pulumi.getter
|
|
1241
|
-
def audience(self) -> Optional[str]:
|
|
1285
|
+
def audience(self) -> Optional[_builtins.str]:
|
|
1242
1286
|
"""
|
|
1243
1287
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1244
1288
|
"""
|
|
1245
1289
|
return pulumi.get(self, "audience")
|
|
1246
1290
|
|
|
1247
|
-
@property
|
|
1291
|
+
@_builtins.property
|
|
1248
1292
|
@pulumi.getter(name="expirationSeconds")
|
|
1249
|
-
def expiration_seconds(self) -> Optional[int]:
|
|
1293
|
+
def expiration_seconds(self) -> Optional[_builtins.int]:
|
|
1250
1294
|
"""
|
|
1251
1295
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1252
1296
|
"""
|
|
@@ -1279,8 +1323,8 @@ class VolumeAttachment(dict):
|
|
|
1279
1323
|
|
|
1280
1324
|
def __init__(__self__, *,
|
|
1281
1325
|
spec: 'outputs.VolumeAttachmentSpec',
|
|
1282
|
-
api_version: Optional[str] = None,
|
|
1283
|
-
kind: Optional[str] = None,
|
|
1326
|
+
api_version: Optional[_builtins.str] = None,
|
|
1327
|
+
kind: Optional[_builtins.str] = None,
|
|
1284
1328
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
1285
1329
|
status: Optional['outputs.VolumeAttachmentStatus'] = None):
|
|
1286
1330
|
"""
|
|
@@ -1288,8 +1332,8 @@ class VolumeAttachment(dict):
|
|
|
1288
1332
|
|
|
1289
1333
|
VolumeAttachment objects are non-namespaced.
|
|
1290
1334
|
:param 'VolumeAttachmentSpecArgs' spec: spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
|
|
1291
|
-
:param 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
|
|
1292
|
-
:param 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
|
|
1335
|
+
:param _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
|
|
1336
|
+
:param _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
|
|
1293
1337
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1294
1338
|
:param 'VolumeAttachmentStatusArgs' status: status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
|
|
1295
1339
|
"""
|
|
@@ -1303,7 +1347,7 @@ class VolumeAttachment(dict):
|
|
|
1303
1347
|
if status is not None:
|
|
1304
1348
|
pulumi.set(__self__, "status", status)
|
|
1305
1349
|
|
|
1306
|
-
@property
|
|
1350
|
+
@_builtins.property
|
|
1307
1351
|
@pulumi.getter
|
|
1308
1352
|
def spec(self) -> 'outputs.VolumeAttachmentSpec':
|
|
1309
1353
|
"""
|
|
@@ -1311,23 +1355,23 @@ class VolumeAttachment(dict):
|
|
|
1311
1355
|
"""
|
|
1312
1356
|
return pulumi.get(self, "spec")
|
|
1313
1357
|
|
|
1314
|
-
@property
|
|
1358
|
+
@_builtins.property
|
|
1315
1359
|
@pulumi.getter(name="apiVersion")
|
|
1316
|
-
def api_version(self) -> Optional[str]:
|
|
1360
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1317
1361
|
"""
|
|
1318
1362
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1319
1363
|
"""
|
|
1320
1364
|
return pulumi.get(self, "api_version")
|
|
1321
1365
|
|
|
1322
|
-
@property
|
|
1366
|
+
@_builtins.property
|
|
1323
1367
|
@pulumi.getter
|
|
1324
|
-
def kind(self) -> Optional[str]:
|
|
1368
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1325
1369
|
"""
|
|
1326
1370
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1327
1371
|
"""
|
|
1328
1372
|
return pulumi.get(self, "kind")
|
|
1329
1373
|
|
|
1330
|
-
@property
|
|
1374
|
+
@_builtins.property
|
|
1331
1375
|
@pulumi.getter
|
|
1332
1376
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
1333
1377
|
"""
|
|
@@ -1335,7 +1379,7 @@ class VolumeAttachment(dict):
|
|
|
1335
1379
|
"""
|
|
1336
1380
|
return pulumi.get(self, "metadata")
|
|
1337
1381
|
|
|
1338
|
-
@property
|
|
1382
|
+
@_builtins.property
|
|
1339
1383
|
@pulumi.getter
|
|
1340
1384
|
def status(self) -> Optional['outputs.VolumeAttachmentStatus']:
|
|
1341
1385
|
"""
|
|
@@ -1347,7 +1391,7 @@ class VolumeAttachment(dict):
|
|
|
1347
1391
|
@pulumi.output_type
|
|
1348
1392
|
class VolumeAttachmentSource(dict):
|
|
1349
1393
|
"""
|
|
1350
|
-
VolumeAttachmentSource represents a volume that should be attached. Right now only
|
|
1394
|
+
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.
|
|
1351
1395
|
"""
|
|
1352
1396
|
@staticmethod
|
|
1353
1397
|
def __key_warning(key: str):
|
|
@@ -1370,18 +1414,18 @@ class VolumeAttachmentSource(dict):
|
|
|
1370
1414
|
|
|
1371
1415
|
def __init__(__self__, *,
|
|
1372
1416
|
inline_volume_spec: Optional['_core.v1.outputs.PersistentVolumeSpec'] = None,
|
|
1373
|
-
persistent_volume_name: Optional[str] = None):
|
|
1417
|
+
persistent_volume_name: Optional[_builtins.str] = None):
|
|
1374
1418
|
"""
|
|
1375
|
-
VolumeAttachmentSource represents a volume that should be attached. Right now only
|
|
1419
|
+
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.
|
|
1376
1420
|
:param '_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.
|
|
1377
|
-
:param str persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1421
|
+
:param _builtins.str persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1378
1422
|
"""
|
|
1379
1423
|
if inline_volume_spec is not None:
|
|
1380
1424
|
pulumi.set(__self__, "inline_volume_spec", inline_volume_spec)
|
|
1381
1425
|
if persistent_volume_name is not None:
|
|
1382
1426
|
pulumi.set(__self__, "persistent_volume_name", persistent_volume_name)
|
|
1383
1427
|
|
|
1384
|
-
@property
|
|
1428
|
+
@_builtins.property
|
|
1385
1429
|
@pulumi.getter(name="inlineVolumeSpec")
|
|
1386
1430
|
def inline_volume_spec(self) -> Optional['_core.v1.outputs.PersistentVolumeSpec']:
|
|
1387
1431
|
"""
|
|
@@ -1389,9 +1433,9 @@ class VolumeAttachmentSource(dict):
|
|
|
1389
1433
|
"""
|
|
1390
1434
|
return pulumi.get(self, "inline_volume_spec")
|
|
1391
1435
|
|
|
1392
|
-
@property
|
|
1436
|
+
@_builtins.property
|
|
1393
1437
|
@pulumi.getter(name="persistentVolumeName")
|
|
1394
|
-
def persistent_volume_name(self) -> Optional[str]:
|
|
1438
|
+
def persistent_volume_name(self) -> Optional[_builtins.str]:
|
|
1395
1439
|
"""
|
|
1396
1440
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1397
1441
|
"""
|
|
@@ -1401,7 +1445,7 @@ class VolumeAttachmentSource(dict):
|
|
|
1401
1445
|
@pulumi.output_type
|
|
1402
1446
|
class VolumeAttachmentSourcePatch(dict):
|
|
1403
1447
|
"""
|
|
1404
|
-
VolumeAttachmentSource represents a volume that should be attached. Right now only
|
|
1448
|
+
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.
|
|
1405
1449
|
"""
|
|
1406
1450
|
@staticmethod
|
|
1407
1451
|
def __key_warning(key: str):
|
|
@@ -1424,18 +1468,18 @@ class VolumeAttachmentSourcePatch(dict):
|
|
|
1424
1468
|
|
|
1425
1469
|
def __init__(__self__, *,
|
|
1426
1470
|
inline_volume_spec: Optional['_core.v1.outputs.PersistentVolumeSpecPatch'] = None,
|
|
1427
|
-
persistent_volume_name: Optional[str] = None):
|
|
1471
|
+
persistent_volume_name: Optional[_builtins.str] = None):
|
|
1428
1472
|
"""
|
|
1429
|
-
VolumeAttachmentSource represents a volume that should be attached. Right now only
|
|
1473
|
+
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.
|
|
1430
1474
|
:param '_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.
|
|
1431
|
-
:param str persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1475
|
+
:param _builtins.str persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1432
1476
|
"""
|
|
1433
1477
|
if inline_volume_spec is not None:
|
|
1434
1478
|
pulumi.set(__self__, "inline_volume_spec", inline_volume_spec)
|
|
1435
1479
|
if persistent_volume_name is not None:
|
|
1436
1480
|
pulumi.set(__self__, "persistent_volume_name", persistent_volume_name)
|
|
1437
1481
|
|
|
1438
|
-
@property
|
|
1482
|
+
@_builtins.property
|
|
1439
1483
|
@pulumi.getter(name="inlineVolumeSpec")
|
|
1440
1484
|
def inline_volume_spec(self) -> Optional['_core.v1.outputs.PersistentVolumeSpecPatch']:
|
|
1441
1485
|
"""
|
|
@@ -1443,9 +1487,9 @@ class VolumeAttachmentSourcePatch(dict):
|
|
|
1443
1487
|
"""
|
|
1444
1488
|
return pulumi.get(self, "inline_volume_spec")
|
|
1445
1489
|
|
|
1446
|
-
@property
|
|
1490
|
+
@_builtins.property
|
|
1447
1491
|
@pulumi.getter(name="persistentVolumeName")
|
|
1448
|
-
def persistent_volume_name(self) -> Optional[str]:
|
|
1492
|
+
def persistent_volume_name(self) -> Optional[_builtins.str]:
|
|
1449
1493
|
"""
|
|
1450
1494
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1451
1495
|
"""
|
|
@@ -1475,36 +1519,36 @@ class VolumeAttachmentSpec(dict):
|
|
|
1475
1519
|
return super().get(key, default)
|
|
1476
1520
|
|
|
1477
1521
|
def __init__(__self__, *,
|
|
1478
|
-
attacher: str,
|
|
1479
|
-
node_name: str,
|
|
1522
|
+
attacher: _builtins.str,
|
|
1523
|
+
node_name: _builtins.str,
|
|
1480
1524
|
source: 'outputs.VolumeAttachmentSource'):
|
|
1481
1525
|
"""
|
|
1482
1526
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1483
|
-
:param str attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1484
|
-
:param str node_name: nodeName represents the node that the volume should be attached to.
|
|
1527
|
+
:param _builtins.str attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1528
|
+
:param _builtins.str node_name: nodeName represents the node that the volume should be attached to.
|
|
1485
1529
|
:param 'VolumeAttachmentSourceArgs' source: source represents the volume that should be attached.
|
|
1486
1530
|
"""
|
|
1487
1531
|
pulumi.set(__self__, "attacher", attacher)
|
|
1488
1532
|
pulumi.set(__self__, "node_name", node_name)
|
|
1489
1533
|
pulumi.set(__self__, "source", source)
|
|
1490
1534
|
|
|
1491
|
-
@property
|
|
1535
|
+
@_builtins.property
|
|
1492
1536
|
@pulumi.getter
|
|
1493
|
-
def attacher(self) -> str:
|
|
1537
|
+
def attacher(self) -> _builtins.str:
|
|
1494
1538
|
"""
|
|
1495
1539
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1496
1540
|
"""
|
|
1497
1541
|
return pulumi.get(self, "attacher")
|
|
1498
1542
|
|
|
1499
|
-
@property
|
|
1543
|
+
@_builtins.property
|
|
1500
1544
|
@pulumi.getter(name="nodeName")
|
|
1501
|
-
def node_name(self) -> str:
|
|
1545
|
+
def node_name(self) -> _builtins.str:
|
|
1502
1546
|
"""
|
|
1503
1547
|
nodeName represents the node that the volume should be attached to.
|
|
1504
1548
|
"""
|
|
1505
1549
|
return pulumi.get(self, "node_name")
|
|
1506
1550
|
|
|
1507
|
-
@property
|
|
1551
|
+
@_builtins.property
|
|
1508
1552
|
@pulumi.getter
|
|
1509
1553
|
def source(self) -> 'outputs.VolumeAttachmentSource':
|
|
1510
1554
|
"""
|
|
@@ -1536,13 +1580,13 @@ class VolumeAttachmentSpecPatch(dict):
|
|
|
1536
1580
|
return super().get(key, default)
|
|
1537
1581
|
|
|
1538
1582
|
def __init__(__self__, *,
|
|
1539
|
-
attacher: Optional[str] = None,
|
|
1540
|
-
node_name: Optional[str] = None,
|
|
1583
|
+
attacher: Optional[_builtins.str] = None,
|
|
1584
|
+
node_name: Optional[_builtins.str] = None,
|
|
1541
1585
|
source: Optional['outputs.VolumeAttachmentSourcePatch'] = None):
|
|
1542
1586
|
"""
|
|
1543
1587
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1544
|
-
:param str attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1545
|
-
:param str node_name: nodeName represents the node that the volume should be attached to.
|
|
1588
|
+
:param _builtins.str attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1589
|
+
:param _builtins.str node_name: nodeName represents the node that the volume should be attached to.
|
|
1546
1590
|
:param 'VolumeAttachmentSourcePatchArgs' source: source represents the volume that should be attached.
|
|
1547
1591
|
"""
|
|
1548
1592
|
if attacher is not None:
|
|
@@ -1552,23 +1596,23 @@ class VolumeAttachmentSpecPatch(dict):
|
|
|
1552
1596
|
if source is not None:
|
|
1553
1597
|
pulumi.set(__self__, "source", source)
|
|
1554
1598
|
|
|
1555
|
-
@property
|
|
1599
|
+
@_builtins.property
|
|
1556
1600
|
@pulumi.getter
|
|
1557
|
-
def attacher(self) -> Optional[str]:
|
|
1601
|
+
def attacher(self) -> Optional[_builtins.str]:
|
|
1558
1602
|
"""
|
|
1559
1603
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1560
1604
|
"""
|
|
1561
1605
|
return pulumi.get(self, "attacher")
|
|
1562
1606
|
|
|
1563
|
-
@property
|
|
1607
|
+
@_builtins.property
|
|
1564
1608
|
@pulumi.getter(name="nodeName")
|
|
1565
|
-
def node_name(self) -> Optional[str]:
|
|
1609
|
+
def node_name(self) -> Optional[_builtins.str]:
|
|
1566
1610
|
"""
|
|
1567
1611
|
nodeName represents the node that the volume should be attached to.
|
|
1568
1612
|
"""
|
|
1569
1613
|
return pulumi.get(self, "node_name")
|
|
1570
1614
|
|
|
1571
|
-
@property
|
|
1615
|
+
@_builtins.property
|
|
1572
1616
|
@pulumi.getter
|
|
1573
1617
|
def source(self) -> Optional['outputs.VolumeAttachmentSourcePatch']:
|
|
1574
1618
|
"""
|
|
@@ -1604,15 +1648,15 @@ class VolumeAttachmentStatus(dict):
|
|
|
1604
1648
|
return super().get(key, default)
|
|
1605
1649
|
|
|
1606
1650
|
def __init__(__self__, *,
|
|
1607
|
-
attached: bool,
|
|
1651
|
+
attached: _builtins.bool,
|
|
1608
1652
|
attach_error: Optional['outputs.VolumeError'] = None,
|
|
1609
|
-
attachment_metadata: Optional[Mapping[str, str]] = None,
|
|
1653
|
+
attachment_metadata: Optional[Mapping[str, _builtins.str]] = None,
|
|
1610
1654
|
detach_error: Optional['outputs.VolumeError'] = None):
|
|
1611
1655
|
"""
|
|
1612
1656
|
VolumeAttachmentStatus is the status of a VolumeAttachment request.
|
|
1613
|
-
:param 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.
|
|
1657
|
+
:param _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.
|
|
1614
1658
|
:param '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.
|
|
1615
|
-
:param Mapping[str, 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.
|
|
1659
|
+
:param Mapping[str, _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.
|
|
1616
1660
|
:param '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.
|
|
1617
1661
|
"""
|
|
1618
1662
|
pulumi.set(__self__, "attached", attached)
|
|
@@ -1623,15 +1667,15 @@ class VolumeAttachmentStatus(dict):
|
|
|
1623
1667
|
if detach_error is not None:
|
|
1624
1668
|
pulumi.set(__self__, "detach_error", detach_error)
|
|
1625
1669
|
|
|
1626
|
-
@property
|
|
1670
|
+
@_builtins.property
|
|
1627
1671
|
@pulumi.getter
|
|
1628
|
-
def attached(self) -> bool:
|
|
1672
|
+
def attached(self) -> _builtins.bool:
|
|
1629
1673
|
"""
|
|
1630
1674
|
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.
|
|
1631
1675
|
"""
|
|
1632
1676
|
return pulumi.get(self, "attached")
|
|
1633
1677
|
|
|
1634
|
-
@property
|
|
1678
|
+
@_builtins.property
|
|
1635
1679
|
@pulumi.getter(name="attachError")
|
|
1636
1680
|
def attach_error(self) -> Optional['outputs.VolumeError']:
|
|
1637
1681
|
"""
|
|
@@ -1639,15 +1683,15 @@ class VolumeAttachmentStatus(dict):
|
|
|
1639
1683
|
"""
|
|
1640
1684
|
return pulumi.get(self, "attach_error")
|
|
1641
1685
|
|
|
1642
|
-
@property
|
|
1686
|
+
@_builtins.property
|
|
1643
1687
|
@pulumi.getter(name="attachmentMetadata")
|
|
1644
|
-
def attachment_metadata(self) -> Optional[Mapping[str, str]]:
|
|
1688
|
+
def attachment_metadata(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
1645
1689
|
"""
|
|
1646
1690
|
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.
|
|
1647
1691
|
"""
|
|
1648
1692
|
return pulumi.get(self, "attachment_metadata")
|
|
1649
1693
|
|
|
1650
|
-
@property
|
|
1694
|
+
@_builtins.property
|
|
1651
1695
|
@pulumi.getter(name="detachError")
|
|
1652
1696
|
def detach_error(self) -> Optional['outputs.VolumeError']:
|
|
1653
1697
|
"""
|
|
@@ -1684,14 +1728,14 @@ class VolumeAttachmentStatusPatch(dict):
|
|
|
1684
1728
|
|
|
1685
1729
|
def __init__(__self__, *,
|
|
1686
1730
|
attach_error: Optional['outputs.VolumeErrorPatch'] = None,
|
|
1687
|
-
attached: Optional[bool] = None,
|
|
1688
|
-
attachment_metadata: Optional[Mapping[str, str]] = None,
|
|
1731
|
+
attached: Optional[_builtins.bool] = None,
|
|
1732
|
+
attachment_metadata: Optional[Mapping[str, _builtins.str]] = None,
|
|
1689
1733
|
detach_error: Optional['outputs.VolumeErrorPatch'] = None):
|
|
1690
1734
|
"""
|
|
1691
1735
|
VolumeAttachmentStatus is the status of a VolumeAttachment request.
|
|
1692
1736
|
:param 'VolumeErrorPatchArgs' 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.
|
|
1693
|
-
:param 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.
|
|
1694
|
-
:param Mapping[str, 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.
|
|
1737
|
+
:param _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.
|
|
1738
|
+
:param Mapping[str, _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.
|
|
1695
1739
|
:param 'VolumeErrorPatchArgs' 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.
|
|
1696
1740
|
"""
|
|
1697
1741
|
if attach_error is not None:
|
|
@@ -1703,7 +1747,7 @@ class VolumeAttachmentStatusPatch(dict):
|
|
|
1703
1747
|
if detach_error is not None:
|
|
1704
1748
|
pulumi.set(__self__, "detach_error", detach_error)
|
|
1705
1749
|
|
|
1706
|
-
@property
|
|
1750
|
+
@_builtins.property
|
|
1707
1751
|
@pulumi.getter(name="attachError")
|
|
1708
1752
|
def attach_error(self) -> Optional['outputs.VolumeErrorPatch']:
|
|
1709
1753
|
"""
|
|
@@ -1711,23 +1755,23 @@ class VolumeAttachmentStatusPatch(dict):
|
|
|
1711
1755
|
"""
|
|
1712
1756
|
return pulumi.get(self, "attach_error")
|
|
1713
1757
|
|
|
1714
|
-
@property
|
|
1758
|
+
@_builtins.property
|
|
1715
1759
|
@pulumi.getter
|
|
1716
|
-
def attached(self) -> Optional[bool]:
|
|
1760
|
+
def attached(self) -> Optional[_builtins.bool]:
|
|
1717
1761
|
"""
|
|
1718
1762
|
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.
|
|
1719
1763
|
"""
|
|
1720
1764
|
return pulumi.get(self, "attached")
|
|
1721
1765
|
|
|
1722
|
-
@property
|
|
1766
|
+
@_builtins.property
|
|
1723
1767
|
@pulumi.getter(name="attachmentMetadata")
|
|
1724
|
-
def attachment_metadata(self) -> Optional[Mapping[str, str]]:
|
|
1768
|
+
def attachment_metadata(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
1725
1769
|
"""
|
|
1726
1770
|
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.
|
|
1727
1771
|
"""
|
|
1728
1772
|
return pulumi.get(self, "attachment_metadata")
|
|
1729
1773
|
|
|
1730
|
-
@property
|
|
1774
|
+
@_builtins.property
|
|
1731
1775
|
@pulumi.getter(name="detachError")
|
|
1732
1776
|
def detach_error(self) -> Optional['outputs.VolumeErrorPatch']:
|
|
1733
1777
|
"""
|
|
@@ -1741,30 +1785,63 @@ class VolumeError(dict):
|
|
|
1741
1785
|
"""
|
|
1742
1786
|
VolumeError captures an error encountered during a volume operation.
|
|
1743
1787
|
"""
|
|
1788
|
+
@staticmethod
|
|
1789
|
+
def __key_warning(key: str):
|
|
1790
|
+
suggest = None
|
|
1791
|
+
if key == "errorCode":
|
|
1792
|
+
suggest = "error_code"
|
|
1793
|
+
|
|
1794
|
+
if suggest:
|
|
1795
|
+
pulumi.log.warn(f"Key '{key}' not found in VolumeError. Access the value via the '{suggest}' property getter instead.")
|
|
1796
|
+
|
|
1797
|
+
def __getitem__(self, key: str) -> Any:
|
|
1798
|
+
VolumeError.__key_warning(key)
|
|
1799
|
+
return super().__getitem__(key)
|
|
1800
|
+
|
|
1801
|
+
def get(self, key: str, default = None) -> Any:
|
|
1802
|
+
VolumeError.__key_warning(key)
|
|
1803
|
+
return super().get(key, default)
|
|
1804
|
+
|
|
1744
1805
|
def __init__(__self__, *,
|
|
1745
|
-
|
|
1746
|
-
|
|
1806
|
+
error_code: Optional[_builtins.int] = None,
|
|
1807
|
+
message: Optional[_builtins.str] = None,
|
|
1808
|
+
time: Optional[_builtins.str] = None):
|
|
1747
1809
|
"""
|
|
1748
1810
|
VolumeError captures an error encountered during a volume operation.
|
|
1749
|
-
:param
|
|
1750
|
-
|
|
1811
|
+
:param _builtins.int error_code: errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
1812
|
+
|
|
1813
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
1814
|
+
:param _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.
|
|
1815
|
+
:param _builtins.str time: time represents the time the error was encountered.
|
|
1751
1816
|
"""
|
|
1817
|
+
if error_code is not None:
|
|
1818
|
+
pulumi.set(__self__, "error_code", error_code)
|
|
1752
1819
|
if message is not None:
|
|
1753
1820
|
pulumi.set(__self__, "message", message)
|
|
1754
1821
|
if time is not None:
|
|
1755
1822
|
pulumi.set(__self__, "time", time)
|
|
1756
1823
|
|
|
1757
|
-
@property
|
|
1824
|
+
@_builtins.property
|
|
1825
|
+
@pulumi.getter(name="errorCode")
|
|
1826
|
+
def error_code(self) -> Optional[_builtins.int]:
|
|
1827
|
+
"""
|
|
1828
|
+
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
1829
|
+
|
|
1830
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
1831
|
+
"""
|
|
1832
|
+
return pulumi.get(self, "error_code")
|
|
1833
|
+
|
|
1834
|
+
@_builtins.property
|
|
1758
1835
|
@pulumi.getter
|
|
1759
|
-
def message(self) -> Optional[str]:
|
|
1836
|
+
def message(self) -> Optional[_builtins.str]:
|
|
1760
1837
|
"""
|
|
1761
1838
|
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
1762
1839
|
"""
|
|
1763
1840
|
return pulumi.get(self, "message")
|
|
1764
1841
|
|
|
1765
|
-
@property
|
|
1842
|
+
@_builtins.property
|
|
1766
1843
|
@pulumi.getter
|
|
1767
|
-
def time(self) -> Optional[str]:
|
|
1844
|
+
def time(self) -> Optional[_builtins.str]:
|
|
1768
1845
|
"""
|
|
1769
1846
|
time represents the time the error was encountered.
|
|
1770
1847
|
"""
|
|
@@ -1776,30 +1853,63 @@ class VolumeErrorPatch(dict):
|
|
|
1776
1853
|
"""
|
|
1777
1854
|
VolumeError captures an error encountered during a volume operation.
|
|
1778
1855
|
"""
|
|
1856
|
+
@staticmethod
|
|
1857
|
+
def __key_warning(key: str):
|
|
1858
|
+
suggest = None
|
|
1859
|
+
if key == "errorCode":
|
|
1860
|
+
suggest = "error_code"
|
|
1861
|
+
|
|
1862
|
+
if suggest:
|
|
1863
|
+
pulumi.log.warn(f"Key '{key}' not found in VolumeErrorPatch. Access the value via the '{suggest}' property getter instead.")
|
|
1864
|
+
|
|
1865
|
+
def __getitem__(self, key: str) -> Any:
|
|
1866
|
+
VolumeErrorPatch.__key_warning(key)
|
|
1867
|
+
return super().__getitem__(key)
|
|
1868
|
+
|
|
1869
|
+
def get(self, key: str, default = None) -> Any:
|
|
1870
|
+
VolumeErrorPatch.__key_warning(key)
|
|
1871
|
+
return super().get(key, default)
|
|
1872
|
+
|
|
1779
1873
|
def __init__(__self__, *,
|
|
1780
|
-
|
|
1781
|
-
|
|
1874
|
+
error_code: Optional[_builtins.int] = None,
|
|
1875
|
+
message: Optional[_builtins.str] = None,
|
|
1876
|
+
time: Optional[_builtins.str] = None):
|
|
1782
1877
|
"""
|
|
1783
1878
|
VolumeError captures an error encountered during a volume operation.
|
|
1784
|
-
:param
|
|
1785
|
-
|
|
1879
|
+
:param _builtins.int error_code: errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
1880
|
+
|
|
1881
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
1882
|
+
:param _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.
|
|
1883
|
+
:param _builtins.str time: time represents the time the error was encountered.
|
|
1786
1884
|
"""
|
|
1885
|
+
if error_code is not None:
|
|
1886
|
+
pulumi.set(__self__, "error_code", error_code)
|
|
1787
1887
|
if message is not None:
|
|
1788
1888
|
pulumi.set(__self__, "message", message)
|
|
1789
1889
|
if time is not None:
|
|
1790
1890
|
pulumi.set(__self__, "time", time)
|
|
1791
1891
|
|
|
1792
|
-
@property
|
|
1892
|
+
@_builtins.property
|
|
1893
|
+
@pulumi.getter(name="errorCode")
|
|
1894
|
+
def error_code(self) -> Optional[_builtins.int]:
|
|
1895
|
+
"""
|
|
1896
|
+
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
1897
|
+
|
|
1898
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
1899
|
+
"""
|
|
1900
|
+
return pulumi.get(self, "error_code")
|
|
1901
|
+
|
|
1902
|
+
@_builtins.property
|
|
1793
1903
|
@pulumi.getter
|
|
1794
|
-
def message(self) -> Optional[str]:
|
|
1904
|
+
def message(self) -> Optional[_builtins.str]:
|
|
1795
1905
|
"""
|
|
1796
1906
|
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
1797
1907
|
"""
|
|
1798
1908
|
return pulumi.get(self, "message")
|
|
1799
1909
|
|
|
1800
|
-
@property
|
|
1910
|
+
@_builtins.property
|
|
1801
1911
|
@pulumi.getter
|
|
1802
|
-
def time(self) -> Optional[str]:
|
|
1912
|
+
def time(self) -> Optional[_builtins.str]:
|
|
1803
1913
|
"""
|
|
1804
1914
|
time represents the time the error was encountered.
|
|
1805
1915
|
"""
|
|
@@ -1812,17 +1922,17 @@ class VolumeNodeResources(dict):
|
|
|
1812
1922
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
1813
1923
|
"""
|
|
1814
1924
|
def __init__(__self__, *,
|
|
1815
|
-
count: Optional[int] = None):
|
|
1925
|
+
count: Optional[_builtins.int] = None):
|
|
1816
1926
|
"""
|
|
1817
1927
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
1818
|
-
:param 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.
|
|
1928
|
+
:param _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.
|
|
1819
1929
|
"""
|
|
1820
1930
|
if count is not None:
|
|
1821
1931
|
pulumi.set(__self__, "count", count)
|
|
1822
1932
|
|
|
1823
|
-
@property
|
|
1933
|
+
@_builtins.property
|
|
1824
1934
|
@pulumi.getter
|
|
1825
|
-
def count(self) -> Optional[int]:
|
|
1935
|
+
def count(self) -> Optional[_builtins.int]:
|
|
1826
1936
|
"""
|
|
1827
1937
|
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.
|
|
1828
1938
|
"""
|
|
@@ -1835,17 +1945,17 @@ class VolumeNodeResourcesPatch(dict):
|
|
|
1835
1945
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
1836
1946
|
"""
|
|
1837
1947
|
def __init__(__self__, *,
|
|
1838
|
-
count: Optional[int] = None):
|
|
1948
|
+
count: Optional[_builtins.int] = None):
|
|
1839
1949
|
"""
|
|
1840
1950
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
1841
|
-
:param 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.
|
|
1951
|
+
:param _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.
|
|
1842
1952
|
"""
|
|
1843
1953
|
if count is not None:
|
|
1844
1954
|
pulumi.set(__self__, "count", count)
|
|
1845
1955
|
|
|
1846
|
-
@property
|
|
1956
|
+
@_builtins.property
|
|
1847
1957
|
@pulumi.getter
|
|
1848
|
-
def count(self) -> Optional[int]:
|
|
1958
|
+
def count(self) -> Optional[_builtins.int]:
|
|
1849
1959
|
"""
|
|
1850
1960
|
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.
|
|
1851
1961
|
"""
|