pulumi-kubernetes 4.17.0a1723576835__py3-none-any.whl → 4.26.0a1769215986__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_kubernetes/__init__.py +73 -2
- pulumi_kubernetes/_inputs.py +49 -49
- pulumi_kubernetes/_utilities.py +9 -5
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +27 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +27 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +721 -721
- pulumi_kubernetes/admissionregistration/v1/outputs.py +516 -516
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +215 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +223 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +216 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +235 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +216 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +227 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +27 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +26 -33
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +26 -33
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +27 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +7 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +2219 -716
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +1649 -530
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +27 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +27 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +717 -717
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +512 -512
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +27 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +26 -25
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +27 -26
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +912 -912
- pulumi_kubernetes/apiextensions/v1/outputs.py +624 -624
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +27 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +26 -25
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +27 -26
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -834
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -572
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +27 -26
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +26 -25
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +27 -26
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -157
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -128
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +27 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +26 -25
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +27 -26
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -157
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -128
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +36 -35
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +26 -25
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +36 -35
- pulumi_kubernetes/apps/v1/DaemonSet.py +27 -26
- pulumi_kubernetes/apps/v1/DaemonSetList.py +26 -25
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1/Deployment.py +27 -26
- pulumi_kubernetes/apps/v1/DeploymentList.py +26 -25
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +27 -26
- pulumi_kubernetes/apps/v1/ReplicaSet.py +27 -26
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +30 -29
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1/StatefulSet.py +27 -26
- pulumi_kubernetes/apps/v1/StatefulSetList.py +26 -25
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +835 -782
- pulumi_kubernetes/apps/v1/outputs.py +806 -733
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +36 -35
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +26 -25
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +36 -35
- pulumi_kubernetes/apps/v1beta1/Deployment.py +27 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +26 -25
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +27 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -409
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -381
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +36 -35
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +36 -35
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +27 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/Deployment.py +27 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +27 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +27 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -655
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -645
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +26 -25
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +26 -25
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +26 -25
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -145
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -101
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -120
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -102
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +500 -420
- pulumi_kubernetes/autoscaling/v2/outputs.py +438 -382
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -451
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -424
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -398
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -366
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +27 -26
- pulumi_kubernetes/batch/v1/CronJobList.py +26 -25
- pulumi_kubernetes/batch/v1/CronJobPatch.py +27 -26
- pulumi_kubernetes/batch/v1/Job.py +27 -26
- pulumi_kubernetes/batch/v1/JobList.py +26 -25
- pulumi_kubernetes/batch/v1/JobPatch.py +27 -26
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +508 -538
- pulumi_kubernetes/batch/v1/outputs.py +427 -451
- pulumi_kubernetes/batch/v1beta1/CronJob.py +27 -26
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +26 -25
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +27 -26
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -101
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -76
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +27 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +26 -25
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +27 -26
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -101
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -76
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +27 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +26 -25
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +27 -26
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -155
- pulumi_kubernetes/certificates/v1/outputs.py +134 -134
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +28 -25
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +26 -25
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +28 -25
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -39
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +27 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +26 -25
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +27 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +226 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +216 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +237 -0
- pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +436 -144
- pulumi_kubernetes/certificates/v1beta1/outputs.py +369 -128
- pulumi_kubernetes/coordination/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1/Lease.py +26 -25
- pulumi_kubernetes/coordination/v1/LeaseList.py +26 -25
- pulumi_kubernetes/coordination/v1/LeasePatch.py +26 -25
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -99
- pulumi_kubernetes/coordination/v1/outputs.py +67 -67
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +28 -25
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +26 -25
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +28 -25
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -87
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -59
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +217 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +216 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +229 -0
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +13 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +393 -0
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +313 -0
- pulumi_kubernetes/coordination/v1beta1/Lease.py +26 -25
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +217 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +216 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +229 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +26 -25
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +26 -25
- pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +446 -75
- pulumi_kubernetes/coordination/v1beta1/outputs.py +343 -51
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +28 -27
- pulumi_kubernetes/core/v1/BindingPatch.py +28 -27
- pulumi_kubernetes/core/v1/ConfigMap.py +54 -53
- pulumi_kubernetes/core/v1/ConfigMapList.py +26 -25
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +54 -53
- pulumi_kubernetes/core/v1/Endpoints.py +34 -25
- pulumi_kubernetes/core/v1/EndpointsList.py +28 -27
- pulumi_kubernetes/core/v1/EndpointsPatch.py +34 -25
- pulumi_kubernetes/core/v1/Event.py +132 -131
- pulumi_kubernetes/core/v1/EventList.py +26 -25
- pulumi_kubernetes/core/v1/EventPatch.py +132 -131
- pulumi_kubernetes/core/v1/LimitRange.py +26 -25
- pulumi_kubernetes/core/v1/LimitRangeList.py +26 -25
- pulumi_kubernetes/core/v1/LimitRangePatch.py +26 -25
- pulumi_kubernetes/core/v1/Namespace.py +27 -26
- pulumi_kubernetes/core/v1/NamespaceList.py +26 -25
- pulumi_kubernetes/core/v1/NamespacePatch.py +27 -26
- pulumi_kubernetes/core/v1/Node.py +27 -26
- pulumi_kubernetes/core/v1/NodeList.py +26 -25
- pulumi_kubernetes/core/v1/NodePatch.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolume.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +26 -25
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +26 -25
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +27 -26
- pulumi_kubernetes/core/v1/Pod.py +27 -26
- pulumi_kubernetes/core/v1/PodList.py +26 -25
- pulumi_kubernetes/core/v1/PodPatch.py +27 -26
- pulumi_kubernetes/core/v1/PodTemplate.py +26 -25
- pulumi_kubernetes/core/v1/PodTemplateList.py +26 -25
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +26 -25
- pulumi_kubernetes/core/v1/ReplicationController.py +27 -26
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +26 -25
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +27 -26
- pulumi_kubernetes/core/v1/ResourceQuota.py +27 -26
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +26 -25
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +27 -26
- pulumi_kubernetes/core/v1/Secret.py +64 -63
- pulumi_kubernetes/core/v1/SecretList.py +26 -25
- pulumi_kubernetes/core/v1/SecretPatch.py +68 -65
- pulumi_kubernetes/core/v1/Service.py +33 -48
- pulumi_kubernetes/core/v1/ServiceAccount.py +42 -41
- pulumi_kubernetes/core/v1/ServiceAccountList.py +26 -25
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +42 -41
- pulumi_kubernetes/core/v1/ServiceList.py +26 -25
- pulumi_kubernetes/core/v1/ServicePatch.py +33 -48
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +4 -1
- pulumi_kubernetes/core/v1/_inputs.py +7862 -7453
- pulumi_kubernetes/core/v1/outputs.py +5980 -5608
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +46 -45
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +26 -25
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +46 -45
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +334 -219
- pulumi_kubernetes/discovery/v1/outputs.py +224 -149
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +38 -37
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +26 -25
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +38 -37
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -158
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -108
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +132 -131
- pulumi_kubernetes/events/v1/EventList.py +26 -25
- pulumi_kubernetes/events/v1/EventPatch.py +132 -131
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +102 -102
- pulumi_kubernetes/events/v1/outputs.py +70 -70
- pulumi_kubernetes/events/v1beta1/Event.py +132 -131
- pulumi_kubernetes/events/v1beta1/EventList.py +26 -25
- pulumi_kubernetes/events/v1beta1/EventPatch.py +132 -131
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -114
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -78
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1097
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -899
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -419
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -333
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -369
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -299
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -369
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -299
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -419
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -333
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +431 -431
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +341 -341
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +317 -316
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +39 -39
- pulumi_kubernetes/helm/v3/outputs.py +55 -55
- pulumi_kubernetes/helm/v4/Chart.py +114 -87
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +36 -36
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +36 -35
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +58 -57
- pulumi_kubernetes/meta/v1/StatusPatch.py +58 -57
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +551 -551
- pulumi_kubernetes/meta/v1/outputs.py +395 -395
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/IPAddress.py +217 -0
- pulumi_kubernetes/networking/v1/IPAddressList.py +216 -0
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +229 -0
- pulumi_kubernetes/networking/v1/Ingress.py +27 -26
- pulumi_kubernetes/networking/v1/IngressClass.py +26 -25
- pulumi_kubernetes/networking/v1/IngressClassList.py +26 -25
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +26 -25
- pulumi_kubernetes/networking/v1/IngressList.py +26 -25
- pulumi_kubernetes/networking/v1/IngressPatch.py +27 -26
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +27 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +26 -25
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +27 -26
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +227 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +216 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +239 -0
- pulumi_kubernetes/networking/v1/__init__.py +7 -0
- pulumi_kubernetes/networking/v1/_inputs.py +970 -371
- pulumi_kubernetes/networking/v1/outputs.py +746 -285
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +27 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +27 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +28 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +28 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -157
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -110
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +27 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +27 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +27 -26
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +27 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +28 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +28 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -247
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -173
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +38 -37
- pulumi_kubernetes/node/v1/RuntimeClassList.py +26 -25
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +38 -37
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +48 -48
- pulumi_kubernetes/node/v1/outputs.py +34 -34
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +26 -25
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +26 -25
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +26 -25
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -57
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -41
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +38 -37
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +26 -25
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +38 -37
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -48
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -34
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +27 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +26 -25
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +27 -26
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +91 -103
- pulumi_kubernetes/policy/v1/outputs.py +80 -88
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +27 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +26 -25
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +27 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +26 -25
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +26 -25
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +26 -25
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -470
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -342
- pulumi_kubernetes/provider.py +139 -99
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +28 -27
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +26 -25
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +28 -27
- pulumi_kubernetes/rbac/v1/Role.py +26 -25
- pulumi_kubernetes/rbac/v1/RoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1/RoleList.py +26 -25
- pulumi_kubernetes/rbac/v1/RolePatch.py +26 -25
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -206
- pulumi_kubernetes/rbac/v1/outputs.py +142 -142
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/Role.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -206
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -142
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/Role.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -206
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -142
- pulumi_kubernetes/resource/__init__.py +7 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +28 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +28 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +38 -37
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +38 -37
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -268
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -230
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +28 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +38 -37
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +38 -37
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +28 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +48 -47
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +30 -29
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +30 -29
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +48 -47
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +47 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +47 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -550
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -449
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +28 -25
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +28 -25
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +224 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +216 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +235 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +28 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +28 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +34 -33
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +246 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +5 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +3400 -606
- pulumi_kubernetes/resource/v1alpha3/outputs.py +2933 -565
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +238 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +249 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +233 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +217 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +244 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +230 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +241 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +247 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +217 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +258 -0
- pulumi_kubernetes/resource/v1beta1/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +5735 -0
- pulumi_kubernetes/resource/v1beta1/outputs.py +4736 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +238 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +216 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +249 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +233 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +244 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +230 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +216 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +241 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +247 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +258 -0
- pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta2/_inputs.py +5680 -0
- pulumi_kubernetes/resource/v1beta2/outputs.py +4725 -0
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +64 -63
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +26 -25
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +64 -63
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -38
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +64 -63
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +26 -25
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +64 -63
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -38
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +64 -63
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +26 -25
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +64 -63
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -38
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -26
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +26 -25
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +26 -25
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +26 -25
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -25
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -21
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +26 -25
- pulumi_kubernetes/storage/v1/CSIDriverList.py +26 -25
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +26 -25
- pulumi_kubernetes/storage/v1/CSINode.py +26 -25
- pulumi_kubernetes/storage/v1/CSINodeList.py +26 -25
- pulumi_kubernetes/storage/v1/CSINodePatch.py +26 -25
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +56 -55
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +26 -25
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +56 -55
- pulumi_kubernetes/storage/v1/StorageClass.py +86 -85
- pulumi_kubernetes/storage/v1/StorageClassList.py +26 -25
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +86 -85
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +27 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +26 -25
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +27 -26
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +448 -358
- pulumi_kubernetes/storage/v1/outputs.py +376 -266
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +27 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +26 -25
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +27 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +44 -43
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +26 -25
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +44 -43
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -107
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -93
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSINode.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +56 -55
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +56 -55
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +86 -85
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +86 -85
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +27 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +27 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +44 -43
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +44 -43
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -367
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -271
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +27 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +26 -25
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +27 -26
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -103
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -96
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +31 -28
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +36 -35
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- pulumi_kubernetes/yaml/yaml.py +198 -0
- {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/METADATA +9 -9
- pulumi_kubernetes-4.26.0a1769215986.dist-info/RECORD +709 -0
- {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.17.0a1723576835.dist-info/RECORD +0 -651
- {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/top_level.txt +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -84,7 +84,7 @@ if not MYPY:
|
|
|
84
84
|
"""
|
|
85
85
|
AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.
|
|
86
86
|
"""
|
|
87
|
-
name: NotRequired[pulumi.Input[str]]
|
|
87
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
88
88
|
"""
|
|
89
89
|
Name is the registered name of the CSI driver
|
|
90
90
|
"""
|
|
@@ -94,24 +94,24 @@ elif False:
|
|
|
94
94
|
@pulumi.input_type
|
|
95
95
|
class AllowedCSIDriverPatchArgs:
|
|
96
96
|
def __init__(__self__, *,
|
|
97
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
97
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
98
98
|
"""
|
|
99
99
|
AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.
|
|
100
|
-
:param pulumi.Input[str] name: Name is the registered name of the CSI driver
|
|
100
|
+
:param pulumi.Input[_builtins.str] name: Name is the registered name of the CSI driver
|
|
101
101
|
"""
|
|
102
102
|
if name is not None:
|
|
103
103
|
pulumi.set(__self__, "name", name)
|
|
104
104
|
|
|
105
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
106
106
|
@pulumi.getter
|
|
107
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
107
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
108
108
|
"""
|
|
109
109
|
Name is the registered name of the CSI driver
|
|
110
110
|
"""
|
|
111
111
|
return pulumi.get(self, "name")
|
|
112
112
|
|
|
113
113
|
@name.setter
|
|
114
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
114
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
115
115
|
pulumi.set(self, "name", value)
|
|
116
116
|
|
|
117
117
|
|
|
@@ -120,7 +120,7 @@ if not MYPY:
|
|
|
120
120
|
"""
|
|
121
121
|
AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.
|
|
122
122
|
"""
|
|
123
|
-
name: pulumi.Input[str]
|
|
123
|
+
name: pulumi.Input[_builtins.str]
|
|
124
124
|
"""
|
|
125
125
|
Name is the registered name of the CSI driver
|
|
126
126
|
"""
|
|
@@ -130,23 +130,23 @@ elif False:
|
|
|
130
130
|
@pulumi.input_type
|
|
131
131
|
class AllowedCSIDriverArgs:
|
|
132
132
|
def __init__(__self__, *,
|
|
133
|
-
name: pulumi.Input[str]):
|
|
133
|
+
name: pulumi.Input[_builtins.str]):
|
|
134
134
|
"""
|
|
135
135
|
AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.
|
|
136
|
-
:param pulumi.Input[str] name: Name is the registered name of the CSI driver
|
|
136
|
+
:param pulumi.Input[_builtins.str] name: Name is the registered name of the CSI driver
|
|
137
137
|
"""
|
|
138
138
|
pulumi.set(__self__, "name", name)
|
|
139
139
|
|
|
140
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
141
141
|
@pulumi.getter
|
|
142
|
-
def name(self) -> pulumi.Input[str]:
|
|
142
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
143
143
|
"""
|
|
144
144
|
Name is the registered name of the CSI driver
|
|
145
145
|
"""
|
|
146
146
|
return pulumi.get(self, "name")
|
|
147
147
|
|
|
148
148
|
@name.setter
|
|
149
|
-
def name(self, value: pulumi.Input[str]):
|
|
149
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
150
150
|
pulumi.set(self, "name", value)
|
|
151
151
|
|
|
152
152
|
|
|
@@ -155,7 +155,7 @@ if not MYPY:
|
|
|
155
155
|
"""
|
|
156
156
|
AllowedFlexVolume represents a single Flexvolume that is allowed to be used.
|
|
157
157
|
"""
|
|
158
|
-
driver: NotRequired[pulumi.Input[str]]
|
|
158
|
+
driver: NotRequired[pulumi.Input[_builtins.str]]
|
|
159
159
|
"""
|
|
160
160
|
driver is the name of the Flexvolume driver.
|
|
161
161
|
"""
|
|
@@ -165,24 +165,24 @@ elif False:
|
|
|
165
165
|
@pulumi.input_type
|
|
166
166
|
class AllowedFlexVolumePatchArgs:
|
|
167
167
|
def __init__(__self__, *,
|
|
168
|
-
driver: Optional[pulumi.Input[str]] = None):
|
|
168
|
+
driver: Optional[pulumi.Input[_builtins.str]] = None):
|
|
169
169
|
"""
|
|
170
170
|
AllowedFlexVolume represents a single Flexvolume that is allowed to be used.
|
|
171
|
-
:param pulumi.Input[str] driver: driver is the name of the Flexvolume driver.
|
|
171
|
+
:param pulumi.Input[_builtins.str] driver: driver is the name of the Flexvolume driver.
|
|
172
172
|
"""
|
|
173
173
|
if driver is not None:
|
|
174
174
|
pulumi.set(__self__, "driver", driver)
|
|
175
175
|
|
|
176
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
177
177
|
@pulumi.getter
|
|
178
|
-
def driver(self) -> Optional[pulumi.Input[str]]:
|
|
178
|
+
def driver(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
179
179
|
"""
|
|
180
180
|
driver is the name of the Flexvolume driver.
|
|
181
181
|
"""
|
|
182
182
|
return pulumi.get(self, "driver")
|
|
183
183
|
|
|
184
184
|
@driver.setter
|
|
185
|
-
def driver(self, value: Optional[pulumi.Input[str]]):
|
|
185
|
+
def driver(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
186
186
|
pulumi.set(self, "driver", value)
|
|
187
187
|
|
|
188
188
|
|
|
@@ -191,7 +191,7 @@ if not MYPY:
|
|
|
191
191
|
"""
|
|
192
192
|
AllowedFlexVolume represents a single Flexvolume that is allowed to be used.
|
|
193
193
|
"""
|
|
194
|
-
driver: pulumi.Input[str]
|
|
194
|
+
driver: pulumi.Input[_builtins.str]
|
|
195
195
|
"""
|
|
196
196
|
driver is the name of the Flexvolume driver.
|
|
197
197
|
"""
|
|
@@ -201,23 +201,23 @@ elif False:
|
|
|
201
201
|
@pulumi.input_type
|
|
202
202
|
class AllowedFlexVolumeArgs:
|
|
203
203
|
def __init__(__self__, *,
|
|
204
|
-
driver: pulumi.Input[str]):
|
|
204
|
+
driver: pulumi.Input[_builtins.str]):
|
|
205
205
|
"""
|
|
206
206
|
AllowedFlexVolume represents a single Flexvolume that is allowed to be used.
|
|
207
|
-
:param pulumi.Input[str] driver: driver is the name of the Flexvolume driver.
|
|
207
|
+
:param pulumi.Input[_builtins.str] driver: driver is the name of the Flexvolume driver.
|
|
208
208
|
"""
|
|
209
209
|
pulumi.set(__self__, "driver", driver)
|
|
210
210
|
|
|
211
|
-
@property
|
|
211
|
+
@_builtins.property
|
|
212
212
|
@pulumi.getter
|
|
213
|
-
def driver(self) -> pulumi.Input[str]:
|
|
213
|
+
def driver(self) -> pulumi.Input[_builtins.str]:
|
|
214
214
|
"""
|
|
215
215
|
driver is the name of the Flexvolume driver.
|
|
216
216
|
"""
|
|
217
217
|
return pulumi.get(self, "driver")
|
|
218
218
|
|
|
219
219
|
@driver.setter
|
|
220
|
-
def driver(self, value: pulumi.Input[str]):
|
|
220
|
+
def driver(self, value: pulumi.Input[_builtins.str]):
|
|
221
221
|
pulumi.set(self, "driver", value)
|
|
222
222
|
|
|
223
223
|
|
|
@@ -226,13 +226,13 @@ if not MYPY:
|
|
|
226
226
|
"""
|
|
227
227
|
AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.
|
|
228
228
|
"""
|
|
229
|
-
path_prefix: NotRequired[pulumi.Input[str]]
|
|
229
|
+
path_prefix: NotRequired[pulumi.Input[_builtins.str]]
|
|
230
230
|
"""
|
|
231
231
|
pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.
|
|
232
232
|
|
|
233
233
|
Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`
|
|
234
234
|
"""
|
|
235
|
-
read_only: NotRequired[pulumi.Input[bool]]
|
|
235
|
+
read_only: NotRequired[pulumi.Input[_builtins.bool]]
|
|
236
236
|
"""
|
|
237
237
|
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
|
238
238
|
"""
|
|
@@ -242,23 +242,23 @@ elif False:
|
|
|
242
242
|
@pulumi.input_type
|
|
243
243
|
class AllowedHostPathPatchArgs:
|
|
244
244
|
def __init__(__self__, *,
|
|
245
|
-
path_prefix: Optional[pulumi.Input[str]] = None,
|
|
246
|
-
read_only: Optional[pulumi.Input[bool]] = None):
|
|
245
|
+
path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
246
|
+
read_only: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
247
247
|
"""
|
|
248
248
|
AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.
|
|
249
|
-
:param pulumi.Input[str] path_prefix: pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.
|
|
249
|
+
:param pulumi.Input[_builtins.str] path_prefix: pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.
|
|
250
250
|
|
|
251
251
|
Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`
|
|
252
|
-
:param pulumi.Input[bool] read_only: when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
|
252
|
+
:param pulumi.Input[_builtins.bool] read_only: when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
|
253
253
|
"""
|
|
254
254
|
if path_prefix is not None:
|
|
255
255
|
pulumi.set(__self__, "path_prefix", path_prefix)
|
|
256
256
|
if read_only is not None:
|
|
257
257
|
pulumi.set(__self__, "read_only", read_only)
|
|
258
258
|
|
|
259
|
-
@property
|
|
259
|
+
@_builtins.property
|
|
260
260
|
@pulumi.getter(name="pathPrefix")
|
|
261
|
-
def path_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
261
|
+
def path_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
262
262
|
"""
|
|
263
263
|
pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.
|
|
264
264
|
|
|
@@ -267,19 +267,19 @@ class AllowedHostPathPatchArgs:
|
|
|
267
267
|
return pulumi.get(self, "path_prefix")
|
|
268
268
|
|
|
269
269
|
@path_prefix.setter
|
|
270
|
-
def path_prefix(self, value: Optional[pulumi.Input[str]]):
|
|
270
|
+
def path_prefix(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
271
271
|
pulumi.set(self, "path_prefix", value)
|
|
272
272
|
|
|
273
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
274
274
|
@pulumi.getter(name="readOnly")
|
|
275
|
-
def read_only(self) -> Optional[pulumi.Input[bool]]:
|
|
275
|
+
def read_only(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
276
276
|
"""
|
|
277
277
|
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
|
278
278
|
"""
|
|
279
279
|
return pulumi.get(self, "read_only")
|
|
280
280
|
|
|
281
281
|
@read_only.setter
|
|
282
|
-
def read_only(self, value: Optional[pulumi.Input[bool]]):
|
|
282
|
+
def read_only(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
283
283
|
pulumi.set(self, "read_only", value)
|
|
284
284
|
|
|
285
285
|
|
|
@@ -288,13 +288,13 @@ if not MYPY:
|
|
|
288
288
|
"""
|
|
289
289
|
AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.
|
|
290
290
|
"""
|
|
291
|
-
path_prefix: NotRequired[pulumi.Input[str]]
|
|
291
|
+
path_prefix: NotRequired[pulumi.Input[_builtins.str]]
|
|
292
292
|
"""
|
|
293
293
|
pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.
|
|
294
294
|
|
|
295
295
|
Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`
|
|
296
296
|
"""
|
|
297
|
-
read_only: NotRequired[pulumi.Input[bool]]
|
|
297
|
+
read_only: NotRequired[pulumi.Input[_builtins.bool]]
|
|
298
298
|
"""
|
|
299
299
|
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
|
300
300
|
"""
|
|
@@ -304,23 +304,23 @@ elif False:
|
|
|
304
304
|
@pulumi.input_type
|
|
305
305
|
class AllowedHostPathArgs:
|
|
306
306
|
def __init__(__self__, *,
|
|
307
|
-
path_prefix: Optional[pulumi.Input[str]] = None,
|
|
308
|
-
read_only: Optional[pulumi.Input[bool]] = None):
|
|
307
|
+
path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
|
+
read_only: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
309
309
|
"""
|
|
310
310
|
AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.
|
|
311
|
-
:param pulumi.Input[str] path_prefix: pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.
|
|
311
|
+
:param pulumi.Input[_builtins.str] path_prefix: pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.
|
|
312
312
|
|
|
313
313
|
Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`
|
|
314
|
-
:param pulumi.Input[bool] read_only: when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
|
314
|
+
:param pulumi.Input[_builtins.bool] read_only: when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
|
315
315
|
"""
|
|
316
316
|
if path_prefix is not None:
|
|
317
317
|
pulumi.set(__self__, "path_prefix", path_prefix)
|
|
318
318
|
if read_only is not None:
|
|
319
319
|
pulumi.set(__self__, "read_only", read_only)
|
|
320
320
|
|
|
321
|
-
@property
|
|
321
|
+
@_builtins.property
|
|
322
322
|
@pulumi.getter(name="pathPrefix")
|
|
323
|
-
def path_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
323
|
+
def path_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
324
324
|
"""
|
|
325
325
|
pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.
|
|
326
326
|
|
|
@@ -329,19 +329,19 @@ class AllowedHostPathArgs:
|
|
|
329
329
|
return pulumi.get(self, "path_prefix")
|
|
330
330
|
|
|
331
331
|
@path_prefix.setter
|
|
332
|
-
def path_prefix(self, value: Optional[pulumi.Input[str]]):
|
|
332
|
+
def path_prefix(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
333
333
|
pulumi.set(self, "path_prefix", value)
|
|
334
334
|
|
|
335
|
-
@property
|
|
335
|
+
@_builtins.property
|
|
336
336
|
@pulumi.getter(name="readOnly")
|
|
337
|
-
def read_only(self) -> Optional[pulumi.Input[bool]]:
|
|
337
|
+
def read_only(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
338
338
|
"""
|
|
339
339
|
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
|
340
340
|
"""
|
|
341
341
|
return pulumi.get(self, "read_only")
|
|
342
342
|
|
|
343
343
|
@read_only.setter
|
|
344
|
-
def read_only(self, value: Optional[pulumi.Input[bool]]):
|
|
344
|
+
def read_only(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
345
345
|
pulumi.set(self, "read_only", value)
|
|
346
346
|
|
|
347
347
|
|
|
@@ -354,7 +354,7 @@ if not MYPY:
|
|
|
354
354
|
"""
|
|
355
355
|
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
|
|
356
356
|
"""
|
|
357
|
-
rule: NotRequired[pulumi.Input[str]]
|
|
357
|
+
rule: NotRequired[pulumi.Input[_builtins.str]]
|
|
358
358
|
"""
|
|
359
359
|
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
|
360
360
|
"""
|
|
@@ -365,18 +365,18 @@ elif False:
|
|
|
365
365
|
class FSGroupStrategyOptionsPatchArgs:
|
|
366
366
|
def __init__(__self__, *,
|
|
367
367
|
ranges: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]] = None,
|
|
368
|
-
rule: Optional[pulumi.Input[str]] = None):
|
|
368
|
+
rule: Optional[pulumi.Input[_builtins.str]] = None):
|
|
369
369
|
"""
|
|
370
370
|
FSGroupStrategyOptions defines the strategy type and options used to create the strategy.
|
|
371
371
|
:param pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]] ranges: ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
|
|
372
|
-
:param pulumi.Input[str] rule: rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
|
372
|
+
:param pulumi.Input[_builtins.str] rule: rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
|
373
373
|
"""
|
|
374
374
|
if ranges is not None:
|
|
375
375
|
pulumi.set(__self__, "ranges", ranges)
|
|
376
376
|
if rule is not None:
|
|
377
377
|
pulumi.set(__self__, "rule", rule)
|
|
378
378
|
|
|
379
|
-
@property
|
|
379
|
+
@_builtins.property
|
|
380
380
|
@pulumi.getter
|
|
381
381
|
def ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]]:
|
|
382
382
|
"""
|
|
@@ -388,16 +388,16 @@ class FSGroupStrategyOptionsPatchArgs:
|
|
|
388
388
|
def ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]]):
|
|
389
389
|
pulumi.set(self, "ranges", value)
|
|
390
390
|
|
|
391
|
-
@property
|
|
391
|
+
@_builtins.property
|
|
392
392
|
@pulumi.getter
|
|
393
|
-
def rule(self) -> Optional[pulumi.Input[str]]:
|
|
393
|
+
def rule(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
394
394
|
"""
|
|
395
395
|
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
|
396
396
|
"""
|
|
397
397
|
return pulumi.get(self, "rule")
|
|
398
398
|
|
|
399
399
|
@rule.setter
|
|
400
|
-
def rule(self, value: Optional[pulumi.Input[str]]):
|
|
400
|
+
def rule(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
401
401
|
pulumi.set(self, "rule", value)
|
|
402
402
|
|
|
403
403
|
|
|
@@ -410,7 +410,7 @@ if not MYPY:
|
|
|
410
410
|
"""
|
|
411
411
|
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
|
|
412
412
|
"""
|
|
413
|
-
rule: NotRequired[pulumi.Input[str]]
|
|
413
|
+
rule: NotRequired[pulumi.Input[_builtins.str]]
|
|
414
414
|
"""
|
|
415
415
|
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
|
416
416
|
"""
|
|
@@ -421,18 +421,18 @@ elif False:
|
|
|
421
421
|
class FSGroupStrategyOptionsArgs:
|
|
422
422
|
def __init__(__self__, *,
|
|
423
423
|
ranges: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]]] = None,
|
|
424
|
-
rule: Optional[pulumi.Input[str]] = None):
|
|
424
|
+
rule: Optional[pulumi.Input[_builtins.str]] = None):
|
|
425
425
|
"""
|
|
426
426
|
FSGroupStrategyOptions defines the strategy type and options used to create the strategy.
|
|
427
427
|
:param pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]] ranges: ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
|
|
428
|
-
:param pulumi.Input[str] rule: rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
|
428
|
+
:param pulumi.Input[_builtins.str] rule: rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
|
429
429
|
"""
|
|
430
430
|
if ranges is not None:
|
|
431
431
|
pulumi.set(__self__, "ranges", ranges)
|
|
432
432
|
if rule is not None:
|
|
433
433
|
pulumi.set(__self__, "rule", rule)
|
|
434
434
|
|
|
435
|
-
@property
|
|
435
|
+
@_builtins.property
|
|
436
436
|
@pulumi.getter
|
|
437
437
|
def ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]]]:
|
|
438
438
|
"""
|
|
@@ -444,16 +444,16 @@ class FSGroupStrategyOptionsArgs:
|
|
|
444
444
|
def ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]]]):
|
|
445
445
|
pulumi.set(self, "ranges", value)
|
|
446
446
|
|
|
447
|
-
@property
|
|
447
|
+
@_builtins.property
|
|
448
448
|
@pulumi.getter
|
|
449
|
-
def rule(self) -> Optional[pulumi.Input[str]]:
|
|
449
|
+
def rule(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
450
450
|
"""
|
|
451
451
|
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
|
452
452
|
"""
|
|
453
453
|
return pulumi.get(self, "rule")
|
|
454
454
|
|
|
455
455
|
@rule.setter
|
|
456
|
-
def rule(self, value: Optional[pulumi.Input[str]]):
|
|
456
|
+
def rule(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
457
457
|
pulumi.set(self, "rule", value)
|
|
458
458
|
|
|
459
459
|
|
|
@@ -462,11 +462,11 @@ if not MYPY:
|
|
|
462
462
|
"""
|
|
463
463
|
HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.
|
|
464
464
|
"""
|
|
465
|
-
max: NotRequired[pulumi.Input[int]]
|
|
465
|
+
max: NotRequired[pulumi.Input[_builtins.int]]
|
|
466
466
|
"""
|
|
467
467
|
max is the end of the range, inclusive.
|
|
468
468
|
"""
|
|
469
|
-
min: NotRequired[pulumi.Input[int]]
|
|
469
|
+
min: NotRequired[pulumi.Input[_builtins.int]]
|
|
470
470
|
"""
|
|
471
471
|
min is the start of the range, inclusive.
|
|
472
472
|
"""
|
|
@@ -476,40 +476,40 @@ elif False:
|
|
|
476
476
|
@pulumi.input_type
|
|
477
477
|
class HostPortRangePatchArgs:
|
|
478
478
|
def __init__(__self__, *,
|
|
479
|
-
max: Optional[pulumi.Input[int]] = None,
|
|
480
|
-
min: Optional[pulumi.Input[int]] = None):
|
|
479
|
+
max: Optional[pulumi.Input[_builtins.int]] = None,
|
|
480
|
+
min: Optional[pulumi.Input[_builtins.int]] = None):
|
|
481
481
|
"""
|
|
482
482
|
HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.
|
|
483
|
-
:param pulumi.Input[int] max: max is the end of the range, inclusive.
|
|
484
|
-
:param pulumi.Input[int] min: min is the start of the range, inclusive.
|
|
483
|
+
:param pulumi.Input[_builtins.int] max: max is the end of the range, inclusive.
|
|
484
|
+
:param pulumi.Input[_builtins.int] min: min is the start of the range, inclusive.
|
|
485
485
|
"""
|
|
486
486
|
if max is not None:
|
|
487
487
|
pulumi.set(__self__, "max", max)
|
|
488
488
|
if min is not None:
|
|
489
489
|
pulumi.set(__self__, "min", min)
|
|
490
490
|
|
|
491
|
-
@property
|
|
491
|
+
@_builtins.property
|
|
492
492
|
@pulumi.getter
|
|
493
|
-
def max(self) -> Optional[pulumi.Input[int]]:
|
|
493
|
+
def max(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
494
494
|
"""
|
|
495
495
|
max is the end of the range, inclusive.
|
|
496
496
|
"""
|
|
497
497
|
return pulumi.get(self, "max")
|
|
498
498
|
|
|
499
499
|
@max.setter
|
|
500
|
-
def max(self, value: Optional[pulumi.Input[int]]):
|
|
500
|
+
def max(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
501
501
|
pulumi.set(self, "max", value)
|
|
502
502
|
|
|
503
|
-
@property
|
|
503
|
+
@_builtins.property
|
|
504
504
|
@pulumi.getter
|
|
505
|
-
def min(self) -> Optional[pulumi.Input[int]]:
|
|
505
|
+
def min(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
506
506
|
"""
|
|
507
507
|
min is the start of the range, inclusive.
|
|
508
508
|
"""
|
|
509
509
|
return pulumi.get(self, "min")
|
|
510
510
|
|
|
511
511
|
@min.setter
|
|
512
|
-
def min(self, value: Optional[pulumi.Input[int]]):
|
|
512
|
+
def min(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
513
513
|
pulumi.set(self, "min", value)
|
|
514
514
|
|
|
515
515
|
|
|
@@ -518,11 +518,11 @@ if not MYPY:
|
|
|
518
518
|
"""
|
|
519
519
|
HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.
|
|
520
520
|
"""
|
|
521
|
-
max: pulumi.Input[int]
|
|
521
|
+
max: pulumi.Input[_builtins.int]
|
|
522
522
|
"""
|
|
523
523
|
max is the end of the range, inclusive.
|
|
524
524
|
"""
|
|
525
|
-
min: pulumi.Input[int]
|
|
525
|
+
min: pulumi.Input[_builtins.int]
|
|
526
526
|
"""
|
|
527
527
|
min is the start of the range, inclusive.
|
|
528
528
|
"""
|
|
@@ -532,38 +532,38 @@ elif False:
|
|
|
532
532
|
@pulumi.input_type
|
|
533
533
|
class HostPortRangeArgs:
|
|
534
534
|
def __init__(__self__, *,
|
|
535
|
-
max: pulumi.Input[int],
|
|
536
|
-
min: pulumi.Input[int]):
|
|
535
|
+
max: pulumi.Input[_builtins.int],
|
|
536
|
+
min: pulumi.Input[_builtins.int]):
|
|
537
537
|
"""
|
|
538
538
|
HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.
|
|
539
|
-
:param pulumi.Input[int] max: max is the end of the range, inclusive.
|
|
540
|
-
:param pulumi.Input[int] min: min is the start of the range, inclusive.
|
|
539
|
+
:param pulumi.Input[_builtins.int] max: max is the end of the range, inclusive.
|
|
540
|
+
:param pulumi.Input[_builtins.int] min: min is the start of the range, inclusive.
|
|
541
541
|
"""
|
|
542
542
|
pulumi.set(__self__, "max", max)
|
|
543
543
|
pulumi.set(__self__, "min", min)
|
|
544
544
|
|
|
545
|
-
@property
|
|
545
|
+
@_builtins.property
|
|
546
546
|
@pulumi.getter
|
|
547
|
-
def max(self) -> pulumi.Input[int]:
|
|
547
|
+
def max(self) -> pulumi.Input[_builtins.int]:
|
|
548
548
|
"""
|
|
549
549
|
max is the end of the range, inclusive.
|
|
550
550
|
"""
|
|
551
551
|
return pulumi.get(self, "max")
|
|
552
552
|
|
|
553
553
|
@max.setter
|
|
554
|
-
def max(self, value: pulumi.Input[int]):
|
|
554
|
+
def max(self, value: pulumi.Input[_builtins.int]):
|
|
555
555
|
pulumi.set(self, "max", value)
|
|
556
556
|
|
|
557
|
-
@property
|
|
557
|
+
@_builtins.property
|
|
558
558
|
@pulumi.getter
|
|
559
|
-
def min(self) -> pulumi.Input[int]:
|
|
559
|
+
def min(self) -> pulumi.Input[_builtins.int]:
|
|
560
560
|
"""
|
|
561
561
|
min is the start of the range, inclusive.
|
|
562
562
|
"""
|
|
563
563
|
return pulumi.get(self, "min")
|
|
564
564
|
|
|
565
565
|
@min.setter
|
|
566
|
-
def min(self, value: pulumi.Input[int]):
|
|
566
|
+
def min(self, value: pulumi.Input[_builtins.int]):
|
|
567
567
|
pulumi.set(self, "min", value)
|
|
568
568
|
|
|
569
569
|
|
|
@@ -572,11 +572,11 @@ if not MYPY:
|
|
|
572
572
|
"""
|
|
573
573
|
IDRange provides a min/max of an allowed range of IDs.
|
|
574
574
|
"""
|
|
575
|
-
max: NotRequired[pulumi.Input[int]]
|
|
575
|
+
max: NotRequired[pulumi.Input[_builtins.int]]
|
|
576
576
|
"""
|
|
577
577
|
max is the end of the range, inclusive.
|
|
578
578
|
"""
|
|
579
|
-
min: NotRequired[pulumi.Input[int]]
|
|
579
|
+
min: NotRequired[pulumi.Input[_builtins.int]]
|
|
580
580
|
"""
|
|
581
581
|
min is the start of the range, inclusive.
|
|
582
582
|
"""
|
|
@@ -586,40 +586,40 @@ elif False:
|
|
|
586
586
|
@pulumi.input_type
|
|
587
587
|
class IDRangePatchArgs:
|
|
588
588
|
def __init__(__self__, *,
|
|
589
|
-
max: Optional[pulumi.Input[int]] = None,
|
|
590
|
-
min: Optional[pulumi.Input[int]] = None):
|
|
589
|
+
max: Optional[pulumi.Input[_builtins.int]] = None,
|
|
590
|
+
min: Optional[pulumi.Input[_builtins.int]] = None):
|
|
591
591
|
"""
|
|
592
592
|
IDRange provides a min/max of an allowed range of IDs.
|
|
593
|
-
:param pulumi.Input[int] max: max is the end of the range, inclusive.
|
|
594
|
-
:param pulumi.Input[int] min: min is the start of the range, inclusive.
|
|
593
|
+
:param pulumi.Input[_builtins.int] max: max is the end of the range, inclusive.
|
|
594
|
+
:param pulumi.Input[_builtins.int] min: min is the start of the range, inclusive.
|
|
595
595
|
"""
|
|
596
596
|
if max is not None:
|
|
597
597
|
pulumi.set(__self__, "max", max)
|
|
598
598
|
if min is not None:
|
|
599
599
|
pulumi.set(__self__, "min", min)
|
|
600
600
|
|
|
601
|
-
@property
|
|
601
|
+
@_builtins.property
|
|
602
602
|
@pulumi.getter
|
|
603
|
-
def max(self) -> Optional[pulumi.Input[int]]:
|
|
603
|
+
def max(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
604
604
|
"""
|
|
605
605
|
max is the end of the range, inclusive.
|
|
606
606
|
"""
|
|
607
607
|
return pulumi.get(self, "max")
|
|
608
608
|
|
|
609
609
|
@max.setter
|
|
610
|
-
def max(self, value: Optional[pulumi.Input[int]]):
|
|
610
|
+
def max(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
611
611
|
pulumi.set(self, "max", value)
|
|
612
612
|
|
|
613
|
-
@property
|
|
613
|
+
@_builtins.property
|
|
614
614
|
@pulumi.getter
|
|
615
|
-
def min(self) -> Optional[pulumi.Input[int]]:
|
|
615
|
+
def min(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
616
616
|
"""
|
|
617
617
|
min is the start of the range, inclusive.
|
|
618
618
|
"""
|
|
619
619
|
return pulumi.get(self, "min")
|
|
620
620
|
|
|
621
621
|
@min.setter
|
|
622
|
-
def min(self, value: Optional[pulumi.Input[int]]):
|
|
622
|
+
def min(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
623
623
|
pulumi.set(self, "min", value)
|
|
624
624
|
|
|
625
625
|
|
|
@@ -628,11 +628,11 @@ if not MYPY:
|
|
|
628
628
|
"""
|
|
629
629
|
IDRange provides a min/max of an allowed range of IDs.
|
|
630
630
|
"""
|
|
631
|
-
max: pulumi.Input[int]
|
|
631
|
+
max: pulumi.Input[_builtins.int]
|
|
632
632
|
"""
|
|
633
633
|
max is the end of the range, inclusive.
|
|
634
634
|
"""
|
|
635
|
-
min: pulumi.Input[int]
|
|
635
|
+
min: pulumi.Input[_builtins.int]
|
|
636
636
|
"""
|
|
637
637
|
min is the start of the range, inclusive.
|
|
638
638
|
"""
|
|
@@ -642,38 +642,38 @@ elif False:
|
|
|
642
642
|
@pulumi.input_type
|
|
643
643
|
class IDRangeArgs:
|
|
644
644
|
def __init__(__self__, *,
|
|
645
|
-
max: pulumi.Input[int],
|
|
646
|
-
min: pulumi.Input[int]):
|
|
645
|
+
max: pulumi.Input[_builtins.int],
|
|
646
|
+
min: pulumi.Input[_builtins.int]):
|
|
647
647
|
"""
|
|
648
648
|
IDRange provides a min/max of an allowed range of IDs.
|
|
649
|
-
:param pulumi.Input[int] max: max is the end of the range, inclusive.
|
|
650
|
-
:param pulumi.Input[int] min: min is the start of the range, inclusive.
|
|
649
|
+
:param pulumi.Input[_builtins.int] max: max is the end of the range, inclusive.
|
|
650
|
+
:param pulumi.Input[_builtins.int] min: min is the start of the range, inclusive.
|
|
651
651
|
"""
|
|
652
652
|
pulumi.set(__self__, "max", max)
|
|
653
653
|
pulumi.set(__self__, "min", min)
|
|
654
654
|
|
|
655
|
-
@property
|
|
655
|
+
@_builtins.property
|
|
656
656
|
@pulumi.getter
|
|
657
|
-
def max(self) -> pulumi.Input[int]:
|
|
657
|
+
def max(self) -> pulumi.Input[_builtins.int]:
|
|
658
658
|
"""
|
|
659
659
|
max is the end of the range, inclusive.
|
|
660
660
|
"""
|
|
661
661
|
return pulumi.get(self, "max")
|
|
662
662
|
|
|
663
663
|
@max.setter
|
|
664
|
-
def max(self, value: pulumi.Input[int]):
|
|
664
|
+
def max(self, value: pulumi.Input[_builtins.int]):
|
|
665
665
|
pulumi.set(self, "max", value)
|
|
666
666
|
|
|
667
|
-
@property
|
|
667
|
+
@_builtins.property
|
|
668
668
|
@pulumi.getter
|
|
669
|
-
def min(self) -> pulumi.Input[int]:
|
|
669
|
+
def min(self) -> pulumi.Input[_builtins.int]:
|
|
670
670
|
"""
|
|
671
671
|
min is the start of the range, inclusive.
|
|
672
672
|
"""
|
|
673
673
|
return pulumi.get(self, "min")
|
|
674
674
|
|
|
675
675
|
@min.setter
|
|
676
|
-
def min(self, value: pulumi.Input[int]):
|
|
676
|
+
def min(self, value: pulumi.Input[_builtins.int]):
|
|
677
677
|
pulumi.set(self, "min", value)
|
|
678
678
|
|
|
679
679
|
|
|
@@ -682,11 +682,11 @@ if not MYPY:
|
|
|
682
682
|
"""
|
|
683
683
|
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
|
|
684
684
|
"""
|
|
685
|
-
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
685
|
+
max_unavailable: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
686
686
|
"""
|
|
687
687
|
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
|
|
688
688
|
"""
|
|
689
|
-
min_available: NotRequired[pulumi.Input[Union[int, str]]]
|
|
689
|
+
min_available: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
690
690
|
"""
|
|
691
691
|
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
|
|
692
692
|
"""
|
|
@@ -700,13 +700,13 @@ elif False:
|
|
|
700
700
|
@pulumi.input_type
|
|
701
701
|
class PodDisruptionBudgetSpecPatchArgs:
|
|
702
702
|
def __init__(__self__, *,
|
|
703
|
-
max_unavailable: Optional[pulumi.Input[Union[int, str]]] = None,
|
|
704
|
-
min_available: Optional[pulumi.Input[Union[int, str]]] = None,
|
|
703
|
+
max_unavailable: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None,
|
|
704
|
+
min_available: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None,
|
|
705
705
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
|
|
706
706
|
"""
|
|
707
707
|
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
|
|
708
|
-
:param pulumi.Input[Union[int, str]] max_unavailable: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
|
|
709
|
-
:param pulumi.Input[Union[int, str]] min_available: An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
|
|
708
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_unavailable: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
|
|
709
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] min_available: An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
|
|
710
710
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] selector: Label query over pods whose evictions are managed by the disruption budget.
|
|
711
711
|
"""
|
|
712
712
|
if max_unavailable is not None:
|
|
@@ -716,31 +716,31 @@ class PodDisruptionBudgetSpecPatchArgs:
|
|
|
716
716
|
if selector is not None:
|
|
717
717
|
pulumi.set(__self__, "selector", selector)
|
|
718
718
|
|
|
719
|
-
@property
|
|
719
|
+
@_builtins.property
|
|
720
720
|
@pulumi.getter(name="maxUnavailable")
|
|
721
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
721
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
722
722
|
"""
|
|
723
723
|
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
|
|
724
724
|
"""
|
|
725
725
|
return pulumi.get(self, "max_unavailable")
|
|
726
726
|
|
|
727
727
|
@max_unavailable.setter
|
|
728
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
728
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
729
729
|
pulumi.set(self, "max_unavailable", value)
|
|
730
730
|
|
|
731
|
-
@property
|
|
731
|
+
@_builtins.property
|
|
732
732
|
@pulumi.getter(name="minAvailable")
|
|
733
|
-
def min_available(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
733
|
+
def min_available(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
734
734
|
"""
|
|
735
735
|
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
|
|
736
736
|
"""
|
|
737
737
|
return pulumi.get(self, "min_available")
|
|
738
738
|
|
|
739
739
|
@min_available.setter
|
|
740
|
-
def min_available(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
740
|
+
def min_available(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
741
741
|
pulumi.set(self, "min_available", value)
|
|
742
742
|
|
|
743
|
-
@property
|
|
743
|
+
@_builtins.property
|
|
744
744
|
@pulumi.getter
|
|
745
745
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
746
746
|
"""
|
|
@@ -758,11 +758,11 @@ if not MYPY:
|
|
|
758
758
|
"""
|
|
759
759
|
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
|
|
760
760
|
"""
|
|
761
|
-
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
761
|
+
max_unavailable: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
762
762
|
"""
|
|
763
763
|
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
|
|
764
764
|
"""
|
|
765
|
-
min_available: NotRequired[pulumi.Input[Union[int, str]]]
|
|
765
|
+
min_available: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
766
766
|
"""
|
|
767
767
|
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
|
|
768
768
|
"""
|
|
@@ -776,13 +776,13 @@ elif False:
|
|
|
776
776
|
@pulumi.input_type
|
|
777
777
|
class PodDisruptionBudgetSpecArgs:
|
|
778
778
|
def __init__(__self__, *,
|
|
779
|
-
max_unavailable: Optional[pulumi.Input[Union[int, str]]] = None,
|
|
780
|
-
min_available: Optional[pulumi.Input[Union[int, str]]] = None,
|
|
779
|
+
max_unavailable: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None,
|
|
780
|
+
min_available: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None,
|
|
781
781
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
782
782
|
"""
|
|
783
783
|
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
|
|
784
|
-
:param pulumi.Input[Union[int, str]] max_unavailable: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
|
|
785
|
-
:param pulumi.Input[Union[int, str]] min_available: An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
|
|
784
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_unavailable: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
|
|
785
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] min_available: An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
|
|
786
786
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: Label query over pods whose evictions are managed by the disruption budget.
|
|
787
787
|
"""
|
|
788
788
|
if max_unavailable is not None:
|
|
@@ -792,31 +792,31 @@ class PodDisruptionBudgetSpecArgs:
|
|
|
792
792
|
if selector is not None:
|
|
793
793
|
pulumi.set(__self__, "selector", selector)
|
|
794
794
|
|
|
795
|
-
@property
|
|
795
|
+
@_builtins.property
|
|
796
796
|
@pulumi.getter(name="maxUnavailable")
|
|
797
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
797
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
798
798
|
"""
|
|
799
799
|
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
|
|
800
800
|
"""
|
|
801
801
|
return pulumi.get(self, "max_unavailable")
|
|
802
802
|
|
|
803
803
|
@max_unavailable.setter
|
|
804
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
804
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
805
805
|
pulumi.set(self, "max_unavailable", value)
|
|
806
806
|
|
|
807
|
-
@property
|
|
807
|
+
@_builtins.property
|
|
808
808
|
@pulumi.getter(name="minAvailable")
|
|
809
|
-
def min_available(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
809
|
+
def min_available(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
810
810
|
"""
|
|
811
811
|
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
|
|
812
812
|
"""
|
|
813
813
|
return pulumi.get(self, "min_available")
|
|
814
814
|
|
|
815
815
|
@min_available.setter
|
|
816
|
-
def min_available(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
816
|
+
def min_available(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
817
817
|
pulumi.set(self, "min_available", value)
|
|
818
818
|
|
|
819
|
-
@property
|
|
819
|
+
@_builtins.property
|
|
820
820
|
@pulumi.getter
|
|
821
821
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
822
822
|
"""
|
|
@@ -834,27 +834,27 @@ if not MYPY:
|
|
|
834
834
|
"""
|
|
835
835
|
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
|
|
836
836
|
"""
|
|
837
|
-
current_healthy: pulumi.Input[int]
|
|
837
|
+
current_healthy: pulumi.Input[_builtins.int]
|
|
838
838
|
"""
|
|
839
839
|
current number of healthy pods
|
|
840
840
|
"""
|
|
841
|
-
desired_healthy: pulumi.Input[int]
|
|
841
|
+
desired_healthy: pulumi.Input[_builtins.int]
|
|
842
842
|
"""
|
|
843
843
|
minimum desired number of healthy pods
|
|
844
844
|
"""
|
|
845
|
-
disruptions_allowed: pulumi.Input[int]
|
|
845
|
+
disruptions_allowed: pulumi.Input[_builtins.int]
|
|
846
846
|
"""
|
|
847
847
|
Number of pod disruptions that are currently allowed.
|
|
848
848
|
"""
|
|
849
|
-
expected_pods: pulumi.Input[int]
|
|
849
|
+
expected_pods: pulumi.Input[_builtins.int]
|
|
850
850
|
"""
|
|
851
851
|
total number of pods counted by this disruption budget
|
|
852
852
|
"""
|
|
853
|
-
disrupted_pods: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
853
|
+
disrupted_pods: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
854
854
|
"""
|
|
855
855
|
DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.
|
|
856
856
|
"""
|
|
857
|
-
observed_generation: NotRequired[pulumi.Input[int]]
|
|
857
|
+
observed_generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
858
858
|
"""
|
|
859
859
|
Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.
|
|
860
860
|
"""
|
|
@@ -864,20 +864,20 @@ elif False:
|
|
|
864
864
|
@pulumi.input_type
|
|
865
865
|
class PodDisruptionBudgetStatusArgs:
|
|
866
866
|
def __init__(__self__, *,
|
|
867
|
-
current_healthy: pulumi.Input[int],
|
|
868
|
-
desired_healthy: pulumi.Input[int],
|
|
869
|
-
disruptions_allowed: pulumi.Input[int],
|
|
870
|
-
expected_pods: pulumi.Input[int],
|
|
871
|
-
disrupted_pods: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
872
|
-
observed_generation: Optional[pulumi.Input[int]] = None):
|
|
867
|
+
current_healthy: pulumi.Input[_builtins.int],
|
|
868
|
+
desired_healthy: pulumi.Input[_builtins.int],
|
|
869
|
+
disruptions_allowed: pulumi.Input[_builtins.int],
|
|
870
|
+
expected_pods: pulumi.Input[_builtins.int],
|
|
871
|
+
disrupted_pods: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
872
|
+
observed_generation: Optional[pulumi.Input[_builtins.int]] = None):
|
|
873
873
|
"""
|
|
874
874
|
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
|
|
875
|
-
:param pulumi.Input[int] current_healthy: current number of healthy pods
|
|
876
|
-
:param pulumi.Input[int] desired_healthy: minimum desired number of healthy pods
|
|
877
|
-
:param pulumi.Input[int] disruptions_allowed: Number of pod disruptions that are currently allowed.
|
|
878
|
-
:param pulumi.Input[int] expected_pods: total number of pods counted by this disruption budget
|
|
879
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] disrupted_pods: DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.
|
|
880
|
-
:param pulumi.Input[int] observed_generation: Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.
|
|
875
|
+
:param pulumi.Input[_builtins.int] current_healthy: current number of healthy pods
|
|
876
|
+
:param pulumi.Input[_builtins.int] desired_healthy: minimum desired number of healthy pods
|
|
877
|
+
:param pulumi.Input[_builtins.int] disruptions_allowed: Number of pod disruptions that are currently allowed.
|
|
878
|
+
:param pulumi.Input[_builtins.int] expected_pods: total number of pods counted by this disruption budget
|
|
879
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] disrupted_pods: DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.
|
|
880
|
+
:param pulumi.Input[_builtins.int] observed_generation: Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.
|
|
881
881
|
"""
|
|
882
882
|
pulumi.set(__self__, "current_healthy", current_healthy)
|
|
883
883
|
pulumi.set(__self__, "desired_healthy", desired_healthy)
|
|
@@ -888,76 +888,76 @@ class PodDisruptionBudgetStatusArgs:
|
|
|
888
888
|
if observed_generation is not None:
|
|
889
889
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
890
890
|
|
|
891
|
-
@property
|
|
891
|
+
@_builtins.property
|
|
892
892
|
@pulumi.getter(name="currentHealthy")
|
|
893
|
-
def current_healthy(self) -> pulumi.Input[int]:
|
|
893
|
+
def current_healthy(self) -> pulumi.Input[_builtins.int]:
|
|
894
894
|
"""
|
|
895
895
|
current number of healthy pods
|
|
896
896
|
"""
|
|
897
897
|
return pulumi.get(self, "current_healthy")
|
|
898
898
|
|
|
899
899
|
@current_healthy.setter
|
|
900
|
-
def current_healthy(self, value: pulumi.Input[int]):
|
|
900
|
+
def current_healthy(self, value: pulumi.Input[_builtins.int]):
|
|
901
901
|
pulumi.set(self, "current_healthy", value)
|
|
902
902
|
|
|
903
|
-
@property
|
|
903
|
+
@_builtins.property
|
|
904
904
|
@pulumi.getter(name="desiredHealthy")
|
|
905
|
-
def desired_healthy(self) -> pulumi.Input[int]:
|
|
905
|
+
def desired_healthy(self) -> pulumi.Input[_builtins.int]:
|
|
906
906
|
"""
|
|
907
907
|
minimum desired number of healthy pods
|
|
908
908
|
"""
|
|
909
909
|
return pulumi.get(self, "desired_healthy")
|
|
910
910
|
|
|
911
911
|
@desired_healthy.setter
|
|
912
|
-
def desired_healthy(self, value: pulumi.Input[int]):
|
|
912
|
+
def desired_healthy(self, value: pulumi.Input[_builtins.int]):
|
|
913
913
|
pulumi.set(self, "desired_healthy", value)
|
|
914
914
|
|
|
915
|
-
@property
|
|
915
|
+
@_builtins.property
|
|
916
916
|
@pulumi.getter(name="disruptionsAllowed")
|
|
917
|
-
def disruptions_allowed(self) -> pulumi.Input[int]:
|
|
917
|
+
def disruptions_allowed(self) -> pulumi.Input[_builtins.int]:
|
|
918
918
|
"""
|
|
919
919
|
Number of pod disruptions that are currently allowed.
|
|
920
920
|
"""
|
|
921
921
|
return pulumi.get(self, "disruptions_allowed")
|
|
922
922
|
|
|
923
923
|
@disruptions_allowed.setter
|
|
924
|
-
def disruptions_allowed(self, value: pulumi.Input[int]):
|
|
924
|
+
def disruptions_allowed(self, value: pulumi.Input[_builtins.int]):
|
|
925
925
|
pulumi.set(self, "disruptions_allowed", value)
|
|
926
926
|
|
|
927
|
-
@property
|
|
927
|
+
@_builtins.property
|
|
928
928
|
@pulumi.getter(name="expectedPods")
|
|
929
|
-
def expected_pods(self) -> pulumi.Input[int]:
|
|
929
|
+
def expected_pods(self) -> pulumi.Input[_builtins.int]:
|
|
930
930
|
"""
|
|
931
931
|
total number of pods counted by this disruption budget
|
|
932
932
|
"""
|
|
933
933
|
return pulumi.get(self, "expected_pods")
|
|
934
934
|
|
|
935
935
|
@expected_pods.setter
|
|
936
|
-
def expected_pods(self, value: pulumi.Input[int]):
|
|
936
|
+
def expected_pods(self, value: pulumi.Input[_builtins.int]):
|
|
937
937
|
pulumi.set(self, "expected_pods", value)
|
|
938
938
|
|
|
939
|
-
@property
|
|
939
|
+
@_builtins.property
|
|
940
940
|
@pulumi.getter(name="disruptedPods")
|
|
941
|
-
def disrupted_pods(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
941
|
+
def disrupted_pods(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
942
942
|
"""
|
|
943
943
|
DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.
|
|
944
944
|
"""
|
|
945
945
|
return pulumi.get(self, "disrupted_pods")
|
|
946
946
|
|
|
947
947
|
@disrupted_pods.setter
|
|
948
|
-
def disrupted_pods(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
948
|
+
def disrupted_pods(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
949
949
|
pulumi.set(self, "disrupted_pods", value)
|
|
950
950
|
|
|
951
|
-
@property
|
|
951
|
+
@_builtins.property
|
|
952
952
|
@pulumi.getter(name="observedGeneration")
|
|
953
|
-
def observed_generation(self) -> Optional[pulumi.Input[int]]:
|
|
953
|
+
def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
954
954
|
"""
|
|
955
955
|
Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.
|
|
956
956
|
"""
|
|
957
957
|
return pulumi.get(self, "observed_generation")
|
|
958
958
|
|
|
959
959
|
@observed_generation.setter
|
|
960
|
-
def observed_generation(self, value: Optional[pulumi.Input[int]]):
|
|
960
|
+
def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
961
961
|
pulumi.set(self, "observed_generation", value)
|
|
962
962
|
|
|
963
963
|
|
|
@@ -966,11 +966,11 @@ if not MYPY:
|
|
|
966
966
|
"""
|
|
967
967
|
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
|
|
968
968
|
"""
|
|
969
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
969
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
970
970
|
"""
|
|
971
971
|
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
|
|
972
972
|
"""
|
|
973
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
973
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
974
974
|
"""
|
|
975
975
|
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
|
|
976
976
|
"""
|
|
@@ -989,15 +989,15 @@ elif False:
|
|
|
989
989
|
@pulumi.input_type
|
|
990
990
|
class PodDisruptionBudgetArgs:
|
|
991
991
|
def __init__(__self__, *,
|
|
992
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
993
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
992
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
993
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
994
994
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
995
995
|
spec: Optional[pulumi.Input['PodDisruptionBudgetSpecArgs']] = None,
|
|
996
996
|
status: Optional[pulumi.Input['PodDisruptionBudgetStatusArgs']] = None):
|
|
997
997
|
"""
|
|
998
998
|
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
|
|
999
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1000
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
999
|
+
: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
|
|
1000
|
+
: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
|
|
1001
1001
|
:param pulumi.Input['PodDisruptionBudgetSpecArgs'] spec: Specification of the desired behavior of the PodDisruptionBudget.
|
|
1002
1002
|
:param pulumi.Input['PodDisruptionBudgetStatusArgs'] status: Most recently observed status of the PodDisruptionBudget.
|
|
1003
1003
|
"""
|
|
@@ -1012,31 +1012,31 @@ class PodDisruptionBudgetArgs:
|
|
|
1012
1012
|
if status is not None:
|
|
1013
1013
|
pulumi.set(__self__, "status", status)
|
|
1014
1014
|
|
|
1015
|
-
@property
|
|
1015
|
+
@_builtins.property
|
|
1016
1016
|
@pulumi.getter(name="apiVersion")
|
|
1017
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1017
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1018
1018
|
"""
|
|
1019
1019
|
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
|
|
1020
1020
|
"""
|
|
1021
1021
|
return pulumi.get(self, "api_version")
|
|
1022
1022
|
|
|
1023
1023
|
@api_version.setter
|
|
1024
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1024
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1025
1025
|
pulumi.set(self, "api_version", value)
|
|
1026
1026
|
|
|
1027
|
-
@property
|
|
1027
|
+
@_builtins.property
|
|
1028
1028
|
@pulumi.getter
|
|
1029
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1029
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1030
1030
|
"""
|
|
1031
1031
|
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
|
|
1032
1032
|
"""
|
|
1033
1033
|
return pulumi.get(self, "kind")
|
|
1034
1034
|
|
|
1035
1035
|
@kind.setter
|
|
1036
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1036
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1037
1037
|
pulumi.set(self, "kind", value)
|
|
1038
1038
|
|
|
1039
|
-
@property
|
|
1039
|
+
@_builtins.property
|
|
1040
1040
|
@pulumi.getter
|
|
1041
1041
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1042
1042
|
return pulumi.get(self, "metadata")
|
|
@@ -1045,7 +1045,7 @@ class PodDisruptionBudgetArgs:
|
|
|
1045
1045
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1046
1046
|
pulumi.set(self, "metadata", value)
|
|
1047
1047
|
|
|
1048
|
-
@property
|
|
1048
|
+
@_builtins.property
|
|
1049
1049
|
@pulumi.getter
|
|
1050
1050
|
def spec(self) -> Optional[pulumi.Input['PodDisruptionBudgetSpecArgs']]:
|
|
1051
1051
|
"""
|
|
@@ -1057,7 +1057,7 @@ class PodDisruptionBudgetArgs:
|
|
|
1057
1057
|
def spec(self, value: Optional[pulumi.Input['PodDisruptionBudgetSpecArgs']]):
|
|
1058
1058
|
pulumi.set(self, "spec", value)
|
|
1059
1059
|
|
|
1060
|
-
@property
|
|
1060
|
+
@_builtins.property
|
|
1061
1061
|
@pulumi.getter
|
|
1062
1062
|
def status(self) -> Optional[pulumi.Input['PodDisruptionBudgetStatusArgs']]:
|
|
1063
1063
|
"""
|
|
@@ -1075,7 +1075,7 @@ if not MYPY:
|
|
|
1075
1075
|
"""
|
|
1076
1076
|
PodSecurityPolicySpec defines the policy enforced.
|
|
1077
1077
|
"""
|
|
1078
|
-
allow_privilege_escalation: NotRequired[pulumi.Input[bool]]
|
|
1078
|
+
allow_privilege_escalation: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1079
1079
|
"""
|
|
1080
1080
|
allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
|
|
1081
1081
|
"""
|
|
@@ -1083,7 +1083,7 @@ if not MYPY:
|
|
|
1083
1083
|
"""
|
|
1084
1084
|
AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.
|
|
1085
1085
|
"""
|
|
1086
|
-
allowed_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1086
|
+
allowed_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1087
1087
|
"""
|
|
1088
1088
|
allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
|
|
1089
1089
|
"""
|
|
@@ -1095,25 +1095,25 @@ if not MYPY:
|
|
|
1095
1095
|
"""
|
|
1096
1096
|
allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.
|
|
1097
1097
|
"""
|
|
1098
|
-
allowed_proc_mount_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1098
|
+
allowed_proc_mount_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1099
1099
|
"""
|
|
1100
1100
|
AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.
|
|
1101
1101
|
"""
|
|
1102
|
-
allowed_unsafe_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1102
|
+
allowed_unsafe_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1103
1103
|
"""
|
|
1104
1104
|
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
|
|
1105
1105
|
|
|
1106
1106
|
Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc.
|
|
1107
1107
|
"""
|
|
1108
|
-
default_add_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1108
|
+
default_add_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1109
1109
|
"""
|
|
1110
1110
|
defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.
|
|
1111
1111
|
"""
|
|
1112
|
-
default_allow_privilege_escalation: NotRequired[pulumi.Input[bool]]
|
|
1112
|
+
default_allow_privilege_escalation: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1113
1113
|
"""
|
|
1114
1114
|
defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
|
|
1115
1115
|
"""
|
|
1116
|
-
forbidden_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1116
|
+
forbidden_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1117
1117
|
"""
|
|
1118
1118
|
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
|
|
1119
1119
|
|
|
@@ -1123,15 +1123,15 @@ if not MYPY:
|
|
|
1123
1123
|
"""
|
|
1124
1124
|
fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
|
|
1125
1125
|
"""
|
|
1126
|
-
host_ipc: NotRequired[pulumi.Input[bool]]
|
|
1126
|
+
host_ipc: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1127
1127
|
"""
|
|
1128
1128
|
hostIPC determines if the policy allows the use of HostIPC in the pod spec.
|
|
1129
1129
|
"""
|
|
1130
|
-
host_network: NotRequired[pulumi.Input[bool]]
|
|
1130
|
+
host_network: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1131
1131
|
"""
|
|
1132
1132
|
hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
|
|
1133
1133
|
"""
|
|
1134
|
-
host_pid: NotRequired[pulumi.Input[bool]]
|
|
1134
|
+
host_pid: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1135
1135
|
"""
|
|
1136
1136
|
hostPID determines if the policy allows the use of HostPID in the pod spec.
|
|
1137
1137
|
"""
|
|
@@ -1139,15 +1139,15 @@ if not MYPY:
|
|
|
1139
1139
|
"""
|
|
1140
1140
|
hostPorts determines which host port ranges are allowed to be exposed.
|
|
1141
1141
|
"""
|
|
1142
|
-
privileged: NotRequired[pulumi.Input[bool]]
|
|
1142
|
+
privileged: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1143
1143
|
"""
|
|
1144
1144
|
privileged determines if a pod can request to be run as privileged.
|
|
1145
1145
|
"""
|
|
1146
|
-
read_only_root_filesystem: NotRequired[pulumi.Input[bool]]
|
|
1146
|
+
read_only_root_filesystem: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1147
1147
|
"""
|
|
1148
1148
|
readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.
|
|
1149
1149
|
"""
|
|
1150
|
-
required_drop_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1150
|
+
required_drop_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1151
1151
|
"""
|
|
1152
1152
|
requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
|
|
1153
1153
|
"""
|
|
@@ -1171,7 +1171,7 @@ if not MYPY:
|
|
|
1171
1171
|
"""
|
|
1172
1172
|
supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
|
|
1173
1173
|
"""
|
|
1174
|
-
volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1174
|
+
volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1175
1175
|
"""
|
|
1176
1176
|
volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.
|
|
1177
1177
|
"""
|
|
@@ -1181,60 +1181,60 @@ elif False:
|
|
|
1181
1181
|
@pulumi.input_type
|
|
1182
1182
|
class PodSecurityPolicySpecPatchArgs:
|
|
1183
1183
|
def __init__(__self__, *,
|
|
1184
|
-
allow_privilege_escalation: Optional[pulumi.Input[bool]] = None,
|
|
1184
|
+
allow_privilege_escalation: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1185
1185
|
allowed_csi_drivers: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedCSIDriverPatchArgs']]]] = None,
|
|
1186
|
-
allowed_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1186
|
+
allowed_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1187
1187
|
allowed_flex_volumes: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedFlexVolumePatchArgs']]]] = None,
|
|
1188
1188
|
allowed_host_paths: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedHostPathPatchArgs']]]] = None,
|
|
1189
|
-
allowed_proc_mount_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1190
|
-
allowed_unsafe_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1191
|
-
default_add_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1192
|
-
default_allow_privilege_escalation: Optional[pulumi.Input[bool]] = None,
|
|
1193
|
-
forbidden_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1189
|
+
allowed_proc_mount_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1190
|
+
allowed_unsafe_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1191
|
+
default_add_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1192
|
+
default_allow_privilege_escalation: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1193
|
+
forbidden_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1194
1194
|
fs_group: Optional[pulumi.Input['FSGroupStrategyOptionsPatchArgs']] = None,
|
|
1195
|
-
host_ipc: Optional[pulumi.Input[bool]] = None,
|
|
1196
|
-
host_network: Optional[pulumi.Input[bool]] = None,
|
|
1197
|
-
host_pid: Optional[pulumi.Input[bool]] = None,
|
|
1195
|
+
host_ipc: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1196
|
+
host_network: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1197
|
+
host_pid: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1198
1198
|
host_ports: Optional[pulumi.Input[Sequence[pulumi.Input['HostPortRangePatchArgs']]]] = None,
|
|
1199
|
-
privileged: Optional[pulumi.Input[bool]] = None,
|
|
1200
|
-
read_only_root_filesystem: Optional[pulumi.Input[bool]] = None,
|
|
1201
|
-
required_drop_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1199
|
+
privileged: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1200
|
+
read_only_root_filesystem: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1201
|
+
required_drop_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1202
1202
|
run_as_group: Optional[pulumi.Input['RunAsGroupStrategyOptionsPatchArgs']] = None,
|
|
1203
1203
|
run_as_user: Optional[pulumi.Input['RunAsUserStrategyOptionsPatchArgs']] = None,
|
|
1204
1204
|
runtime_class: Optional[pulumi.Input['RuntimeClassStrategyOptionsPatchArgs']] = None,
|
|
1205
1205
|
se_linux: Optional[pulumi.Input['SELinuxStrategyOptionsPatchArgs']] = None,
|
|
1206
1206
|
supplemental_groups: Optional[pulumi.Input['SupplementalGroupsStrategyOptionsPatchArgs']] = None,
|
|
1207
|
-
volumes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
1207
|
+
volumes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
1208
1208
|
"""
|
|
1209
1209
|
PodSecurityPolicySpec defines the policy enforced.
|
|
1210
|
-
:param pulumi.Input[bool] allow_privilege_escalation: allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
|
|
1210
|
+
:param pulumi.Input[_builtins.bool] allow_privilege_escalation: allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
|
|
1211
1211
|
:param pulumi.Input[Sequence[pulumi.Input['AllowedCSIDriverPatchArgs']]] allowed_csi_drivers: AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.
|
|
1212
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_capabilities: allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
|
|
1212
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_capabilities: allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
|
|
1213
1213
|
:param pulumi.Input[Sequence[pulumi.Input['AllowedFlexVolumePatchArgs']]] allowed_flex_volumes: allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field.
|
|
1214
1214
|
:param pulumi.Input[Sequence[pulumi.Input['AllowedHostPathPatchArgs']]] allowed_host_paths: allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.
|
|
1215
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_proc_mount_types: AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.
|
|
1216
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_unsafe_sysctls: allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
|
|
1215
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_proc_mount_types: AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.
|
|
1216
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_unsafe_sysctls: allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
|
|
1217
1217
|
|
|
1218
1218
|
Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc.
|
|
1219
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] default_add_capabilities: defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.
|
|
1220
|
-
:param pulumi.Input[bool] default_allow_privilege_escalation: defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
|
|
1221
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] forbidden_sysctls: forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
|
|
1219
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] default_add_capabilities: defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.
|
|
1220
|
+
:param pulumi.Input[_builtins.bool] default_allow_privilege_escalation: defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
|
|
1221
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] forbidden_sysctls: forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
|
|
1222
1222
|
|
|
1223
1223
|
Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.
|
|
1224
1224
|
:param pulumi.Input['FSGroupStrategyOptionsPatchArgs'] fs_group: fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
|
|
1225
|
-
:param pulumi.Input[bool] host_ipc: hostIPC determines if the policy allows the use of HostIPC in the pod spec.
|
|
1226
|
-
:param pulumi.Input[bool] host_network: hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
|
|
1227
|
-
:param pulumi.Input[bool] host_pid: hostPID determines if the policy allows the use of HostPID in the pod spec.
|
|
1225
|
+
:param pulumi.Input[_builtins.bool] host_ipc: hostIPC determines if the policy allows the use of HostIPC in the pod spec.
|
|
1226
|
+
:param pulumi.Input[_builtins.bool] host_network: hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
|
|
1227
|
+
:param pulumi.Input[_builtins.bool] host_pid: hostPID determines if the policy allows the use of HostPID in the pod spec.
|
|
1228
1228
|
:param pulumi.Input[Sequence[pulumi.Input['HostPortRangePatchArgs']]] host_ports: hostPorts determines which host port ranges are allowed to be exposed.
|
|
1229
|
-
:param pulumi.Input[bool] privileged: privileged determines if a pod can request to be run as privileged.
|
|
1230
|
-
:param pulumi.Input[bool] read_only_root_filesystem: readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.
|
|
1231
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] required_drop_capabilities: requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
|
|
1229
|
+
:param pulumi.Input[_builtins.bool] privileged: privileged determines if a pod can request to be run as privileged.
|
|
1230
|
+
:param pulumi.Input[_builtins.bool] read_only_root_filesystem: readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.
|
|
1231
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] required_drop_capabilities: requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
|
|
1232
1232
|
:param pulumi.Input['RunAsGroupStrategyOptionsPatchArgs'] run_as_group: RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled.
|
|
1233
1233
|
:param pulumi.Input['RunAsUserStrategyOptionsPatchArgs'] run_as_user: runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
1234
1234
|
:param pulumi.Input['RuntimeClassStrategyOptionsPatchArgs'] runtime_class: runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled.
|
|
1235
1235
|
:param pulumi.Input['SELinuxStrategyOptionsPatchArgs'] se_linux: seLinux is the strategy that will dictate the allowable labels that may be set.
|
|
1236
1236
|
:param pulumi.Input['SupplementalGroupsStrategyOptionsPatchArgs'] supplemental_groups: supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
|
|
1237
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] volumes: volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.
|
|
1237
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] volumes: volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.
|
|
1238
1238
|
"""
|
|
1239
1239
|
if allow_privilege_escalation is not None:
|
|
1240
1240
|
pulumi.set(__self__, "allow_privilege_escalation", allow_privilege_escalation)
|
|
@@ -1285,19 +1285,19 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1285
1285
|
if volumes is not None:
|
|
1286
1286
|
pulumi.set(__self__, "volumes", volumes)
|
|
1287
1287
|
|
|
1288
|
-
@property
|
|
1288
|
+
@_builtins.property
|
|
1289
1289
|
@pulumi.getter(name="allowPrivilegeEscalation")
|
|
1290
|
-
def allow_privilege_escalation(self) -> Optional[pulumi.Input[bool]]:
|
|
1290
|
+
def allow_privilege_escalation(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1291
1291
|
"""
|
|
1292
1292
|
allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
|
|
1293
1293
|
"""
|
|
1294
1294
|
return pulumi.get(self, "allow_privilege_escalation")
|
|
1295
1295
|
|
|
1296
1296
|
@allow_privilege_escalation.setter
|
|
1297
|
-
def allow_privilege_escalation(self, value: Optional[pulumi.Input[bool]]):
|
|
1297
|
+
def allow_privilege_escalation(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1298
1298
|
pulumi.set(self, "allow_privilege_escalation", value)
|
|
1299
1299
|
|
|
1300
|
-
@property
|
|
1300
|
+
@_builtins.property
|
|
1301
1301
|
@pulumi.getter(name="allowedCSIDrivers")
|
|
1302
1302
|
def allowed_csi_drivers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AllowedCSIDriverPatchArgs']]]]:
|
|
1303
1303
|
"""
|
|
@@ -1309,19 +1309,19 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1309
1309
|
def allowed_csi_drivers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedCSIDriverPatchArgs']]]]):
|
|
1310
1310
|
pulumi.set(self, "allowed_csi_drivers", value)
|
|
1311
1311
|
|
|
1312
|
-
@property
|
|
1312
|
+
@_builtins.property
|
|
1313
1313
|
@pulumi.getter(name="allowedCapabilities")
|
|
1314
|
-
def allowed_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1314
|
+
def allowed_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1315
1315
|
"""
|
|
1316
1316
|
allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
|
|
1317
1317
|
"""
|
|
1318
1318
|
return pulumi.get(self, "allowed_capabilities")
|
|
1319
1319
|
|
|
1320
1320
|
@allowed_capabilities.setter
|
|
1321
|
-
def allowed_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1321
|
+
def allowed_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1322
1322
|
pulumi.set(self, "allowed_capabilities", value)
|
|
1323
1323
|
|
|
1324
|
-
@property
|
|
1324
|
+
@_builtins.property
|
|
1325
1325
|
@pulumi.getter(name="allowedFlexVolumes")
|
|
1326
1326
|
def allowed_flex_volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AllowedFlexVolumePatchArgs']]]]:
|
|
1327
1327
|
"""
|
|
@@ -1333,7 +1333,7 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1333
1333
|
def allowed_flex_volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedFlexVolumePatchArgs']]]]):
|
|
1334
1334
|
pulumi.set(self, "allowed_flex_volumes", value)
|
|
1335
1335
|
|
|
1336
|
-
@property
|
|
1336
|
+
@_builtins.property
|
|
1337
1337
|
@pulumi.getter(name="allowedHostPaths")
|
|
1338
1338
|
def allowed_host_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AllowedHostPathPatchArgs']]]]:
|
|
1339
1339
|
"""
|
|
@@ -1345,21 +1345,21 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1345
1345
|
def allowed_host_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedHostPathPatchArgs']]]]):
|
|
1346
1346
|
pulumi.set(self, "allowed_host_paths", value)
|
|
1347
1347
|
|
|
1348
|
-
@property
|
|
1348
|
+
@_builtins.property
|
|
1349
1349
|
@pulumi.getter(name="allowedProcMountTypes")
|
|
1350
|
-
def allowed_proc_mount_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1350
|
+
def allowed_proc_mount_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1351
1351
|
"""
|
|
1352
1352
|
AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.
|
|
1353
1353
|
"""
|
|
1354
1354
|
return pulumi.get(self, "allowed_proc_mount_types")
|
|
1355
1355
|
|
|
1356
1356
|
@allowed_proc_mount_types.setter
|
|
1357
|
-
def allowed_proc_mount_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1357
|
+
def allowed_proc_mount_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1358
1358
|
pulumi.set(self, "allowed_proc_mount_types", value)
|
|
1359
1359
|
|
|
1360
|
-
@property
|
|
1360
|
+
@_builtins.property
|
|
1361
1361
|
@pulumi.getter(name="allowedUnsafeSysctls")
|
|
1362
|
-
def allowed_unsafe_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1362
|
+
def allowed_unsafe_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1363
1363
|
"""
|
|
1364
1364
|
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
|
|
1365
1365
|
|
|
@@ -1368,36 +1368,36 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1368
1368
|
return pulumi.get(self, "allowed_unsafe_sysctls")
|
|
1369
1369
|
|
|
1370
1370
|
@allowed_unsafe_sysctls.setter
|
|
1371
|
-
def allowed_unsafe_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1371
|
+
def allowed_unsafe_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1372
1372
|
pulumi.set(self, "allowed_unsafe_sysctls", value)
|
|
1373
1373
|
|
|
1374
|
-
@property
|
|
1374
|
+
@_builtins.property
|
|
1375
1375
|
@pulumi.getter(name="defaultAddCapabilities")
|
|
1376
|
-
def default_add_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1376
|
+
def default_add_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1377
1377
|
"""
|
|
1378
1378
|
defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.
|
|
1379
1379
|
"""
|
|
1380
1380
|
return pulumi.get(self, "default_add_capabilities")
|
|
1381
1381
|
|
|
1382
1382
|
@default_add_capabilities.setter
|
|
1383
|
-
def default_add_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1383
|
+
def default_add_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1384
1384
|
pulumi.set(self, "default_add_capabilities", value)
|
|
1385
1385
|
|
|
1386
|
-
@property
|
|
1386
|
+
@_builtins.property
|
|
1387
1387
|
@pulumi.getter(name="defaultAllowPrivilegeEscalation")
|
|
1388
|
-
def default_allow_privilege_escalation(self) -> Optional[pulumi.Input[bool]]:
|
|
1388
|
+
def default_allow_privilege_escalation(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1389
1389
|
"""
|
|
1390
1390
|
defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
|
|
1391
1391
|
"""
|
|
1392
1392
|
return pulumi.get(self, "default_allow_privilege_escalation")
|
|
1393
1393
|
|
|
1394
1394
|
@default_allow_privilege_escalation.setter
|
|
1395
|
-
def default_allow_privilege_escalation(self, value: Optional[pulumi.Input[bool]]):
|
|
1395
|
+
def default_allow_privilege_escalation(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1396
1396
|
pulumi.set(self, "default_allow_privilege_escalation", value)
|
|
1397
1397
|
|
|
1398
|
-
@property
|
|
1398
|
+
@_builtins.property
|
|
1399
1399
|
@pulumi.getter(name="forbiddenSysctls")
|
|
1400
|
-
def forbidden_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1400
|
+
def forbidden_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1401
1401
|
"""
|
|
1402
1402
|
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
|
|
1403
1403
|
|
|
@@ -1406,10 +1406,10 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1406
1406
|
return pulumi.get(self, "forbidden_sysctls")
|
|
1407
1407
|
|
|
1408
1408
|
@forbidden_sysctls.setter
|
|
1409
|
-
def forbidden_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1409
|
+
def forbidden_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1410
1410
|
pulumi.set(self, "forbidden_sysctls", value)
|
|
1411
1411
|
|
|
1412
|
-
@property
|
|
1412
|
+
@_builtins.property
|
|
1413
1413
|
@pulumi.getter(name="fsGroup")
|
|
1414
1414
|
def fs_group(self) -> Optional[pulumi.Input['FSGroupStrategyOptionsPatchArgs']]:
|
|
1415
1415
|
"""
|
|
@@ -1421,43 +1421,43 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1421
1421
|
def fs_group(self, value: Optional[pulumi.Input['FSGroupStrategyOptionsPatchArgs']]):
|
|
1422
1422
|
pulumi.set(self, "fs_group", value)
|
|
1423
1423
|
|
|
1424
|
-
@property
|
|
1424
|
+
@_builtins.property
|
|
1425
1425
|
@pulumi.getter(name="hostIPC")
|
|
1426
|
-
def host_ipc(self) -> Optional[pulumi.Input[bool]]:
|
|
1426
|
+
def host_ipc(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1427
1427
|
"""
|
|
1428
1428
|
hostIPC determines if the policy allows the use of HostIPC in the pod spec.
|
|
1429
1429
|
"""
|
|
1430
1430
|
return pulumi.get(self, "host_ipc")
|
|
1431
1431
|
|
|
1432
1432
|
@host_ipc.setter
|
|
1433
|
-
def host_ipc(self, value: Optional[pulumi.Input[bool]]):
|
|
1433
|
+
def host_ipc(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1434
1434
|
pulumi.set(self, "host_ipc", value)
|
|
1435
1435
|
|
|
1436
|
-
@property
|
|
1436
|
+
@_builtins.property
|
|
1437
1437
|
@pulumi.getter(name="hostNetwork")
|
|
1438
|
-
def host_network(self) -> Optional[pulumi.Input[bool]]:
|
|
1438
|
+
def host_network(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1439
1439
|
"""
|
|
1440
1440
|
hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
|
|
1441
1441
|
"""
|
|
1442
1442
|
return pulumi.get(self, "host_network")
|
|
1443
1443
|
|
|
1444
1444
|
@host_network.setter
|
|
1445
|
-
def host_network(self, value: Optional[pulumi.Input[bool]]):
|
|
1445
|
+
def host_network(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1446
1446
|
pulumi.set(self, "host_network", value)
|
|
1447
1447
|
|
|
1448
|
-
@property
|
|
1448
|
+
@_builtins.property
|
|
1449
1449
|
@pulumi.getter(name="hostPID")
|
|
1450
|
-
def host_pid(self) -> Optional[pulumi.Input[bool]]:
|
|
1450
|
+
def host_pid(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1451
1451
|
"""
|
|
1452
1452
|
hostPID determines if the policy allows the use of HostPID in the pod spec.
|
|
1453
1453
|
"""
|
|
1454
1454
|
return pulumi.get(self, "host_pid")
|
|
1455
1455
|
|
|
1456
1456
|
@host_pid.setter
|
|
1457
|
-
def host_pid(self, value: Optional[pulumi.Input[bool]]):
|
|
1457
|
+
def host_pid(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1458
1458
|
pulumi.set(self, "host_pid", value)
|
|
1459
1459
|
|
|
1460
|
-
@property
|
|
1460
|
+
@_builtins.property
|
|
1461
1461
|
@pulumi.getter(name="hostPorts")
|
|
1462
1462
|
def host_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HostPortRangePatchArgs']]]]:
|
|
1463
1463
|
"""
|
|
@@ -1469,43 +1469,43 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1469
1469
|
def host_ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HostPortRangePatchArgs']]]]):
|
|
1470
1470
|
pulumi.set(self, "host_ports", value)
|
|
1471
1471
|
|
|
1472
|
-
@property
|
|
1472
|
+
@_builtins.property
|
|
1473
1473
|
@pulumi.getter
|
|
1474
|
-
def privileged(self) -> Optional[pulumi.Input[bool]]:
|
|
1474
|
+
def privileged(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1475
1475
|
"""
|
|
1476
1476
|
privileged determines if a pod can request to be run as privileged.
|
|
1477
1477
|
"""
|
|
1478
1478
|
return pulumi.get(self, "privileged")
|
|
1479
1479
|
|
|
1480
1480
|
@privileged.setter
|
|
1481
|
-
def privileged(self, value: Optional[pulumi.Input[bool]]):
|
|
1481
|
+
def privileged(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1482
1482
|
pulumi.set(self, "privileged", value)
|
|
1483
1483
|
|
|
1484
|
-
@property
|
|
1484
|
+
@_builtins.property
|
|
1485
1485
|
@pulumi.getter(name="readOnlyRootFilesystem")
|
|
1486
|
-
def read_only_root_filesystem(self) -> Optional[pulumi.Input[bool]]:
|
|
1486
|
+
def read_only_root_filesystem(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1487
1487
|
"""
|
|
1488
1488
|
readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.
|
|
1489
1489
|
"""
|
|
1490
1490
|
return pulumi.get(self, "read_only_root_filesystem")
|
|
1491
1491
|
|
|
1492
1492
|
@read_only_root_filesystem.setter
|
|
1493
|
-
def read_only_root_filesystem(self, value: Optional[pulumi.Input[bool]]):
|
|
1493
|
+
def read_only_root_filesystem(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1494
1494
|
pulumi.set(self, "read_only_root_filesystem", value)
|
|
1495
1495
|
|
|
1496
|
-
@property
|
|
1496
|
+
@_builtins.property
|
|
1497
1497
|
@pulumi.getter(name="requiredDropCapabilities")
|
|
1498
|
-
def required_drop_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1498
|
+
def required_drop_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1499
1499
|
"""
|
|
1500
1500
|
requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
|
|
1501
1501
|
"""
|
|
1502
1502
|
return pulumi.get(self, "required_drop_capabilities")
|
|
1503
1503
|
|
|
1504
1504
|
@required_drop_capabilities.setter
|
|
1505
|
-
def required_drop_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1505
|
+
def required_drop_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1506
1506
|
pulumi.set(self, "required_drop_capabilities", value)
|
|
1507
1507
|
|
|
1508
|
-
@property
|
|
1508
|
+
@_builtins.property
|
|
1509
1509
|
@pulumi.getter(name="runAsGroup")
|
|
1510
1510
|
def run_as_group(self) -> Optional[pulumi.Input['RunAsGroupStrategyOptionsPatchArgs']]:
|
|
1511
1511
|
"""
|
|
@@ -1517,7 +1517,7 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1517
1517
|
def run_as_group(self, value: Optional[pulumi.Input['RunAsGroupStrategyOptionsPatchArgs']]):
|
|
1518
1518
|
pulumi.set(self, "run_as_group", value)
|
|
1519
1519
|
|
|
1520
|
-
@property
|
|
1520
|
+
@_builtins.property
|
|
1521
1521
|
@pulumi.getter(name="runAsUser")
|
|
1522
1522
|
def run_as_user(self) -> Optional[pulumi.Input['RunAsUserStrategyOptionsPatchArgs']]:
|
|
1523
1523
|
"""
|
|
@@ -1529,7 +1529,7 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1529
1529
|
def run_as_user(self, value: Optional[pulumi.Input['RunAsUserStrategyOptionsPatchArgs']]):
|
|
1530
1530
|
pulumi.set(self, "run_as_user", value)
|
|
1531
1531
|
|
|
1532
|
-
@property
|
|
1532
|
+
@_builtins.property
|
|
1533
1533
|
@pulumi.getter(name="runtimeClass")
|
|
1534
1534
|
def runtime_class(self) -> Optional[pulumi.Input['RuntimeClassStrategyOptionsPatchArgs']]:
|
|
1535
1535
|
"""
|
|
@@ -1541,7 +1541,7 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1541
1541
|
def runtime_class(self, value: Optional[pulumi.Input['RuntimeClassStrategyOptionsPatchArgs']]):
|
|
1542
1542
|
pulumi.set(self, "runtime_class", value)
|
|
1543
1543
|
|
|
1544
|
-
@property
|
|
1544
|
+
@_builtins.property
|
|
1545
1545
|
@pulumi.getter(name="seLinux")
|
|
1546
1546
|
def se_linux(self) -> Optional[pulumi.Input['SELinuxStrategyOptionsPatchArgs']]:
|
|
1547
1547
|
"""
|
|
@@ -1553,7 +1553,7 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1553
1553
|
def se_linux(self, value: Optional[pulumi.Input['SELinuxStrategyOptionsPatchArgs']]):
|
|
1554
1554
|
pulumi.set(self, "se_linux", value)
|
|
1555
1555
|
|
|
1556
|
-
@property
|
|
1556
|
+
@_builtins.property
|
|
1557
1557
|
@pulumi.getter(name="supplementalGroups")
|
|
1558
1558
|
def supplemental_groups(self) -> Optional[pulumi.Input['SupplementalGroupsStrategyOptionsPatchArgs']]:
|
|
1559
1559
|
"""
|
|
@@ -1565,16 +1565,16 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
1565
1565
|
def supplemental_groups(self, value: Optional[pulumi.Input['SupplementalGroupsStrategyOptionsPatchArgs']]):
|
|
1566
1566
|
pulumi.set(self, "supplemental_groups", value)
|
|
1567
1567
|
|
|
1568
|
-
@property
|
|
1568
|
+
@_builtins.property
|
|
1569
1569
|
@pulumi.getter
|
|
1570
|
-
def volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1570
|
+
def volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1571
1571
|
"""
|
|
1572
1572
|
volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.
|
|
1573
1573
|
"""
|
|
1574
1574
|
return pulumi.get(self, "volumes")
|
|
1575
1575
|
|
|
1576
1576
|
@volumes.setter
|
|
1577
|
-
def volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1577
|
+
def volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1578
1578
|
pulumi.set(self, "volumes", value)
|
|
1579
1579
|
|
|
1580
1580
|
|
|
@@ -1599,7 +1599,7 @@ if not MYPY:
|
|
|
1599
1599
|
"""
|
|
1600
1600
|
supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
|
|
1601
1601
|
"""
|
|
1602
|
-
allow_privilege_escalation: NotRequired[pulumi.Input[bool]]
|
|
1602
|
+
allow_privilege_escalation: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1603
1603
|
"""
|
|
1604
1604
|
allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
|
|
1605
1605
|
"""
|
|
@@ -1607,7 +1607,7 @@ if not MYPY:
|
|
|
1607
1607
|
"""
|
|
1608
1608
|
AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.
|
|
1609
1609
|
"""
|
|
1610
|
-
allowed_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1610
|
+
allowed_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1611
1611
|
"""
|
|
1612
1612
|
allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
|
|
1613
1613
|
"""
|
|
@@ -1619,39 +1619,39 @@ if not MYPY:
|
|
|
1619
1619
|
"""
|
|
1620
1620
|
allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.
|
|
1621
1621
|
"""
|
|
1622
|
-
allowed_proc_mount_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1622
|
+
allowed_proc_mount_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1623
1623
|
"""
|
|
1624
1624
|
AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.
|
|
1625
1625
|
"""
|
|
1626
|
-
allowed_unsafe_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1626
|
+
allowed_unsafe_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1627
1627
|
"""
|
|
1628
1628
|
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
|
|
1629
1629
|
|
|
1630
1630
|
Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc.
|
|
1631
1631
|
"""
|
|
1632
|
-
default_add_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1632
|
+
default_add_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1633
1633
|
"""
|
|
1634
1634
|
defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.
|
|
1635
1635
|
"""
|
|
1636
|
-
default_allow_privilege_escalation: NotRequired[pulumi.Input[bool]]
|
|
1636
|
+
default_allow_privilege_escalation: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1637
1637
|
"""
|
|
1638
1638
|
defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
|
|
1639
1639
|
"""
|
|
1640
|
-
forbidden_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1640
|
+
forbidden_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1641
1641
|
"""
|
|
1642
1642
|
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
|
|
1643
1643
|
|
|
1644
1644
|
Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.
|
|
1645
1645
|
"""
|
|
1646
|
-
host_ipc: NotRequired[pulumi.Input[bool]]
|
|
1646
|
+
host_ipc: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1647
1647
|
"""
|
|
1648
1648
|
hostIPC determines if the policy allows the use of HostIPC in the pod spec.
|
|
1649
1649
|
"""
|
|
1650
|
-
host_network: NotRequired[pulumi.Input[bool]]
|
|
1650
|
+
host_network: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1651
1651
|
"""
|
|
1652
1652
|
hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
|
|
1653
1653
|
"""
|
|
1654
|
-
host_pid: NotRequired[pulumi.Input[bool]]
|
|
1654
|
+
host_pid: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1655
1655
|
"""
|
|
1656
1656
|
hostPID determines if the policy allows the use of HostPID in the pod spec.
|
|
1657
1657
|
"""
|
|
@@ -1659,15 +1659,15 @@ if not MYPY:
|
|
|
1659
1659
|
"""
|
|
1660
1660
|
hostPorts determines which host port ranges are allowed to be exposed.
|
|
1661
1661
|
"""
|
|
1662
|
-
privileged: NotRequired[pulumi.Input[bool]]
|
|
1662
|
+
privileged: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1663
1663
|
"""
|
|
1664
1664
|
privileged determines if a pod can request to be run as privileged.
|
|
1665
1665
|
"""
|
|
1666
|
-
read_only_root_filesystem: NotRequired[pulumi.Input[bool]]
|
|
1666
|
+
read_only_root_filesystem: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1667
1667
|
"""
|
|
1668
1668
|
readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.
|
|
1669
1669
|
"""
|
|
1670
|
-
required_drop_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1670
|
+
required_drop_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1671
1671
|
"""
|
|
1672
1672
|
requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
|
|
1673
1673
|
"""
|
|
@@ -1679,7 +1679,7 @@ if not MYPY:
|
|
|
1679
1679
|
"""
|
|
1680
1680
|
runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled.
|
|
1681
1681
|
"""
|
|
1682
|
-
volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1682
|
+
volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1683
1683
|
"""
|
|
1684
1684
|
volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.
|
|
1685
1685
|
"""
|
|
@@ -1693,56 +1693,56 @@ class PodSecurityPolicySpecArgs:
|
|
|
1693
1693
|
run_as_user: pulumi.Input['RunAsUserStrategyOptionsArgs'],
|
|
1694
1694
|
se_linux: pulumi.Input['SELinuxStrategyOptionsArgs'],
|
|
1695
1695
|
supplemental_groups: pulumi.Input['SupplementalGroupsStrategyOptionsArgs'],
|
|
1696
|
-
allow_privilege_escalation: Optional[pulumi.Input[bool]] = None,
|
|
1696
|
+
allow_privilege_escalation: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1697
1697
|
allowed_csi_drivers: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedCSIDriverArgs']]]] = None,
|
|
1698
|
-
allowed_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1698
|
+
allowed_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1699
1699
|
allowed_flex_volumes: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedFlexVolumeArgs']]]] = None,
|
|
1700
1700
|
allowed_host_paths: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedHostPathArgs']]]] = None,
|
|
1701
|
-
allowed_proc_mount_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1702
|
-
allowed_unsafe_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1703
|
-
default_add_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1704
|
-
default_allow_privilege_escalation: Optional[pulumi.Input[bool]] = None,
|
|
1705
|
-
forbidden_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1706
|
-
host_ipc: Optional[pulumi.Input[bool]] = None,
|
|
1707
|
-
host_network: Optional[pulumi.Input[bool]] = None,
|
|
1708
|
-
host_pid: Optional[pulumi.Input[bool]] = None,
|
|
1701
|
+
allowed_proc_mount_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1702
|
+
allowed_unsafe_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1703
|
+
default_add_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1704
|
+
default_allow_privilege_escalation: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1705
|
+
forbidden_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1706
|
+
host_ipc: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1707
|
+
host_network: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1708
|
+
host_pid: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1709
1709
|
host_ports: Optional[pulumi.Input[Sequence[pulumi.Input['HostPortRangeArgs']]]] = None,
|
|
1710
|
-
privileged: Optional[pulumi.Input[bool]] = None,
|
|
1711
|
-
read_only_root_filesystem: Optional[pulumi.Input[bool]] = None,
|
|
1712
|
-
required_drop_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1710
|
+
privileged: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1711
|
+
read_only_root_filesystem: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1712
|
+
required_drop_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1713
1713
|
run_as_group: Optional[pulumi.Input['RunAsGroupStrategyOptionsArgs']] = None,
|
|
1714
1714
|
runtime_class: Optional[pulumi.Input['RuntimeClassStrategyOptionsArgs']] = None,
|
|
1715
|
-
volumes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
1715
|
+
volumes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
1716
1716
|
"""
|
|
1717
1717
|
PodSecurityPolicySpec defines the policy enforced.
|
|
1718
1718
|
:param pulumi.Input['FSGroupStrategyOptionsArgs'] fs_group: fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
|
|
1719
1719
|
:param pulumi.Input['RunAsUserStrategyOptionsArgs'] run_as_user: runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
1720
1720
|
:param pulumi.Input['SELinuxStrategyOptionsArgs'] se_linux: seLinux is the strategy that will dictate the allowable labels that may be set.
|
|
1721
1721
|
:param pulumi.Input['SupplementalGroupsStrategyOptionsArgs'] supplemental_groups: supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
|
|
1722
|
-
:param pulumi.Input[bool] allow_privilege_escalation: allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
|
|
1722
|
+
:param pulumi.Input[_builtins.bool] allow_privilege_escalation: allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
|
|
1723
1723
|
:param pulumi.Input[Sequence[pulumi.Input['AllowedCSIDriverArgs']]] allowed_csi_drivers: AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.
|
|
1724
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_capabilities: allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
|
|
1724
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_capabilities: allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
|
|
1725
1725
|
:param pulumi.Input[Sequence[pulumi.Input['AllowedFlexVolumeArgs']]] allowed_flex_volumes: allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field.
|
|
1726
1726
|
:param pulumi.Input[Sequence[pulumi.Input['AllowedHostPathArgs']]] allowed_host_paths: allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.
|
|
1727
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_proc_mount_types: AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.
|
|
1728
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_unsafe_sysctls: allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
|
|
1727
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_proc_mount_types: AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.
|
|
1728
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_unsafe_sysctls: allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
|
|
1729
1729
|
|
|
1730
1730
|
Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc.
|
|
1731
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] default_add_capabilities: defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.
|
|
1732
|
-
:param pulumi.Input[bool] default_allow_privilege_escalation: defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
|
|
1733
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] forbidden_sysctls: forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
|
|
1731
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] default_add_capabilities: defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.
|
|
1732
|
+
:param pulumi.Input[_builtins.bool] default_allow_privilege_escalation: defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
|
|
1733
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] forbidden_sysctls: forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
|
|
1734
1734
|
|
|
1735
1735
|
Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.
|
|
1736
|
-
:param pulumi.Input[bool] host_ipc: hostIPC determines if the policy allows the use of HostIPC in the pod spec.
|
|
1737
|
-
:param pulumi.Input[bool] host_network: hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
|
|
1738
|
-
:param pulumi.Input[bool] host_pid: hostPID determines if the policy allows the use of HostPID in the pod spec.
|
|
1736
|
+
:param pulumi.Input[_builtins.bool] host_ipc: hostIPC determines if the policy allows the use of HostIPC in the pod spec.
|
|
1737
|
+
:param pulumi.Input[_builtins.bool] host_network: hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
|
|
1738
|
+
:param pulumi.Input[_builtins.bool] host_pid: hostPID determines if the policy allows the use of HostPID in the pod spec.
|
|
1739
1739
|
:param pulumi.Input[Sequence[pulumi.Input['HostPortRangeArgs']]] host_ports: hostPorts determines which host port ranges are allowed to be exposed.
|
|
1740
|
-
:param pulumi.Input[bool] privileged: privileged determines if a pod can request to be run as privileged.
|
|
1741
|
-
:param pulumi.Input[bool] read_only_root_filesystem: readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.
|
|
1742
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] required_drop_capabilities: requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
|
|
1740
|
+
:param pulumi.Input[_builtins.bool] privileged: privileged determines if a pod can request to be run as privileged.
|
|
1741
|
+
:param pulumi.Input[_builtins.bool] read_only_root_filesystem: readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.
|
|
1742
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] required_drop_capabilities: requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
|
|
1743
1743
|
:param pulumi.Input['RunAsGroupStrategyOptionsArgs'] run_as_group: RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled.
|
|
1744
1744
|
:param pulumi.Input['RuntimeClassStrategyOptionsArgs'] runtime_class: runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled.
|
|
1745
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] volumes: volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.
|
|
1745
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] volumes: volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.
|
|
1746
1746
|
"""
|
|
1747
1747
|
pulumi.set(__self__, "fs_group", fs_group)
|
|
1748
1748
|
pulumi.set(__self__, "run_as_user", run_as_user)
|
|
@@ -1789,7 +1789,7 @@ class PodSecurityPolicySpecArgs:
|
|
|
1789
1789
|
if volumes is not None:
|
|
1790
1790
|
pulumi.set(__self__, "volumes", volumes)
|
|
1791
1791
|
|
|
1792
|
-
@property
|
|
1792
|
+
@_builtins.property
|
|
1793
1793
|
@pulumi.getter(name="fsGroup")
|
|
1794
1794
|
def fs_group(self) -> pulumi.Input['FSGroupStrategyOptionsArgs']:
|
|
1795
1795
|
"""
|
|
@@ -1801,7 +1801,7 @@ class PodSecurityPolicySpecArgs:
|
|
|
1801
1801
|
def fs_group(self, value: pulumi.Input['FSGroupStrategyOptionsArgs']):
|
|
1802
1802
|
pulumi.set(self, "fs_group", value)
|
|
1803
1803
|
|
|
1804
|
-
@property
|
|
1804
|
+
@_builtins.property
|
|
1805
1805
|
@pulumi.getter(name="runAsUser")
|
|
1806
1806
|
def run_as_user(self) -> pulumi.Input['RunAsUserStrategyOptionsArgs']:
|
|
1807
1807
|
"""
|
|
@@ -1813,7 +1813,7 @@ class PodSecurityPolicySpecArgs:
|
|
|
1813
1813
|
def run_as_user(self, value: pulumi.Input['RunAsUserStrategyOptionsArgs']):
|
|
1814
1814
|
pulumi.set(self, "run_as_user", value)
|
|
1815
1815
|
|
|
1816
|
-
@property
|
|
1816
|
+
@_builtins.property
|
|
1817
1817
|
@pulumi.getter(name="seLinux")
|
|
1818
1818
|
def se_linux(self) -> pulumi.Input['SELinuxStrategyOptionsArgs']:
|
|
1819
1819
|
"""
|
|
@@ -1825,7 +1825,7 @@ class PodSecurityPolicySpecArgs:
|
|
|
1825
1825
|
def se_linux(self, value: pulumi.Input['SELinuxStrategyOptionsArgs']):
|
|
1826
1826
|
pulumi.set(self, "se_linux", value)
|
|
1827
1827
|
|
|
1828
|
-
@property
|
|
1828
|
+
@_builtins.property
|
|
1829
1829
|
@pulumi.getter(name="supplementalGroups")
|
|
1830
1830
|
def supplemental_groups(self) -> pulumi.Input['SupplementalGroupsStrategyOptionsArgs']:
|
|
1831
1831
|
"""
|
|
@@ -1837,19 +1837,19 @@ class PodSecurityPolicySpecArgs:
|
|
|
1837
1837
|
def supplemental_groups(self, value: pulumi.Input['SupplementalGroupsStrategyOptionsArgs']):
|
|
1838
1838
|
pulumi.set(self, "supplemental_groups", value)
|
|
1839
1839
|
|
|
1840
|
-
@property
|
|
1840
|
+
@_builtins.property
|
|
1841
1841
|
@pulumi.getter(name="allowPrivilegeEscalation")
|
|
1842
|
-
def allow_privilege_escalation(self) -> Optional[pulumi.Input[bool]]:
|
|
1842
|
+
def allow_privilege_escalation(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1843
1843
|
"""
|
|
1844
1844
|
allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
|
|
1845
1845
|
"""
|
|
1846
1846
|
return pulumi.get(self, "allow_privilege_escalation")
|
|
1847
1847
|
|
|
1848
1848
|
@allow_privilege_escalation.setter
|
|
1849
|
-
def allow_privilege_escalation(self, value: Optional[pulumi.Input[bool]]):
|
|
1849
|
+
def allow_privilege_escalation(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1850
1850
|
pulumi.set(self, "allow_privilege_escalation", value)
|
|
1851
1851
|
|
|
1852
|
-
@property
|
|
1852
|
+
@_builtins.property
|
|
1853
1853
|
@pulumi.getter(name="allowedCSIDrivers")
|
|
1854
1854
|
def allowed_csi_drivers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AllowedCSIDriverArgs']]]]:
|
|
1855
1855
|
"""
|
|
@@ -1861,19 +1861,19 @@ class PodSecurityPolicySpecArgs:
|
|
|
1861
1861
|
def allowed_csi_drivers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedCSIDriverArgs']]]]):
|
|
1862
1862
|
pulumi.set(self, "allowed_csi_drivers", value)
|
|
1863
1863
|
|
|
1864
|
-
@property
|
|
1864
|
+
@_builtins.property
|
|
1865
1865
|
@pulumi.getter(name="allowedCapabilities")
|
|
1866
|
-
def allowed_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1866
|
+
def allowed_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1867
1867
|
"""
|
|
1868
1868
|
allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
|
|
1869
1869
|
"""
|
|
1870
1870
|
return pulumi.get(self, "allowed_capabilities")
|
|
1871
1871
|
|
|
1872
1872
|
@allowed_capabilities.setter
|
|
1873
|
-
def allowed_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1873
|
+
def allowed_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1874
1874
|
pulumi.set(self, "allowed_capabilities", value)
|
|
1875
1875
|
|
|
1876
|
-
@property
|
|
1876
|
+
@_builtins.property
|
|
1877
1877
|
@pulumi.getter(name="allowedFlexVolumes")
|
|
1878
1878
|
def allowed_flex_volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AllowedFlexVolumeArgs']]]]:
|
|
1879
1879
|
"""
|
|
@@ -1885,7 +1885,7 @@ class PodSecurityPolicySpecArgs:
|
|
|
1885
1885
|
def allowed_flex_volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedFlexVolumeArgs']]]]):
|
|
1886
1886
|
pulumi.set(self, "allowed_flex_volumes", value)
|
|
1887
1887
|
|
|
1888
|
-
@property
|
|
1888
|
+
@_builtins.property
|
|
1889
1889
|
@pulumi.getter(name="allowedHostPaths")
|
|
1890
1890
|
def allowed_host_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AllowedHostPathArgs']]]]:
|
|
1891
1891
|
"""
|
|
@@ -1897,21 +1897,21 @@ class PodSecurityPolicySpecArgs:
|
|
|
1897
1897
|
def allowed_host_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AllowedHostPathArgs']]]]):
|
|
1898
1898
|
pulumi.set(self, "allowed_host_paths", value)
|
|
1899
1899
|
|
|
1900
|
-
@property
|
|
1900
|
+
@_builtins.property
|
|
1901
1901
|
@pulumi.getter(name="allowedProcMountTypes")
|
|
1902
|
-
def allowed_proc_mount_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1902
|
+
def allowed_proc_mount_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1903
1903
|
"""
|
|
1904
1904
|
AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.
|
|
1905
1905
|
"""
|
|
1906
1906
|
return pulumi.get(self, "allowed_proc_mount_types")
|
|
1907
1907
|
|
|
1908
1908
|
@allowed_proc_mount_types.setter
|
|
1909
|
-
def allowed_proc_mount_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1909
|
+
def allowed_proc_mount_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1910
1910
|
pulumi.set(self, "allowed_proc_mount_types", value)
|
|
1911
1911
|
|
|
1912
|
-
@property
|
|
1912
|
+
@_builtins.property
|
|
1913
1913
|
@pulumi.getter(name="allowedUnsafeSysctls")
|
|
1914
|
-
def allowed_unsafe_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1914
|
+
def allowed_unsafe_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1915
1915
|
"""
|
|
1916
1916
|
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
|
|
1917
1917
|
|
|
@@ -1920,36 +1920,36 @@ class PodSecurityPolicySpecArgs:
|
|
|
1920
1920
|
return pulumi.get(self, "allowed_unsafe_sysctls")
|
|
1921
1921
|
|
|
1922
1922
|
@allowed_unsafe_sysctls.setter
|
|
1923
|
-
def allowed_unsafe_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1923
|
+
def allowed_unsafe_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1924
1924
|
pulumi.set(self, "allowed_unsafe_sysctls", value)
|
|
1925
1925
|
|
|
1926
|
-
@property
|
|
1926
|
+
@_builtins.property
|
|
1927
1927
|
@pulumi.getter(name="defaultAddCapabilities")
|
|
1928
|
-
def default_add_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1928
|
+
def default_add_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1929
1929
|
"""
|
|
1930
1930
|
defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.
|
|
1931
1931
|
"""
|
|
1932
1932
|
return pulumi.get(self, "default_add_capabilities")
|
|
1933
1933
|
|
|
1934
1934
|
@default_add_capabilities.setter
|
|
1935
|
-
def default_add_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1935
|
+
def default_add_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1936
1936
|
pulumi.set(self, "default_add_capabilities", value)
|
|
1937
1937
|
|
|
1938
|
-
@property
|
|
1938
|
+
@_builtins.property
|
|
1939
1939
|
@pulumi.getter(name="defaultAllowPrivilegeEscalation")
|
|
1940
|
-
def default_allow_privilege_escalation(self) -> Optional[pulumi.Input[bool]]:
|
|
1940
|
+
def default_allow_privilege_escalation(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1941
1941
|
"""
|
|
1942
1942
|
defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
|
|
1943
1943
|
"""
|
|
1944
1944
|
return pulumi.get(self, "default_allow_privilege_escalation")
|
|
1945
1945
|
|
|
1946
1946
|
@default_allow_privilege_escalation.setter
|
|
1947
|
-
def default_allow_privilege_escalation(self, value: Optional[pulumi.Input[bool]]):
|
|
1947
|
+
def default_allow_privilege_escalation(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1948
1948
|
pulumi.set(self, "default_allow_privilege_escalation", value)
|
|
1949
1949
|
|
|
1950
|
-
@property
|
|
1950
|
+
@_builtins.property
|
|
1951
1951
|
@pulumi.getter(name="forbiddenSysctls")
|
|
1952
|
-
def forbidden_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1952
|
+
def forbidden_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1953
1953
|
"""
|
|
1954
1954
|
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
|
|
1955
1955
|
|
|
@@ -1958,46 +1958,46 @@ class PodSecurityPolicySpecArgs:
|
|
|
1958
1958
|
return pulumi.get(self, "forbidden_sysctls")
|
|
1959
1959
|
|
|
1960
1960
|
@forbidden_sysctls.setter
|
|
1961
|
-
def forbidden_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1961
|
+
def forbidden_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1962
1962
|
pulumi.set(self, "forbidden_sysctls", value)
|
|
1963
1963
|
|
|
1964
|
-
@property
|
|
1964
|
+
@_builtins.property
|
|
1965
1965
|
@pulumi.getter(name="hostIPC")
|
|
1966
|
-
def host_ipc(self) -> Optional[pulumi.Input[bool]]:
|
|
1966
|
+
def host_ipc(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1967
1967
|
"""
|
|
1968
1968
|
hostIPC determines if the policy allows the use of HostIPC in the pod spec.
|
|
1969
1969
|
"""
|
|
1970
1970
|
return pulumi.get(self, "host_ipc")
|
|
1971
1971
|
|
|
1972
1972
|
@host_ipc.setter
|
|
1973
|
-
def host_ipc(self, value: Optional[pulumi.Input[bool]]):
|
|
1973
|
+
def host_ipc(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1974
1974
|
pulumi.set(self, "host_ipc", value)
|
|
1975
1975
|
|
|
1976
|
-
@property
|
|
1976
|
+
@_builtins.property
|
|
1977
1977
|
@pulumi.getter(name="hostNetwork")
|
|
1978
|
-
def host_network(self) -> Optional[pulumi.Input[bool]]:
|
|
1978
|
+
def host_network(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1979
1979
|
"""
|
|
1980
1980
|
hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
|
|
1981
1981
|
"""
|
|
1982
1982
|
return pulumi.get(self, "host_network")
|
|
1983
1983
|
|
|
1984
1984
|
@host_network.setter
|
|
1985
|
-
def host_network(self, value: Optional[pulumi.Input[bool]]):
|
|
1985
|
+
def host_network(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1986
1986
|
pulumi.set(self, "host_network", value)
|
|
1987
1987
|
|
|
1988
|
-
@property
|
|
1988
|
+
@_builtins.property
|
|
1989
1989
|
@pulumi.getter(name="hostPID")
|
|
1990
|
-
def host_pid(self) -> Optional[pulumi.Input[bool]]:
|
|
1990
|
+
def host_pid(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1991
1991
|
"""
|
|
1992
1992
|
hostPID determines if the policy allows the use of HostPID in the pod spec.
|
|
1993
1993
|
"""
|
|
1994
1994
|
return pulumi.get(self, "host_pid")
|
|
1995
1995
|
|
|
1996
1996
|
@host_pid.setter
|
|
1997
|
-
def host_pid(self, value: Optional[pulumi.Input[bool]]):
|
|
1997
|
+
def host_pid(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1998
1998
|
pulumi.set(self, "host_pid", value)
|
|
1999
1999
|
|
|
2000
|
-
@property
|
|
2000
|
+
@_builtins.property
|
|
2001
2001
|
@pulumi.getter(name="hostPorts")
|
|
2002
2002
|
def host_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HostPortRangeArgs']]]]:
|
|
2003
2003
|
"""
|
|
@@ -2009,43 +2009,43 @@ class PodSecurityPolicySpecArgs:
|
|
|
2009
2009
|
def host_ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HostPortRangeArgs']]]]):
|
|
2010
2010
|
pulumi.set(self, "host_ports", value)
|
|
2011
2011
|
|
|
2012
|
-
@property
|
|
2012
|
+
@_builtins.property
|
|
2013
2013
|
@pulumi.getter
|
|
2014
|
-
def privileged(self) -> Optional[pulumi.Input[bool]]:
|
|
2014
|
+
def privileged(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
2015
2015
|
"""
|
|
2016
2016
|
privileged determines if a pod can request to be run as privileged.
|
|
2017
2017
|
"""
|
|
2018
2018
|
return pulumi.get(self, "privileged")
|
|
2019
2019
|
|
|
2020
2020
|
@privileged.setter
|
|
2021
|
-
def privileged(self, value: Optional[pulumi.Input[bool]]):
|
|
2021
|
+
def privileged(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
2022
2022
|
pulumi.set(self, "privileged", value)
|
|
2023
2023
|
|
|
2024
|
-
@property
|
|
2024
|
+
@_builtins.property
|
|
2025
2025
|
@pulumi.getter(name="readOnlyRootFilesystem")
|
|
2026
|
-
def read_only_root_filesystem(self) -> Optional[pulumi.Input[bool]]:
|
|
2026
|
+
def read_only_root_filesystem(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
2027
2027
|
"""
|
|
2028
2028
|
readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.
|
|
2029
2029
|
"""
|
|
2030
2030
|
return pulumi.get(self, "read_only_root_filesystem")
|
|
2031
2031
|
|
|
2032
2032
|
@read_only_root_filesystem.setter
|
|
2033
|
-
def read_only_root_filesystem(self, value: Optional[pulumi.Input[bool]]):
|
|
2033
|
+
def read_only_root_filesystem(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
2034
2034
|
pulumi.set(self, "read_only_root_filesystem", value)
|
|
2035
2035
|
|
|
2036
|
-
@property
|
|
2036
|
+
@_builtins.property
|
|
2037
2037
|
@pulumi.getter(name="requiredDropCapabilities")
|
|
2038
|
-
def required_drop_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2038
|
+
def required_drop_capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2039
2039
|
"""
|
|
2040
2040
|
requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
|
|
2041
2041
|
"""
|
|
2042
2042
|
return pulumi.get(self, "required_drop_capabilities")
|
|
2043
2043
|
|
|
2044
2044
|
@required_drop_capabilities.setter
|
|
2045
|
-
def required_drop_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2045
|
+
def required_drop_capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2046
2046
|
pulumi.set(self, "required_drop_capabilities", value)
|
|
2047
2047
|
|
|
2048
|
-
@property
|
|
2048
|
+
@_builtins.property
|
|
2049
2049
|
@pulumi.getter(name="runAsGroup")
|
|
2050
2050
|
def run_as_group(self) -> Optional[pulumi.Input['RunAsGroupStrategyOptionsArgs']]:
|
|
2051
2051
|
"""
|
|
@@ -2057,7 +2057,7 @@ class PodSecurityPolicySpecArgs:
|
|
|
2057
2057
|
def run_as_group(self, value: Optional[pulumi.Input['RunAsGroupStrategyOptionsArgs']]):
|
|
2058
2058
|
pulumi.set(self, "run_as_group", value)
|
|
2059
2059
|
|
|
2060
|
-
@property
|
|
2060
|
+
@_builtins.property
|
|
2061
2061
|
@pulumi.getter(name="runtimeClass")
|
|
2062
2062
|
def runtime_class(self) -> Optional[pulumi.Input['RuntimeClassStrategyOptionsArgs']]:
|
|
2063
2063
|
"""
|
|
@@ -2069,16 +2069,16 @@ class PodSecurityPolicySpecArgs:
|
|
|
2069
2069
|
def runtime_class(self, value: Optional[pulumi.Input['RuntimeClassStrategyOptionsArgs']]):
|
|
2070
2070
|
pulumi.set(self, "runtime_class", value)
|
|
2071
2071
|
|
|
2072
|
-
@property
|
|
2072
|
+
@_builtins.property
|
|
2073
2073
|
@pulumi.getter
|
|
2074
|
-
def volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2074
|
+
def volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2075
2075
|
"""
|
|
2076
2076
|
volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.
|
|
2077
2077
|
"""
|
|
2078
2078
|
return pulumi.get(self, "volumes")
|
|
2079
2079
|
|
|
2080
2080
|
@volumes.setter
|
|
2081
|
-
def volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2081
|
+
def volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2082
2082
|
pulumi.set(self, "volumes", value)
|
|
2083
2083
|
|
|
2084
2084
|
|
|
@@ -2087,11 +2087,11 @@ if not MYPY:
|
|
|
2087
2087
|
"""
|
|
2088
2088
|
PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.
|
|
2089
2089
|
"""
|
|
2090
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
2090
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
2091
2091
|
"""
|
|
2092
2092
|
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
|
|
2093
2093
|
"""
|
|
2094
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
2094
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
2095
2095
|
"""
|
|
2096
2096
|
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
|
|
2097
2097
|
"""
|
|
@@ -2109,14 +2109,14 @@ elif False:
|
|
|
2109
2109
|
@pulumi.input_type
|
|
2110
2110
|
class PodSecurityPolicyArgs:
|
|
2111
2111
|
def __init__(__self__, *,
|
|
2112
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2113
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
2112
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2113
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2114
2114
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
2115
2115
|
spec: Optional[pulumi.Input['PodSecurityPolicySpecArgs']] = None):
|
|
2116
2116
|
"""
|
|
2117
2117
|
PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.
|
|
2118
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2119
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2118
|
+
: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
|
|
2119
|
+
: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
|
|
2120
2120
|
: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
|
|
2121
2121
|
:param pulumi.Input['PodSecurityPolicySpecArgs'] spec: spec defines the policy enforced.
|
|
2122
2122
|
"""
|
|
@@ -2129,31 +2129,31 @@ class PodSecurityPolicyArgs:
|
|
|
2129
2129
|
if spec is not None:
|
|
2130
2130
|
pulumi.set(__self__, "spec", spec)
|
|
2131
2131
|
|
|
2132
|
-
@property
|
|
2132
|
+
@_builtins.property
|
|
2133
2133
|
@pulumi.getter(name="apiVersion")
|
|
2134
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2134
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2135
2135
|
"""
|
|
2136
2136
|
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
|
|
2137
2137
|
"""
|
|
2138
2138
|
return pulumi.get(self, "api_version")
|
|
2139
2139
|
|
|
2140
2140
|
@api_version.setter
|
|
2141
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2141
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2142
2142
|
pulumi.set(self, "api_version", value)
|
|
2143
2143
|
|
|
2144
|
-
@property
|
|
2144
|
+
@_builtins.property
|
|
2145
2145
|
@pulumi.getter
|
|
2146
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2146
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2147
2147
|
"""
|
|
2148
2148
|
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
|
|
2149
2149
|
"""
|
|
2150
2150
|
return pulumi.get(self, "kind")
|
|
2151
2151
|
|
|
2152
2152
|
@kind.setter
|
|
2153
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2153
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2154
2154
|
pulumi.set(self, "kind", value)
|
|
2155
2155
|
|
|
2156
|
-
@property
|
|
2156
|
+
@_builtins.property
|
|
2157
2157
|
@pulumi.getter
|
|
2158
2158
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
2159
2159
|
"""
|
|
@@ -2165,7 +2165,7 @@ class PodSecurityPolicyArgs:
|
|
|
2165
2165
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
2166
2166
|
pulumi.set(self, "metadata", value)
|
|
2167
2167
|
|
|
2168
|
-
@property
|
|
2168
|
+
@_builtins.property
|
|
2169
2169
|
@pulumi.getter
|
|
2170
2170
|
def spec(self) -> Optional[pulumi.Input['PodSecurityPolicySpecArgs']]:
|
|
2171
2171
|
"""
|
|
@@ -2187,7 +2187,7 @@ if not MYPY:
|
|
|
2187
2187
|
"""
|
|
2188
2188
|
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
|
|
2189
2189
|
"""
|
|
2190
|
-
rule: NotRequired[pulumi.Input[str]]
|
|
2190
|
+
rule: NotRequired[pulumi.Input[_builtins.str]]
|
|
2191
2191
|
"""
|
|
2192
2192
|
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
|
|
2193
2193
|
"""
|
|
@@ -2198,18 +2198,18 @@ elif False:
|
|
|
2198
2198
|
class RunAsGroupStrategyOptionsPatchArgs:
|
|
2199
2199
|
def __init__(__self__, *,
|
|
2200
2200
|
ranges: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]] = None,
|
|
2201
|
-
rule: Optional[pulumi.Input[str]] = None):
|
|
2201
|
+
rule: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2202
2202
|
"""
|
|
2203
2203
|
RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.
|
|
2204
2204
|
:param pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]] ranges: ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
|
|
2205
|
-
:param pulumi.Input[str] rule: rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
|
|
2205
|
+
:param pulumi.Input[_builtins.str] rule: rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
|
|
2206
2206
|
"""
|
|
2207
2207
|
if ranges is not None:
|
|
2208
2208
|
pulumi.set(__self__, "ranges", ranges)
|
|
2209
2209
|
if rule is not None:
|
|
2210
2210
|
pulumi.set(__self__, "rule", rule)
|
|
2211
2211
|
|
|
2212
|
-
@property
|
|
2212
|
+
@_builtins.property
|
|
2213
2213
|
@pulumi.getter
|
|
2214
2214
|
def ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]]:
|
|
2215
2215
|
"""
|
|
@@ -2221,16 +2221,16 @@ class RunAsGroupStrategyOptionsPatchArgs:
|
|
|
2221
2221
|
def ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]]):
|
|
2222
2222
|
pulumi.set(self, "ranges", value)
|
|
2223
2223
|
|
|
2224
|
-
@property
|
|
2224
|
+
@_builtins.property
|
|
2225
2225
|
@pulumi.getter
|
|
2226
|
-
def rule(self) -> Optional[pulumi.Input[str]]:
|
|
2226
|
+
def rule(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2227
2227
|
"""
|
|
2228
2228
|
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
|
|
2229
2229
|
"""
|
|
2230
2230
|
return pulumi.get(self, "rule")
|
|
2231
2231
|
|
|
2232
2232
|
@rule.setter
|
|
2233
|
-
def rule(self, value: Optional[pulumi.Input[str]]):
|
|
2233
|
+
def rule(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2234
2234
|
pulumi.set(self, "rule", value)
|
|
2235
2235
|
|
|
2236
2236
|
|
|
@@ -2239,7 +2239,7 @@ if not MYPY:
|
|
|
2239
2239
|
"""
|
|
2240
2240
|
RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.
|
|
2241
2241
|
"""
|
|
2242
|
-
rule: pulumi.Input[str]
|
|
2242
|
+
rule: pulumi.Input[_builtins.str]
|
|
2243
2243
|
"""
|
|
2244
2244
|
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
|
|
2245
2245
|
"""
|
|
@@ -2253,30 +2253,30 @@ elif False:
|
|
|
2253
2253
|
@pulumi.input_type
|
|
2254
2254
|
class RunAsGroupStrategyOptionsArgs:
|
|
2255
2255
|
def __init__(__self__, *,
|
|
2256
|
-
rule: pulumi.Input[str],
|
|
2256
|
+
rule: pulumi.Input[_builtins.str],
|
|
2257
2257
|
ranges: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]]] = None):
|
|
2258
2258
|
"""
|
|
2259
2259
|
RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.
|
|
2260
|
-
:param pulumi.Input[str] rule: rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
|
|
2260
|
+
:param pulumi.Input[_builtins.str] rule: rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
|
|
2261
2261
|
:param pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]] ranges: ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
|
|
2262
2262
|
"""
|
|
2263
2263
|
pulumi.set(__self__, "rule", rule)
|
|
2264
2264
|
if ranges is not None:
|
|
2265
2265
|
pulumi.set(__self__, "ranges", ranges)
|
|
2266
2266
|
|
|
2267
|
-
@property
|
|
2267
|
+
@_builtins.property
|
|
2268
2268
|
@pulumi.getter
|
|
2269
|
-
def rule(self) -> pulumi.Input[str]:
|
|
2269
|
+
def rule(self) -> pulumi.Input[_builtins.str]:
|
|
2270
2270
|
"""
|
|
2271
2271
|
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
|
|
2272
2272
|
"""
|
|
2273
2273
|
return pulumi.get(self, "rule")
|
|
2274
2274
|
|
|
2275
2275
|
@rule.setter
|
|
2276
|
-
def rule(self, value: pulumi.Input[str]):
|
|
2276
|
+
def rule(self, value: pulumi.Input[_builtins.str]):
|
|
2277
2277
|
pulumi.set(self, "rule", value)
|
|
2278
2278
|
|
|
2279
|
-
@property
|
|
2279
|
+
@_builtins.property
|
|
2280
2280
|
@pulumi.getter
|
|
2281
2281
|
def ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]]]:
|
|
2282
2282
|
"""
|
|
@@ -2298,7 +2298,7 @@ if not MYPY:
|
|
|
2298
2298
|
"""
|
|
2299
2299
|
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
|
|
2300
2300
|
"""
|
|
2301
|
-
rule: NotRequired[pulumi.Input[str]]
|
|
2301
|
+
rule: NotRequired[pulumi.Input[_builtins.str]]
|
|
2302
2302
|
"""
|
|
2303
2303
|
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
2304
2304
|
"""
|
|
@@ -2309,18 +2309,18 @@ elif False:
|
|
|
2309
2309
|
class RunAsUserStrategyOptionsPatchArgs:
|
|
2310
2310
|
def __init__(__self__, *,
|
|
2311
2311
|
ranges: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]] = None,
|
|
2312
|
-
rule: Optional[pulumi.Input[str]] = None):
|
|
2312
|
+
rule: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2313
2313
|
"""
|
|
2314
2314
|
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.
|
|
2315
2315
|
:param pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]] ranges: ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
|
|
2316
|
-
:param pulumi.Input[str] rule: rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
2316
|
+
:param pulumi.Input[_builtins.str] rule: rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
2317
2317
|
"""
|
|
2318
2318
|
if ranges is not None:
|
|
2319
2319
|
pulumi.set(__self__, "ranges", ranges)
|
|
2320
2320
|
if rule is not None:
|
|
2321
2321
|
pulumi.set(__self__, "rule", rule)
|
|
2322
2322
|
|
|
2323
|
-
@property
|
|
2323
|
+
@_builtins.property
|
|
2324
2324
|
@pulumi.getter
|
|
2325
2325
|
def ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]]:
|
|
2326
2326
|
"""
|
|
@@ -2332,16 +2332,16 @@ class RunAsUserStrategyOptionsPatchArgs:
|
|
|
2332
2332
|
def ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]]):
|
|
2333
2333
|
pulumi.set(self, "ranges", value)
|
|
2334
2334
|
|
|
2335
|
-
@property
|
|
2335
|
+
@_builtins.property
|
|
2336
2336
|
@pulumi.getter
|
|
2337
|
-
def rule(self) -> Optional[pulumi.Input[str]]:
|
|
2337
|
+
def rule(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2338
2338
|
"""
|
|
2339
2339
|
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
2340
2340
|
"""
|
|
2341
2341
|
return pulumi.get(self, "rule")
|
|
2342
2342
|
|
|
2343
2343
|
@rule.setter
|
|
2344
|
-
def rule(self, value: Optional[pulumi.Input[str]]):
|
|
2344
|
+
def rule(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2345
2345
|
pulumi.set(self, "rule", value)
|
|
2346
2346
|
|
|
2347
2347
|
|
|
@@ -2350,7 +2350,7 @@ if not MYPY:
|
|
|
2350
2350
|
"""
|
|
2351
2351
|
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.
|
|
2352
2352
|
"""
|
|
2353
|
-
rule: pulumi.Input[str]
|
|
2353
|
+
rule: pulumi.Input[_builtins.str]
|
|
2354
2354
|
"""
|
|
2355
2355
|
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
2356
2356
|
"""
|
|
@@ -2364,30 +2364,30 @@ elif False:
|
|
|
2364
2364
|
@pulumi.input_type
|
|
2365
2365
|
class RunAsUserStrategyOptionsArgs:
|
|
2366
2366
|
def __init__(__self__, *,
|
|
2367
|
-
rule: pulumi.Input[str],
|
|
2367
|
+
rule: pulumi.Input[_builtins.str],
|
|
2368
2368
|
ranges: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]]] = None):
|
|
2369
2369
|
"""
|
|
2370
2370
|
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.
|
|
2371
|
-
:param pulumi.Input[str] rule: rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
2371
|
+
:param pulumi.Input[_builtins.str] rule: rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
2372
2372
|
:param pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]] ranges: ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
|
|
2373
2373
|
"""
|
|
2374
2374
|
pulumi.set(__self__, "rule", rule)
|
|
2375
2375
|
if ranges is not None:
|
|
2376
2376
|
pulumi.set(__self__, "ranges", ranges)
|
|
2377
2377
|
|
|
2378
|
-
@property
|
|
2378
|
+
@_builtins.property
|
|
2379
2379
|
@pulumi.getter
|
|
2380
|
-
def rule(self) -> pulumi.Input[str]:
|
|
2380
|
+
def rule(self) -> pulumi.Input[_builtins.str]:
|
|
2381
2381
|
"""
|
|
2382
2382
|
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
2383
2383
|
"""
|
|
2384
2384
|
return pulumi.get(self, "rule")
|
|
2385
2385
|
|
|
2386
2386
|
@rule.setter
|
|
2387
|
-
def rule(self, value: pulumi.Input[str]):
|
|
2387
|
+
def rule(self, value: pulumi.Input[_builtins.str]):
|
|
2388
2388
|
pulumi.set(self, "rule", value)
|
|
2389
2389
|
|
|
2390
|
-
@property
|
|
2390
|
+
@_builtins.property
|
|
2391
2391
|
@pulumi.getter
|
|
2392
2392
|
def ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]]]:
|
|
2393
2393
|
"""
|
|
@@ -2405,11 +2405,11 @@ if not MYPY:
|
|
|
2405
2405
|
"""
|
|
2406
2406
|
RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.
|
|
2407
2407
|
"""
|
|
2408
|
-
allowed_runtime_class_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2408
|
+
allowed_runtime_class_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2409
2409
|
"""
|
|
2410
2410
|
allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
|
|
2411
2411
|
"""
|
|
2412
|
-
default_runtime_class_name: NotRequired[pulumi.Input[str]]
|
|
2412
|
+
default_runtime_class_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2413
2413
|
"""
|
|
2414
2414
|
defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
|
|
2415
2415
|
"""
|
|
@@ -2419,40 +2419,40 @@ elif False:
|
|
|
2419
2419
|
@pulumi.input_type
|
|
2420
2420
|
class RuntimeClassStrategyOptionsPatchArgs:
|
|
2421
2421
|
def __init__(__self__, *,
|
|
2422
|
-
allowed_runtime_class_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2423
|
-
default_runtime_class_name: Optional[pulumi.Input[str]] = None):
|
|
2422
|
+
allowed_runtime_class_names: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2423
|
+
default_runtime_class_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2424
2424
|
"""
|
|
2425
2425
|
RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.
|
|
2426
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_runtime_class_names: allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
|
|
2427
|
-
:param pulumi.Input[str] default_runtime_class_name: defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
|
|
2426
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_runtime_class_names: allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
|
|
2427
|
+
:param pulumi.Input[_builtins.str] default_runtime_class_name: defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
|
|
2428
2428
|
"""
|
|
2429
2429
|
if allowed_runtime_class_names is not None:
|
|
2430
2430
|
pulumi.set(__self__, "allowed_runtime_class_names", allowed_runtime_class_names)
|
|
2431
2431
|
if default_runtime_class_name is not None:
|
|
2432
2432
|
pulumi.set(__self__, "default_runtime_class_name", default_runtime_class_name)
|
|
2433
2433
|
|
|
2434
|
-
@property
|
|
2434
|
+
@_builtins.property
|
|
2435
2435
|
@pulumi.getter(name="allowedRuntimeClassNames")
|
|
2436
|
-
def allowed_runtime_class_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2436
|
+
def allowed_runtime_class_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2437
2437
|
"""
|
|
2438
2438
|
allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
|
|
2439
2439
|
"""
|
|
2440
2440
|
return pulumi.get(self, "allowed_runtime_class_names")
|
|
2441
2441
|
|
|
2442
2442
|
@allowed_runtime_class_names.setter
|
|
2443
|
-
def allowed_runtime_class_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2443
|
+
def allowed_runtime_class_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2444
2444
|
pulumi.set(self, "allowed_runtime_class_names", value)
|
|
2445
2445
|
|
|
2446
|
-
@property
|
|
2446
|
+
@_builtins.property
|
|
2447
2447
|
@pulumi.getter(name="defaultRuntimeClassName")
|
|
2448
|
-
def default_runtime_class_name(self) -> Optional[pulumi.Input[str]]:
|
|
2448
|
+
def default_runtime_class_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2449
2449
|
"""
|
|
2450
2450
|
defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
|
|
2451
2451
|
"""
|
|
2452
2452
|
return pulumi.get(self, "default_runtime_class_name")
|
|
2453
2453
|
|
|
2454
2454
|
@default_runtime_class_name.setter
|
|
2455
|
-
def default_runtime_class_name(self, value: Optional[pulumi.Input[str]]):
|
|
2455
|
+
def default_runtime_class_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2456
2456
|
pulumi.set(self, "default_runtime_class_name", value)
|
|
2457
2457
|
|
|
2458
2458
|
|
|
@@ -2461,11 +2461,11 @@ if not MYPY:
|
|
|
2461
2461
|
"""
|
|
2462
2462
|
RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.
|
|
2463
2463
|
"""
|
|
2464
|
-
allowed_runtime_class_names: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
2464
|
+
allowed_runtime_class_names: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
2465
2465
|
"""
|
|
2466
2466
|
allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
|
|
2467
2467
|
"""
|
|
2468
|
-
default_runtime_class_name: NotRequired[pulumi.Input[str]]
|
|
2468
|
+
default_runtime_class_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2469
2469
|
"""
|
|
2470
2470
|
defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
|
|
2471
2471
|
"""
|
|
@@ -2475,39 +2475,39 @@ elif False:
|
|
|
2475
2475
|
@pulumi.input_type
|
|
2476
2476
|
class RuntimeClassStrategyOptionsArgs:
|
|
2477
2477
|
def __init__(__self__, *,
|
|
2478
|
-
allowed_runtime_class_names: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
2479
|
-
default_runtime_class_name: Optional[pulumi.Input[str]] = None):
|
|
2478
|
+
allowed_runtime_class_names: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
2479
|
+
default_runtime_class_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2480
2480
|
"""
|
|
2481
2481
|
RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.
|
|
2482
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_runtime_class_names: allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
|
|
2483
|
-
:param pulumi.Input[str] default_runtime_class_name: defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
|
|
2482
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_runtime_class_names: allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
|
|
2483
|
+
:param pulumi.Input[_builtins.str] default_runtime_class_name: defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
|
|
2484
2484
|
"""
|
|
2485
2485
|
pulumi.set(__self__, "allowed_runtime_class_names", allowed_runtime_class_names)
|
|
2486
2486
|
if default_runtime_class_name is not None:
|
|
2487
2487
|
pulumi.set(__self__, "default_runtime_class_name", default_runtime_class_name)
|
|
2488
2488
|
|
|
2489
|
-
@property
|
|
2489
|
+
@_builtins.property
|
|
2490
2490
|
@pulumi.getter(name="allowedRuntimeClassNames")
|
|
2491
|
-
def allowed_runtime_class_names(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
2491
|
+
def allowed_runtime_class_names(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
2492
2492
|
"""
|
|
2493
2493
|
allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
|
|
2494
2494
|
"""
|
|
2495
2495
|
return pulumi.get(self, "allowed_runtime_class_names")
|
|
2496
2496
|
|
|
2497
2497
|
@allowed_runtime_class_names.setter
|
|
2498
|
-
def allowed_runtime_class_names(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
2498
|
+
def allowed_runtime_class_names(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
2499
2499
|
pulumi.set(self, "allowed_runtime_class_names", value)
|
|
2500
2500
|
|
|
2501
|
-
@property
|
|
2501
|
+
@_builtins.property
|
|
2502
2502
|
@pulumi.getter(name="defaultRuntimeClassName")
|
|
2503
|
-
def default_runtime_class_name(self) -> Optional[pulumi.Input[str]]:
|
|
2503
|
+
def default_runtime_class_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2504
2504
|
"""
|
|
2505
2505
|
defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
|
|
2506
2506
|
"""
|
|
2507
2507
|
return pulumi.get(self, "default_runtime_class_name")
|
|
2508
2508
|
|
|
2509
2509
|
@default_runtime_class_name.setter
|
|
2510
|
-
def default_runtime_class_name(self, value: Optional[pulumi.Input[str]]):
|
|
2510
|
+
def default_runtime_class_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2511
2511
|
pulumi.set(self, "default_runtime_class_name", value)
|
|
2512
2512
|
|
|
2513
2513
|
|
|
@@ -2516,7 +2516,7 @@ if not MYPY:
|
|
|
2516
2516
|
"""
|
|
2517
2517
|
SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.
|
|
2518
2518
|
"""
|
|
2519
|
-
rule: NotRequired[pulumi.Input[str]]
|
|
2519
|
+
rule: NotRequired[pulumi.Input[_builtins.str]]
|
|
2520
2520
|
"""
|
|
2521
2521
|
rule is the strategy that will dictate the allowable labels that may be set.
|
|
2522
2522
|
"""
|
|
@@ -2530,11 +2530,11 @@ elif False:
|
|
|
2530
2530
|
@pulumi.input_type
|
|
2531
2531
|
class SELinuxStrategyOptionsPatchArgs:
|
|
2532
2532
|
def __init__(__self__, *,
|
|
2533
|
-
rule: Optional[pulumi.Input[str]] = None,
|
|
2533
|
+
rule: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2534
2534
|
se_linux_options: Optional[pulumi.Input['_core.v1.SELinuxOptionsPatchArgs']] = None):
|
|
2535
2535
|
"""
|
|
2536
2536
|
SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.
|
|
2537
|
-
:param pulumi.Input[str] rule: rule is the strategy that will dictate the allowable labels that may be set.
|
|
2537
|
+
:param pulumi.Input[_builtins.str] rule: rule is the strategy that will dictate the allowable labels that may be set.
|
|
2538
2538
|
:param pulumi.Input['_core.v1.SELinuxOptionsPatchArgs'] se_linux_options: seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
2539
2539
|
"""
|
|
2540
2540
|
if rule is not None:
|
|
@@ -2542,19 +2542,19 @@ class SELinuxStrategyOptionsPatchArgs:
|
|
|
2542
2542
|
if se_linux_options is not None:
|
|
2543
2543
|
pulumi.set(__self__, "se_linux_options", se_linux_options)
|
|
2544
2544
|
|
|
2545
|
-
@property
|
|
2545
|
+
@_builtins.property
|
|
2546
2546
|
@pulumi.getter
|
|
2547
|
-
def rule(self) -> Optional[pulumi.Input[str]]:
|
|
2547
|
+
def rule(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2548
2548
|
"""
|
|
2549
2549
|
rule is the strategy that will dictate the allowable labels that may be set.
|
|
2550
2550
|
"""
|
|
2551
2551
|
return pulumi.get(self, "rule")
|
|
2552
2552
|
|
|
2553
2553
|
@rule.setter
|
|
2554
|
-
def rule(self, value: Optional[pulumi.Input[str]]):
|
|
2554
|
+
def rule(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2555
2555
|
pulumi.set(self, "rule", value)
|
|
2556
2556
|
|
|
2557
|
-
@property
|
|
2557
|
+
@_builtins.property
|
|
2558
2558
|
@pulumi.getter(name="seLinuxOptions")
|
|
2559
2559
|
def se_linux_options(self) -> Optional[pulumi.Input['_core.v1.SELinuxOptionsPatchArgs']]:
|
|
2560
2560
|
"""
|
|
@@ -2572,7 +2572,7 @@ if not MYPY:
|
|
|
2572
2572
|
"""
|
|
2573
2573
|
SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.
|
|
2574
2574
|
"""
|
|
2575
|
-
rule: pulumi.Input[str]
|
|
2575
|
+
rule: pulumi.Input[_builtins.str]
|
|
2576
2576
|
"""
|
|
2577
2577
|
rule is the strategy that will dictate the allowable labels that may be set.
|
|
2578
2578
|
"""
|
|
@@ -2586,30 +2586,30 @@ elif False:
|
|
|
2586
2586
|
@pulumi.input_type
|
|
2587
2587
|
class SELinuxStrategyOptionsArgs:
|
|
2588
2588
|
def __init__(__self__, *,
|
|
2589
|
-
rule: pulumi.Input[str],
|
|
2589
|
+
rule: pulumi.Input[_builtins.str],
|
|
2590
2590
|
se_linux_options: Optional[pulumi.Input['_core.v1.SELinuxOptionsArgs']] = None):
|
|
2591
2591
|
"""
|
|
2592
2592
|
SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.
|
|
2593
|
-
:param pulumi.Input[str] rule: rule is the strategy that will dictate the allowable labels that may be set.
|
|
2593
|
+
:param pulumi.Input[_builtins.str] rule: rule is the strategy that will dictate the allowable labels that may be set.
|
|
2594
2594
|
:param pulumi.Input['_core.v1.SELinuxOptionsArgs'] se_linux_options: seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
2595
2595
|
"""
|
|
2596
2596
|
pulumi.set(__self__, "rule", rule)
|
|
2597
2597
|
if se_linux_options is not None:
|
|
2598
2598
|
pulumi.set(__self__, "se_linux_options", se_linux_options)
|
|
2599
2599
|
|
|
2600
|
-
@property
|
|
2600
|
+
@_builtins.property
|
|
2601
2601
|
@pulumi.getter
|
|
2602
|
-
def rule(self) -> pulumi.Input[str]:
|
|
2602
|
+
def rule(self) -> pulumi.Input[_builtins.str]:
|
|
2603
2603
|
"""
|
|
2604
2604
|
rule is the strategy that will dictate the allowable labels that may be set.
|
|
2605
2605
|
"""
|
|
2606
2606
|
return pulumi.get(self, "rule")
|
|
2607
2607
|
|
|
2608
2608
|
@rule.setter
|
|
2609
|
-
def rule(self, value: pulumi.Input[str]):
|
|
2609
|
+
def rule(self, value: pulumi.Input[_builtins.str]):
|
|
2610
2610
|
pulumi.set(self, "rule", value)
|
|
2611
2611
|
|
|
2612
|
-
@property
|
|
2612
|
+
@_builtins.property
|
|
2613
2613
|
@pulumi.getter(name="seLinuxOptions")
|
|
2614
2614
|
def se_linux_options(self) -> Optional[pulumi.Input['_core.v1.SELinuxOptionsArgs']]:
|
|
2615
2615
|
"""
|
|
@@ -2631,7 +2631,7 @@ if not MYPY:
|
|
|
2631
2631
|
"""
|
|
2632
2632
|
ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
|
|
2633
2633
|
"""
|
|
2634
|
-
rule: NotRequired[pulumi.Input[str]]
|
|
2634
|
+
rule: NotRequired[pulumi.Input[_builtins.str]]
|
|
2635
2635
|
"""
|
|
2636
2636
|
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
|
|
2637
2637
|
"""
|
|
@@ -2642,18 +2642,18 @@ elif False:
|
|
|
2642
2642
|
class SupplementalGroupsStrategyOptionsPatchArgs:
|
|
2643
2643
|
def __init__(__self__, *,
|
|
2644
2644
|
ranges: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]] = None,
|
|
2645
|
-
rule: Optional[pulumi.Input[str]] = None):
|
|
2645
|
+
rule: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2646
2646
|
"""
|
|
2647
2647
|
SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.
|
|
2648
2648
|
:param pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]] ranges: ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
|
|
2649
|
-
:param pulumi.Input[str] rule: rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
|
|
2649
|
+
:param pulumi.Input[_builtins.str] rule: rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
|
|
2650
2650
|
"""
|
|
2651
2651
|
if ranges is not None:
|
|
2652
2652
|
pulumi.set(__self__, "ranges", ranges)
|
|
2653
2653
|
if rule is not None:
|
|
2654
2654
|
pulumi.set(__self__, "rule", rule)
|
|
2655
2655
|
|
|
2656
|
-
@property
|
|
2656
|
+
@_builtins.property
|
|
2657
2657
|
@pulumi.getter
|
|
2658
2658
|
def ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]]:
|
|
2659
2659
|
"""
|
|
@@ -2665,16 +2665,16 @@ class SupplementalGroupsStrategyOptionsPatchArgs:
|
|
|
2665
2665
|
def ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgs']]]]):
|
|
2666
2666
|
pulumi.set(self, "ranges", value)
|
|
2667
2667
|
|
|
2668
|
-
@property
|
|
2668
|
+
@_builtins.property
|
|
2669
2669
|
@pulumi.getter
|
|
2670
|
-
def rule(self) -> Optional[pulumi.Input[str]]:
|
|
2670
|
+
def rule(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2671
2671
|
"""
|
|
2672
2672
|
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
|
|
2673
2673
|
"""
|
|
2674
2674
|
return pulumi.get(self, "rule")
|
|
2675
2675
|
|
|
2676
2676
|
@rule.setter
|
|
2677
|
-
def rule(self, value: Optional[pulumi.Input[str]]):
|
|
2677
|
+
def rule(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2678
2678
|
pulumi.set(self, "rule", value)
|
|
2679
2679
|
|
|
2680
2680
|
|
|
@@ -2687,7 +2687,7 @@ if not MYPY:
|
|
|
2687
2687
|
"""
|
|
2688
2688
|
ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
|
|
2689
2689
|
"""
|
|
2690
|
-
rule: NotRequired[pulumi.Input[str]]
|
|
2690
|
+
rule: NotRequired[pulumi.Input[_builtins.str]]
|
|
2691
2691
|
"""
|
|
2692
2692
|
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
|
|
2693
2693
|
"""
|
|
@@ -2698,18 +2698,18 @@ elif False:
|
|
|
2698
2698
|
class SupplementalGroupsStrategyOptionsArgs:
|
|
2699
2699
|
def __init__(__self__, *,
|
|
2700
2700
|
ranges: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]]] = None,
|
|
2701
|
-
rule: Optional[pulumi.Input[str]] = None):
|
|
2701
|
+
rule: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2702
2702
|
"""
|
|
2703
2703
|
SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.
|
|
2704
2704
|
:param pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]] ranges: ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
|
|
2705
|
-
:param pulumi.Input[str] rule: rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
|
|
2705
|
+
:param pulumi.Input[_builtins.str] rule: rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
|
|
2706
2706
|
"""
|
|
2707
2707
|
if ranges is not None:
|
|
2708
2708
|
pulumi.set(__self__, "ranges", ranges)
|
|
2709
2709
|
if rule is not None:
|
|
2710
2710
|
pulumi.set(__self__, "rule", rule)
|
|
2711
2711
|
|
|
2712
|
-
@property
|
|
2712
|
+
@_builtins.property
|
|
2713
2713
|
@pulumi.getter
|
|
2714
2714
|
def ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]]]:
|
|
2715
2715
|
"""
|
|
@@ -2721,16 +2721,16 @@ class SupplementalGroupsStrategyOptionsArgs:
|
|
|
2721
2721
|
def ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IDRangeArgs']]]]):
|
|
2722
2722
|
pulumi.set(self, "ranges", value)
|
|
2723
2723
|
|
|
2724
|
-
@property
|
|
2724
|
+
@_builtins.property
|
|
2725
2725
|
@pulumi.getter
|
|
2726
|
-
def rule(self) -> Optional[pulumi.Input[str]]:
|
|
2726
|
+
def rule(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2727
2727
|
"""
|
|
2728
2728
|
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
|
|
2729
2729
|
"""
|
|
2730
2730
|
return pulumi.get(self, "rule")
|
|
2731
2731
|
|
|
2732
2732
|
@rule.setter
|
|
2733
|
-
def rule(self, value: Optional[pulumi.Input[str]]):
|
|
2733
|
+
def rule(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2734
2734
|
pulumi.set(self, "rule", value)
|
|
2735
2735
|
|
|
2736
2736
|
|