pulumi-kubernetes 4.24.0a1752908431__py3-none-any.whl → 4.24.0a1753121506__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +1 -1
- pulumi_kubernetes/_inputs.py +49 -50
- pulumi_kubernetes/admissionregistration/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +715 -716
- pulumi_kubernetes/admissionregistration/v1/outputs.py +512 -513
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +495 -496
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +364 -365
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +711 -712
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +508 -509
- pulumi_kubernetes/apiextensions/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/_inputs.py +906 -907
- pulumi_kubernetes/apiextensions/v1/outputs.py +620 -621
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -835
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -573
- pulumi_kubernetes/apiregistration/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -129
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -129
- pulumi_kubernetes/apps/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/_inputs.py +749 -750
- pulumi_kubernetes/apps/v1/outputs.py +713 -714
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -410
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -382
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -656
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -646
- pulumi_kubernetes/auditregistration/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -146
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -102
- pulumi_kubernetes/autoscaling/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -121
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -103
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2/_inputs.py +410 -411
- pulumi_kubernetes/autoscaling/v2/outputs.py +374 -375
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -452
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -425
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -399
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -367
- pulumi_kubernetes/batch/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/Job.py +26 -27
- pulumi_kubernetes/batch/v1/JobList.py +25 -26
- pulumi_kubernetes/batch/v1/JobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/_inputs.py +494 -495
- pulumi_kubernetes/batch/v1/outputs.py +419 -420
- pulumi_kubernetes/batch/v1beta1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -77
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -1
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -77
- pulumi_kubernetes/certificates/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -156
- pulumi_kubernetes/certificates/v1/outputs.py +134 -135
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -40
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -28
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +182 -183
- pulumi_kubernetes/certificates/v1beta1/outputs.py +154 -155
- pulumi_kubernetes/coordination/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -100
- pulumi_kubernetes/coordination/v1/outputs.py +67 -68
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1beta1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +161 -162
- pulumi_kubernetes/coordination/v1beta1/outputs.py +109 -110
- pulumi_kubernetes/core/__init__.py +1 -1
- pulumi_kubernetes/core/v1/Binding.py +25 -26
- pulumi_kubernetes/core/v1/BindingPatch.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMap.py +53 -54
- pulumi_kubernetes/core/v1/ConfigMapList.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +53 -54
- pulumi_kubernetes/core/v1/Endpoints.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsList.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsPatch.py +25 -26
- pulumi_kubernetes/core/v1/Event.py +131 -132
- pulumi_kubernetes/core/v1/EventList.py +25 -26
- pulumi_kubernetes/core/v1/EventPatch.py +131 -132
- pulumi_kubernetes/core/v1/LimitRange.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangeList.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangePatch.py +25 -26
- pulumi_kubernetes/core/v1/Namespace.py +26 -27
- pulumi_kubernetes/core/v1/NamespaceList.py +25 -26
- pulumi_kubernetes/core/v1/NamespacePatch.py +26 -27
- pulumi_kubernetes/core/v1/Node.py +26 -27
- pulumi_kubernetes/core/v1/NodeList.py +25 -26
- pulumi_kubernetes/core/v1/NodePatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolume.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +26 -27
- pulumi_kubernetes/core/v1/Pod.py +26 -27
- pulumi_kubernetes/core/v1/PodList.py +25 -26
- pulumi_kubernetes/core/v1/PodPatch.py +26 -27
- pulumi_kubernetes/core/v1/PodTemplate.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplateList.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationController.py +26 -27
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuota.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +25 -26
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +26 -27
- pulumi_kubernetes/core/v1/Secret.py +63 -64
- pulumi_kubernetes/core/v1/SecretList.py +25 -26
- pulumi_kubernetes/core/v1/SecretPatch.py +63 -64
- pulumi_kubernetes/core/v1/Service.py +26 -27
- pulumi_kubernetes/core/v1/ServiceAccount.py +37 -38
- pulumi_kubernetes/core/v1/ServiceAccountList.py +25 -26
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +37 -38
- pulumi_kubernetes/core/v1/ServiceList.py +25 -26
- pulumi_kubernetes/core/v1/ServicePatch.py +26 -27
- pulumi_kubernetes/core/v1/__init__.py +1 -1
- pulumi_kubernetes/core/v1/_enums.py +2 -2
- pulumi_kubernetes/core/v1/_inputs.py +7133 -7134
- pulumi_kubernetes/core/v1/outputs.py +5390 -5391
- pulumi_kubernetes/discovery/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/_inputs.py +200 -201
- pulumi_kubernetes/discovery/v1/outputs.py +138 -139
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -159
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -109
- pulumi_kubernetes/events/__init__.py +1 -1
- pulumi_kubernetes/events/v1/Event.py +131 -132
- pulumi_kubernetes/events/v1/EventList.py +25 -26
- pulumi_kubernetes/events/v1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1/__init__.py +1 -1
- pulumi_kubernetes/events/v1/_inputs.py +102 -103
- pulumi_kubernetes/events/v1/outputs.py +70 -71
- pulumi_kubernetes/events/v1beta1/Event.py +131 -132
- pulumi_kubernetes/events/v1beta1/EventList.py +25 -26
- pulumi_kubernetes/events/v1beta1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -115
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -79
- pulumi_kubernetes/extensions/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1098
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -900
- pulumi_kubernetes/flowcontrol/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +333 -334
- pulumi_kubernetes/helm/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/Release.py +316 -317
- pulumi_kubernetes/helm/v3/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/_inputs.py +37 -38
- pulumi_kubernetes/helm/v3/outputs.py +54 -55
- pulumi_kubernetes/helm/v4/Chart.py +95 -96
- pulumi_kubernetes/helm/v4/__init__.py +1 -1
- pulumi_kubernetes/helm/v4/_inputs.py +34 -35
- pulumi_kubernetes/kustomize/__init__.py +1 -1
- pulumi_kubernetes/kustomize/v2/Directory.py +35 -36
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -1
- pulumi_kubernetes/meta/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/Status.py +57 -58
- pulumi_kubernetes/meta/v1/StatusPatch.py +57 -58
- pulumi_kubernetes/meta/v1/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/_inputs.py +551 -552
- pulumi_kubernetes/meta/v1/outputs.py +395 -396
- pulumi_kubernetes/networking/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/_inputs.py +463 -464
- pulumi_kubernetes/networking/v1/outputs.py +350 -351
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -158
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -111
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -248
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -174
- pulumi_kubernetes/node/__init__.py +1 -1
- pulumi_kubernetes/node/v1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1/__init__.py +1 -1
- pulumi_kubernetes/node/v1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1/outputs.py +34 -35
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +25 -26
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -58
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -42
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -35
- pulumi_kubernetes/policy/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/_inputs.py +91 -92
- pulumi_kubernetes/policy/v1/outputs.py +80 -81
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -471
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -343
- pulumi_kubernetes/provider.py +107 -108
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -143
- pulumi_kubernetes/resource/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -269
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -231
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -551
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -450
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +27 -28
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +836 -837
- pulumi_kubernetes/resource/v1alpha3/outputs.py +685 -686
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta1/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta1/outputs.py +564 -565
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta2/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta2/outputs.py +564 -565
- pulumi_kubernetes/scheduling/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -27
- pulumi_kubernetes/settings/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -22
- pulumi_kubernetes/storage/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/_inputs.py +372 -373
- pulumi_kubernetes/storage/v1/outputs.py +278 -279
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -108
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -94
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -368
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -272
- pulumi_kubernetes/storagemigration/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +25 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -104
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -97
- pulumi_kubernetes/yaml/__init__.py +1 -1
- pulumi_kubernetes/yaml/v2/ConfigFile.py +26 -27
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +35 -36
- pulumi_kubernetes/yaml/v2/__init__.py +1 -1
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.24.0a1753121506.dist-info/RECORD +709 -0
- pulumi_kubernetes-4.24.0a1752908431.dist-info/RECORD +0 -709
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -69,13 +68,13 @@ if not MYPY:
|
|
|
69
68
|
"""
|
|
70
69
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
71
70
|
"""
|
|
72
|
-
attach_required: NotRequired[pulumi.Input[
|
|
71
|
+
attach_required: NotRequired[pulumi.Input[_builtins.bool]]
|
|
73
72
|
"""
|
|
74
73
|
attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
75
74
|
|
|
76
75
|
This field is immutable.
|
|
77
76
|
"""
|
|
78
|
-
fs_group_policy: NotRequired[pulumi.Input[
|
|
77
|
+
fs_group_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
79
78
|
"""
|
|
80
79
|
fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
81
80
|
|
|
@@ -83,7 +82,7 @@ if not MYPY:
|
|
|
83
82
|
|
|
84
83
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
85
84
|
"""
|
|
86
|
-
node_allocatable_update_period_seconds: NotRequired[pulumi.Input[
|
|
85
|
+
node_allocatable_update_period_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
87
86
|
"""
|
|
88
87
|
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
89
88
|
|
|
@@ -91,7 +90,7 @@ if not MYPY:
|
|
|
91
90
|
|
|
92
91
|
This field is mutable.
|
|
93
92
|
"""
|
|
94
|
-
pod_info_on_mount: NotRequired[pulumi.Input[
|
|
93
|
+
pod_info_on_mount: NotRequired[pulumi.Input[_builtins.bool]]
|
|
95
94
|
"""
|
|
96
95
|
podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
97
96
|
|
|
@@ -104,13 +103,13 @@ if not MYPY:
|
|
|
104
103
|
|
|
105
104
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
106
105
|
"""
|
|
107
|
-
requires_republish: NotRequired[pulumi.Input[
|
|
106
|
+
requires_republish: NotRequired[pulumi.Input[_builtins.bool]]
|
|
108
107
|
"""
|
|
109
108
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
110
109
|
|
|
111
110
|
Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.
|
|
112
111
|
"""
|
|
113
|
-
se_linux_mount: NotRequired[pulumi.Input[
|
|
112
|
+
se_linux_mount: NotRequired[pulumi.Input[_builtins.bool]]
|
|
114
113
|
"""
|
|
115
114
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
116
115
|
|
|
@@ -120,7 +119,7 @@ if not MYPY:
|
|
|
120
119
|
|
|
121
120
|
Default is "false".
|
|
122
121
|
"""
|
|
123
|
-
storage_capacity: NotRequired[pulumi.Input[
|
|
122
|
+
storage_capacity: NotRequired[pulumi.Input[_builtins.bool]]
|
|
124
123
|
"""
|
|
125
124
|
storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
126
125
|
|
|
@@ -142,7 +141,7 @@ if not MYPY:
|
|
|
142
141
|
|
|
143
142
|
Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.
|
|
144
143
|
"""
|
|
145
|
-
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
144
|
+
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
146
145
|
"""
|
|
147
146
|
volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
148
147
|
|
|
@@ -158,31 +157,31 @@ elif False:
|
|
|
158
157
|
@pulumi.input_type
|
|
159
158
|
class CSIDriverSpecPatchArgs:
|
|
160
159
|
def __init__(__self__, *,
|
|
161
|
-
attach_required: Optional[pulumi.Input[
|
|
162
|
-
fs_group_policy: Optional[pulumi.Input[
|
|
163
|
-
node_allocatable_update_period_seconds: Optional[pulumi.Input[
|
|
164
|
-
pod_info_on_mount: Optional[pulumi.Input[
|
|
165
|
-
requires_republish: Optional[pulumi.Input[
|
|
166
|
-
se_linux_mount: Optional[pulumi.Input[
|
|
167
|
-
storage_capacity: Optional[pulumi.Input[
|
|
160
|
+
attach_required: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
161
|
+
fs_group_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
162
|
+
node_allocatable_update_period_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
163
|
+
pod_info_on_mount: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
164
|
+
requires_republish: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
165
|
+
se_linux_mount: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
166
|
+
storage_capacity: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
168
167
|
token_requests: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestPatchArgs']]]] = None,
|
|
169
|
-
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
168
|
+
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
170
169
|
"""
|
|
171
170
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
172
|
-
:param pulumi.Input[
|
|
171
|
+
:param pulumi.Input[_builtins.bool] attach_required: attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
173
172
|
|
|
174
173
|
This field is immutable.
|
|
175
|
-
:param pulumi.Input[
|
|
174
|
+
:param pulumi.Input[_builtins.str] fs_group_policy: fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
176
175
|
|
|
177
176
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
178
177
|
|
|
179
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.
|
|
180
|
-
:param pulumi.Input[
|
|
179
|
+
:param pulumi.Input[_builtins.int] node_allocatable_update_period_seconds: nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
181
180
|
|
|
182
181
|
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
183
182
|
|
|
184
183
|
This field is mutable.
|
|
185
|
-
:param pulumi.Input[
|
|
184
|
+
:param pulumi.Input[_builtins.bool] pod_info_on_mount: podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
186
185
|
|
|
187
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.
|
|
188
187
|
|
|
@@ -192,17 +191,17 @@ class CSIDriverSpecPatchArgs:
|
|
|
192
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.
|
|
193
192
|
|
|
194
193
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
195
|
-
:param pulumi.Input[
|
|
194
|
+
:param pulumi.Input[_builtins.bool] requires_republish: requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
196
195
|
|
|
197
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.
|
|
198
|
-
:param pulumi.Input[
|
|
197
|
+
:param pulumi.Input[_builtins.bool] se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
199
198
|
|
|
200
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.
|
|
201
200
|
|
|
202
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.
|
|
203
202
|
|
|
204
203
|
Default is "false".
|
|
205
|
-
:param pulumi.Input[
|
|
204
|
+
:param pulumi.Input[_builtins.bool] storage_capacity: storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
206
205
|
|
|
207
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.
|
|
208
207
|
|
|
@@ -218,7 +217,7 @@ class CSIDriverSpecPatchArgs:
|
|
|
218
217
|
}
|
|
219
218
|
|
|
220
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.
|
|
221
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
220
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] volume_lifecycle_modes: volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
222
221
|
|
|
223
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.
|
|
224
223
|
|
|
@@ -245,9 +244,9 @@ class CSIDriverSpecPatchArgs:
|
|
|
245
244
|
if volume_lifecycle_modes is not None:
|
|
246
245
|
pulumi.set(__self__, "volume_lifecycle_modes", volume_lifecycle_modes)
|
|
247
246
|
|
|
248
|
-
@property
|
|
247
|
+
@_builtins.property
|
|
249
248
|
@pulumi.getter(name="attachRequired")
|
|
250
|
-
def attach_required(self) -> Optional[pulumi.Input[
|
|
249
|
+
def attach_required(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
251
250
|
"""
|
|
252
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.
|
|
253
252
|
|
|
@@ -256,12 +255,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
256
255
|
return pulumi.get(self, "attach_required")
|
|
257
256
|
|
|
258
257
|
@attach_required.setter
|
|
259
|
-
def attach_required(self, value: Optional[pulumi.Input[
|
|
258
|
+
def attach_required(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
260
259
|
pulumi.set(self, "attach_required", value)
|
|
261
260
|
|
|
262
|
-
@property
|
|
261
|
+
@_builtins.property
|
|
263
262
|
@pulumi.getter(name="fsGroupPolicy")
|
|
264
|
-
def fs_group_policy(self) -> Optional[pulumi.Input[
|
|
263
|
+
def fs_group_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
265
264
|
"""
|
|
266
265
|
fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
267
266
|
|
|
@@ -272,12 +271,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
272
271
|
return pulumi.get(self, "fs_group_policy")
|
|
273
272
|
|
|
274
273
|
@fs_group_policy.setter
|
|
275
|
-
def fs_group_policy(self, value: Optional[pulumi.Input[
|
|
274
|
+
def fs_group_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
276
275
|
pulumi.set(self, "fs_group_policy", value)
|
|
277
276
|
|
|
278
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
279
278
|
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
280
|
-
def node_allocatable_update_period_seconds(self) -> Optional[pulumi.Input[
|
|
279
|
+
def node_allocatable_update_period_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
281
280
|
"""
|
|
282
281
|
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
283
282
|
|
|
@@ -288,12 +287,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
288
287
|
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
289
288
|
|
|
290
289
|
@node_allocatable_update_period_seconds.setter
|
|
291
|
-
def node_allocatable_update_period_seconds(self, value: Optional[pulumi.Input[
|
|
290
|
+
def node_allocatable_update_period_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
292
291
|
pulumi.set(self, "node_allocatable_update_period_seconds", value)
|
|
293
292
|
|
|
294
|
-
@property
|
|
293
|
+
@_builtins.property
|
|
295
294
|
@pulumi.getter(name="podInfoOnMount")
|
|
296
|
-
def pod_info_on_mount(self) -> Optional[pulumi.Input[
|
|
295
|
+
def pod_info_on_mount(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
297
296
|
"""
|
|
298
297
|
podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
299
298
|
|
|
@@ -309,12 +308,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
309
308
|
return pulumi.get(self, "pod_info_on_mount")
|
|
310
309
|
|
|
311
310
|
@pod_info_on_mount.setter
|
|
312
|
-
def pod_info_on_mount(self, value: Optional[pulumi.Input[
|
|
311
|
+
def pod_info_on_mount(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
313
312
|
pulumi.set(self, "pod_info_on_mount", value)
|
|
314
313
|
|
|
315
|
-
@property
|
|
314
|
+
@_builtins.property
|
|
316
315
|
@pulumi.getter(name="requiresRepublish")
|
|
317
|
-
def requires_republish(self) -> Optional[pulumi.Input[
|
|
316
|
+
def requires_republish(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
318
317
|
"""
|
|
319
318
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
320
319
|
|
|
@@ -323,12 +322,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
323
322
|
return pulumi.get(self, "requires_republish")
|
|
324
323
|
|
|
325
324
|
@requires_republish.setter
|
|
326
|
-
def requires_republish(self, value: Optional[pulumi.Input[
|
|
325
|
+
def requires_republish(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
327
326
|
pulumi.set(self, "requires_republish", value)
|
|
328
327
|
|
|
329
|
-
@property
|
|
328
|
+
@_builtins.property
|
|
330
329
|
@pulumi.getter(name="seLinuxMount")
|
|
331
|
-
def se_linux_mount(self) -> Optional[pulumi.Input[
|
|
330
|
+
def se_linux_mount(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
332
331
|
"""
|
|
333
332
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
334
333
|
|
|
@@ -341,12 +340,12 @@ class CSIDriverSpecPatchArgs:
|
|
|
341
340
|
return pulumi.get(self, "se_linux_mount")
|
|
342
341
|
|
|
343
342
|
@se_linux_mount.setter
|
|
344
|
-
def se_linux_mount(self, value: Optional[pulumi.Input[
|
|
343
|
+
def se_linux_mount(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
345
344
|
pulumi.set(self, "se_linux_mount", value)
|
|
346
345
|
|
|
347
|
-
@property
|
|
346
|
+
@_builtins.property
|
|
348
347
|
@pulumi.getter(name="storageCapacity")
|
|
349
|
-
def storage_capacity(self) -> Optional[pulumi.Input[
|
|
348
|
+
def storage_capacity(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
350
349
|
"""
|
|
351
350
|
storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
352
351
|
|
|
@@ -359,10 +358,10 @@ class CSIDriverSpecPatchArgs:
|
|
|
359
358
|
return pulumi.get(self, "storage_capacity")
|
|
360
359
|
|
|
361
360
|
@storage_capacity.setter
|
|
362
|
-
def storage_capacity(self, value: Optional[pulumi.Input[
|
|
361
|
+
def storage_capacity(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
363
362
|
pulumi.set(self, "storage_capacity", value)
|
|
364
363
|
|
|
365
|
-
@property
|
|
364
|
+
@_builtins.property
|
|
366
365
|
@pulumi.getter(name="tokenRequests")
|
|
367
366
|
def token_requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestPatchArgs']]]]:
|
|
368
367
|
"""
|
|
@@ -382,9 +381,9 @@ class CSIDriverSpecPatchArgs:
|
|
|
382
381
|
def token_requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestPatchArgs']]]]):
|
|
383
382
|
pulumi.set(self, "token_requests", value)
|
|
384
383
|
|
|
385
|
-
@property
|
|
384
|
+
@_builtins.property
|
|
386
385
|
@pulumi.getter(name="volumeLifecycleModes")
|
|
387
|
-
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
386
|
+
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
388
387
|
"""
|
|
389
388
|
volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
390
389
|
|
|
@@ -397,7 +396,7 @@ class CSIDriverSpecPatchArgs:
|
|
|
397
396
|
return pulumi.get(self, "volume_lifecycle_modes")
|
|
398
397
|
|
|
399
398
|
@volume_lifecycle_modes.setter
|
|
400
|
-
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
399
|
+
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
401
400
|
pulumi.set(self, "volume_lifecycle_modes", value)
|
|
402
401
|
|
|
403
402
|
|
|
@@ -406,13 +405,13 @@ if not MYPY:
|
|
|
406
405
|
"""
|
|
407
406
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
408
407
|
"""
|
|
409
|
-
attach_required: NotRequired[pulumi.Input[
|
|
408
|
+
attach_required: NotRequired[pulumi.Input[_builtins.bool]]
|
|
410
409
|
"""
|
|
411
410
|
attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
412
411
|
|
|
413
412
|
This field is immutable.
|
|
414
413
|
"""
|
|
415
|
-
fs_group_policy: NotRequired[pulumi.Input[
|
|
414
|
+
fs_group_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
416
415
|
"""
|
|
417
416
|
fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
418
417
|
|
|
@@ -420,7 +419,7 @@ if not MYPY:
|
|
|
420
419
|
|
|
421
420
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
422
421
|
"""
|
|
423
|
-
node_allocatable_update_period_seconds: NotRequired[pulumi.Input[
|
|
422
|
+
node_allocatable_update_period_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
424
423
|
"""
|
|
425
424
|
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
426
425
|
|
|
@@ -428,7 +427,7 @@ if not MYPY:
|
|
|
428
427
|
|
|
429
428
|
This field is mutable.
|
|
430
429
|
"""
|
|
431
|
-
pod_info_on_mount: NotRequired[pulumi.Input[
|
|
430
|
+
pod_info_on_mount: NotRequired[pulumi.Input[_builtins.bool]]
|
|
432
431
|
"""
|
|
433
432
|
podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
434
433
|
|
|
@@ -441,13 +440,13 @@ if not MYPY:
|
|
|
441
440
|
|
|
442
441
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
443
442
|
"""
|
|
444
|
-
requires_republish: NotRequired[pulumi.Input[
|
|
443
|
+
requires_republish: NotRequired[pulumi.Input[_builtins.bool]]
|
|
445
444
|
"""
|
|
446
445
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
447
446
|
|
|
448
447
|
Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.
|
|
449
448
|
"""
|
|
450
|
-
se_linux_mount: NotRequired[pulumi.Input[
|
|
449
|
+
se_linux_mount: NotRequired[pulumi.Input[_builtins.bool]]
|
|
451
450
|
"""
|
|
452
451
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
453
452
|
|
|
@@ -457,7 +456,7 @@ if not MYPY:
|
|
|
457
456
|
|
|
458
457
|
Default is "false".
|
|
459
458
|
"""
|
|
460
|
-
storage_capacity: NotRequired[pulumi.Input[
|
|
459
|
+
storage_capacity: NotRequired[pulumi.Input[_builtins.bool]]
|
|
461
460
|
"""
|
|
462
461
|
storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
463
462
|
|
|
@@ -479,7 +478,7 @@ if not MYPY:
|
|
|
479
478
|
|
|
480
479
|
Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.
|
|
481
480
|
"""
|
|
482
|
-
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
481
|
+
volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
483
482
|
"""
|
|
484
483
|
volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
485
484
|
|
|
@@ -495,31 +494,31 @@ elif False:
|
|
|
495
494
|
@pulumi.input_type
|
|
496
495
|
class CSIDriverSpecArgs:
|
|
497
496
|
def __init__(__self__, *,
|
|
498
|
-
attach_required: Optional[pulumi.Input[
|
|
499
|
-
fs_group_policy: Optional[pulumi.Input[
|
|
500
|
-
node_allocatable_update_period_seconds: Optional[pulumi.Input[
|
|
501
|
-
pod_info_on_mount: Optional[pulumi.Input[
|
|
502
|
-
requires_republish: Optional[pulumi.Input[
|
|
503
|
-
se_linux_mount: Optional[pulumi.Input[
|
|
504
|
-
storage_capacity: Optional[pulumi.Input[
|
|
497
|
+
attach_required: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
498
|
+
fs_group_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
499
|
+
node_allocatable_update_period_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
500
|
+
pod_info_on_mount: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
501
|
+
requires_republish: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
502
|
+
se_linux_mount: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
503
|
+
storage_capacity: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
505
504
|
token_requests: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestArgs']]]] = None,
|
|
506
|
-
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
505
|
+
volume_lifecycle_modes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
507
506
|
"""
|
|
508
507
|
CSIDriverSpec is the specification of a CSIDriver.
|
|
509
|
-
:param pulumi.Input[
|
|
508
|
+
:param pulumi.Input[_builtins.bool] attach_required: attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
510
509
|
|
|
511
510
|
This field is immutable.
|
|
512
|
-
:param pulumi.Input[
|
|
511
|
+
:param pulumi.Input[_builtins.str] fs_group_policy: fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
513
512
|
|
|
514
513
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
515
514
|
|
|
516
515
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
517
|
-
:param pulumi.Input[
|
|
516
|
+
:param pulumi.Input[_builtins.int] node_allocatable_update_period_seconds: nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
518
517
|
|
|
519
518
|
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
520
519
|
|
|
521
520
|
This field is mutable.
|
|
522
|
-
:param pulumi.Input[
|
|
521
|
+
:param pulumi.Input[_builtins.bool] pod_info_on_mount: podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
523
522
|
|
|
524
523
|
The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.
|
|
525
524
|
|
|
@@ -529,17 +528,17 @@ class CSIDriverSpecArgs:
|
|
|
529
528
|
"csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.
|
|
530
529
|
|
|
531
530
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
532
|
-
:param pulumi.Input[
|
|
531
|
+
:param pulumi.Input[_builtins.bool] requires_republish: requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
533
532
|
|
|
534
533
|
Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.
|
|
535
|
-
:param pulumi.Input[
|
|
534
|
+
:param pulumi.Input[_builtins.bool] se_linux_mount: seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
536
535
|
|
|
537
536
|
When "true", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.
|
|
538
537
|
|
|
539
538
|
When "false", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.
|
|
540
539
|
|
|
541
540
|
Default is "false".
|
|
542
|
-
:param pulumi.Input[
|
|
541
|
+
:param pulumi.Input[_builtins.bool] storage_capacity: storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
543
542
|
|
|
544
543
|
The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.
|
|
545
544
|
|
|
@@ -555,7 +554,7 @@ class CSIDriverSpecArgs:
|
|
|
555
554
|
}
|
|
556
555
|
|
|
557
556
|
Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.
|
|
558
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
557
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] volume_lifecycle_modes: volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
559
558
|
|
|
560
559
|
The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.
|
|
561
560
|
|
|
@@ -582,9 +581,9 @@ class CSIDriverSpecArgs:
|
|
|
582
581
|
if volume_lifecycle_modes is not None:
|
|
583
582
|
pulumi.set(__self__, "volume_lifecycle_modes", volume_lifecycle_modes)
|
|
584
583
|
|
|
585
|
-
@property
|
|
584
|
+
@_builtins.property
|
|
586
585
|
@pulumi.getter(name="attachRequired")
|
|
587
|
-
def attach_required(self) -> Optional[pulumi.Input[
|
|
586
|
+
def attach_required(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
588
587
|
"""
|
|
589
588
|
attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
|
|
590
589
|
|
|
@@ -593,12 +592,12 @@ class CSIDriverSpecArgs:
|
|
|
593
592
|
return pulumi.get(self, "attach_required")
|
|
594
593
|
|
|
595
594
|
@attach_required.setter
|
|
596
|
-
def attach_required(self, value: Optional[pulumi.Input[
|
|
595
|
+
def attach_required(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
597
596
|
pulumi.set(self, "attach_required", value)
|
|
598
597
|
|
|
599
|
-
@property
|
|
598
|
+
@_builtins.property
|
|
600
599
|
@pulumi.getter(name="fsGroupPolicy")
|
|
601
|
-
def fs_group_policy(self) -> Optional[pulumi.Input[
|
|
600
|
+
def fs_group_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
602
601
|
"""
|
|
603
602
|
fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.
|
|
604
603
|
|
|
@@ -609,12 +608,12 @@ class CSIDriverSpecArgs:
|
|
|
609
608
|
return pulumi.get(self, "fs_group_policy")
|
|
610
609
|
|
|
611
610
|
@fs_group_policy.setter
|
|
612
|
-
def fs_group_policy(self, value: Optional[pulumi.Input[
|
|
611
|
+
def fs_group_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
613
612
|
pulumi.set(self, "fs_group_policy", value)
|
|
614
613
|
|
|
615
|
-
@property
|
|
614
|
+
@_builtins.property
|
|
616
615
|
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
617
|
-
def node_allocatable_update_period_seconds(self) -> Optional[pulumi.Input[
|
|
616
|
+
def node_allocatable_update_period_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
618
617
|
"""
|
|
619
618
|
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
620
619
|
|
|
@@ -625,12 +624,12 @@ class CSIDriverSpecArgs:
|
|
|
625
624
|
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
626
625
|
|
|
627
626
|
@node_allocatable_update_period_seconds.setter
|
|
628
|
-
def node_allocatable_update_period_seconds(self, value: Optional[pulumi.Input[
|
|
627
|
+
def node_allocatable_update_period_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
629
628
|
pulumi.set(self, "node_allocatable_update_period_seconds", value)
|
|
630
629
|
|
|
631
|
-
@property
|
|
630
|
+
@_builtins.property
|
|
632
631
|
@pulumi.getter(name="podInfoOnMount")
|
|
633
|
-
def pod_info_on_mount(self) -> Optional[pulumi.Input[
|
|
632
|
+
def pod_info_on_mount(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
634
633
|
"""
|
|
635
634
|
podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
636
635
|
|
|
@@ -646,12 +645,12 @@ class CSIDriverSpecArgs:
|
|
|
646
645
|
return pulumi.get(self, "pod_info_on_mount")
|
|
647
646
|
|
|
648
647
|
@pod_info_on_mount.setter
|
|
649
|
-
def pod_info_on_mount(self, value: Optional[pulumi.Input[
|
|
648
|
+
def pod_info_on_mount(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
650
649
|
pulumi.set(self, "pod_info_on_mount", value)
|
|
651
650
|
|
|
652
|
-
@property
|
|
651
|
+
@_builtins.property
|
|
653
652
|
@pulumi.getter(name="requiresRepublish")
|
|
654
|
-
def requires_republish(self) -> Optional[pulumi.Input[
|
|
653
|
+
def requires_republish(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
655
654
|
"""
|
|
656
655
|
requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
|
|
657
656
|
|
|
@@ -660,12 +659,12 @@ class CSIDriverSpecArgs:
|
|
|
660
659
|
return pulumi.get(self, "requires_republish")
|
|
661
660
|
|
|
662
661
|
@requires_republish.setter
|
|
663
|
-
def requires_republish(self, value: Optional[pulumi.Input[
|
|
662
|
+
def requires_republish(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
664
663
|
pulumi.set(self, "requires_republish", value)
|
|
665
664
|
|
|
666
|
-
@property
|
|
665
|
+
@_builtins.property
|
|
667
666
|
@pulumi.getter(name="seLinuxMount")
|
|
668
|
-
def se_linux_mount(self) -> Optional[pulumi.Input[
|
|
667
|
+
def se_linux_mount(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
669
668
|
"""
|
|
670
669
|
seLinuxMount specifies if the CSI driver supports "-o context" mount option.
|
|
671
670
|
|
|
@@ -678,12 +677,12 @@ class CSIDriverSpecArgs:
|
|
|
678
677
|
return pulumi.get(self, "se_linux_mount")
|
|
679
678
|
|
|
680
679
|
@se_linux_mount.setter
|
|
681
|
-
def se_linux_mount(self, value: Optional[pulumi.Input[
|
|
680
|
+
def se_linux_mount(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
682
681
|
pulumi.set(self, "se_linux_mount", value)
|
|
683
682
|
|
|
684
|
-
@property
|
|
683
|
+
@_builtins.property
|
|
685
684
|
@pulumi.getter(name="storageCapacity")
|
|
686
|
-
def storage_capacity(self) -> Optional[pulumi.Input[
|
|
685
|
+
def storage_capacity(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
687
686
|
"""
|
|
688
687
|
storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.
|
|
689
688
|
|
|
@@ -696,10 +695,10 @@ class CSIDriverSpecArgs:
|
|
|
696
695
|
return pulumi.get(self, "storage_capacity")
|
|
697
696
|
|
|
698
697
|
@storage_capacity.setter
|
|
699
|
-
def storage_capacity(self, value: Optional[pulumi.Input[
|
|
698
|
+
def storage_capacity(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
700
699
|
pulumi.set(self, "storage_capacity", value)
|
|
701
700
|
|
|
702
|
-
@property
|
|
701
|
+
@_builtins.property
|
|
703
702
|
@pulumi.getter(name="tokenRequests")
|
|
704
703
|
def token_requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestArgs']]]]:
|
|
705
704
|
"""
|
|
@@ -719,9 +718,9 @@ class CSIDriverSpecArgs:
|
|
|
719
718
|
def token_requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TokenRequestArgs']]]]):
|
|
720
719
|
pulumi.set(self, "token_requests", value)
|
|
721
720
|
|
|
722
|
-
@property
|
|
721
|
+
@_builtins.property
|
|
723
722
|
@pulumi.getter(name="volumeLifecycleModes")
|
|
724
|
-
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
723
|
+
def volume_lifecycle_modes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
725
724
|
"""
|
|
726
725
|
volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.
|
|
727
726
|
|
|
@@ -734,7 +733,7 @@ class CSIDriverSpecArgs:
|
|
|
734
733
|
return pulumi.get(self, "volume_lifecycle_modes")
|
|
735
734
|
|
|
736
735
|
@volume_lifecycle_modes.setter
|
|
737
|
-
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
736
|
+
def volume_lifecycle_modes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
738
737
|
pulumi.set(self, "volume_lifecycle_modes", value)
|
|
739
738
|
|
|
740
739
|
|
|
@@ -747,11 +746,11 @@ if not MYPY:
|
|
|
747
746
|
"""
|
|
748
747
|
spec represents the specification of the CSI Driver.
|
|
749
748
|
"""
|
|
750
|
-
api_version: NotRequired[pulumi.Input[
|
|
749
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
751
750
|
"""
|
|
752
751
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
753
752
|
"""
|
|
754
|
-
kind: NotRequired[pulumi.Input[
|
|
753
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
755
754
|
"""
|
|
756
755
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
757
756
|
"""
|
|
@@ -766,14 +765,14 @@ elif False:
|
|
|
766
765
|
class CSIDriverArgs:
|
|
767
766
|
def __init__(__self__, *,
|
|
768
767
|
spec: pulumi.Input['CSIDriverSpecArgs'],
|
|
769
|
-
api_version: Optional[pulumi.Input[
|
|
770
|
-
kind: Optional[pulumi.Input[
|
|
768
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
769
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
771
770
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
772
771
|
"""
|
|
773
772
|
CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.
|
|
774
773
|
:param pulumi.Input['CSIDriverSpecArgs'] spec: spec represents the specification of the CSI Driver.
|
|
775
|
-
:param pulumi.Input[
|
|
776
|
-
:param pulumi.Input[
|
|
774
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
775
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
777
776
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
778
777
|
"""
|
|
779
778
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -784,7 +783,7 @@ class CSIDriverArgs:
|
|
|
784
783
|
if metadata is not None:
|
|
785
784
|
pulumi.set(__self__, "metadata", metadata)
|
|
786
785
|
|
|
787
|
-
@property
|
|
786
|
+
@_builtins.property
|
|
788
787
|
@pulumi.getter
|
|
789
788
|
def spec(self) -> pulumi.Input['CSIDriverSpecArgs']:
|
|
790
789
|
"""
|
|
@@ -796,31 +795,31 @@ class CSIDriverArgs:
|
|
|
796
795
|
def spec(self, value: pulumi.Input['CSIDriverSpecArgs']):
|
|
797
796
|
pulumi.set(self, "spec", value)
|
|
798
797
|
|
|
799
|
-
@property
|
|
798
|
+
@_builtins.property
|
|
800
799
|
@pulumi.getter(name="apiVersion")
|
|
801
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
800
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
802
801
|
"""
|
|
803
802
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
804
803
|
"""
|
|
805
804
|
return pulumi.get(self, "api_version")
|
|
806
805
|
|
|
807
806
|
@api_version.setter
|
|
808
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
807
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
809
808
|
pulumi.set(self, "api_version", value)
|
|
810
809
|
|
|
811
|
-
@property
|
|
810
|
+
@_builtins.property
|
|
812
811
|
@pulumi.getter
|
|
813
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
812
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
814
813
|
"""
|
|
815
814
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
816
815
|
"""
|
|
817
816
|
return pulumi.get(self, "kind")
|
|
818
817
|
|
|
819
818
|
@kind.setter
|
|
820
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
819
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
821
820
|
pulumi.set(self, "kind", value)
|
|
822
821
|
|
|
823
|
-
@property
|
|
822
|
+
@_builtins.property
|
|
824
823
|
@pulumi.getter
|
|
825
824
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
826
825
|
"""
|
|
@@ -842,15 +841,15 @@ if not MYPY:
|
|
|
842
841
|
"""
|
|
843
842
|
allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
844
843
|
"""
|
|
845
|
-
name: NotRequired[pulumi.Input[
|
|
844
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
846
845
|
"""
|
|
847
846
|
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
848
847
|
"""
|
|
849
|
-
node_id: NotRequired[pulumi.Input[
|
|
848
|
+
node_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
850
849
|
"""
|
|
851
850
|
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
852
851
|
"""
|
|
853
|
-
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
852
|
+
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
854
853
|
"""
|
|
855
854
|
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
856
855
|
"""
|
|
@@ -861,15 +860,15 @@ elif False:
|
|
|
861
860
|
class CSINodeDriverPatchArgs:
|
|
862
861
|
def __init__(__self__, *,
|
|
863
862
|
allocatable: Optional[pulumi.Input['VolumeNodeResourcesPatchArgs']] = None,
|
|
864
|
-
name: Optional[pulumi.Input[
|
|
865
|
-
node_id: Optional[pulumi.Input[
|
|
866
|
-
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
863
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
864
|
+
node_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
865
|
+
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
867
866
|
"""
|
|
868
867
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
869
868
|
:param pulumi.Input['VolumeNodeResourcesPatchArgs'] allocatable: allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
870
|
-
:param pulumi.Input[
|
|
871
|
-
:param pulumi.Input[
|
|
872
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
869
|
+
:param pulumi.Input[_builtins.str] name: name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
870
|
+
:param pulumi.Input[_builtins.str] node_id: nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
871
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] topology_keys: topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
873
872
|
"""
|
|
874
873
|
if allocatable is not None:
|
|
875
874
|
pulumi.set(__self__, "allocatable", allocatable)
|
|
@@ -880,7 +879,7 @@ class CSINodeDriverPatchArgs:
|
|
|
880
879
|
if topology_keys is not None:
|
|
881
880
|
pulumi.set(__self__, "topology_keys", topology_keys)
|
|
882
881
|
|
|
883
|
-
@property
|
|
882
|
+
@_builtins.property
|
|
884
883
|
@pulumi.getter
|
|
885
884
|
def allocatable(self) -> Optional[pulumi.Input['VolumeNodeResourcesPatchArgs']]:
|
|
886
885
|
"""
|
|
@@ -892,40 +891,40 @@ class CSINodeDriverPatchArgs:
|
|
|
892
891
|
def allocatable(self, value: Optional[pulumi.Input['VolumeNodeResourcesPatchArgs']]):
|
|
893
892
|
pulumi.set(self, "allocatable", value)
|
|
894
893
|
|
|
895
|
-
@property
|
|
894
|
+
@_builtins.property
|
|
896
895
|
@pulumi.getter
|
|
897
|
-
def name(self) -> Optional[pulumi.Input[
|
|
896
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
898
897
|
"""
|
|
899
898
|
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
900
899
|
"""
|
|
901
900
|
return pulumi.get(self, "name")
|
|
902
901
|
|
|
903
902
|
@name.setter
|
|
904
|
-
def name(self, value: Optional[pulumi.Input[
|
|
903
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
905
904
|
pulumi.set(self, "name", value)
|
|
906
905
|
|
|
907
|
-
@property
|
|
906
|
+
@_builtins.property
|
|
908
907
|
@pulumi.getter(name="nodeID")
|
|
909
|
-
def node_id(self) -> Optional[pulumi.Input[
|
|
908
|
+
def node_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
910
909
|
"""
|
|
911
910
|
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
912
911
|
"""
|
|
913
912
|
return pulumi.get(self, "node_id")
|
|
914
913
|
|
|
915
914
|
@node_id.setter
|
|
916
|
-
def node_id(self, value: Optional[pulumi.Input[
|
|
915
|
+
def node_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
917
916
|
pulumi.set(self, "node_id", value)
|
|
918
917
|
|
|
919
|
-
@property
|
|
918
|
+
@_builtins.property
|
|
920
919
|
@pulumi.getter(name="topologyKeys")
|
|
921
|
-
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
920
|
+
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
922
921
|
"""
|
|
923
922
|
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
924
923
|
"""
|
|
925
924
|
return pulumi.get(self, "topology_keys")
|
|
926
925
|
|
|
927
926
|
@topology_keys.setter
|
|
928
|
-
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
927
|
+
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
929
928
|
pulumi.set(self, "topology_keys", value)
|
|
930
929
|
|
|
931
930
|
|
|
@@ -934,11 +933,11 @@ if not MYPY:
|
|
|
934
933
|
"""
|
|
935
934
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
936
935
|
"""
|
|
937
|
-
name: pulumi.Input[
|
|
936
|
+
name: pulumi.Input[_builtins.str]
|
|
938
937
|
"""
|
|
939
938
|
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
940
939
|
"""
|
|
941
|
-
node_id: pulumi.Input[
|
|
940
|
+
node_id: pulumi.Input[_builtins.str]
|
|
942
941
|
"""
|
|
943
942
|
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
944
943
|
"""
|
|
@@ -946,7 +945,7 @@ if not MYPY:
|
|
|
946
945
|
"""
|
|
947
946
|
allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
948
947
|
"""
|
|
949
|
-
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
948
|
+
topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
950
949
|
"""
|
|
951
950
|
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
952
951
|
"""
|
|
@@ -956,16 +955,16 @@ elif False:
|
|
|
956
955
|
@pulumi.input_type
|
|
957
956
|
class CSINodeDriverArgs:
|
|
958
957
|
def __init__(__self__, *,
|
|
959
|
-
name: pulumi.Input[
|
|
960
|
-
node_id: pulumi.Input[
|
|
958
|
+
name: pulumi.Input[_builtins.str],
|
|
959
|
+
node_id: pulumi.Input[_builtins.str],
|
|
961
960
|
allocatable: Optional[pulumi.Input['VolumeNodeResourcesArgs']] = None,
|
|
962
|
-
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
961
|
+
topology_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
963
962
|
"""
|
|
964
963
|
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
|
965
|
-
:param pulumi.Input[
|
|
966
|
-
:param pulumi.Input[
|
|
964
|
+
:param pulumi.Input[_builtins.str] name: name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
965
|
+
:param pulumi.Input[_builtins.str] node_id: nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
967
966
|
:param pulumi.Input['VolumeNodeResourcesArgs'] allocatable: allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
|
|
968
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
967
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] topology_keys: topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
969
968
|
"""
|
|
970
969
|
pulumi.set(__self__, "name", name)
|
|
971
970
|
pulumi.set(__self__, "node_id", node_id)
|
|
@@ -974,31 +973,31 @@ class CSINodeDriverArgs:
|
|
|
974
973
|
if topology_keys is not None:
|
|
975
974
|
pulumi.set(__self__, "topology_keys", topology_keys)
|
|
976
975
|
|
|
977
|
-
@property
|
|
976
|
+
@_builtins.property
|
|
978
977
|
@pulumi.getter
|
|
979
|
-
def name(self) -> pulumi.Input[
|
|
978
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
980
979
|
"""
|
|
981
980
|
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
|
|
982
981
|
"""
|
|
983
982
|
return pulumi.get(self, "name")
|
|
984
983
|
|
|
985
984
|
@name.setter
|
|
986
|
-
def name(self, value: pulumi.Input[
|
|
985
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
987
986
|
pulumi.set(self, "name", value)
|
|
988
987
|
|
|
989
|
-
@property
|
|
988
|
+
@_builtins.property
|
|
990
989
|
@pulumi.getter(name="nodeID")
|
|
991
|
-
def node_id(self) -> pulumi.Input[
|
|
990
|
+
def node_id(self) -> pulumi.Input[_builtins.str]:
|
|
992
991
|
"""
|
|
993
992
|
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
|
|
994
993
|
"""
|
|
995
994
|
return pulumi.get(self, "node_id")
|
|
996
995
|
|
|
997
996
|
@node_id.setter
|
|
998
|
-
def node_id(self, value: pulumi.Input[
|
|
997
|
+
def node_id(self, value: pulumi.Input[_builtins.str]):
|
|
999
998
|
pulumi.set(self, "node_id", value)
|
|
1000
999
|
|
|
1001
|
-
@property
|
|
1000
|
+
@_builtins.property
|
|
1002
1001
|
@pulumi.getter
|
|
1003
1002
|
def allocatable(self) -> Optional[pulumi.Input['VolumeNodeResourcesArgs']]:
|
|
1004
1003
|
"""
|
|
@@ -1010,16 +1009,16 @@ class CSINodeDriverArgs:
|
|
|
1010
1009
|
def allocatable(self, value: Optional[pulumi.Input['VolumeNodeResourcesArgs']]):
|
|
1011
1010
|
pulumi.set(self, "allocatable", value)
|
|
1012
1011
|
|
|
1013
|
-
@property
|
|
1012
|
+
@_builtins.property
|
|
1014
1013
|
@pulumi.getter(name="topologyKeys")
|
|
1015
|
-
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1014
|
+
def topology_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1016
1015
|
"""
|
|
1017
1016
|
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
|
|
1018
1017
|
"""
|
|
1019
1018
|
return pulumi.get(self, "topology_keys")
|
|
1020
1019
|
|
|
1021
1020
|
@topology_keys.setter
|
|
1022
|
-
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1021
|
+
def topology_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1023
1022
|
pulumi.set(self, "topology_keys", value)
|
|
1024
1023
|
|
|
1025
1024
|
|
|
@@ -1046,7 +1045,7 @@ class CSINodeSpecPatchArgs:
|
|
|
1046
1045
|
if drivers is not None:
|
|
1047
1046
|
pulumi.set(__self__, "drivers", drivers)
|
|
1048
1047
|
|
|
1049
|
-
@property
|
|
1048
|
+
@_builtins.property
|
|
1050
1049
|
@pulumi.getter
|
|
1051
1050
|
def drivers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CSINodeDriverPatchArgs']]]]:
|
|
1052
1051
|
"""
|
|
@@ -1081,7 +1080,7 @@ class CSINodeSpecArgs:
|
|
|
1081
1080
|
"""
|
|
1082
1081
|
pulumi.set(__self__, "drivers", drivers)
|
|
1083
1082
|
|
|
1084
|
-
@property
|
|
1083
|
+
@_builtins.property
|
|
1085
1084
|
@pulumi.getter
|
|
1086
1085
|
def drivers(self) -> pulumi.Input[Sequence[pulumi.Input['CSINodeDriverArgs']]]:
|
|
1087
1086
|
"""
|
|
@@ -1103,11 +1102,11 @@ if not MYPY:
|
|
|
1103
1102
|
"""
|
|
1104
1103
|
spec is the specification of CSINode
|
|
1105
1104
|
"""
|
|
1106
|
-
api_version: NotRequired[pulumi.Input[
|
|
1105
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1107
1106
|
"""
|
|
1108
1107
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1109
1108
|
"""
|
|
1110
|
-
kind: NotRequired[pulumi.Input[
|
|
1109
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1111
1110
|
"""
|
|
1112
1111
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1113
1112
|
"""
|
|
@@ -1122,14 +1121,14 @@ elif False:
|
|
|
1122
1121
|
class CSINodeArgs:
|
|
1123
1122
|
def __init__(__self__, *,
|
|
1124
1123
|
spec: pulumi.Input['CSINodeSpecArgs'],
|
|
1125
|
-
api_version: Optional[pulumi.Input[
|
|
1126
|
-
kind: Optional[pulumi.Input[
|
|
1124
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1125
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1127
1126
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
1128
1127
|
"""
|
|
1129
1128
|
CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.
|
|
1130
1129
|
:param pulumi.Input['CSINodeSpecArgs'] spec: spec is the specification of CSINode
|
|
1131
|
-
:param pulumi.Input[
|
|
1132
|
-
:param pulumi.Input[
|
|
1130
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1131
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1133
1132
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. metadata.name must be the Kubernetes node name.
|
|
1134
1133
|
"""
|
|
1135
1134
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -1140,7 +1139,7 @@ class CSINodeArgs:
|
|
|
1140
1139
|
if metadata is not None:
|
|
1141
1140
|
pulumi.set(__self__, "metadata", metadata)
|
|
1142
1141
|
|
|
1143
|
-
@property
|
|
1142
|
+
@_builtins.property
|
|
1144
1143
|
@pulumi.getter
|
|
1145
1144
|
def spec(self) -> pulumi.Input['CSINodeSpecArgs']:
|
|
1146
1145
|
"""
|
|
@@ -1152,31 +1151,31 @@ class CSINodeArgs:
|
|
|
1152
1151
|
def spec(self, value: pulumi.Input['CSINodeSpecArgs']):
|
|
1153
1152
|
pulumi.set(self, "spec", value)
|
|
1154
1153
|
|
|
1155
|
-
@property
|
|
1154
|
+
@_builtins.property
|
|
1156
1155
|
@pulumi.getter(name="apiVersion")
|
|
1157
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
1156
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1158
1157
|
"""
|
|
1159
1158
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1160
1159
|
"""
|
|
1161
1160
|
return pulumi.get(self, "api_version")
|
|
1162
1161
|
|
|
1163
1162
|
@api_version.setter
|
|
1164
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
1163
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1165
1164
|
pulumi.set(self, "api_version", value)
|
|
1166
1165
|
|
|
1167
|
-
@property
|
|
1166
|
+
@_builtins.property
|
|
1168
1167
|
@pulumi.getter
|
|
1169
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
1168
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1170
1169
|
"""
|
|
1171
1170
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1172
1171
|
"""
|
|
1173
1172
|
return pulumi.get(self, "kind")
|
|
1174
1173
|
|
|
1175
1174
|
@kind.setter
|
|
1176
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
1175
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1177
1176
|
pulumi.set(self, "kind", value)
|
|
1178
1177
|
|
|
1179
|
-
@property
|
|
1178
|
+
@_builtins.property
|
|
1180
1179
|
@pulumi.getter
|
|
1181
1180
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1182
1181
|
"""
|
|
@@ -1202,25 +1201,25 @@ if not MYPY:
|
|
|
1202
1201
|
|
|
1203
1202
|
They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.
|
|
1204
1203
|
"""
|
|
1205
|
-
storage_class_name: pulumi.Input[
|
|
1204
|
+
storage_class_name: pulumi.Input[_builtins.str]
|
|
1206
1205
|
"""
|
|
1207
1206
|
storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
|
|
1208
1207
|
"""
|
|
1209
|
-
api_version: NotRequired[pulumi.Input[
|
|
1208
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1210
1209
|
"""
|
|
1211
1210
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1212
1211
|
"""
|
|
1213
|
-
capacity: NotRequired[pulumi.Input[
|
|
1212
|
+
capacity: NotRequired[pulumi.Input[_builtins.str]]
|
|
1214
1213
|
"""
|
|
1215
1214
|
capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1216
1215
|
|
|
1217
1216
|
The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.
|
|
1218
1217
|
"""
|
|
1219
|
-
kind: NotRequired[pulumi.Input[
|
|
1218
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1220
1219
|
"""
|
|
1221
1220
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1222
1221
|
"""
|
|
1223
|
-
maximum_volume_size: NotRequired[pulumi.Input[
|
|
1222
|
+
maximum_volume_size: NotRequired[pulumi.Input[_builtins.str]]
|
|
1224
1223
|
"""
|
|
1225
1224
|
maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1226
1225
|
|
|
@@ -1244,11 +1243,11 @@ elif False:
|
|
|
1244
1243
|
@pulumi.input_type
|
|
1245
1244
|
class CSIStorageCapacityArgs:
|
|
1246
1245
|
def __init__(__self__, *,
|
|
1247
|
-
storage_class_name: pulumi.Input[
|
|
1248
|
-
api_version: Optional[pulumi.Input[
|
|
1249
|
-
capacity: Optional[pulumi.Input[
|
|
1250
|
-
kind: Optional[pulumi.Input[
|
|
1251
|
-
maximum_volume_size: Optional[pulumi.Input[
|
|
1246
|
+
storage_class_name: pulumi.Input[_builtins.str],
|
|
1247
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1248
|
+
capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1249
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1250
|
+
maximum_volume_size: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1252
1251
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1253
1252
|
node_topology: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
1254
1253
|
"""
|
|
@@ -1261,13 +1260,13 @@ class CSIStorageCapacityArgs:
|
|
|
1261
1260
|
The producer of these objects can decide which approach is more suitable.
|
|
1262
1261
|
|
|
1263
1262
|
They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.
|
|
1264
|
-
:param pulumi.Input[
|
|
1265
|
-
:param pulumi.Input[
|
|
1266
|
-
:param pulumi.Input[
|
|
1263
|
+
:param pulumi.Input[_builtins.str] storage_class_name: storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
|
|
1264
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1265
|
+
:param pulumi.Input[_builtins.str] capacity: capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1267
1266
|
|
|
1268
1267
|
The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.
|
|
1269
|
-
:param pulumi.Input[
|
|
1270
|
-
:param pulumi.Input[
|
|
1268
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1269
|
+
:param pulumi.Input[_builtins.str] maximum_volume_size: maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1271
1270
|
|
|
1272
1271
|
This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.
|
|
1273
1272
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.
|
|
@@ -1291,33 +1290,33 @@ class CSIStorageCapacityArgs:
|
|
|
1291
1290
|
if node_topology is not None:
|
|
1292
1291
|
pulumi.set(__self__, "node_topology", node_topology)
|
|
1293
1292
|
|
|
1294
|
-
@property
|
|
1293
|
+
@_builtins.property
|
|
1295
1294
|
@pulumi.getter(name="storageClassName")
|
|
1296
|
-
def storage_class_name(self) -> pulumi.Input[
|
|
1295
|
+
def storage_class_name(self) -> pulumi.Input[_builtins.str]:
|
|
1297
1296
|
"""
|
|
1298
1297
|
storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
|
|
1299
1298
|
"""
|
|
1300
1299
|
return pulumi.get(self, "storage_class_name")
|
|
1301
1300
|
|
|
1302
1301
|
@storage_class_name.setter
|
|
1303
|
-
def storage_class_name(self, value: pulumi.Input[
|
|
1302
|
+
def storage_class_name(self, value: pulumi.Input[_builtins.str]):
|
|
1304
1303
|
pulumi.set(self, "storage_class_name", value)
|
|
1305
1304
|
|
|
1306
|
-
@property
|
|
1305
|
+
@_builtins.property
|
|
1307
1306
|
@pulumi.getter(name="apiVersion")
|
|
1308
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
1307
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1309
1308
|
"""
|
|
1310
1309
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1311
1310
|
"""
|
|
1312
1311
|
return pulumi.get(self, "api_version")
|
|
1313
1312
|
|
|
1314
1313
|
@api_version.setter
|
|
1315
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
1314
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1316
1315
|
pulumi.set(self, "api_version", value)
|
|
1317
1316
|
|
|
1318
|
-
@property
|
|
1317
|
+
@_builtins.property
|
|
1319
1318
|
@pulumi.getter
|
|
1320
|
-
def capacity(self) -> Optional[pulumi.Input[
|
|
1319
|
+
def capacity(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1321
1320
|
"""
|
|
1322
1321
|
capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1323
1322
|
|
|
@@ -1326,24 +1325,24 @@ class CSIStorageCapacityArgs:
|
|
|
1326
1325
|
return pulumi.get(self, "capacity")
|
|
1327
1326
|
|
|
1328
1327
|
@capacity.setter
|
|
1329
|
-
def capacity(self, value: Optional[pulumi.Input[
|
|
1328
|
+
def capacity(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1330
1329
|
pulumi.set(self, "capacity", value)
|
|
1331
1330
|
|
|
1332
|
-
@property
|
|
1331
|
+
@_builtins.property
|
|
1333
1332
|
@pulumi.getter
|
|
1334
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
1333
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1335
1334
|
"""
|
|
1336
1335
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1337
1336
|
"""
|
|
1338
1337
|
return pulumi.get(self, "kind")
|
|
1339
1338
|
|
|
1340
1339
|
@kind.setter
|
|
1341
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
1340
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1342
1341
|
pulumi.set(self, "kind", value)
|
|
1343
1342
|
|
|
1344
|
-
@property
|
|
1343
|
+
@_builtins.property
|
|
1345
1344
|
@pulumi.getter(name="maximumVolumeSize")
|
|
1346
|
-
def maximum_volume_size(self) -> Optional[pulumi.Input[
|
|
1345
|
+
def maximum_volume_size(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1347
1346
|
"""
|
|
1348
1347
|
maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
1349
1348
|
|
|
@@ -1352,10 +1351,10 @@ class CSIStorageCapacityArgs:
|
|
|
1352
1351
|
return pulumi.get(self, "maximum_volume_size")
|
|
1353
1352
|
|
|
1354
1353
|
@maximum_volume_size.setter
|
|
1355
|
-
def maximum_volume_size(self, value: Optional[pulumi.Input[
|
|
1354
|
+
def maximum_volume_size(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1356
1355
|
pulumi.set(self, "maximum_volume_size", value)
|
|
1357
1356
|
|
|
1358
|
-
@property
|
|
1357
|
+
@_builtins.property
|
|
1359
1358
|
@pulumi.getter
|
|
1360
1359
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1361
1360
|
"""
|
|
@@ -1371,7 +1370,7 @@ class CSIStorageCapacityArgs:
|
|
|
1371
1370
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1372
1371
|
pulumi.set(self, "metadata", value)
|
|
1373
1372
|
|
|
1374
|
-
@property
|
|
1373
|
+
@_builtins.property
|
|
1375
1374
|
@pulumi.getter(name="nodeTopology")
|
|
1376
1375
|
def node_topology(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1377
1376
|
"""
|
|
@@ -1391,11 +1390,11 @@ if not MYPY:
|
|
|
1391
1390
|
|
|
1392
1391
|
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
|
|
1393
1392
|
"""
|
|
1394
|
-
provisioner: pulumi.Input[
|
|
1393
|
+
provisioner: pulumi.Input[_builtins.str]
|
|
1395
1394
|
"""
|
|
1396
1395
|
provisioner indicates the type of the provisioner.
|
|
1397
1396
|
"""
|
|
1398
|
-
allow_volume_expansion: NotRequired[pulumi.Input[
|
|
1397
|
+
allow_volume_expansion: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1399
1398
|
"""
|
|
1400
1399
|
allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1401
1400
|
"""
|
|
@@ -1403,11 +1402,11 @@ if not MYPY:
|
|
|
1403
1402
|
"""
|
|
1404
1403
|
allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.
|
|
1405
1404
|
"""
|
|
1406
|
-
api_version: NotRequired[pulumi.Input[
|
|
1405
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1407
1406
|
"""
|
|
1408
1407
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1409
1408
|
"""
|
|
1410
|
-
kind: NotRequired[pulumi.Input[
|
|
1409
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1411
1410
|
"""
|
|
1412
1411
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1413
1412
|
"""
|
|
@@ -1415,19 +1414,19 @@ if not MYPY:
|
|
|
1415
1414
|
"""
|
|
1416
1415
|
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1417
1416
|
"""
|
|
1418
|
-
mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
1417
|
+
mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1419
1418
|
"""
|
|
1420
1419
|
mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
1421
1420
|
"""
|
|
1422
|
-
parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[
|
|
1421
|
+
parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
1423
1422
|
"""
|
|
1424
1423
|
parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1425
1424
|
"""
|
|
1426
|
-
reclaim_policy: NotRequired[pulumi.Input[
|
|
1425
|
+
reclaim_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1427
1426
|
"""
|
|
1428
1427
|
reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1429
1428
|
"""
|
|
1430
|
-
volume_binding_mode: NotRequired[pulumi.Input[
|
|
1429
|
+
volume_binding_mode: NotRequired[pulumi.Input[_builtins.str]]
|
|
1431
1430
|
"""
|
|
1432
1431
|
volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
|
|
1433
1432
|
"""
|
|
@@ -1437,30 +1436,30 @@ elif False:
|
|
|
1437
1436
|
@pulumi.input_type
|
|
1438
1437
|
class StorageClassArgs:
|
|
1439
1438
|
def __init__(__self__, *,
|
|
1440
|
-
provisioner: pulumi.Input[
|
|
1441
|
-
allow_volume_expansion: Optional[pulumi.Input[
|
|
1439
|
+
provisioner: pulumi.Input[_builtins.str],
|
|
1440
|
+
allow_volume_expansion: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1442
1441
|
allowed_topologies: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]]] = None,
|
|
1443
|
-
api_version: Optional[pulumi.Input[
|
|
1444
|
-
kind: Optional[pulumi.Input[
|
|
1442
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1443
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1445
1444
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1446
|
-
mount_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1447
|
-
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
1448
|
-
reclaim_policy: Optional[pulumi.Input[
|
|
1449
|
-
volume_binding_mode: Optional[pulumi.Input[
|
|
1445
|
+
mount_options: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1446
|
+
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
1447
|
+
reclaim_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1448
|
+
volume_binding_mode: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1450
1449
|
"""
|
|
1451
1450
|
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
|
|
1452
1451
|
|
|
1453
1452
|
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
|
|
1454
|
-
:param pulumi.Input[
|
|
1455
|
-
:param pulumi.Input[
|
|
1453
|
+
:param pulumi.Input[_builtins.str] provisioner: provisioner indicates the type of the provisioner.
|
|
1454
|
+
:param pulumi.Input[_builtins.bool] allow_volume_expansion: allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1456
1455
|
:param pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]] allowed_topologies: allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.
|
|
1457
|
-
:param pulumi.Input[
|
|
1458
|
-
:param pulumi.Input[
|
|
1456
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1457
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1459
1458
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1460
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1461
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
1462
|
-
:param pulumi.Input[
|
|
1463
|
-
:param pulumi.Input[
|
|
1459
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] mount_options: mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
1460
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1461
|
+
:param pulumi.Input[_builtins.str] reclaim_policy: reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1462
|
+
:param pulumi.Input[_builtins.str] volume_binding_mode: volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
|
|
1464
1463
|
"""
|
|
1465
1464
|
pulumi.set(__self__, "provisioner", provisioner)
|
|
1466
1465
|
if allow_volume_expansion is not None:
|
|
@@ -1482,31 +1481,31 @@ class StorageClassArgs:
|
|
|
1482
1481
|
if volume_binding_mode is not None:
|
|
1483
1482
|
pulumi.set(__self__, "volume_binding_mode", volume_binding_mode)
|
|
1484
1483
|
|
|
1485
|
-
@property
|
|
1484
|
+
@_builtins.property
|
|
1486
1485
|
@pulumi.getter
|
|
1487
|
-
def provisioner(self) -> pulumi.Input[
|
|
1486
|
+
def provisioner(self) -> pulumi.Input[_builtins.str]:
|
|
1488
1487
|
"""
|
|
1489
1488
|
provisioner indicates the type of the provisioner.
|
|
1490
1489
|
"""
|
|
1491
1490
|
return pulumi.get(self, "provisioner")
|
|
1492
1491
|
|
|
1493
1492
|
@provisioner.setter
|
|
1494
|
-
def provisioner(self, value: pulumi.Input[
|
|
1493
|
+
def provisioner(self, value: pulumi.Input[_builtins.str]):
|
|
1495
1494
|
pulumi.set(self, "provisioner", value)
|
|
1496
1495
|
|
|
1497
|
-
@property
|
|
1496
|
+
@_builtins.property
|
|
1498
1497
|
@pulumi.getter(name="allowVolumeExpansion")
|
|
1499
|
-
def allow_volume_expansion(self) -> Optional[pulumi.Input[
|
|
1498
|
+
def allow_volume_expansion(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1500
1499
|
"""
|
|
1501
1500
|
allowVolumeExpansion shows whether the storage class allow volume expand.
|
|
1502
1501
|
"""
|
|
1503
1502
|
return pulumi.get(self, "allow_volume_expansion")
|
|
1504
1503
|
|
|
1505
1504
|
@allow_volume_expansion.setter
|
|
1506
|
-
def allow_volume_expansion(self, value: Optional[pulumi.Input[
|
|
1505
|
+
def allow_volume_expansion(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1507
1506
|
pulumi.set(self, "allow_volume_expansion", value)
|
|
1508
1507
|
|
|
1509
|
-
@property
|
|
1508
|
+
@_builtins.property
|
|
1510
1509
|
@pulumi.getter(name="allowedTopologies")
|
|
1511
1510
|
def allowed_topologies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]]]:
|
|
1512
1511
|
"""
|
|
@@ -1518,31 +1517,31 @@ class StorageClassArgs:
|
|
|
1518
1517
|
def allowed_topologies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgs']]]]):
|
|
1519
1518
|
pulumi.set(self, "allowed_topologies", value)
|
|
1520
1519
|
|
|
1521
|
-
@property
|
|
1520
|
+
@_builtins.property
|
|
1522
1521
|
@pulumi.getter(name="apiVersion")
|
|
1523
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
1522
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1524
1523
|
"""
|
|
1525
1524
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1526
1525
|
"""
|
|
1527
1526
|
return pulumi.get(self, "api_version")
|
|
1528
1527
|
|
|
1529
1528
|
@api_version.setter
|
|
1530
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
1529
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1531
1530
|
pulumi.set(self, "api_version", value)
|
|
1532
1531
|
|
|
1533
|
-
@property
|
|
1532
|
+
@_builtins.property
|
|
1534
1533
|
@pulumi.getter
|
|
1535
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
1534
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1536
1535
|
"""
|
|
1537
1536
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1538
1537
|
"""
|
|
1539
1538
|
return pulumi.get(self, "kind")
|
|
1540
1539
|
|
|
1541
1540
|
@kind.setter
|
|
1542
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
1541
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1543
1542
|
pulumi.set(self, "kind", value)
|
|
1544
1543
|
|
|
1545
|
-
@property
|
|
1544
|
+
@_builtins.property
|
|
1546
1545
|
@pulumi.getter
|
|
1547
1546
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1548
1547
|
"""
|
|
@@ -1554,52 +1553,52 @@ class StorageClassArgs:
|
|
|
1554
1553
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1555
1554
|
pulumi.set(self, "metadata", value)
|
|
1556
1555
|
|
|
1557
|
-
@property
|
|
1556
|
+
@_builtins.property
|
|
1558
1557
|
@pulumi.getter(name="mountOptions")
|
|
1559
|
-
def mount_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1558
|
+
def mount_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1560
1559
|
"""
|
|
1561
1560
|
mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
1562
1561
|
"""
|
|
1563
1562
|
return pulumi.get(self, "mount_options")
|
|
1564
1563
|
|
|
1565
1564
|
@mount_options.setter
|
|
1566
|
-
def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1565
|
+
def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1567
1566
|
pulumi.set(self, "mount_options", value)
|
|
1568
1567
|
|
|
1569
|
-
@property
|
|
1568
|
+
@_builtins.property
|
|
1570
1569
|
@pulumi.getter
|
|
1571
|
-
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
1570
|
+
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
1572
1571
|
"""
|
|
1573
1572
|
parameters holds the parameters for the provisioner that should create volumes of this storage class.
|
|
1574
1573
|
"""
|
|
1575
1574
|
return pulumi.get(self, "parameters")
|
|
1576
1575
|
|
|
1577
1576
|
@parameters.setter
|
|
1578
|
-
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
1577
|
+
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
1579
1578
|
pulumi.set(self, "parameters", value)
|
|
1580
1579
|
|
|
1581
|
-
@property
|
|
1580
|
+
@_builtins.property
|
|
1582
1581
|
@pulumi.getter(name="reclaimPolicy")
|
|
1583
|
-
def reclaim_policy(self) -> Optional[pulumi.Input[
|
|
1582
|
+
def reclaim_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1584
1583
|
"""
|
|
1585
1584
|
reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
|
|
1586
1585
|
"""
|
|
1587
1586
|
return pulumi.get(self, "reclaim_policy")
|
|
1588
1587
|
|
|
1589
1588
|
@reclaim_policy.setter
|
|
1590
|
-
def reclaim_policy(self, value: Optional[pulumi.Input[
|
|
1589
|
+
def reclaim_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1591
1590
|
pulumi.set(self, "reclaim_policy", value)
|
|
1592
1591
|
|
|
1593
|
-
@property
|
|
1592
|
+
@_builtins.property
|
|
1594
1593
|
@pulumi.getter(name="volumeBindingMode")
|
|
1595
|
-
def volume_binding_mode(self) -> Optional[pulumi.Input[
|
|
1594
|
+
def volume_binding_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1596
1595
|
"""
|
|
1597
1596
|
volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
|
|
1598
1597
|
"""
|
|
1599
1598
|
return pulumi.get(self, "volume_binding_mode")
|
|
1600
1599
|
|
|
1601
1600
|
@volume_binding_mode.setter
|
|
1602
|
-
def volume_binding_mode(self, value: Optional[pulumi.Input[
|
|
1601
|
+
def volume_binding_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1603
1602
|
pulumi.set(self, "volume_binding_mode", value)
|
|
1604
1603
|
|
|
1605
1604
|
|
|
@@ -1608,11 +1607,11 @@ if not MYPY:
|
|
|
1608
1607
|
"""
|
|
1609
1608
|
TokenRequest contains parameters of a service account token.
|
|
1610
1609
|
"""
|
|
1611
|
-
audience: NotRequired[pulumi.Input[
|
|
1610
|
+
audience: NotRequired[pulumi.Input[_builtins.str]]
|
|
1612
1611
|
"""
|
|
1613
1612
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1614
1613
|
"""
|
|
1615
|
-
expiration_seconds: NotRequired[pulumi.Input[
|
|
1614
|
+
expiration_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1616
1615
|
"""
|
|
1617
1616
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1618
1617
|
"""
|
|
@@ -1622,40 +1621,40 @@ elif False:
|
|
|
1622
1621
|
@pulumi.input_type
|
|
1623
1622
|
class TokenRequestPatchArgs:
|
|
1624
1623
|
def __init__(__self__, *,
|
|
1625
|
-
audience: Optional[pulumi.Input[
|
|
1626
|
-
expiration_seconds: Optional[pulumi.Input[
|
|
1624
|
+
audience: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1625
|
+
expiration_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1627
1626
|
"""
|
|
1628
1627
|
TokenRequest contains parameters of a service account token.
|
|
1629
|
-
:param pulumi.Input[
|
|
1630
|
-
:param pulumi.Input[
|
|
1628
|
+
:param pulumi.Input[_builtins.str] audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1629
|
+
:param pulumi.Input[_builtins.int] expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1631
1630
|
"""
|
|
1632
1631
|
if audience is not None:
|
|
1633
1632
|
pulumi.set(__self__, "audience", audience)
|
|
1634
1633
|
if expiration_seconds is not None:
|
|
1635
1634
|
pulumi.set(__self__, "expiration_seconds", expiration_seconds)
|
|
1636
1635
|
|
|
1637
|
-
@property
|
|
1636
|
+
@_builtins.property
|
|
1638
1637
|
@pulumi.getter
|
|
1639
|
-
def audience(self) -> Optional[pulumi.Input[
|
|
1638
|
+
def audience(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1640
1639
|
"""
|
|
1641
1640
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1642
1641
|
"""
|
|
1643
1642
|
return pulumi.get(self, "audience")
|
|
1644
1643
|
|
|
1645
1644
|
@audience.setter
|
|
1646
|
-
def audience(self, value: Optional[pulumi.Input[
|
|
1645
|
+
def audience(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1647
1646
|
pulumi.set(self, "audience", value)
|
|
1648
1647
|
|
|
1649
|
-
@property
|
|
1648
|
+
@_builtins.property
|
|
1650
1649
|
@pulumi.getter(name="expirationSeconds")
|
|
1651
|
-
def expiration_seconds(self) -> Optional[pulumi.Input[
|
|
1650
|
+
def expiration_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1652
1651
|
"""
|
|
1653
1652
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1654
1653
|
"""
|
|
1655
1654
|
return pulumi.get(self, "expiration_seconds")
|
|
1656
1655
|
|
|
1657
1656
|
@expiration_seconds.setter
|
|
1658
|
-
def expiration_seconds(self, value: Optional[pulumi.Input[
|
|
1657
|
+
def expiration_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1659
1658
|
pulumi.set(self, "expiration_seconds", value)
|
|
1660
1659
|
|
|
1661
1660
|
|
|
@@ -1664,11 +1663,11 @@ if not MYPY:
|
|
|
1664
1663
|
"""
|
|
1665
1664
|
TokenRequest contains parameters of a service account token.
|
|
1666
1665
|
"""
|
|
1667
|
-
audience: pulumi.Input[
|
|
1666
|
+
audience: pulumi.Input[_builtins.str]
|
|
1668
1667
|
"""
|
|
1669
1668
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1670
1669
|
"""
|
|
1671
|
-
expiration_seconds: NotRequired[pulumi.Input[
|
|
1670
|
+
expiration_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1672
1671
|
"""
|
|
1673
1672
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1674
1673
|
"""
|
|
@@ -1678,39 +1677,39 @@ elif False:
|
|
|
1678
1677
|
@pulumi.input_type
|
|
1679
1678
|
class TokenRequestArgs:
|
|
1680
1679
|
def __init__(__self__, *,
|
|
1681
|
-
audience: pulumi.Input[
|
|
1682
|
-
expiration_seconds: Optional[pulumi.Input[
|
|
1680
|
+
audience: pulumi.Input[_builtins.str],
|
|
1681
|
+
expiration_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1683
1682
|
"""
|
|
1684
1683
|
TokenRequest contains parameters of a service account token.
|
|
1685
|
-
:param pulumi.Input[
|
|
1686
|
-
:param pulumi.Input[
|
|
1684
|
+
:param pulumi.Input[_builtins.str] audience: audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1685
|
+
:param pulumi.Input[_builtins.int] expiration_seconds: expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1687
1686
|
"""
|
|
1688
1687
|
pulumi.set(__self__, "audience", audience)
|
|
1689
1688
|
if expiration_seconds is not None:
|
|
1690
1689
|
pulumi.set(__self__, "expiration_seconds", expiration_seconds)
|
|
1691
1690
|
|
|
1692
|
-
@property
|
|
1691
|
+
@_builtins.property
|
|
1693
1692
|
@pulumi.getter
|
|
1694
|
-
def audience(self) -> pulumi.Input[
|
|
1693
|
+
def audience(self) -> pulumi.Input[_builtins.str]:
|
|
1695
1694
|
"""
|
|
1696
1695
|
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
|
|
1697
1696
|
"""
|
|
1698
1697
|
return pulumi.get(self, "audience")
|
|
1699
1698
|
|
|
1700
1699
|
@audience.setter
|
|
1701
|
-
def audience(self, value: pulumi.Input[
|
|
1700
|
+
def audience(self, value: pulumi.Input[_builtins.str]):
|
|
1702
1701
|
pulumi.set(self, "audience", value)
|
|
1703
1702
|
|
|
1704
|
-
@property
|
|
1703
|
+
@_builtins.property
|
|
1705
1704
|
@pulumi.getter(name="expirationSeconds")
|
|
1706
|
-
def expiration_seconds(self) -> Optional[pulumi.Input[
|
|
1705
|
+
def expiration_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1707
1706
|
"""
|
|
1708
1707
|
expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
|
|
1709
1708
|
"""
|
|
1710
1709
|
return pulumi.get(self, "expiration_seconds")
|
|
1711
1710
|
|
|
1712
1711
|
@expiration_seconds.setter
|
|
1713
|
-
def expiration_seconds(self, value: Optional[pulumi.Input[
|
|
1712
|
+
def expiration_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1714
1713
|
pulumi.set(self, "expiration_seconds", value)
|
|
1715
1714
|
|
|
1716
1715
|
|
|
@@ -1723,7 +1722,7 @@ if not MYPY:
|
|
|
1723
1722
|
"""
|
|
1724
1723
|
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1725
1724
|
"""
|
|
1726
|
-
persistent_volume_name: NotRequired[pulumi.Input[
|
|
1725
|
+
persistent_volume_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1727
1726
|
"""
|
|
1728
1727
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1729
1728
|
"""
|
|
@@ -1734,18 +1733,18 @@ elif False:
|
|
|
1734
1733
|
class VolumeAttachmentSourcePatchArgs:
|
|
1735
1734
|
def __init__(__self__, *,
|
|
1736
1735
|
inline_volume_spec: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs']] = None,
|
|
1737
|
-
persistent_volume_name: Optional[pulumi.Input[
|
|
1736
|
+
persistent_volume_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1738
1737
|
"""
|
|
1739
1738
|
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.
|
|
1740
1739
|
:param pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs'] inline_volume_spec: inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1741
|
-
:param pulumi.Input[
|
|
1740
|
+
:param pulumi.Input[_builtins.str] persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1742
1741
|
"""
|
|
1743
1742
|
if inline_volume_spec is not None:
|
|
1744
1743
|
pulumi.set(__self__, "inline_volume_spec", inline_volume_spec)
|
|
1745
1744
|
if persistent_volume_name is not None:
|
|
1746
1745
|
pulumi.set(__self__, "persistent_volume_name", persistent_volume_name)
|
|
1747
1746
|
|
|
1748
|
-
@property
|
|
1747
|
+
@_builtins.property
|
|
1749
1748
|
@pulumi.getter(name="inlineVolumeSpec")
|
|
1750
1749
|
def inline_volume_spec(self) -> Optional[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs']]:
|
|
1751
1750
|
"""
|
|
@@ -1757,16 +1756,16 @@ class VolumeAttachmentSourcePatchArgs:
|
|
|
1757
1756
|
def inline_volume_spec(self, value: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgs']]):
|
|
1758
1757
|
pulumi.set(self, "inline_volume_spec", value)
|
|
1759
1758
|
|
|
1760
|
-
@property
|
|
1759
|
+
@_builtins.property
|
|
1761
1760
|
@pulumi.getter(name="persistentVolumeName")
|
|
1762
|
-
def persistent_volume_name(self) -> Optional[pulumi.Input[
|
|
1761
|
+
def persistent_volume_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1763
1762
|
"""
|
|
1764
1763
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1765
1764
|
"""
|
|
1766
1765
|
return pulumi.get(self, "persistent_volume_name")
|
|
1767
1766
|
|
|
1768
1767
|
@persistent_volume_name.setter
|
|
1769
|
-
def persistent_volume_name(self, value: Optional[pulumi.Input[
|
|
1768
|
+
def persistent_volume_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1770
1769
|
pulumi.set(self, "persistent_volume_name", value)
|
|
1771
1770
|
|
|
1772
1771
|
|
|
@@ -1779,7 +1778,7 @@ if not MYPY:
|
|
|
1779
1778
|
"""
|
|
1780
1779
|
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1781
1780
|
"""
|
|
1782
|
-
persistent_volume_name: NotRequired[pulumi.Input[
|
|
1781
|
+
persistent_volume_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1783
1782
|
"""
|
|
1784
1783
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1785
1784
|
"""
|
|
@@ -1790,18 +1789,18 @@ elif False:
|
|
|
1790
1789
|
class VolumeAttachmentSourceArgs:
|
|
1791
1790
|
def __init__(__self__, *,
|
|
1792
1791
|
inline_volume_spec: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecArgs']] = None,
|
|
1793
|
-
persistent_volume_name: Optional[pulumi.Input[
|
|
1792
|
+
persistent_volume_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1794
1793
|
"""
|
|
1795
1794
|
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.
|
|
1796
1795
|
:param pulumi.Input['_core.v1.PersistentVolumeSpecArgs'] inline_volume_spec: inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
|
|
1797
|
-
:param pulumi.Input[
|
|
1796
|
+
:param pulumi.Input[_builtins.str] persistent_volume_name: persistentVolumeName represents the name of the persistent volume to attach.
|
|
1798
1797
|
"""
|
|
1799
1798
|
if inline_volume_spec is not None:
|
|
1800
1799
|
pulumi.set(__self__, "inline_volume_spec", inline_volume_spec)
|
|
1801
1800
|
if persistent_volume_name is not None:
|
|
1802
1801
|
pulumi.set(__self__, "persistent_volume_name", persistent_volume_name)
|
|
1803
1802
|
|
|
1804
|
-
@property
|
|
1803
|
+
@_builtins.property
|
|
1805
1804
|
@pulumi.getter(name="inlineVolumeSpec")
|
|
1806
1805
|
def inline_volume_spec(self) -> Optional[pulumi.Input['_core.v1.PersistentVolumeSpecArgs']]:
|
|
1807
1806
|
"""
|
|
@@ -1813,16 +1812,16 @@ class VolumeAttachmentSourceArgs:
|
|
|
1813
1812
|
def inline_volume_spec(self, value: Optional[pulumi.Input['_core.v1.PersistentVolumeSpecArgs']]):
|
|
1814
1813
|
pulumi.set(self, "inline_volume_spec", value)
|
|
1815
1814
|
|
|
1816
|
-
@property
|
|
1815
|
+
@_builtins.property
|
|
1817
1816
|
@pulumi.getter(name="persistentVolumeName")
|
|
1818
|
-
def persistent_volume_name(self) -> Optional[pulumi.Input[
|
|
1817
|
+
def persistent_volume_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1819
1818
|
"""
|
|
1820
1819
|
persistentVolumeName represents the name of the persistent volume to attach.
|
|
1821
1820
|
"""
|
|
1822
1821
|
return pulumi.get(self, "persistent_volume_name")
|
|
1823
1822
|
|
|
1824
1823
|
@persistent_volume_name.setter
|
|
1825
|
-
def persistent_volume_name(self, value: Optional[pulumi.Input[
|
|
1824
|
+
def persistent_volume_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1826
1825
|
pulumi.set(self, "persistent_volume_name", value)
|
|
1827
1826
|
|
|
1828
1827
|
|
|
@@ -1831,11 +1830,11 @@ if not MYPY:
|
|
|
1831
1830
|
"""
|
|
1832
1831
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1833
1832
|
"""
|
|
1834
|
-
attacher: NotRequired[pulumi.Input[
|
|
1833
|
+
attacher: NotRequired[pulumi.Input[_builtins.str]]
|
|
1835
1834
|
"""
|
|
1836
1835
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1837
1836
|
"""
|
|
1838
|
-
node_name: NotRequired[pulumi.Input[
|
|
1837
|
+
node_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1839
1838
|
"""
|
|
1840
1839
|
nodeName represents the node that the volume should be attached to.
|
|
1841
1840
|
"""
|
|
@@ -1849,13 +1848,13 @@ elif False:
|
|
|
1849
1848
|
@pulumi.input_type
|
|
1850
1849
|
class VolumeAttachmentSpecPatchArgs:
|
|
1851
1850
|
def __init__(__self__, *,
|
|
1852
|
-
attacher: Optional[pulumi.Input[
|
|
1853
|
-
node_name: Optional[pulumi.Input[
|
|
1851
|
+
attacher: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1852
|
+
node_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1854
1853
|
source: Optional[pulumi.Input['VolumeAttachmentSourcePatchArgs']] = None):
|
|
1855
1854
|
"""
|
|
1856
1855
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1857
|
-
:param pulumi.Input[
|
|
1858
|
-
:param pulumi.Input[
|
|
1856
|
+
:param pulumi.Input[_builtins.str] attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1857
|
+
:param pulumi.Input[_builtins.str] node_name: nodeName represents the node that the volume should be attached to.
|
|
1859
1858
|
:param pulumi.Input['VolumeAttachmentSourcePatchArgs'] source: source represents the volume that should be attached.
|
|
1860
1859
|
"""
|
|
1861
1860
|
if attacher is not None:
|
|
@@ -1865,31 +1864,31 @@ class VolumeAttachmentSpecPatchArgs:
|
|
|
1865
1864
|
if source is not None:
|
|
1866
1865
|
pulumi.set(__self__, "source", source)
|
|
1867
1866
|
|
|
1868
|
-
@property
|
|
1867
|
+
@_builtins.property
|
|
1869
1868
|
@pulumi.getter
|
|
1870
|
-
def attacher(self) -> Optional[pulumi.Input[
|
|
1869
|
+
def attacher(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1871
1870
|
"""
|
|
1872
1871
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1873
1872
|
"""
|
|
1874
1873
|
return pulumi.get(self, "attacher")
|
|
1875
1874
|
|
|
1876
1875
|
@attacher.setter
|
|
1877
|
-
def attacher(self, value: Optional[pulumi.Input[
|
|
1876
|
+
def attacher(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1878
1877
|
pulumi.set(self, "attacher", value)
|
|
1879
1878
|
|
|
1880
|
-
@property
|
|
1879
|
+
@_builtins.property
|
|
1881
1880
|
@pulumi.getter(name="nodeName")
|
|
1882
|
-
def node_name(self) -> Optional[pulumi.Input[
|
|
1881
|
+
def node_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1883
1882
|
"""
|
|
1884
1883
|
nodeName represents the node that the volume should be attached to.
|
|
1885
1884
|
"""
|
|
1886
1885
|
return pulumi.get(self, "node_name")
|
|
1887
1886
|
|
|
1888
1887
|
@node_name.setter
|
|
1889
|
-
def node_name(self, value: Optional[pulumi.Input[
|
|
1888
|
+
def node_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1890
1889
|
pulumi.set(self, "node_name", value)
|
|
1891
1890
|
|
|
1892
|
-
@property
|
|
1891
|
+
@_builtins.property
|
|
1893
1892
|
@pulumi.getter
|
|
1894
1893
|
def source(self) -> Optional[pulumi.Input['VolumeAttachmentSourcePatchArgs']]:
|
|
1895
1894
|
"""
|
|
@@ -1907,11 +1906,11 @@ if not MYPY:
|
|
|
1907
1906
|
"""
|
|
1908
1907
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1909
1908
|
"""
|
|
1910
|
-
attacher: pulumi.Input[
|
|
1909
|
+
attacher: pulumi.Input[_builtins.str]
|
|
1911
1910
|
"""
|
|
1912
1911
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1913
1912
|
"""
|
|
1914
|
-
node_name: pulumi.Input[
|
|
1913
|
+
node_name: pulumi.Input[_builtins.str]
|
|
1915
1914
|
"""
|
|
1916
1915
|
nodeName represents the node that the volume should be attached to.
|
|
1917
1916
|
"""
|
|
@@ -1925,44 +1924,44 @@ elif False:
|
|
|
1925
1924
|
@pulumi.input_type
|
|
1926
1925
|
class VolumeAttachmentSpecArgs:
|
|
1927
1926
|
def __init__(__self__, *,
|
|
1928
|
-
attacher: pulumi.Input[
|
|
1929
|
-
node_name: pulumi.Input[
|
|
1927
|
+
attacher: pulumi.Input[_builtins.str],
|
|
1928
|
+
node_name: pulumi.Input[_builtins.str],
|
|
1930
1929
|
source: pulumi.Input['VolumeAttachmentSourceArgs']):
|
|
1931
1930
|
"""
|
|
1932
1931
|
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
|
|
1933
|
-
:param pulumi.Input[
|
|
1934
|
-
:param pulumi.Input[
|
|
1932
|
+
:param pulumi.Input[_builtins.str] attacher: attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1933
|
+
:param pulumi.Input[_builtins.str] node_name: nodeName represents the node that the volume should be attached to.
|
|
1935
1934
|
:param pulumi.Input['VolumeAttachmentSourceArgs'] source: source represents the volume that should be attached.
|
|
1936
1935
|
"""
|
|
1937
1936
|
pulumi.set(__self__, "attacher", attacher)
|
|
1938
1937
|
pulumi.set(__self__, "node_name", node_name)
|
|
1939
1938
|
pulumi.set(__self__, "source", source)
|
|
1940
1939
|
|
|
1941
|
-
@property
|
|
1940
|
+
@_builtins.property
|
|
1942
1941
|
@pulumi.getter
|
|
1943
|
-
def attacher(self) -> pulumi.Input[
|
|
1942
|
+
def attacher(self) -> pulumi.Input[_builtins.str]:
|
|
1944
1943
|
"""
|
|
1945
1944
|
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
|
|
1946
1945
|
"""
|
|
1947
1946
|
return pulumi.get(self, "attacher")
|
|
1948
1947
|
|
|
1949
1948
|
@attacher.setter
|
|
1950
|
-
def attacher(self, value: pulumi.Input[
|
|
1949
|
+
def attacher(self, value: pulumi.Input[_builtins.str]):
|
|
1951
1950
|
pulumi.set(self, "attacher", value)
|
|
1952
1951
|
|
|
1953
|
-
@property
|
|
1952
|
+
@_builtins.property
|
|
1954
1953
|
@pulumi.getter(name="nodeName")
|
|
1955
|
-
def node_name(self) -> pulumi.Input[
|
|
1954
|
+
def node_name(self) -> pulumi.Input[_builtins.str]:
|
|
1956
1955
|
"""
|
|
1957
1956
|
nodeName represents the node that the volume should be attached to.
|
|
1958
1957
|
"""
|
|
1959
1958
|
return pulumi.get(self, "node_name")
|
|
1960
1959
|
|
|
1961
1960
|
@node_name.setter
|
|
1962
|
-
def node_name(self, value: pulumi.Input[
|
|
1961
|
+
def node_name(self, value: pulumi.Input[_builtins.str]):
|
|
1963
1962
|
pulumi.set(self, "node_name", value)
|
|
1964
1963
|
|
|
1965
|
-
@property
|
|
1964
|
+
@_builtins.property
|
|
1966
1965
|
@pulumi.getter
|
|
1967
1966
|
def source(self) -> pulumi.Input['VolumeAttachmentSourceArgs']:
|
|
1968
1967
|
"""
|
|
@@ -1980,7 +1979,7 @@ if not MYPY:
|
|
|
1980
1979
|
"""
|
|
1981
1980
|
VolumeAttachmentStatus is the status of a VolumeAttachment request.
|
|
1982
1981
|
"""
|
|
1983
|
-
attached: pulumi.Input[
|
|
1982
|
+
attached: pulumi.Input[_builtins.bool]
|
|
1984
1983
|
"""
|
|
1985
1984
|
attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1986
1985
|
"""
|
|
@@ -1988,7 +1987,7 @@ if not MYPY:
|
|
|
1988
1987
|
"""
|
|
1989
1988
|
attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1990
1989
|
"""
|
|
1991
|
-
attachment_metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[
|
|
1990
|
+
attachment_metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
1992
1991
|
"""
|
|
1993
1992
|
attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
1994
1993
|
"""
|
|
@@ -2002,15 +2001,15 @@ elif False:
|
|
|
2002
2001
|
@pulumi.input_type
|
|
2003
2002
|
class VolumeAttachmentStatusArgs:
|
|
2004
2003
|
def __init__(__self__, *,
|
|
2005
|
-
attached: pulumi.Input[
|
|
2004
|
+
attached: pulumi.Input[_builtins.bool],
|
|
2006
2005
|
attach_error: Optional[pulumi.Input['VolumeErrorArgs']] = None,
|
|
2007
|
-
attachment_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
2006
|
+
attachment_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
2008
2007
|
detach_error: Optional[pulumi.Input['VolumeErrorArgs']] = None):
|
|
2009
2008
|
"""
|
|
2010
2009
|
VolumeAttachmentStatus is the status of a VolumeAttachment request.
|
|
2011
|
-
:param pulumi.Input[
|
|
2010
|
+
:param pulumi.Input[_builtins.bool] attached: attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
2012
2011
|
:param pulumi.Input['VolumeErrorArgs'] attach_error: attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
2013
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
2012
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] attachment_metadata: attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
2014
2013
|
:param pulumi.Input['VolumeErrorArgs'] detach_error: detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.
|
|
2015
2014
|
"""
|
|
2016
2015
|
pulumi.set(__self__, "attached", attached)
|
|
@@ -2021,19 +2020,19 @@ class VolumeAttachmentStatusArgs:
|
|
|
2021
2020
|
if detach_error is not None:
|
|
2022
2021
|
pulumi.set(__self__, "detach_error", detach_error)
|
|
2023
2022
|
|
|
2024
|
-
@property
|
|
2023
|
+
@_builtins.property
|
|
2025
2024
|
@pulumi.getter
|
|
2026
|
-
def attached(self) -> pulumi.Input[
|
|
2025
|
+
def attached(self) -> pulumi.Input[_builtins.bool]:
|
|
2027
2026
|
"""
|
|
2028
2027
|
attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
2029
2028
|
"""
|
|
2030
2029
|
return pulumi.get(self, "attached")
|
|
2031
2030
|
|
|
2032
2031
|
@attached.setter
|
|
2033
|
-
def attached(self, value: pulumi.Input[
|
|
2032
|
+
def attached(self, value: pulumi.Input[_builtins.bool]):
|
|
2034
2033
|
pulumi.set(self, "attached", value)
|
|
2035
2034
|
|
|
2036
|
-
@property
|
|
2035
|
+
@_builtins.property
|
|
2037
2036
|
@pulumi.getter(name="attachError")
|
|
2038
2037
|
def attach_error(self) -> Optional[pulumi.Input['VolumeErrorArgs']]:
|
|
2039
2038
|
"""
|
|
@@ -2045,19 +2044,19 @@ class VolumeAttachmentStatusArgs:
|
|
|
2045
2044
|
def attach_error(self, value: Optional[pulumi.Input['VolumeErrorArgs']]):
|
|
2046
2045
|
pulumi.set(self, "attach_error", value)
|
|
2047
2046
|
|
|
2048
|
-
@property
|
|
2047
|
+
@_builtins.property
|
|
2049
2048
|
@pulumi.getter(name="attachmentMetadata")
|
|
2050
|
-
def attachment_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
2049
|
+
def attachment_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
2051
2050
|
"""
|
|
2052
2051
|
attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
|
|
2053
2052
|
"""
|
|
2054
2053
|
return pulumi.get(self, "attachment_metadata")
|
|
2055
2054
|
|
|
2056
2055
|
@attachment_metadata.setter
|
|
2057
|
-
def attachment_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
2056
|
+
def attachment_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
2058
2057
|
pulumi.set(self, "attachment_metadata", value)
|
|
2059
2058
|
|
|
2060
|
-
@property
|
|
2059
|
+
@_builtins.property
|
|
2061
2060
|
@pulumi.getter(name="detachError")
|
|
2062
2061
|
def detach_error(self) -> Optional[pulumi.Input['VolumeErrorArgs']]:
|
|
2063
2062
|
"""
|
|
@@ -2081,11 +2080,11 @@ if not MYPY:
|
|
|
2081
2080
|
"""
|
|
2082
2081
|
spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
|
|
2083
2082
|
"""
|
|
2084
|
-
api_version: NotRequired[pulumi.Input[
|
|
2083
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
2085
2084
|
"""
|
|
2086
2085
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2087
2086
|
"""
|
|
2088
|
-
kind: NotRequired[pulumi.Input[
|
|
2087
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
2089
2088
|
"""
|
|
2090
2089
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2091
2090
|
"""
|
|
@@ -2104,8 +2103,8 @@ elif False:
|
|
|
2104
2103
|
class VolumeAttachmentArgs:
|
|
2105
2104
|
def __init__(__self__, *,
|
|
2106
2105
|
spec: pulumi.Input['VolumeAttachmentSpecArgs'],
|
|
2107
|
-
api_version: Optional[pulumi.Input[
|
|
2108
|
-
kind: Optional[pulumi.Input[
|
|
2106
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2107
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2109
2108
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
2110
2109
|
status: Optional[pulumi.Input['VolumeAttachmentStatusArgs']] = None):
|
|
2111
2110
|
"""
|
|
@@ -2113,8 +2112,8 @@ class VolumeAttachmentArgs:
|
|
|
2113
2112
|
|
|
2114
2113
|
VolumeAttachment objects are non-namespaced.
|
|
2115
2114
|
:param pulumi.Input['VolumeAttachmentSpecArgs'] spec: spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
|
|
2116
|
-
:param pulumi.Input[
|
|
2117
|
-
:param pulumi.Input[
|
|
2115
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2116
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2118
2117
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
2119
2118
|
:param pulumi.Input['VolumeAttachmentStatusArgs'] status: status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
|
|
2120
2119
|
"""
|
|
@@ -2128,7 +2127,7 @@ class VolumeAttachmentArgs:
|
|
|
2128
2127
|
if status is not None:
|
|
2129
2128
|
pulumi.set(__self__, "status", status)
|
|
2130
2129
|
|
|
2131
|
-
@property
|
|
2130
|
+
@_builtins.property
|
|
2132
2131
|
@pulumi.getter
|
|
2133
2132
|
def spec(self) -> pulumi.Input['VolumeAttachmentSpecArgs']:
|
|
2134
2133
|
"""
|
|
@@ -2140,31 +2139,31 @@ class VolumeAttachmentArgs:
|
|
|
2140
2139
|
def spec(self, value: pulumi.Input['VolumeAttachmentSpecArgs']):
|
|
2141
2140
|
pulumi.set(self, "spec", value)
|
|
2142
2141
|
|
|
2143
|
-
@property
|
|
2142
|
+
@_builtins.property
|
|
2144
2143
|
@pulumi.getter(name="apiVersion")
|
|
2145
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
2144
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2146
2145
|
"""
|
|
2147
2146
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2148
2147
|
"""
|
|
2149
2148
|
return pulumi.get(self, "api_version")
|
|
2150
2149
|
|
|
2151
2150
|
@api_version.setter
|
|
2152
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
2151
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2153
2152
|
pulumi.set(self, "api_version", value)
|
|
2154
2153
|
|
|
2155
|
-
@property
|
|
2154
|
+
@_builtins.property
|
|
2156
2155
|
@pulumi.getter
|
|
2157
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
2156
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2158
2157
|
"""
|
|
2159
2158
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2160
2159
|
"""
|
|
2161
2160
|
return pulumi.get(self, "kind")
|
|
2162
2161
|
|
|
2163
2162
|
@kind.setter
|
|
2164
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
2163
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2165
2164
|
pulumi.set(self, "kind", value)
|
|
2166
2165
|
|
|
2167
|
-
@property
|
|
2166
|
+
@_builtins.property
|
|
2168
2167
|
@pulumi.getter
|
|
2169
2168
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
2170
2169
|
"""
|
|
@@ -2176,7 +2175,7 @@ class VolumeAttachmentArgs:
|
|
|
2176
2175
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
2177
2176
|
pulumi.set(self, "metadata", value)
|
|
2178
2177
|
|
|
2179
|
-
@property
|
|
2178
|
+
@_builtins.property
|
|
2180
2179
|
@pulumi.getter
|
|
2181
2180
|
def status(self) -> Optional[pulumi.Input['VolumeAttachmentStatusArgs']]:
|
|
2182
2181
|
"""
|
|
@@ -2194,17 +2193,17 @@ if not MYPY:
|
|
|
2194
2193
|
"""
|
|
2195
2194
|
VolumeError captures an error encountered during a volume operation.
|
|
2196
2195
|
"""
|
|
2197
|
-
error_code: NotRequired[pulumi.Input[
|
|
2196
|
+
error_code: NotRequired[pulumi.Input[_builtins.int]]
|
|
2198
2197
|
"""
|
|
2199
2198
|
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2200
2199
|
|
|
2201
2200
|
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
2202
2201
|
"""
|
|
2203
|
-
message: NotRequired[pulumi.Input[
|
|
2202
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
2204
2203
|
"""
|
|
2205
2204
|
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2206
2205
|
"""
|
|
2207
|
-
time: NotRequired[pulumi.Input[
|
|
2206
|
+
time: NotRequired[pulumi.Input[_builtins.str]]
|
|
2208
2207
|
"""
|
|
2209
2208
|
time represents the time the error was encountered.
|
|
2210
2209
|
"""
|
|
@@ -2214,16 +2213,16 @@ elif False:
|
|
|
2214
2213
|
@pulumi.input_type
|
|
2215
2214
|
class VolumeErrorArgs:
|
|
2216
2215
|
def __init__(__self__, *,
|
|
2217
|
-
error_code: Optional[pulumi.Input[
|
|
2218
|
-
message: Optional[pulumi.Input[
|
|
2219
|
-
time: Optional[pulumi.Input[
|
|
2216
|
+
error_code: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2217
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2218
|
+
time: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2220
2219
|
"""
|
|
2221
2220
|
VolumeError captures an error encountered during a volume operation.
|
|
2222
|
-
:param pulumi.Input[
|
|
2221
|
+
:param pulumi.Input[_builtins.int] error_code: errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2223
2222
|
|
|
2224
2223
|
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
2225
|
-
:param pulumi.Input[
|
|
2226
|
-
:param pulumi.Input[
|
|
2224
|
+
:param pulumi.Input[_builtins.str] message: message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2225
|
+
:param pulumi.Input[_builtins.str] time: time represents the time the error was encountered.
|
|
2227
2226
|
"""
|
|
2228
2227
|
if error_code is not None:
|
|
2229
2228
|
pulumi.set(__self__, "error_code", error_code)
|
|
@@ -2232,9 +2231,9 @@ class VolumeErrorArgs:
|
|
|
2232
2231
|
if time is not None:
|
|
2233
2232
|
pulumi.set(__self__, "time", time)
|
|
2234
2233
|
|
|
2235
|
-
@property
|
|
2234
|
+
@_builtins.property
|
|
2236
2235
|
@pulumi.getter(name="errorCode")
|
|
2237
|
-
def error_code(self) -> Optional[pulumi.Input[
|
|
2236
|
+
def error_code(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2238
2237
|
"""
|
|
2239
2238
|
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2240
2239
|
|
|
@@ -2243,31 +2242,31 @@ class VolumeErrorArgs:
|
|
|
2243
2242
|
return pulumi.get(self, "error_code")
|
|
2244
2243
|
|
|
2245
2244
|
@error_code.setter
|
|
2246
|
-
def error_code(self, value: Optional[pulumi.Input[
|
|
2245
|
+
def error_code(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2247
2246
|
pulumi.set(self, "error_code", value)
|
|
2248
2247
|
|
|
2249
|
-
@property
|
|
2248
|
+
@_builtins.property
|
|
2250
2249
|
@pulumi.getter
|
|
2251
|
-
def message(self) -> Optional[pulumi.Input[
|
|
2250
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2252
2251
|
"""
|
|
2253
2252
|
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2254
2253
|
"""
|
|
2255
2254
|
return pulumi.get(self, "message")
|
|
2256
2255
|
|
|
2257
2256
|
@message.setter
|
|
2258
|
-
def message(self, value: Optional[pulumi.Input[
|
|
2257
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2259
2258
|
pulumi.set(self, "message", value)
|
|
2260
2259
|
|
|
2261
|
-
@property
|
|
2260
|
+
@_builtins.property
|
|
2262
2261
|
@pulumi.getter
|
|
2263
|
-
def time(self) -> Optional[pulumi.Input[
|
|
2262
|
+
def time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2264
2263
|
"""
|
|
2265
2264
|
time represents the time the error was encountered.
|
|
2266
2265
|
"""
|
|
2267
2266
|
return pulumi.get(self, "time")
|
|
2268
2267
|
|
|
2269
2268
|
@time.setter
|
|
2270
|
-
def time(self, value: Optional[pulumi.Input[
|
|
2269
|
+
def time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2271
2270
|
pulumi.set(self, "time", value)
|
|
2272
2271
|
|
|
2273
2272
|
|
|
@@ -2276,7 +2275,7 @@ if not MYPY:
|
|
|
2276
2275
|
"""
|
|
2277
2276
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2278
2277
|
"""
|
|
2279
|
-
count: NotRequired[pulumi.Input[
|
|
2278
|
+
count: NotRequired[pulumi.Input[_builtins.int]]
|
|
2280
2279
|
"""
|
|
2281
2280
|
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2282
2281
|
"""
|
|
@@ -2286,24 +2285,24 @@ elif False:
|
|
|
2286
2285
|
@pulumi.input_type
|
|
2287
2286
|
class VolumeNodeResourcesPatchArgs:
|
|
2288
2287
|
def __init__(__self__, *,
|
|
2289
|
-
count: Optional[pulumi.Input[
|
|
2288
|
+
count: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2290
2289
|
"""
|
|
2291
2290
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2292
|
-
:param pulumi.Input[
|
|
2291
|
+
:param pulumi.Input[_builtins.int] count: count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2293
2292
|
"""
|
|
2294
2293
|
if count is not None:
|
|
2295
2294
|
pulumi.set(__self__, "count", count)
|
|
2296
2295
|
|
|
2297
|
-
@property
|
|
2296
|
+
@_builtins.property
|
|
2298
2297
|
@pulumi.getter
|
|
2299
|
-
def count(self) -> Optional[pulumi.Input[
|
|
2298
|
+
def count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2300
2299
|
"""
|
|
2301
2300
|
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2302
2301
|
"""
|
|
2303
2302
|
return pulumi.get(self, "count")
|
|
2304
2303
|
|
|
2305
2304
|
@count.setter
|
|
2306
|
-
def count(self, value: Optional[pulumi.Input[
|
|
2305
|
+
def count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2307
2306
|
pulumi.set(self, "count", value)
|
|
2308
2307
|
|
|
2309
2308
|
|
|
@@ -2312,7 +2311,7 @@ if not MYPY:
|
|
|
2312
2311
|
"""
|
|
2313
2312
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2314
2313
|
"""
|
|
2315
|
-
count: NotRequired[pulumi.Input[
|
|
2314
|
+
count: NotRequired[pulumi.Input[_builtins.int]]
|
|
2316
2315
|
"""
|
|
2317
2316
|
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2318
2317
|
"""
|
|
@@ -2322,24 +2321,24 @@ elif False:
|
|
|
2322
2321
|
@pulumi.input_type
|
|
2323
2322
|
class VolumeNodeResourcesArgs:
|
|
2324
2323
|
def __init__(__self__, *,
|
|
2325
|
-
count: Optional[pulumi.Input[
|
|
2324
|
+
count: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2326
2325
|
"""
|
|
2327
2326
|
VolumeNodeResources is a set of resource limits for scheduling of volumes.
|
|
2328
|
-
:param pulumi.Input[
|
|
2327
|
+
:param pulumi.Input[_builtins.int] count: count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2329
2328
|
"""
|
|
2330
2329
|
if count is not None:
|
|
2331
2330
|
pulumi.set(__self__, "count", count)
|
|
2332
2331
|
|
|
2333
|
-
@property
|
|
2332
|
+
@_builtins.property
|
|
2334
2333
|
@pulumi.getter
|
|
2335
|
-
def count(self) -> Optional[pulumi.Input[
|
|
2334
|
+
def count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2336
2335
|
"""
|
|
2337
2336
|
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
|
|
2338
2337
|
"""
|
|
2339
2338
|
return pulumi.get(self, "count")
|
|
2340
2339
|
|
|
2341
2340
|
@count.setter
|
|
2342
|
-
def count(self, value: Optional[pulumi.Input[
|
|
2341
|
+
def count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2343
2342
|
pulumi.set(self, "count", value)
|
|
2344
2343
|
|
|
2345
2344
|
|