pulumi-kubernetes 4.23.0a1743519894__py3-none-any.whl → 4.23.0a1743595894__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +1 -0
- pulumi_kubernetes/_inputs.py +41 -40
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1/outputs.py +337 -336
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +366 -365
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +229 -228
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +337 -336
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +17 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +17 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +17 -16
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +699 -698
- pulumi_kubernetes/apiextensions/v1/outputs.py +405 -404
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +639 -638
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +369 -368
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +17 -16
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +17 -16
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +17 -16
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1/outputs.py +91 -90
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +91 -90
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1/DaemonSet.py +17 -16
- pulumi_kubernetes/apps/v1/DaemonSetList.py +17 -16
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSet.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +571 -570
- pulumi_kubernetes/apps/v1/outputs.py +476 -475
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1beta1/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +316 -315
- pulumi_kubernetes/apps/v1beta1/outputs.py +260 -259
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +506 -505
- pulumi_kubernetes/apps/v1beta2/outputs.py +442 -441
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +111 -110
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +96 -95
- pulumi_kubernetes/autoscaling/v1/outputs.py +73 -72
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2/outputs.py +217 -216
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +346 -345
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +283 -282
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +217 -216
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v1/Job.py +17 -16
- pulumi_kubernetes/batch/v1/JobList.py +17 -16
- pulumi_kubernetes/batch/v1/JobPatch.py +17 -16
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +386 -385
- pulumi_kubernetes/batch/v1/outputs.py +289 -288
- pulumi_kubernetes/batch/v1beta1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v1beta1/outputs.py +49 -48
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v2alpha1/outputs.py +49 -48
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +17 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +17 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +17 -16
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +126 -125
- pulumi_kubernetes/certificates/v1/outputs.py +97 -96
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +117 -116
- pulumi_kubernetes/certificates/v1beta1/outputs.py +93 -92
- pulumi_kubernetes/coordination/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/Lease.py +17 -16
- pulumi_kubernetes/coordination/v1/LeaseList.py +17 -16
- pulumi_kubernetes/coordination/v1/LeasePatch.py +17 -16
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +81 -80
- pulumi_kubernetes/coordination/v1/outputs.py +49 -48
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1beta1/Lease.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +61 -60
- pulumi_kubernetes/coordination/v1beta1/outputs.py +37 -36
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +17 -16
- pulumi_kubernetes/core/v1/BindingPatch.py +17 -16
- pulumi_kubernetes/core/v1/ConfigMap.py +41 -40
- pulumi_kubernetes/core/v1/ConfigMapList.py +17 -16
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +41 -40
- pulumi_kubernetes/core/v1/Endpoints.py +17 -16
- pulumi_kubernetes/core/v1/EndpointsList.py +17 -16
- pulumi_kubernetes/core/v1/EndpointsPatch.py +17 -16
- pulumi_kubernetes/core/v1/Event.py +97 -96
- pulumi_kubernetes/core/v1/EventList.py +17 -16
- pulumi_kubernetes/core/v1/EventPatch.py +97 -96
- pulumi_kubernetes/core/v1/LimitRange.py +17 -16
- pulumi_kubernetes/core/v1/LimitRangeList.py +17 -16
- pulumi_kubernetes/core/v1/LimitRangePatch.py +17 -16
- pulumi_kubernetes/core/v1/Namespace.py +17 -16
- pulumi_kubernetes/core/v1/NamespaceList.py +17 -16
- pulumi_kubernetes/core/v1/NamespacePatch.py +17 -16
- pulumi_kubernetes/core/v1/Node.py +17 -16
- pulumi_kubernetes/core/v1/NodeList.py +17 -16
- pulumi_kubernetes/core/v1/NodePatch.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolume.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +17 -16
- pulumi_kubernetes/core/v1/Pod.py +17 -16
- pulumi_kubernetes/core/v1/PodList.py +17 -16
- pulumi_kubernetes/core/v1/PodPatch.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplate.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplateList.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationController.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuota.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +17 -16
- pulumi_kubernetes/core/v1/Secret.py +49 -48
- pulumi_kubernetes/core/v1/SecretList.py +17 -16
- pulumi_kubernetes/core/v1/SecretPatch.py +49 -48
- pulumi_kubernetes/core/v1/Service.py +17 -16
- pulumi_kubernetes/core/v1/ServiceAccount.py +25 -24
- pulumi_kubernetes/core/v1/ServiceAccountList.py +17 -16
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +25 -24
- pulumi_kubernetes/core/v1/ServiceList.py +17 -16
- pulumi_kubernetes/core/v1/ServicePatch.py +17 -16
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +3 -1
- pulumi_kubernetes/core/v1/_inputs.py +5506 -5505
- pulumi_kubernetes/core/v1/outputs.py +3613 -3612
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +25 -24
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +17 -16
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +25 -24
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +146 -145
- pulumi_kubernetes/discovery/v1/outputs.py +88 -87
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +25 -24
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +17 -16
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +25 -24
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/discovery/v1beta1/outputs.py +76 -75
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +97 -96
- pulumi_kubernetes/events/v1/EventList.py +17 -16
- pulumi_kubernetes/events/v1/EventPatch.py +97 -96
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +81 -80
- pulumi_kubernetes/events/v1/outputs.py +49 -48
- pulumi_kubernetes/events/v1beta1/Event.py +97 -96
- pulumi_kubernetes/events/v1beta1/EventList.py +17 -16
- pulumi_kubernetes/events/v1beta1/EventPatch.py +97 -96
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +91 -90
- pulumi_kubernetes/events/v1beta1/outputs.py +55 -54
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +826 -825
- pulumi_kubernetes/extensions/v1beta1/outputs.py +587 -586
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +223 -222
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +246 -245
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +31 -30
- pulumi_kubernetes/helm/v3/outputs.py +41 -40
- pulumi_kubernetes/helm/v4/Chart.py +71 -70
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +26 -25
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +30 -29
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +42 -41
- pulumi_kubernetes/meta/v1/StatusPatch.py +42 -41
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +451 -450
- pulumi_kubernetes/meta/v1/outputs.py +289 -288
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/Ingress.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClass.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClassList.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +17 -16
- pulumi_kubernetes/networking/v1/IngressList.py +17 -16
- pulumi_kubernetes/networking/v1/IngressPatch.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +17 -16
- pulumi_kubernetes/networking/v1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/_inputs.py +266 -265
- pulumi_kubernetes/networking/v1/outputs.py +171 -170
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +121 -120
- pulumi_kubernetes/networking/v1alpha1/outputs.py +73 -72
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/Ingress.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +181 -180
- pulumi_kubernetes/networking/v1beta1/outputs.py +105 -104
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +25 -24
- pulumi_kubernetes/node/v1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +25 -24
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1/outputs.py +22 -21
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +17 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +17 -16
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +41 -40
- pulumi_kubernetes/node/v1alpha1/outputs.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +25 -24
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1beta1/outputs.py +22 -21
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +17 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +17 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +17 -16
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +71 -70
- pulumi_kubernetes/policy/v1/outputs.py +53 -52
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +17 -16
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +361 -360
- pulumi_kubernetes/policy/v1beta1/outputs.py +227 -226
- pulumi_kubernetes/provider.py +92 -91
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1beta1/outputs.py +97 -96
- pulumi_kubernetes/resource/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +25 -24
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +25 -24
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +206 -205
- pulumi_kubernetes/resource/v1alpha1/outputs.py +154 -153
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +25 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +25 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +411 -410
- pulumi_kubernetes/resource/v1alpha2/outputs.py +286 -285
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +386 -385
- pulumi_kubernetes/resource/v1alpha3/outputs.py +295 -294
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +17 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +321 -320
- pulumi_kubernetes/resource/v1beta1/outputs.py +244 -243
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +19 -18
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +11 -10
- pulumi_kubernetes/settings/v1alpha1/outputs.py +7 -6
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +17 -16
- pulumi_kubernetes/storage/v1/CSIDriverList.py +17 -16
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +17 -16
- pulumi_kubernetes/storage/v1/CSINode.py +17 -16
- pulumi_kubernetes/storage/v1/CSINodeList.py +17 -16
- pulumi_kubernetes/storage/v1/CSINodePatch.py +17 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +41 -40
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +17 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +41 -40
- pulumi_kubernetes/storage/v1/StorageClass.py +65 -64
- pulumi_kubernetes/storage/v1/StorageClassList.py +17 -16
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +65 -64
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +276 -275
- pulumi_kubernetes/storage/v1/outputs.py +178 -177
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +33 -32
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +33 -32
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storage/v1alpha1/outputs.py +61 -60
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINode.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +41 -40
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +41 -40
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +65 -64
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +65 -64
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +33 -32
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +33 -32
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +286 -285
- pulumi_kubernetes/storage/v1beta1/outputs.py +184 -183
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +22 -21
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +29 -28
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- {pulumi_kubernetes-4.23.0a1743519894.dist-info → pulumi_kubernetes-4.23.0a1743595894.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.23.0a1743595894.dist-info/RECORD +679 -0
- pulumi_kubernetes-4.23.0a1743519894.dist-info/RECORD +0 -679
- {pulumi_kubernetes-4.23.0a1743519894.dist-info → pulumi_kubernetes-4.23.0a1743595894.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.23.0a1743519894.dist-info → pulumi_kubernetes-4.23.0a1743595894.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -82,18 +83,18 @@ class AuditAnnotation(dict):
|
|
|
82
83
|
return super().get(key, default)
|
|
83
84
|
|
|
84
85
|
def __init__(__self__, *,
|
|
85
|
-
key: str,
|
|
86
|
-
value_expression: str):
|
|
86
|
+
key: builtins.str,
|
|
87
|
+
value_expression: builtins.str):
|
|
87
88
|
"""
|
|
88
89
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
89
|
-
:param str key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
90
|
+
:param builtins.str key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
90
91
|
|
|
91
92
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
92
93
|
|
|
93
94
|
If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.
|
|
94
95
|
|
|
95
96
|
Required.
|
|
96
|
-
:param str value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
97
|
+
:param builtins.str value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
97
98
|
|
|
98
99
|
If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.
|
|
99
100
|
|
|
@@ -104,7 +105,7 @@ class AuditAnnotation(dict):
|
|
|
104
105
|
|
|
105
106
|
@property
|
|
106
107
|
@pulumi.getter
|
|
107
|
-
def key(self) -> str:
|
|
108
|
+
def key(self) -> builtins.str:
|
|
108
109
|
"""
|
|
109
110
|
key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
110
111
|
|
|
@@ -118,7 +119,7 @@ class AuditAnnotation(dict):
|
|
|
118
119
|
|
|
119
120
|
@property
|
|
120
121
|
@pulumi.getter(name="valueExpression")
|
|
121
|
-
def value_expression(self) -> str:
|
|
122
|
+
def value_expression(self) -> builtins.str:
|
|
122
123
|
"""
|
|
123
124
|
valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
124
125
|
|
|
@@ -152,18 +153,18 @@ class AuditAnnotationPatch(dict):
|
|
|
152
153
|
return super().get(key, default)
|
|
153
154
|
|
|
154
155
|
def __init__(__self__, *,
|
|
155
|
-
key: Optional[str] = None,
|
|
156
|
-
value_expression: Optional[str] = None):
|
|
156
|
+
key: Optional[builtins.str] = None,
|
|
157
|
+
value_expression: Optional[builtins.str] = None):
|
|
157
158
|
"""
|
|
158
159
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
159
|
-
:param str key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
160
|
+
:param builtins.str key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
160
161
|
|
|
161
162
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
162
163
|
|
|
163
164
|
If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.
|
|
164
165
|
|
|
165
166
|
Required.
|
|
166
|
-
:param str value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
167
|
+
:param builtins.str value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
167
168
|
|
|
168
169
|
If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.
|
|
169
170
|
|
|
@@ -176,7 +177,7 @@ class AuditAnnotationPatch(dict):
|
|
|
176
177
|
|
|
177
178
|
@property
|
|
178
179
|
@pulumi.getter
|
|
179
|
-
def key(self) -> Optional[str]:
|
|
180
|
+
def key(self) -> Optional[builtins.str]:
|
|
180
181
|
"""
|
|
181
182
|
key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
182
183
|
|
|
@@ -190,7 +191,7 @@ class AuditAnnotationPatch(dict):
|
|
|
190
191
|
|
|
191
192
|
@property
|
|
192
193
|
@pulumi.getter(name="valueExpression")
|
|
193
|
-
def value_expression(self) -> Optional[str]:
|
|
194
|
+
def value_expression(self) -> Optional[builtins.str]:
|
|
194
195
|
"""
|
|
195
196
|
valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
196
197
|
|
|
@@ -224,19 +225,19 @@ class ExpressionWarning(dict):
|
|
|
224
225
|
return super().get(key, default)
|
|
225
226
|
|
|
226
227
|
def __init__(__self__, *,
|
|
227
|
-
field_ref: str,
|
|
228
|
-
warning: str):
|
|
228
|
+
field_ref: builtins.str,
|
|
229
|
+
warning: builtins.str):
|
|
229
230
|
"""
|
|
230
231
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
231
|
-
:param str field_ref: The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
|
|
232
|
-
:param str warning: The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
|
|
232
|
+
:param builtins.str field_ref: The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
|
|
233
|
+
:param builtins.str warning: The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
|
|
233
234
|
"""
|
|
234
235
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
235
236
|
pulumi.set(__self__, "warning", warning)
|
|
236
237
|
|
|
237
238
|
@property
|
|
238
239
|
@pulumi.getter(name="fieldRef")
|
|
239
|
-
def field_ref(self) -> str:
|
|
240
|
+
def field_ref(self) -> builtins.str:
|
|
240
241
|
"""
|
|
241
242
|
The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
|
|
242
243
|
"""
|
|
@@ -244,7 +245,7 @@ class ExpressionWarning(dict):
|
|
|
244
245
|
|
|
245
246
|
@property
|
|
246
247
|
@pulumi.getter
|
|
247
|
-
def warning(self) -> str:
|
|
248
|
+
def warning(self) -> builtins.str:
|
|
248
249
|
"""
|
|
249
250
|
The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
|
|
250
251
|
"""
|
|
@@ -274,12 +275,12 @@ class ExpressionWarningPatch(dict):
|
|
|
274
275
|
return super().get(key, default)
|
|
275
276
|
|
|
276
277
|
def __init__(__self__, *,
|
|
277
|
-
field_ref: Optional[str] = None,
|
|
278
|
-
warning: Optional[str] = None):
|
|
278
|
+
field_ref: Optional[builtins.str] = None,
|
|
279
|
+
warning: Optional[builtins.str] = None):
|
|
279
280
|
"""
|
|
280
281
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
281
|
-
:param str field_ref: The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
|
|
282
|
-
:param str warning: The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
|
|
282
|
+
:param builtins.str field_ref: The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
|
|
283
|
+
:param builtins.str warning: The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
|
|
283
284
|
"""
|
|
284
285
|
if field_ref is not None:
|
|
285
286
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
@@ -288,7 +289,7 @@ class ExpressionWarningPatch(dict):
|
|
|
288
289
|
|
|
289
290
|
@property
|
|
290
291
|
@pulumi.getter(name="fieldRef")
|
|
291
|
-
def field_ref(self) -> Optional[str]:
|
|
292
|
+
def field_ref(self) -> Optional[builtins.str]:
|
|
292
293
|
"""
|
|
293
294
|
The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
|
|
294
295
|
"""
|
|
@@ -296,7 +297,7 @@ class ExpressionWarningPatch(dict):
|
|
|
296
297
|
|
|
297
298
|
@property
|
|
298
299
|
@pulumi.getter
|
|
299
|
-
def warning(self) -> Optional[str]:
|
|
300
|
+
def warning(self) -> Optional[builtins.str]:
|
|
300
301
|
"""
|
|
301
302
|
The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
|
|
302
303
|
"""
|
|
@@ -309,11 +310,11 @@ class MatchCondition(dict):
|
|
|
309
310
|
MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
|
|
310
311
|
"""
|
|
311
312
|
def __init__(__self__, *,
|
|
312
|
-
expression: str,
|
|
313
|
-
name: str):
|
|
313
|
+
expression: builtins.str,
|
|
314
|
+
name: builtins.str):
|
|
314
315
|
"""
|
|
315
316
|
MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
|
|
316
|
-
:param str expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
317
|
+
:param builtins.str expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
317
318
|
|
|
318
319
|
'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
|
|
319
320
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -322,7 +323,7 @@ class MatchCondition(dict):
|
|
|
322
323
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
323
324
|
|
|
324
325
|
Required.
|
|
325
|
-
:param str name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
326
|
+
:param builtins.str name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
326
327
|
|
|
327
328
|
Required.
|
|
328
329
|
"""
|
|
@@ -331,7 +332,7 @@ class MatchCondition(dict):
|
|
|
331
332
|
|
|
332
333
|
@property
|
|
333
334
|
@pulumi.getter
|
|
334
|
-
def expression(self) -> str:
|
|
335
|
+
def expression(self) -> builtins.str:
|
|
335
336
|
"""
|
|
336
337
|
Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
337
338
|
|
|
@@ -347,7 +348,7 @@ class MatchCondition(dict):
|
|
|
347
348
|
|
|
348
349
|
@property
|
|
349
350
|
@pulumi.getter
|
|
350
|
-
def name(self) -> str:
|
|
351
|
+
def name(self) -> builtins.str:
|
|
351
352
|
"""
|
|
352
353
|
Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
353
354
|
|
|
@@ -362,11 +363,11 @@ class MatchConditionPatch(dict):
|
|
|
362
363
|
MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
|
|
363
364
|
"""
|
|
364
365
|
def __init__(__self__, *,
|
|
365
|
-
expression: Optional[str] = None,
|
|
366
|
-
name: Optional[str] = None):
|
|
366
|
+
expression: Optional[builtins.str] = None,
|
|
367
|
+
name: Optional[builtins.str] = None):
|
|
367
368
|
"""
|
|
368
369
|
MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
|
|
369
|
-
:param str expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
370
|
+
:param builtins.str expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
370
371
|
|
|
371
372
|
'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
|
|
372
373
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -375,7 +376,7 @@ class MatchConditionPatch(dict):
|
|
|
375
376
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
376
377
|
|
|
377
378
|
Required.
|
|
378
|
-
:param str name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
379
|
+
:param builtins.str name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
379
380
|
|
|
380
381
|
Required.
|
|
381
382
|
"""
|
|
@@ -386,7 +387,7 @@ class MatchConditionPatch(dict):
|
|
|
386
387
|
|
|
387
388
|
@property
|
|
388
389
|
@pulumi.getter
|
|
389
|
-
def expression(self) -> Optional[str]:
|
|
390
|
+
def expression(self) -> Optional[builtins.str]:
|
|
390
391
|
"""
|
|
391
392
|
Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
392
393
|
|
|
@@ -402,7 +403,7 @@ class MatchConditionPatch(dict):
|
|
|
402
403
|
|
|
403
404
|
@property
|
|
404
405
|
@pulumi.getter
|
|
405
|
-
def name(self) -> Optional[str]:
|
|
406
|
+
def name(self) -> Optional[builtins.str]:
|
|
406
407
|
"""
|
|
407
408
|
Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
408
409
|
|
|
@@ -443,14 +444,14 @@ class MatchResources(dict):
|
|
|
443
444
|
|
|
444
445
|
def __init__(__self__, *,
|
|
445
446
|
exclude_resource_rules: Optional[Sequence['outputs.NamedRuleWithOperations']] = None,
|
|
446
|
-
match_policy: Optional[str] = None,
|
|
447
|
+
match_policy: Optional[builtins.str] = None,
|
|
447
448
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
448
449
|
object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
449
450
|
resource_rules: Optional[Sequence['outputs.NamedRuleWithOperations']] = None):
|
|
450
451
|
"""
|
|
451
452
|
MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
452
453
|
:param Sequence['NamedRuleWithOperationsArgs'] exclude_resource_rules: ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
453
|
-
:param str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
454
|
+
:param builtins.str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
454
455
|
|
|
455
456
|
- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
|
|
456
457
|
|
|
@@ -512,7 +513,7 @@ class MatchResources(dict):
|
|
|
512
513
|
|
|
513
514
|
@property
|
|
514
515
|
@pulumi.getter(name="matchPolicy")
|
|
515
|
-
def match_policy(self) -> Optional[str]:
|
|
516
|
+
def match_policy(self) -> Optional[builtins.str]:
|
|
516
517
|
"""
|
|
517
518
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
518
519
|
|
|
@@ -611,14 +612,14 @@ class MatchResourcesPatch(dict):
|
|
|
611
612
|
|
|
612
613
|
def __init__(__self__, *,
|
|
613
614
|
exclude_resource_rules: Optional[Sequence['outputs.NamedRuleWithOperationsPatch']] = None,
|
|
614
|
-
match_policy: Optional[str] = None,
|
|
615
|
+
match_policy: Optional[builtins.str] = None,
|
|
615
616
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
616
617
|
object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
617
618
|
resource_rules: Optional[Sequence['outputs.NamedRuleWithOperationsPatch']] = None):
|
|
618
619
|
"""
|
|
619
620
|
MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
620
621
|
:param Sequence['NamedRuleWithOperationsPatchArgs'] exclude_resource_rules: ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
621
|
-
:param str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
622
|
+
:param builtins.str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
622
623
|
|
|
623
624
|
- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
|
|
624
625
|
|
|
@@ -680,7 +681,7 @@ class MatchResourcesPatch(dict):
|
|
|
680
681
|
|
|
681
682
|
@property
|
|
682
683
|
@pulumi.getter(name="matchPolicy")
|
|
683
|
-
def match_policy(self) -> Optional[str]:
|
|
684
|
+
def match_policy(self) -> Optional[builtins.str]:
|
|
684
685
|
"""
|
|
685
686
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
686
687
|
|
|
@@ -787,23 +788,23 @@ class MutatingWebhook(dict):
|
|
|
787
788
|
|
|
788
789
|
def __init__(__self__, *,
|
|
789
790
|
client_config: 'outputs.WebhookClientConfig',
|
|
790
|
-
name: str,
|
|
791
|
-
admission_review_versions: Optional[Sequence[str]] = None,
|
|
792
|
-
failure_policy: Optional[str] = None,
|
|
793
|
-
match_policy: Optional[str] = None,
|
|
791
|
+
name: builtins.str,
|
|
792
|
+
admission_review_versions: Optional[Sequence[builtins.str]] = None,
|
|
793
|
+
failure_policy: Optional[builtins.str] = None,
|
|
794
|
+
match_policy: Optional[builtins.str] = None,
|
|
794
795
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
795
796
|
object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
796
|
-
reinvocation_policy: Optional[str] = None,
|
|
797
|
+
reinvocation_policy: Optional[builtins.str] = None,
|
|
797
798
|
rules: Optional[Sequence['outputs.RuleWithOperations']] = None,
|
|
798
|
-
side_effects: Optional[str] = None,
|
|
799
|
-
timeout_seconds: Optional[int] = None):
|
|
799
|
+
side_effects: Optional[builtins.str] = None,
|
|
800
|
+
timeout_seconds: Optional[builtins.int] = None):
|
|
800
801
|
"""
|
|
801
802
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
802
803
|
:param 'WebhookClientConfigArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
803
|
-
:param str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
804
|
-
:param Sequence[str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
805
|
-
:param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
806
|
-
:param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
804
|
+
:param builtins.str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
805
|
+
:param Sequence[builtins.str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
806
|
+
:param builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
807
|
+
:param builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
807
808
|
|
|
808
809
|
- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
|
|
809
810
|
|
|
@@ -842,7 +843,7 @@ class MutatingWebhook(dict):
|
|
|
842
843
|
|
|
843
844
|
Default to the empty LabelSelector, which matches everything.
|
|
844
845
|
:param '_meta.v1.LabelSelectorArgs' object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
|
|
845
|
-
:param str reinvocation_policy: reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
846
|
+
:param builtins.str reinvocation_policy: reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
846
847
|
|
|
847
848
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
848
849
|
|
|
@@ -850,8 +851,8 @@ class MutatingWebhook(dict):
|
|
|
850
851
|
|
|
851
852
|
Defaults to "Never".
|
|
852
853
|
:param Sequence['RuleWithOperationsArgs'] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
|
|
853
|
-
:param str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
854
|
-
:param int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
854
|
+
:param builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
855
|
+
:param builtins.int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
855
856
|
"""
|
|
856
857
|
pulumi.set(__self__, "client_config", client_config)
|
|
857
858
|
pulumi.set(__self__, "name", name)
|
|
@@ -884,7 +885,7 @@ class MutatingWebhook(dict):
|
|
|
884
885
|
|
|
885
886
|
@property
|
|
886
887
|
@pulumi.getter
|
|
887
|
-
def name(self) -> str:
|
|
888
|
+
def name(self) -> builtins.str:
|
|
888
889
|
"""
|
|
889
890
|
The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
890
891
|
"""
|
|
@@ -892,7 +893,7 @@ class MutatingWebhook(dict):
|
|
|
892
893
|
|
|
893
894
|
@property
|
|
894
895
|
@pulumi.getter(name="admissionReviewVersions")
|
|
895
|
-
def admission_review_versions(self) -> Optional[Sequence[str]]:
|
|
896
|
+
def admission_review_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
896
897
|
"""
|
|
897
898
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
898
899
|
"""
|
|
@@ -900,7 +901,7 @@ class MutatingWebhook(dict):
|
|
|
900
901
|
|
|
901
902
|
@property
|
|
902
903
|
@pulumi.getter(name="failurePolicy")
|
|
903
|
-
def failure_policy(self) -> Optional[str]:
|
|
904
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
904
905
|
"""
|
|
905
906
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
906
907
|
"""
|
|
@@ -908,7 +909,7 @@ class MutatingWebhook(dict):
|
|
|
908
909
|
|
|
909
910
|
@property
|
|
910
911
|
@pulumi.getter(name="matchPolicy")
|
|
911
|
-
def match_policy(self) -> Optional[str]:
|
|
912
|
+
def match_policy(self) -> Optional[builtins.str]:
|
|
912
913
|
"""
|
|
913
914
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
914
915
|
|
|
@@ -968,7 +969,7 @@ class MutatingWebhook(dict):
|
|
|
968
969
|
|
|
969
970
|
@property
|
|
970
971
|
@pulumi.getter(name="reinvocationPolicy")
|
|
971
|
-
def reinvocation_policy(self) -> Optional[str]:
|
|
972
|
+
def reinvocation_policy(self) -> Optional[builtins.str]:
|
|
972
973
|
"""
|
|
973
974
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
974
975
|
|
|
@@ -990,7 +991,7 @@ class MutatingWebhook(dict):
|
|
|
990
991
|
|
|
991
992
|
@property
|
|
992
993
|
@pulumi.getter(name="sideEffects")
|
|
993
|
-
def side_effects(self) -> Optional[str]:
|
|
994
|
+
def side_effects(self) -> Optional[builtins.str]:
|
|
994
995
|
"""
|
|
995
996
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
996
997
|
"""
|
|
@@ -998,7 +999,7 @@ class MutatingWebhook(dict):
|
|
|
998
999
|
|
|
999
1000
|
@property
|
|
1000
1001
|
@pulumi.getter(name="timeoutSeconds")
|
|
1001
|
-
def timeout_seconds(self) -> Optional[int]:
|
|
1002
|
+
def timeout_seconds(self) -> Optional[builtins.int]:
|
|
1002
1003
|
"""
|
|
1003
1004
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1004
1005
|
"""
|
|
@@ -1028,14 +1029,14 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1028
1029
|
return super().get(key, default)
|
|
1029
1030
|
|
|
1030
1031
|
def __init__(__self__, *,
|
|
1031
|
-
api_version: Optional[str] = None,
|
|
1032
|
-
kind: Optional[str] = None,
|
|
1032
|
+
api_version: Optional[builtins.str] = None,
|
|
1033
|
+
kind: Optional[builtins.str] = None,
|
|
1033
1034
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
1034
1035
|
webhooks: Optional[Sequence['outputs.MutatingWebhook']] = None):
|
|
1035
1036
|
"""
|
|
1036
1037
|
MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.
|
|
1037
|
-
:param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1038
|
-
:param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1038
|
+
:param builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1039
|
+
:param builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1039
1040
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
1040
1041
|
:param Sequence['MutatingWebhookArgs'] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
1041
1042
|
"""
|
|
@@ -1050,7 +1051,7 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1050
1051
|
|
|
1051
1052
|
@property
|
|
1052
1053
|
@pulumi.getter(name="apiVersion")
|
|
1053
|
-
def api_version(self) -> Optional[str]:
|
|
1054
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
1054
1055
|
"""
|
|
1055
1056
|
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
|
|
1056
1057
|
"""
|
|
@@ -1058,7 +1059,7 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1058
1059
|
|
|
1059
1060
|
@property
|
|
1060
1061
|
@pulumi.getter
|
|
1061
|
-
def kind(self) -> Optional[str]:
|
|
1062
|
+
def kind(self) -> Optional[builtins.str]:
|
|
1062
1063
|
"""
|
|
1063
1064
|
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
|
|
1064
1065
|
"""
|
|
@@ -1120,30 +1121,30 @@ class MutatingWebhookPatch(dict):
|
|
|
1120
1121
|
return super().get(key, default)
|
|
1121
1122
|
|
|
1122
1123
|
def __init__(__self__, *,
|
|
1123
|
-
admission_review_versions: Optional[Sequence[str]] = None,
|
|
1124
|
+
admission_review_versions: Optional[Sequence[builtins.str]] = None,
|
|
1124
1125
|
client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
|
|
1125
|
-
failure_policy: Optional[str] = None,
|
|
1126
|
-
match_policy: Optional[str] = None,
|
|
1127
|
-
name: Optional[str] = None,
|
|
1126
|
+
failure_policy: Optional[builtins.str] = None,
|
|
1127
|
+
match_policy: Optional[builtins.str] = None,
|
|
1128
|
+
name: Optional[builtins.str] = None,
|
|
1128
1129
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1129
1130
|
object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1130
|
-
reinvocation_policy: Optional[str] = None,
|
|
1131
|
+
reinvocation_policy: Optional[builtins.str] = None,
|
|
1131
1132
|
rules: Optional[Sequence['outputs.RuleWithOperationsPatch']] = None,
|
|
1132
|
-
side_effects: Optional[str] = None,
|
|
1133
|
-
timeout_seconds: Optional[int] = None):
|
|
1133
|
+
side_effects: Optional[builtins.str] = None,
|
|
1134
|
+
timeout_seconds: Optional[builtins.int] = None):
|
|
1134
1135
|
"""
|
|
1135
1136
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1136
|
-
:param Sequence[str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1137
|
+
:param Sequence[builtins.str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1137
1138
|
:param 'WebhookClientConfigPatchArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
1138
|
-
:param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1139
|
-
:param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1139
|
+
:param builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1140
|
+
:param builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1140
1141
|
|
|
1141
1142
|
- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
|
|
1142
1143
|
|
|
1143
1144
|
- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
|
|
1144
1145
|
|
|
1145
1146
|
Defaults to "Exact"
|
|
1146
|
-
:param str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
1147
|
+
:param builtins.str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
1147
1148
|
:param '_meta.v1.LabelSelectorPatchArgs' namespace_selector: NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
|
|
1148
1149
|
|
|
1149
1150
|
For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
|
|
@@ -1176,7 +1177,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1176
1177
|
|
|
1177
1178
|
Default to the empty LabelSelector, which matches everything.
|
|
1178
1179
|
:param '_meta.v1.LabelSelectorPatchArgs' object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
|
|
1179
|
-
:param str reinvocation_policy: reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1180
|
+
:param builtins.str reinvocation_policy: reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1180
1181
|
|
|
1181
1182
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
1182
1183
|
|
|
@@ -1184,8 +1185,8 @@ class MutatingWebhookPatch(dict):
|
|
|
1184
1185
|
|
|
1185
1186
|
Defaults to "Never".
|
|
1186
1187
|
:param Sequence['RuleWithOperationsPatchArgs'] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
|
|
1187
|
-
:param str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1188
|
-
:param int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1188
|
+
:param builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1189
|
+
:param builtins.int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1189
1190
|
"""
|
|
1190
1191
|
if admission_review_versions is not None:
|
|
1191
1192
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -1212,7 +1213,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1212
1213
|
|
|
1213
1214
|
@property
|
|
1214
1215
|
@pulumi.getter(name="admissionReviewVersions")
|
|
1215
|
-
def admission_review_versions(self) -> Optional[Sequence[str]]:
|
|
1216
|
+
def admission_review_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
1216
1217
|
"""
|
|
1217
1218
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1218
1219
|
"""
|
|
@@ -1228,7 +1229,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1228
1229
|
|
|
1229
1230
|
@property
|
|
1230
1231
|
@pulumi.getter(name="failurePolicy")
|
|
1231
|
-
def failure_policy(self) -> Optional[str]:
|
|
1232
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
1232
1233
|
"""
|
|
1233
1234
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1234
1235
|
"""
|
|
@@ -1236,7 +1237,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1236
1237
|
|
|
1237
1238
|
@property
|
|
1238
1239
|
@pulumi.getter(name="matchPolicy")
|
|
1239
|
-
def match_policy(self) -> Optional[str]:
|
|
1240
|
+
def match_policy(self) -> Optional[builtins.str]:
|
|
1240
1241
|
"""
|
|
1241
1242
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1242
1243
|
|
|
@@ -1250,7 +1251,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1250
1251
|
|
|
1251
1252
|
@property
|
|
1252
1253
|
@pulumi.getter
|
|
1253
|
-
def name(self) -> Optional[str]:
|
|
1254
|
+
def name(self) -> Optional[builtins.str]:
|
|
1254
1255
|
"""
|
|
1255
1256
|
The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
1256
1257
|
"""
|
|
@@ -1304,7 +1305,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1304
1305
|
|
|
1305
1306
|
@property
|
|
1306
1307
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1307
|
-
def reinvocation_policy(self) -> Optional[str]:
|
|
1308
|
+
def reinvocation_policy(self) -> Optional[builtins.str]:
|
|
1308
1309
|
"""
|
|
1309
1310
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1310
1311
|
|
|
@@ -1326,7 +1327,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1326
1327
|
|
|
1327
1328
|
@property
|
|
1328
1329
|
@pulumi.getter(name="sideEffects")
|
|
1329
|
-
def side_effects(self) -> Optional[str]:
|
|
1330
|
+
def side_effects(self) -> Optional[builtins.str]:
|
|
1330
1331
|
"""
|
|
1331
1332
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1332
1333
|
"""
|
|
@@ -1334,7 +1335,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1334
1335
|
|
|
1335
1336
|
@property
|
|
1336
1337
|
@pulumi.getter(name="timeoutSeconds")
|
|
1337
|
-
def timeout_seconds(self) -> Optional[int]:
|
|
1338
|
+
def timeout_seconds(self) -> Optional[builtins.int]:
|
|
1338
1339
|
"""
|
|
1339
1340
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1340
1341
|
"""
|
|
@@ -1368,26 +1369,26 @@ class NamedRuleWithOperations(dict):
|
|
|
1368
1369
|
return super().get(key, default)
|
|
1369
1370
|
|
|
1370
1371
|
def __init__(__self__, *,
|
|
1371
|
-
api_groups: Optional[Sequence[str]] = None,
|
|
1372
|
-
api_versions: Optional[Sequence[str]] = None,
|
|
1373
|
-
operations: Optional[Sequence[str]] = None,
|
|
1374
|
-
resource_names: Optional[Sequence[str]] = None,
|
|
1375
|
-
resources: Optional[Sequence[str]] = None,
|
|
1376
|
-
scope: Optional[str] = None):
|
|
1372
|
+
api_groups: Optional[Sequence[builtins.str]] = None,
|
|
1373
|
+
api_versions: Optional[Sequence[builtins.str]] = None,
|
|
1374
|
+
operations: Optional[Sequence[builtins.str]] = None,
|
|
1375
|
+
resource_names: Optional[Sequence[builtins.str]] = None,
|
|
1376
|
+
resources: Optional[Sequence[builtins.str]] = None,
|
|
1377
|
+
scope: Optional[builtins.str] = None):
|
|
1377
1378
|
"""
|
|
1378
1379
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1379
|
-
:param Sequence[str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1380
|
-
:param Sequence[str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1381
|
-
:param Sequence[str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
1382
|
-
:param Sequence[str] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1383
|
-
:param Sequence[str] resources: Resources is a list of resources this rule applies to.
|
|
1380
|
+
:param Sequence[builtins.str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1381
|
+
:param Sequence[builtins.str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1382
|
+
:param Sequence[builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
1383
|
+
:param Sequence[builtins.str] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1384
|
+
:param Sequence[builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1384
1385
|
|
|
1385
1386
|
For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
|
|
1386
1387
|
|
|
1387
1388
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1388
1389
|
|
|
1389
1390
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1390
|
-
:param str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
1391
|
+
:param builtins.str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
1391
1392
|
"""
|
|
1392
1393
|
if api_groups is not None:
|
|
1393
1394
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1404,7 +1405,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1404
1405
|
|
|
1405
1406
|
@property
|
|
1406
1407
|
@pulumi.getter(name="apiGroups")
|
|
1407
|
-
def api_groups(self) -> Optional[Sequence[str]]:
|
|
1408
|
+
def api_groups(self) -> Optional[Sequence[builtins.str]]:
|
|
1408
1409
|
"""
|
|
1409
1410
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1410
1411
|
"""
|
|
@@ -1412,7 +1413,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1412
1413
|
|
|
1413
1414
|
@property
|
|
1414
1415
|
@pulumi.getter(name="apiVersions")
|
|
1415
|
-
def api_versions(self) -> Optional[Sequence[str]]:
|
|
1416
|
+
def api_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
1416
1417
|
"""
|
|
1417
1418
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1418
1419
|
"""
|
|
@@ -1420,7 +1421,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1420
1421
|
|
|
1421
1422
|
@property
|
|
1422
1423
|
@pulumi.getter
|
|
1423
|
-
def operations(self) -> Optional[Sequence[str]]:
|
|
1424
|
+
def operations(self) -> Optional[Sequence[builtins.str]]:
|
|
1424
1425
|
"""
|
|
1425
1426
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
1426
1427
|
"""
|
|
@@ -1428,7 +1429,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1428
1429
|
|
|
1429
1430
|
@property
|
|
1430
1431
|
@pulumi.getter(name="resourceNames")
|
|
1431
|
-
def resource_names(self) -> Optional[Sequence[str]]:
|
|
1432
|
+
def resource_names(self) -> Optional[Sequence[builtins.str]]:
|
|
1432
1433
|
"""
|
|
1433
1434
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1434
1435
|
"""
|
|
@@ -1436,7 +1437,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1436
1437
|
|
|
1437
1438
|
@property
|
|
1438
1439
|
@pulumi.getter
|
|
1439
|
-
def resources(self) -> Optional[Sequence[str]]:
|
|
1440
|
+
def resources(self) -> Optional[Sequence[builtins.str]]:
|
|
1440
1441
|
"""
|
|
1441
1442
|
Resources is a list of resources this rule applies to.
|
|
1442
1443
|
|
|
@@ -1450,7 +1451,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1450
1451
|
|
|
1451
1452
|
@property
|
|
1452
1453
|
@pulumi.getter
|
|
1453
|
-
def scope(self) -> Optional[str]:
|
|
1454
|
+
def scope(self) -> Optional[builtins.str]:
|
|
1454
1455
|
"""
|
|
1455
1456
|
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
1456
1457
|
"""
|
|
@@ -1484,26 +1485,26 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1484
1485
|
return super().get(key, default)
|
|
1485
1486
|
|
|
1486
1487
|
def __init__(__self__, *,
|
|
1487
|
-
api_groups: Optional[Sequence[str]] = None,
|
|
1488
|
-
api_versions: Optional[Sequence[str]] = None,
|
|
1489
|
-
operations: Optional[Sequence[str]] = None,
|
|
1490
|
-
resource_names: Optional[Sequence[str]] = None,
|
|
1491
|
-
resources: Optional[Sequence[str]] = None,
|
|
1492
|
-
scope: Optional[str] = None):
|
|
1488
|
+
api_groups: Optional[Sequence[builtins.str]] = None,
|
|
1489
|
+
api_versions: Optional[Sequence[builtins.str]] = None,
|
|
1490
|
+
operations: Optional[Sequence[builtins.str]] = None,
|
|
1491
|
+
resource_names: Optional[Sequence[builtins.str]] = None,
|
|
1492
|
+
resources: Optional[Sequence[builtins.str]] = None,
|
|
1493
|
+
scope: Optional[builtins.str] = None):
|
|
1493
1494
|
"""
|
|
1494
1495
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1495
|
-
:param Sequence[str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1496
|
-
:param Sequence[str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1497
|
-
:param Sequence[str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
1498
|
-
:param Sequence[str] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1499
|
-
:param Sequence[str] resources: Resources is a list of resources this rule applies to.
|
|
1496
|
+
:param Sequence[builtins.str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1497
|
+
:param Sequence[builtins.str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1498
|
+
:param Sequence[builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
1499
|
+
:param Sequence[builtins.str] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1500
|
+
:param Sequence[builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1500
1501
|
|
|
1501
1502
|
For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
|
|
1502
1503
|
|
|
1503
1504
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1504
1505
|
|
|
1505
1506
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1506
|
-
:param str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
1507
|
+
:param builtins.str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
1507
1508
|
"""
|
|
1508
1509
|
if api_groups is not None:
|
|
1509
1510
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1520,7 +1521,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1520
1521
|
|
|
1521
1522
|
@property
|
|
1522
1523
|
@pulumi.getter(name="apiGroups")
|
|
1523
|
-
def api_groups(self) -> Optional[Sequence[str]]:
|
|
1524
|
+
def api_groups(self) -> Optional[Sequence[builtins.str]]:
|
|
1524
1525
|
"""
|
|
1525
1526
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1526
1527
|
"""
|
|
@@ -1528,7 +1529,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1528
1529
|
|
|
1529
1530
|
@property
|
|
1530
1531
|
@pulumi.getter(name="apiVersions")
|
|
1531
|
-
def api_versions(self) -> Optional[Sequence[str]]:
|
|
1532
|
+
def api_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
1532
1533
|
"""
|
|
1533
1534
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1534
1535
|
"""
|
|
@@ -1536,7 +1537,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1536
1537
|
|
|
1537
1538
|
@property
|
|
1538
1539
|
@pulumi.getter
|
|
1539
|
-
def operations(self) -> Optional[Sequence[str]]:
|
|
1540
|
+
def operations(self) -> Optional[Sequence[builtins.str]]:
|
|
1540
1541
|
"""
|
|
1541
1542
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
1542
1543
|
"""
|
|
@@ -1544,7 +1545,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1544
1545
|
|
|
1545
1546
|
@property
|
|
1546
1547
|
@pulumi.getter(name="resourceNames")
|
|
1547
|
-
def resource_names(self) -> Optional[Sequence[str]]:
|
|
1548
|
+
def resource_names(self) -> Optional[Sequence[builtins.str]]:
|
|
1548
1549
|
"""
|
|
1549
1550
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1550
1551
|
"""
|
|
@@ -1552,7 +1553,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1552
1553
|
|
|
1553
1554
|
@property
|
|
1554
1555
|
@pulumi.getter
|
|
1555
|
-
def resources(self) -> Optional[Sequence[str]]:
|
|
1556
|
+
def resources(self) -> Optional[Sequence[builtins.str]]:
|
|
1556
1557
|
"""
|
|
1557
1558
|
Resources is a list of resources this rule applies to.
|
|
1558
1559
|
|
|
@@ -1566,7 +1567,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1566
1567
|
|
|
1567
1568
|
@property
|
|
1568
1569
|
@pulumi.getter
|
|
1569
|
-
def scope(self) -> Optional[str]:
|
|
1570
|
+
def scope(self) -> Optional[builtins.str]:
|
|
1570
1571
|
"""
|
|
1571
1572
|
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
1572
1573
|
"""
|
|
@@ -1596,12 +1597,12 @@ class ParamKind(dict):
|
|
|
1596
1597
|
return super().get(key, default)
|
|
1597
1598
|
|
|
1598
1599
|
def __init__(__self__, *,
|
|
1599
|
-
api_version: Optional[str] = None,
|
|
1600
|
-
kind: Optional[str] = None):
|
|
1600
|
+
api_version: Optional[builtins.str] = None,
|
|
1601
|
+
kind: Optional[builtins.str] = None):
|
|
1601
1602
|
"""
|
|
1602
1603
|
ParamKind is a tuple of Group Kind and Version.
|
|
1603
|
-
:param str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1604
|
-
:param str kind: Kind is the API kind the resources belong to. Required.
|
|
1604
|
+
:param builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1605
|
+
:param builtins.str kind: Kind is the API kind the resources belong to. Required.
|
|
1605
1606
|
"""
|
|
1606
1607
|
if api_version is not None:
|
|
1607
1608
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -1610,7 +1611,7 @@ class ParamKind(dict):
|
|
|
1610
1611
|
|
|
1611
1612
|
@property
|
|
1612
1613
|
@pulumi.getter(name="apiVersion")
|
|
1613
|
-
def api_version(self) -> Optional[str]:
|
|
1614
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
1614
1615
|
"""
|
|
1615
1616
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1616
1617
|
"""
|
|
@@ -1618,7 +1619,7 @@ class ParamKind(dict):
|
|
|
1618
1619
|
|
|
1619
1620
|
@property
|
|
1620
1621
|
@pulumi.getter
|
|
1621
|
-
def kind(self) -> Optional[str]:
|
|
1622
|
+
def kind(self) -> Optional[builtins.str]:
|
|
1622
1623
|
"""
|
|
1623
1624
|
Kind is the API kind the resources belong to. Required.
|
|
1624
1625
|
"""
|
|
@@ -1648,12 +1649,12 @@ class ParamKindPatch(dict):
|
|
|
1648
1649
|
return super().get(key, default)
|
|
1649
1650
|
|
|
1650
1651
|
def __init__(__self__, *,
|
|
1651
|
-
api_version: Optional[str] = None,
|
|
1652
|
-
kind: Optional[str] = None):
|
|
1652
|
+
api_version: Optional[builtins.str] = None,
|
|
1653
|
+
kind: Optional[builtins.str] = None):
|
|
1653
1654
|
"""
|
|
1654
1655
|
ParamKind is a tuple of Group Kind and Version.
|
|
1655
|
-
:param str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1656
|
-
:param str kind: Kind is the API kind the resources belong to. Required.
|
|
1656
|
+
:param builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1657
|
+
:param builtins.str kind: Kind is the API kind the resources belong to. Required.
|
|
1657
1658
|
"""
|
|
1658
1659
|
if api_version is not None:
|
|
1659
1660
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -1662,7 +1663,7 @@ class ParamKindPatch(dict):
|
|
|
1662
1663
|
|
|
1663
1664
|
@property
|
|
1664
1665
|
@pulumi.getter(name="apiVersion")
|
|
1665
|
-
def api_version(self) -> Optional[str]:
|
|
1666
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
1666
1667
|
"""
|
|
1667
1668
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1668
1669
|
"""
|
|
@@ -1670,7 +1671,7 @@ class ParamKindPatch(dict):
|
|
|
1670
1671
|
|
|
1671
1672
|
@property
|
|
1672
1673
|
@pulumi.getter
|
|
1673
|
-
def kind(self) -> Optional[str]:
|
|
1674
|
+
def kind(self) -> Optional[builtins.str]:
|
|
1674
1675
|
"""
|
|
1675
1676
|
Kind is the API kind the resources belong to. Required.
|
|
1676
1677
|
"""
|
|
@@ -1700,25 +1701,25 @@ class ParamRef(dict):
|
|
|
1700
1701
|
return super().get(key, default)
|
|
1701
1702
|
|
|
1702
1703
|
def __init__(__self__, *,
|
|
1703
|
-
name: Optional[str] = None,
|
|
1704
|
-
namespace: Optional[str] = None,
|
|
1705
|
-
parameter_not_found_action: Optional[str] = None,
|
|
1704
|
+
name: Optional[builtins.str] = None,
|
|
1705
|
+
namespace: Optional[builtins.str] = None,
|
|
1706
|
+
parameter_not_found_action: Optional[builtins.str] = None,
|
|
1706
1707
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
1707
1708
|
"""
|
|
1708
1709
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
1709
|
-
:param str name: name is the name of the resource being referenced.
|
|
1710
|
+
:param builtins.str name: name is the name of the resource being referenced.
|
|
1710
1711
|
|
|
1711
1712
|
One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
1712
1713
|
|
|
1713
1714
|
A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.
|
|
1714
|
-
:param str namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
1715
|
+
:param builtins.str namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
1715
1716
|
|
|
1716
1717
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
1717
1718
|
|
|
1718
1719
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
1719
1720
|
|
|
1720
1721
|
- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
|
|
1721
|
-
:param str parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
1722
|
+
:param builtins.str parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
1722
1723
|
|
|
1723
1724
|
Allowed values are `Allow` or `Deny`
|
|
1724
1725
|
|
|
@@ -1740,7 +1741,7 @@ class ParamRef(dict):
|
|
|
1740
1741
|
|
|
1741
1742
|
@property
|
|
1742
1743
|
@pulumi.getter
|
|
1743
|
-
def name(self) -> Optional[str]:
|
|
1744
|
+
def name(self) -> Optional[builtins.str]:
|
|
1744
1745
|
"""
|
|
1745
1746
|
name is the name of the resource being referenced.
|
|
1746
1747
|
|
|
@@ -1752,7 +1753,7 @@ class ParamRef(dict):
|
|
|
1752
1753
|
|
|
1753
1754
|
@property
|
|
1754
1755
|
@pulumi.getter
|
|
1755
|
-
def namespace(self) -> Optional[str]:
|
|
1756
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
1756
1757
|
"""
|
|
1757
1758
|
namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
1758
1759
|
|
|
@@ -1766,7 +1767,7 @@ class ParamRef(dict):
|
|
|
1766
1767
|
|
|
1767
1768
|
@property
|
|
1768
1769
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
1769
|
-
def parameter_not_found_action(self) -> Optional[str]:
|
|
1770
|
+
def parameter_not_found_action(self) -> Optional[builtins.str]:
|
|
1770
1771
|
"""
|
|
1771
1772
|
`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
1772
1773
|
|
|
@@ -1812,25 +1813,25 @@ class ParamRefPatch(dict):
|
|
|
1812
1813
|
return super().get(key, default)
|
|
1813
1814
|
|
|
1814
1815
|
def __init__(__self__, *,
|
|
1815
|
-
name: Optional[str] = None,
|
|
1816
|
-
namespace: Optional[str] = None,
|
|
1817
|
-
parameter_not_found_action: Optional[str] = None,
|
|
1816
|
+
name: Optional[builtins.str] = None,
|
|
1817
|
+
namespace: Optional[builtins.str] = None,
|
|
1818
|
+
parameter_not_found_action: Optional[builtins.str] = None,
|
|
1818
1819
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None):
|
|
1819
1820
|
"""
|
|
1820
1821
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
1821
|
-
:param str name: name is the name of the resource being referenced.
|
|
1822
|
+
:param builtins.str name: name is the name of the resource being referenced.
|
|
1822
1823
|
|
|
1823
1824
|
One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
1824
1825
|
|
|
1825
1826
|
A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.
|
|
1826
|
-
:param str namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
1827
|
+
:param builtins.str namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
1827
1828
|
|
|
1828
1829
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
1829
1830
|
|
|
1830
1831
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
1831
1832
|
|
|
1832
1833
|
- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
|
|
1833
|
-
:param str parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
1834
|
+
:param builtins.str parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
1834
1835
|
|
|
1835
1836
|
Allowed values are `Allow` or `Deny`
|
|
1836
1837
|
|
|
@@ -1852,7 +1853,7 @@ class ParamRefPatch(dict):
|
|
|
1852
1853
|
|
|
1853
1854
|
@property
|
|
1854
1855
|
@pulumi.getter
|
|
1855
|
-
def name(self) -> Optional[str]:
|
|
1856
|
+
def name(self) -> Optional[builtins.str]:
|
|
1856
1857
|
"""
|
|
1857
1858
|
name is the name of the resource being referenced.
|
|
1858
1859
|
|
|
@@ -1864,7 +1865,7 @@ class ParamRefPatch(dict):
|
|
|
1864
1865
|
|
|
1865
1866
|
@property
|
|
1866
1867
|
@pulumi.getter
|
|
1867
|
-
def namespace(self) -> Optional[str]:
|
|
1868
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
1868
1869
|
"""
|
|
1869
1870
|
namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
1870
1871
|
|
|
@@ -1878,7 +1879,7 @@ class ParamRefPatch(dict):
|
|
|
1878
1879
|
|
|
1879
1880
|
@property
|
|
1880
1881
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
1881
|
-
def parameter_not_found_action(self) -> Optional[str]:
|
|
1882
|
+
def parameter_not_found_action(self) -> Optional[builtins.str]:
|
|
1882
1883
|
"""
|
|
1883
1884
|
`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
1884
1885
|
|
|
@@ -1926,24 +1927,24 @@ class RuleWithOperations(dict):
|
|
|
1926
1927
|
return super().get(key, default)
|
|
1927
1928
|
|
|
1928
1929
|
def __init__(__self__, *,
|
|
1929
|
-
api_groups: Optional[Sequence[str]] = None,
|
|
1930
|
-
api_versions: Optional[Sequence[str]] = None,
|
|
1931
|
-
operations: Optional[Sequence[str]] = None,
|
|
1932
|
-
resources: Optional[Sequence[str]] = None,
|
|
1933
|
-
scope: Optional[str] = None):
|
|
1930
|
+
api_groups: Optional[Sequence[builtins.str]] = None,
|
|
1931
|
+
api_versions: Optional[Sequence[builtins.str]] = None,
|
|
1932
|
+
operations: Optional[Sequence[builtins.str]] = None,
|
|
1933
|
+
resources: Optional[Sequence[builtins.str]] = None,
|
|
1934
|
+
scope: Optional[builtins.str] = None):
|
|
1934
1935
|
"""
|
|
1935
1936
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
1936
|
-
:param Sequence[str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1937
|
-
:param Sequence[str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1938
|
-
:param Sequence[str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
1939
|
-
:param Sequence[str] resources: Resources is a list of resources this rule applies to.
|
|
1937
|
+
:param Sequence[builtins.str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1938
|
+
:param Sequence[builtins.str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1939
|
+
:param Sequence[builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
1940
|
+
:param Sequence[builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1940
1941
|
|
|
1941
1942
|
For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
|
|
1942
1943
|
|
|
1943
1944
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1944
1945
|
|
|
1945
1946
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1946
|
-
:param str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
1947
|
+
:param builtins.str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
1947
1948
|
"""
|
|
1948
1949
|
if api_groups is not None:
|
|
1949
1950
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1958,7 +1959,7 @@ class RuleWithOperations(dict):
|
|
|
1958
1959
|
|
|
1959
1960
|
@property
|
|
1960
1961
|
@pulumi.getter(name="apiGroups")
|
|
1961
|
-
def api_groups(self) -> Optional[Sequence[str]]:
|
|
1962
|
+
def api_groups(self) -> Optional[Sequence[builtins.str]]:
|
|
1962
1963
|
"""
|
|
1963
1964
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1964
1965
|
"""
|
|
@@ -1966,7 +1967,7 @@ class RuleWithOperations(dict):
|
|
|
1966
1967
|
|
|
1967
1968
|
@property
|
|
1968
1969
|
@pulumi.getter(name="apiVersions")
|
|
1969
|
-
def api_versions(self) -> Optional[Sequence[str]]:
|
|
1970
|
+
def api_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
1970
1971
|
"""
|
|
1971
1972
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1972
1973
|
"""
|
|
@@ -1974,7 +1975,7 @@ class RuleWithOperations(dict):
|
|
|
1974
1975
|
|
|
1975
1976
|
@property
|
|
1976
1977
|
@pulumi.getter
|
|
1977
|
-
def operations(self) -> Optional[Sequence[str]]:
|
|
1978
|
+
def operations(self) -> Optional[Sequence[builtins.str]]:
|
|
1978
1979
|
"""
|
|
1979
1980
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
1980
1981
|
"""
|
|
@@ -1982,7 +1983,7 @@ class RuleWithOperations(dict):
|
|
|
1982
1983
|
|
|
1983
1984
|
@property
|
|
1984
1985
|
@pulumi.getter
|
|
1985
|
-
def resources(self) -> Optional[Sequence[str]]:
|
|
1986
|
+
def resources(self) -> Optional[Sequence[builtins.str]]:
|
|
1986
1987
|
"""
|
|
1987
1988
|
Resources is a list of resources this rule applies to.
|
|
1988
1989
|
|
|
@@ -1996,7 +1997,7 @@ class RuleWithOperations(dict):
|
|
|
1996
1997
|
|
|
1997
1998
|
@property
|
|
1998
1999
|
@pulumi.getter
|
|
1999
|
-
def scope(self) -> Optional[str]:
|
|
2000
|
+
def scope(self) -> Optional[builtins.str]:
|
|
2000
2001
|
"""
|
|
2001
2002
|
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2002
2003
|
"""
|
|
@@ -2028,24 +2029,24 @@ class RuleWithOperationsPatch(dict):
|
|
|
2028
2029
|
return super().get(key, default)
|
|
2029
2030
|
|
|
2030
2031
|
def __init__(__self__, *,
|
|
2031
|
-
api_groups: Optional[Sequence[str]] = None,
|
|
2032
|
-
api_versions: Optional[Sequence[str]] = None,
|
|
2033
|
-
operations: Optional[Sequence[str]] = None,
|
|
2034
|
-
resources: Optional[Sequence[str]] = None,
|
|
2035
|
-
scope: Optional[str] = None):
|
|
2032
|
+
api_groups: Optional[Sequence[builtins.str]] = None,
|
|
2033
|
+
api_versions: Optional[Sequence[builtins.str]] = None,
|
|
2034
|
+
operations: Optional[Sequence[builtins.str]] = None,
|
|
2035
|
+
resources: Optional[Sequence[builtins.str]] = None,
|
|
2036
|
+
scope: Optional[builtins.str] = None):
|
|
2036
2037
|
"""
|
|
2037
2038
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2038
|
-
:param Sequence[str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2039
|
-
:param Sequence[str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2040
|
-
:param Sequence[str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2041
|
-
:param Sequence[str] resources: Resources is a list of resources this rule applies to.
|
|
2039
|
+
:param Sequence[builtins.str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2040
|
+
:param Sequence[builtins.str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2041
|
+
:param Sequence[builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2042
|
+
:param Sequence[builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
2042
2043
|
|
|
2043
2044
|
For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
|
|
2044
2045
|
|
|
2045
2046
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2046
2047
|
|
|
2047
2048
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2048
|
-
:param str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2049
|
+
:param builtins.str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2049
2050
|
"""
|
|
2050
2051
|
if api_groups is not None:
|
|
2051
2052
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2060,7 +2061,7 @@ class RuleWithOperationsPatch(dict):
|
|
|
2060
2061
|
|
|
2061
2062
|
@property
|
|
2062
2063
|
@pulumi.getter(name="apiGroups")
|
|
2063
|
-
def api_groups(self) -> Optional[Sequence[str]]:
|
|
2064
|
+
def api_groups(self) -> Optional[Sequence[builtins.str]]:
|
|
2064
2065
|
"""
|
|
2065
2066
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2066
2067
|
"""
|
|
@@ -2068,7 +2069,7 @@ class RuleWithOperationsPatch(dict):
|
|
|
2068
2069
|
|
|
2069
2070
|
@property
|
|
2070
2071
|
@pulumi.getter(name="apiVersions")
|
|
2071
|
-
def api_versions(self) -> Optional[Sequence[str]]:
|
|
2072
|
+
def api_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
2072
2073
|
"""
|
|
2073
2074
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2074
2075
|
"""
|
|
@@ -2076,7 +2077,7 @@ class RuleWithOperationsPatch(dict):
|
|
|
2076
2077
|
|
|
2077
2078
|
@property
|
|
2078
2079
|
@pulumi.getter
|
|
2079
|
-
def operations(self) -> Optional[Sequence[str]]:
|
|
2080
|
+
def operations(self) -> Optional[Sequence[builtins.str]]:
|
|
2080
2081
|
"""
|
|
2081
2082
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2082
2083
|
"""
|
|
@@ -2084,7 +2085,7 @@ class RuleWithOperationsPatch(dict):
|
|
|
2084
2085
|
|
|
2085
2086
|
@property
|
|
2086
2087
|
@pulumi.getter
|
|
2087
|
-
def resources(self) -> Optional[Sequence[str]]:
|
|
2088
|
+
def resources(self) -> Optional[Sequence[builtins.str]]:
|
|
2088
2089
|
"""
|
|
2089
2090
|
Resources is a list of resources this rule applies to.
|
|
2090
2091
|
|
|
@@ -2098,7 +2099,7 @@ class RuleWithOperationsPatch(dict):
|
|
|
2098
2099
|
|
|
2099
2100
|
@property
|
|
2100
2101
|
@pulumi.getter
|
|
2101
|
-
def scope(self) -> Optional[str]:
|
|
2102
|
+
def scope(self) -> Optional[builtins.str]:
|
|
2102
2103
|
"""
|
|
2103
2104
|
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2104
2105
|
"""
|
|
@@ -2111,16 +2112,16 @@ class ServiceReference(dict):
|
|
|
2111
2112
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2112
2113
|
"""
|
|
2113
2114
|
def __init__(__self__, *,
|
|
2114
|
-
name: str,
|
|
2115
|
-
namespace: str,
|
|
2116
|
-
path: Optional[str] = None,
|
|
2117
|
-
port: Optional[int] = None):
|
|
2115
|
+
name: builtins.str,
|
|
2116
|
+
namespace: builtins.str,
|
|
2117
|
+
path: Optional[builtins.str] = None,
|
|
2118
|
+
port: Optional[builtins.int] = None):
|
|
2118
2119
|
"""
|
|
2119
2120
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2120
|
-
:param str name: `name` is the name of the service. Required
|
|
2121
|
-
:param str namespace: `namespace` is the namespace of the service. Required
|
|
2122
|
-
:param str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2123
|
-
:param int port: If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
|
|
2121
|
+
:param builtins.str name: `name` is the name of the service. Required
|
|
2122
|
+
:param builtins.str namespace: `namespace` is the namespace of the service. Required
|
|
2123
|
+
:param builtins.str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2124
|
+
:param builtins.int port: If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
|
|
2124
2125
|
"""
|
|
2125
2126
|
pulumi.set(__self__, "name", name)
|
|
2126
2127
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -2131,7 +2132,7 @@ class ServiceReference(dict):
|
|
|
2131
2132
|
|
|
2132
2133
|
@property
|
|
2133
2134
|
@pulumi.getter
|
|
2134
|
-
def name(self) -> str:
|
|
2135
|
+
def name(self) -> builtins.str:
|
|
2135
2136
|
"""
|
|
2136
2137
|
`name` is the name of the service. Required
|
|
2137
2138
|
"""
|
|
@@ -2139,7 +2140,7 @@ class ServiceReference(dict):
|
|
|
2139
2140
|
|
|
2140
2141
|
@property
|
|
2141
2142
|
@pulumi.getter
|
|
2142
|
-
def namespace(self) -> str:
|
|
2143
|
+
def namespace(self) -> builtins.str:
|
|
2143
2144
|
"""
|
|
2144
2145
|
`namespace` is the namespace of the service. Required
|
|
2145
2146
|
"""
|
|
@@ -2147,7 +2148,7 @@ class ServiceReference(dict):
|
|
|
2147
2148
|
|
|
2148
2149
|
@property
|
|
2149
2150
|
@pulumi.getter
|
|
2150
|
-
def path(self) -> Optional[str]:
|
|
2151
|
+
def path(self) -> Optional[builtins.str]:
|
|
2151
2152
|
"""
|
|
2152
2153
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2153
2154
|
"""
|
|
@@ -2155,7 +2156,7 @@ class ServiceReference(dict):
|
|
|
2155
2156
|
|
|
2156
2157
|
@property
|
|
2157
2158
|
@pulumi.getter
|
|
2158
|
-
def port(self) -> Optional[int]:
|
|
2159
|
+
def port(self) -> Optional[builtins.int]:
|
|
2159
2160
|
"""
|
|
2160
2161
|
If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
|
|
2161
2162
|
"""
|
|
@@ -2168,16 +2169,16 @@ class ServiceReferencePatch(dict):
|
|
|
2168
2169
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2169
2170
|
"""
|
|
2170
2171
|
def __init__(__self__, *,
|
|
2171
|
-
name: Optional[str] = None,
|
|
2172
|
-
namespace: Optional[str] = None,
|
|
2173
|
-
path: Optional[str] = None,
|
|
2174
|
-
port: Optional[int] = None):
|
|
2172
|
+
name: Optional[builtins.str] = None,
|
|
2173
|
+
namespace: Optional[builtins.str] = None,
|
|
2174
|
+
path: Optional[builtins.str] = None,
|
|
2175
|
+
port: Optional[builtins.int] = None):
|
|
2175
2176
|
"""
|
|
2176
2177
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2177
|
-
:param str name: `name` is the name of the service. Required
|
|
2178
|
-
:param str namespace: `namespace` is the namespace of the service. Required
|
|
2179
|
-
:param str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2180
|
-
:param int port: If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
|
|
2178
|
+
:param builtins.str name: `name` is the name of the service. Required
|
|
2179
|
+
:param builtins.str namespace: `namespace` is the namespace of the service. Required
|
|
2180
|
+
:param builtins.str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2181
|
+
:param builtins.int port: If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
|
|
2181
2182
|
"""
|
|
2182
2183
|
if name is not None:
|
|
2183
2184
|
pulumi.set(__self__, "name", name)
|
|
@@ -2190,7 +2191,7 @@ class ServiceReferencePatch(dict):
|
|
|
2190
2191
|
|
|
2191
2192
|
@property
|
|
2192
2193
|
@pulumi.getter
|
|
2193
|
-
def name(self) -> Optional[str]:
|
|
2194
|
+
def name(self) -> Optional[builtins.str]:
|
|
2194
2195
|
"""
|
|
2195
2196
|
`name` is the name of the service. Required
|
|
2196
2197
|
"""
|
|
@@ -2198,7 +2199,7 @@ class ServiceReferencePatch(dict):
|
|
|
2198
2199
|
|
|
2199
2200
|
@property
|
|
2200
2201
|
@pulumi.getter
|
|
2201
|
-
def namespace(self) -> Optional[str]:
|
|
2202
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
2202
2203
|
"""
|
|
2203
2204
|
`namespace` is the namespace of the service. Required
|
|
2204
2205
|
"""
|
|
@@ -2206,7 +2207,7 @@ class ServiceReferencePatch(dict):
|
|
|
2206
2207
|
|
|
2207
2208
|
@property
|
|
2208
2209
|
@pulumi.getter
|
|
2209
|
-
def path(self) -> Optional[str]:
|
|
2210
|
+
def path(self) -> Optional[builtins.str]:
|
|
2210
2211
|
"""
|
|
2211
2212
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2212
2213
|
"""
|
|
@@ -2214,7 +2215,7 @@ class ServiceReferencePatch(dict):
|
|
|
2214
2215
|
|
|
2215
2216
|
@property
|
|
2216
2217
|
@pulumi.getter
|
|
2217
|
-
def port(self) -> Optional[int]:
|
|
2218
|
+
def port(self) -> Optional[builtins.int]:
|
|
2218
2219
|
"""
|
|
2219
2220
|
If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
|
|
2220
2221
|
"""
|
|
@@ -2324,15 +2325,15 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2324
2325
|
return super().get(key, default)
|
|
2325
2326
|
|
|
2326
2327
|
def __init__(__self__, *,
|
|
2327
|
-
api_version: Optional[str] = None,
|
|
2328
|
-
kind: Optional[str] = None,
|
|
2328
|
+
api_version: Optional[builtins.str] = None,
|
|
2329
|
+
kind: Optional[builtins.str] = None,
|
|
2329
2330
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2330
2331
|
spec: Optional['outputs.ValidatingAdmissionPolicySpec'] = None,
|
|
2331
2332
|
status: Optional['outputs.ValidatingAdmissionPolicyStatus'] = None):
|
|
2332
2333
|
"""
|
|
2333
2334
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
2334
|
-
:param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2335
|
-
:param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2335
|
+
:param builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2336
|
+
:param builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2336
2337
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
2337
2338
|
:param 'ValidatingAdmissionPolicySpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
2338
2339
|
:param 'ValidatingAdmissionPolicyStatusArgs' status: The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.
|
|
@@ -2350,7 +2351,7 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2350
2351
|
|
|
2351
2352
|
@property
|
|
2352
2353
|
@pulumi.getter(name="apiVersion")
|
|
2353
|
-
def api_version(self) -> Optional[str]:
|
|
2354
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
2354
2355
|
"""
|
|
2355
2356
|
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
|
|
2356
2357
|
"""
|
|
@@ -2358,7 +2359,7 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2358
2359
|
|
|
2359
2360
|
@property
|
|
2360
2361
|
@pulumi.getter
|
|
2361
|
-
def kind(self) -> Optional[str]:
|
|
2362
|
+
def kind(self) -> Optional[builtins.str]:
|
|
2362
2363
|
"""
|
|
2363
2364
|
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
|
|
2364
2365
|
"""
|
|
@@ -2416,8 +2417,8 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2416
2417
|
return super().get(key, default)
|
|
2417
2418
|
|
|
2418
2419
|
def __init__(__self__, *,
|
|
2419
|
-
api_version: Optional[str] = None,
|
|
2420
|
-
kind: Optional[str] = None,
|
|
2420
|
+
api_version: Optional[builtins.str] = None,
|
|
2421
|
+
kind: Optional[builtins.str] = None,
|
|
2421
2422
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2422
2423
|
spec: Optional['outputs.ValidatingAdmissionPolicyBindingSpec'] = None):
|
|
2423
2424
|
"""
|
|
@@ -2426,8 +2427,8 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2426
2427
|
For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
|
|
2427
2428
|
|
|
2428
2429
|
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
2429
|
-
:param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2430
|
-
:param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2430
|
+
:param builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2431
|
+
:param builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2431
2432
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
2432
2433
|
:param 'ValidatingAdmissionPolicyBindingSpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
2433
2434
|
"""
|
|
@@ -2442,7 +2443,7 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2442
2443
|
|
|
2443
2444
|
@property
|
|
2444
2445
|
@pulumi.getter(name="apiVersion")
|
|
2445
|
-
def api_version(self) -> Optional[str]:
|
|
2446
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
2446
2447
|
"""
|
|
2447
2448
|
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
|
|
2448
2449
|
"""
|
|
@@ -2450,7 +2451,7 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2450
2451
|
|
|
2451
2452
|
@property
|
|
2452
2453
|
@pulumi.getter
|
|
2453
|
-
def kind(self) -> Optional[str]:
|
|
2454
|
+
def kind(self) -> Optional[builtins.str]:
|
|
2454
2455
|
"""
|
|
2455
2456
|
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
|
|
2456
2457
|
"""
|
|
@@ -2504,14 +2505,14 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2504
2505
|
def __init__(__self__, *,
|
|
2505
2506
|
match_resources: Optional['outputs.MatchResources'] = None,
|
|
2506
2507
|
param_ref: Optional['outputs.ParamRef'] = None,
|
|
2507
|
-
policy_name: Optional[str] = None,
|
|
2508
|
-
validation_actions: Optional[Sequence[str]] = None):
|
|
2508
|
+
policy_name: Optional[builtins.str] = None,
|
|
2509
|
+
validation_actions: Optional[Sequence[builtins.str]] = None):
|
|
2509
2510
|
"""
|
|
2510
2511
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
2511
2512
|
:param 'MatchResourcesArgs' match_resources: MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
|
|
2512
2513
|
:param 'ParamRefArgs' param_ref: paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
|
|
2513
|
-
:param str policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
2514
|
-
:param Sequence[str] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2514
|
+
:param builtins.str policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
2515
|
+
:param Sequence[builtins.str] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2515
2516
|
|
|
2516
2517
|
Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
|
|
2517
2518
|
|
|
@@ -2558,7 +2559,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2558
2559
|
|
|
2559
2560
|
@property
|
|
2560
2561
|
@pulumi.getter(name="policyName")
|
|
2561
|
-
def policy_name(self) -> Optional[str]:
|
|
2562
|
+
def policy_name(self) -> Optional[builtins.str]:
|
|
2562
2563
|
"""
|
|
2563
2564
|
PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
2564
2565
|
"""
|
|
@@ -2566,7 +2567,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2566
2567
|
|
|
2567
2568
|
@property
|
|
2568
2569
|
@pulumi.getter(name="validationActions")
|
|
2569
|
-
def validation_actions(self) -> Optional[Sequence[str]]:
|
|
2570
|
+
def validation_actions(self) -> Optional[Sequence[builtins.str]]:
|
|
2570
2571
|
"""
|
|
2571
2572
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2572
2573
|
|
|
@@ -2622,14 +2623,14 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2622
2623
|
def __init__(__self__, *,
|
|
2623
2624
|
match_resources: Optional['outputs.MatchResourcesPatch'] = None,
|
|
2624
2625
|
param_ref: Optional['outputs.ParamRefPatch'] = None,
|
|
2625
|
-
policy_name: Optional[str] = None,
|
|
2626
|
-
validation_actions: Optional[Sequence[str]] = None):
|
|
2626
|
+
policy_name: Optional[builtins.str] = None,
|
|
2627
|
+
validation_actions: Optional[Sequence[builtins.str]] = None):
|
|
2627
2628
|
"""
|
|
2628
2629
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
2629
2630
|
:param 'MatchResourcesPatchArgs' match_resources: MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
|
|
2630
2631
|
:param 'ParamRefPatchArgs' param_ref: paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
|
|
2631
|
-
:param str policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
2632
|
-
:param Sequence[str] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2632
|
+
:param builtins.str policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
2633
|
+
:param Sequence[builtins.str] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2633
2634
|
|
|
2634
2635
|
Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
|
|
2635
2636
|
|
|
@@ -2676,7 +2677,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2676
2677
|
|
|
2677
2678
|
@property
|
|
2678
2679
|
@pulumi.getter(name="policyName")
|
|
2679
|
-
def policy_name(self) -> Optional[str]:
|
|
2680
|
+
def policy_name(self) -> Optional[builtins.str]:
|
|
2680
2681
|
"""
|
|
2681
2682
|
PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
2682
2683
|
"""
|
|
@@ -2684,7 +2685,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2684
2685
|
|
|
2685
2686
|
@property
|
|
2686
2687
|
@pulumi.getter(name="validationActions")
|
|
2687
|
-
def validation_actions(self) -> Optional[Sequence[str]]:
|
|
2688
|
+
def validation_actions(self) -> Optional[Sequence[builtins.str]]:
|
|
2688
2689
|
"""
|
|
2689
2690
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2690
2691
|
|
|
@@ -2741,7 +2742,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2741
2742
|
|
|
2742
2743
|
def __init__(__self__, *,
|
|
2743
2744
|
audit_annotations: Optional[Sequence['outputs.AuditAnnotation']] = None,
|
|
2744
|
-
failure_policy: Optional[str] = None,
|
|
2745
|
+
failure_policy: Optional[builtins.str] = None,
|
|
2745
2746
|
match_conditions: Optional[Sequence['outputs.MatchCondition']] = None,
|
|
2746
2747
|
match_constraints: Optional['outputs.MatchResources'] = None,
|
|
2747
2748
|
param_kind: Optional['outputs.ParamKind'] = None,
|
|
@@ -2750,7 +2751,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2750
2751
|
"""
|
|
2751
2752
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
2752
2753
|
:param Sequence['AuditAnnotationArgs'] audit_annotations: auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
|
|
2753
|
-
:param str failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
2754
|
+
:param builtins.str failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
2754
2755
|
|
|
2755
2756
|
A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.
|
|
2756
2757
|
|
|
@@ -2801,7 +2802,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2801
2802
|
|
|
2802
2803
|
@property
|
|
2803
2804
|
@pulumi.getter(name="failurePolicy")
|
|
2804
|
-
def failure_policy(self) -> Optional[str]:
|
|
2805
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
2805
2806
|
"""
|
|
2806
2807
|
failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
2807
2808
|
|
|
@@ -2899,7 +2900,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2899
2900
|
|
|
2900
2901
|
def __init__(__self__, *,
|
|
2901
2902
|
audit_annotations: Optional[Sequence['outputs.AuditAnnotationPatch']] = None,
|
|
2902
|
-
failure_policy: Optional[str] = None,
|
|
2903
|
+
failure_policy: Optional[builtins.str] = None,
|
|
2903
2904
|
match_conditions: Optional[Sequence['outputs.MatchConditionPatch']] = None,
|
|
2904
2905
|
match_constraints: Optional['outputs.MatchResourcesPatch'] = None,
|
|
2905
2906
|
param_kind: Optional['outputs.ParamKindPatch'] = None,
|
|
@@ -2908,7 +2909,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2908
2909
|
"""
|
|
2909
2910
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
2910
2911
|
:param Sequence['AuditAnnotationPatchArgs'] audit_annotations: auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
|
|
2911
|
-
:param str failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
2912
|
+
:param builtins.str failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
2912
2913
|
|
|
2913
2914
|
A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.
|
|
2914
2915
|
|
|
@@ -2959,7 +2960,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2959
2960
|
|
|
2960
2961
|
@property
|
|
2961
2962
|
@pulumi.getter(name="failurePolicy")
|
|
2962
|
-
def failure_policy(self) -> Optional[str]:
|
|
2963
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
2963
2964
|
"""
|
|
2964
2965
|
failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
2965
2966
|
|
|
@@ -3051,12 +3052,12 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3051
3052
|
|
|
3052
3053
|
def __init__(__self__, *,
|
|
3053
3054
|
conditions: Optional[Sequence['_meta.v1.outputs.Condition']] = None,
|
|
3054
|
-
observed_generation: Optional[int] = None,
|
|
3055
|
+
observed_generation: Optional[builtins.int] = None,
|
|
3055
3056
|
type_checking: Optional['outputs.TypeChecking'] = None):
|
|
3056
3057
|
"""
|
|
3057
3058
|
ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
|
|
3058
3059
|
:param Sequence['_meta.v1.ConditionArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3059
|
-
:param int observed_generation: The generation observed by the controller.
|
|
3060
|
+
:param builtins.int observed_generation: The generation observed by the controller.
|
|
3060
3061
|
:param 'TypeCheckingArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
3061
3062
|
"""
|
|
3062
3063
|
if conditions is not None:
|
|
@@ -3076,7 +3077,7 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3076
3077
|
|
|
3077
3078
|
@property
|
|
3078
3079
|
@pulumi.getter(name="observedGeneration")
|
|
3079
|
-
def observed_generation(self) -> Optional[int]:
|
|
3080
|
+
def observed_generation(self) -> Optional[builtins.int]:
|
|
3080
3081
|
"""
|
|
3081
3082
|
The generation observed by the controller.
|
|
3082
3083
|
"""
|
|
@@ -3117,12 +3118,12 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3117
3118
|
|
|
3118
3119
|
def __init__(__self__, *,
|
|
3119
3120
|
conditions: Optional[Sequence['_meta.v1.outputs.ConditionPatch']] = None,
|
|
3120
|
-
observed_generation: Optional[int] = None,
|
|
3121
|
+
observed_generation: Optional[builtins.int] = None,
|
|
3121
3122
|
type_checking: Optional['outputs.TypeCheckingPatch'] = None):
|
|
3122
3123
|
"""
|
|
3123
3124
|
ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
|
|
3124
3125
|
:param Sequence['_meta.v1.ConditionPatchArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3125
|
-
:param int observed_generation: The generation observed by the controller.
|
|
3126
|
+
:param builtins.int observed_generation: The generation observed by the controller.
|
|
3126
3127
|
:param 'TypeCheckingPatchArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
3127
3128
|
"""
|
|
3128
3129
|
if conditions is not None:
|
|
@@ -3142,7 +3143,7 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3142
3143
|
|
|
3143
3144
|
@property
|
|
3144
3145
|
@pulumi.getter(name="observedGeneration")
|
|
3145
|
-
def observed_generation(self) -> Optional[int]:
|
|
3146
|
+
def observed_generation(self) -> Optional[builtins.int]:
|
|
3146
3147
|
"""
|
|
3147
3148
|
The generation observed by the controller.
|
|
3148
3149
|
"""
|
|
@@ -3195,22 +3196,22 @@ class ValidatingWebhook(dict):
|
|
|
3195
3196
|
|
|
3196
3197
|
def __init__(__self__, *,
|
|
3197
3198
|
client_config: 'outputs.WebhookClientConfig',
|
|
3198
|
-
name: str,
|
|
3199
|
-
admission_review_versions: Optional[Sequence[str]] = None,
|
|
3200
|
-
failure_policy: Optional[str] = None,
|
|
3201
|
-
match_policy: Optional[str] = None,
|
|
3199
|
+
name: builtins.str,
|
|
3200
|
+
admission_review_versions: Optional[Sequence[builtins.str]] = None,
|
|
3201
|
+
failure_policy: Optional[builtins.str] = None,
|
|
3202
|
+
match_policy: Optional[builtins.str] = None,
|
|
3202
3203
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
3203
3204
|
object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
3204
3205
|
rules: Optional[Sequence['outputs.RuleWithOperations']] = None,
|
|
3205
|
-
side_effects: Optional[str] = None,
|
|
3206
|
-
timeout_seconds: Optional[int] = None):
|
|
3206
|
+
side_effects: Optional[builtins.str] = None,
|
|
3207
|
+
timeout_seconds: Optional[builtins.int] = None):
|
|
3207
3208
|
"""
|
|
3208
3209
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
3209
3210
|
:param 'WebhookClientConfigArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
3210
|
-
:param str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
3211
|
-
:param Sequence[str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
3212
|
-
:param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
3213
|
-
:param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3211
|
+
:param builtins.str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
3212
|
+
:param Sequence[builtins.str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
3213
|
+
:param builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
3214
|
+
:param builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3214
3215
|
|
|
3215
3216
|
- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
|
|
3216
3217
|
|
|
@@ -3250,8 +3251,8 @@ class ValidatingWebhook(dict):
|
|
|
3250
3251
|
Default to the empty LabelSelector, which matches everything.
|
|
3251
3252
|
:param '_meta.v1.LabelSelectorArgs' object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
|
|
3252
3253
|
:param Sequence['RuleWithOperationsArgs'] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
|
|
3253
|
-
:param str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
3254
|
-
:param int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
3254
|
+
:param builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
3255
|
+
:param builtins.int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
3255
3256
|
"""
|
|
3256
3257
|
pulumi.set(__self__, "client_config", client_config)
|
|
3257
3258
|
pulumi.set(__self__, "name", name)
|
|
@@ -3282,7 +3283,7 @@ class ValidatingWebhook(dict):
|
|
|
3282
3283
|
|
|
3283
3284
|
@property
|
|
3284
3285
|
@pulumi.getter
|
|
3285
|
-
def name(self) -> str:
|
|
3286
|
+
def name(self) -> builtins.str:
|
|
3286
3287
|
"""
|
|
3287
3288
|
The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
3288
3289
|
"""
|
|
@@ -3290,7 +3291,7 @@ class ValidatingWebhook(dict):
|
|
|
3290
3291
|
|
|
3291
3292
|
@property
|
|
3292
3293
|
@pulumi.getter(name="admissionReviewVersions")
|
|
3293
|
-
def admission_review_versions(self) -> Optional[Sequence[str]]:
|
|
3294
|
+
def admission_review_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
3294
3295
|
"""
|
|
3295
3296
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
3296
3297
|
"""
|
|
@@ -3298,7 +3299,7 @@ class ValidatingWebhook(dict):
|
|
|
3298
3299
|
|
|
3299
3300
|
@property
|
|
3300
3301
|
@pulumi.getter(name="failurePolicy")
|
|
3301
|
-
def failure_policy(self) -> Optional[str]:
|
|
3302
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
3302
3303
|
"""
|
|
3303
3304
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
3304
3305
|
"""
|
|
@@ -3306,7 +3307,7 @@ class ValidatingWebhook(dict):
|
|
|
3306
3307
|
|
|
3307
3308
|
@property
|
|
3308
3309
|
@pulumi.getter(name="matchPolicy")
|
|
3309
|
-
def match_policy(self) -> Optional[str]:
|
|
3310
|
+
def match_policy(self) -> Optional[builtins.str]:
|
|
3310
3311
|
"""
|
|
3311
3312
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3312
3313
|
|
|
@@ -3374,7 +3375,7 @@ class ValidatingWebhook(dict):
|
|
|
3374
3375
|
|
|
3375
3376
|
@property
|
|
3376
3377
|
@pulumi.getter(name="sideEffects")
|
|
3377
|
-
def side_effects(self) -> Optional[str]:
|
|
3378
|
+
def side_effects(self) -> Optional[builtins.str]:
|
|
3378
3379
|
"""
|
|
3379
3380
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
3380
3381
|
"""
|
|
@@ -3382,7 +3383,7 @@ class ValidatingWebhook(dict):
|
|
|
3382
3383
|
|
|
3383
3384
|
@property
|
|
3384
3385
|
@pulumi.getter(name="timeoutSeconds")
|
|
3385
|
-
def timeout_seconds(self) -> Optional[int]:
|
|
3386
|
+
def timeout_seconds(self) -> Optional[builtins.int]:
|
|
3386
3387
|
"""
|
|
3387
3388
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
3388
3389
|
"""
|
|
@@ -3412,14 +3413,14 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3412
3413
|
return super().get(key, default)
|
|
3413
3414
|
|
|
3414
3415
|
def __init__(__self__, *,
|
|
3415
|
-
api_version: Optional[str] = None,
|
|
3416
|
-
kind: Optional[str] = None,
|
|
3416
|
+
api_version: Optional[builtins.str] = None,
|
|
3417
|
+
kind: Optional[builtins.str] = None,
|
|
3417
3418
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
3418
3419
|
webhooks: Optional[Sequence['outputs.ValidatingWebhook']] = None):
|
|
3419
3420
|
"""
|
|
3420
3421
|
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.
|
|
3421
|
-
:param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
3422
|
-
:param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3422
|
+
:param builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
3423
|
+
:param builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3423
3424
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
3424
3425
|
:param Sequence['ValidatingWebhookArgs'] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
3425
3426
|
"""
|
|
@@ -3434,7 +3435,7 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3434
3435
|
|
|
3435
3436
|
@property
|
|
3436
3437
|
@pulumi.getter(name="apiVersion")
|
|
3437
|
-
def api_version(self) -> Optional[str]:
|
|
3438
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
3438
3439
|
"""
|
|
3439
3440
|
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
|
|
3440
3441
|
"""
|
|
@@ -3442,7 +3443,7 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3442
3443
|
|
|
3443
3444
|
@property
|
|
3444
3445
|
@pulumi.getter
|
|
3445
|
-
def kind(self) -> Optional[str]:
|
|
3446
|
+
def kind(self) -> Optional[builtins.str]:
|
|
3446
3447
|
"""
|
|
3447
3448
|
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
|
|
3448
3449
|
"""
|
|
@@ -3502,29 +3503,29 @@ class ValidatingWebhookPatch(dict):
|
|
|
3502
3503
|
return super().get(key, default)
|
|
3503
3504
|
|
|
3504
3505
|
def __init__(__self__, *,
|
|
3505
|
-
admission_review_versions: Optional[Sequence[str]] = None,
|
|
3506
|
+
admission_review_versions: Optional[Sequence[builtins.str]] = None,
|
|
3506
3507
|
client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
|
|
3507
|
-
failure_policy: Optional[str] = None,
|
|
3508
|
-
match_policy: Optional[str] = None,
|
|
3509
|
-
name: Optional[str] = None,
|
|
3508
|
+
failure_policy: Optional[builtins.str] = None,
|
|
3509
|
+
match_policy: Optional[builtins.str] = None,
|
|
3510
|
+
name: Optional[builtins.str] = None,
|
|
3510
3511
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
3511
3512
|
object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
3512
3513
|
rules: Optional[Sequence['outputs.RuleWithOperationsPatch']] = None,
|
|
3513
|
-
side_effects: Optional[str] = None,
|
|
3514
|
-
timeout_seconds: Optional[int] = None):
|
|
3514
|
+
side_effects: Optional[builtins.str] = None,
|
|
3515
|
+
timeout_seconds: Optional[builtins.int] = None):
|
|
3515
3516
|
"""
|
|
3516
3517
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
3517
|
-
:param Sequence[str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
3518
|
+
:param Sequence[builtins.str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
3518
3519
|
:param 'WebhookClientConfigPatchArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
3519
|
-
:param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
3520
|
-
:param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3520
|
+
:param builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
3521
|
+
:param builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3521
3522
|
|
|
3522
3523
|
- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
|
|
3523
3524
|
|
|
3524
3525
|
- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
|
|
3525
3526
|
|
|
3526
3527
|
Defaults to "Exact"
|
|
3527
|
-
:param str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
3528
|
+
:param builtins.str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
3528
3529
|
:param '_meta.v1.LabelSelectorPatchArgs' namespace_selector: NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
|
|
3529
3530
|
|
|
3530
3531
|
For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
|
|
@@ -3558,8 +3559,8 @@ class ValidatingWebhookPatch(dict):
|
|
|
3558
3559
|
Default to the empty LabelSelector, which matches everything.
|
|
3559
3560
|
:param '_meta.v1.LabelSelectorPatchArgs' object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
|
|
3560
3561
|
:param Sequence['RuleWithOperationsPatchArgs'] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
|
|
3561
|
-
:param str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
3562
|
-
:param int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
3562
|
+
:param builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
3563
|
+
:param builtins.int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
3563
3564
|
"""
|
|
3564
3565
|
if admission_review_versions is not None:
|
|
3565
3566
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -3584,7 +3585,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3584
3585
|
|
|
3585
3586
|
@property
|
|
3586
3587
|
@pulumi.getter(name="admissionReviewVersions")
|
|
3587
|
-
def admission_review_versions(self) -> Optional[Sequence[str]]:
|
|
3588
|
+
def admission_review_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
3588
3589
|
"""
|
|
3589
3590
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
3590
3591
|
"""
|
|
@@ -3600,7 +3601,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3600
3601
|
|
|
3601
3602
|
@property
|
|
3602
3603
|
@pulumi.getter(name="failurePolicy")
|
|
3603
|
-
def failure_policy(self) -> Optional[str]:
|
|
3604
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
3604
3605
|
"""
|
|
3605
3606
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
3606
3607
|
"""
|
|
@@ -3608,7 +3609,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3608
3609
|
|
|
3609
3610
|
@property
|
|
3610
3611
|
@pulumi.getter(name="matchPolicy")
|
|
3611
|
-
def match_policy(self) -> Optional[str]:
|
|
3612
|
+
def match_policy(self) -> Optional[builtins.str]:
|
|
3612
3613
|
"""
|
|
3613
3614
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3614
3615
|
|
|
@@ -3622,7 +3623,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3622
3623
|
|
|
3623
3624
|
@property
|
|
3624
3625
|
@pulumi.getter
|
|
3625
|
-
def name(self) -> Optional[str]:
|
|
3626
|
+
def name(self) -> Optional[builtins.str]:
|
|
3626
3627
|
"""
|
|
3627
3628
|
The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
3628
3629
|
"""
|
|
@@ -3684,7 +3685,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3684
3685
|
|
|
3685
3686
|
@property
|
|
3686
3687
|
@pulumi.getter(name="sideEffects")
|
|
3687
|
-
def side_effects(self) -> Optional[str]:
|
|
3688
|
+
def side_effects(self) -> Optional[builtins.str]:
|
|
3688
3689
|
"""
|
|
3689
3690
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
3690
3691
|
"""
|
|
@@ -3692,7 +3693,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3692
3693
|
|
|
3693
3694
|
@property
|
|
3694
3695
|
@pulumi.getter(name="timeoutSeconds")
|
|
3695
|
-
def timeout_seconds(self) -> Optional[int]:
|
|
3696
|
+
def timeout_seconds(self) -> Optional[builtins.int]:
|
|
3696
3697
|
"""
|
|
3697
3698
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
3698
3699
|
"""
|
|
@@ -3722,13 +3723,13 @@ class Validation(dict):
|
|
|
3722
3723
|
return super().get(key, default)
|
|
3723
3724
|
|
|
3724
3725
|
def __init__(__self__, *,
|
|
3725
|
-
expression: str,
|
|
3726
|
-
message: Optional[str] = None,
|
|
3727
|
-
message_expression: Optional[str] = None,
|
|
3728
|
-
reason: Optional[str] = None):
|
|
3726
|
+
expression: builtins.str,
|
|
3727
|
+
message: Optional[builtins.str] = None,
|
|
3728
|
+
message_expression: Optional[builtins.str] = None,
|
|
3729
|
+
reason: Optional[builtins.str] = None):
|
|
3729
3730
|
"""
|
|
3730
3731
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
3731
|
-
:param str expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
|
|
3732
|
+
:param builtins.str expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
|
|
3732
3733
|
|
|
3733
3734
|
- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
|
|
3734
3735
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -3754,9 +3755,9 @@ class Validation(dict):
|
|
|
3754
3755
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
3755
3756
|
non-intersecting keys are appended, retaining their partial order.
|
|
3756
3757
|
Required.
|
|
3757
|
-
:param str message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
3758
|
-
:param str message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
3759
|
-
:param str reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
3758
|
+
:param builtins.str message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
3759
|
+
:param builtins.str message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
3760
|
+
:param builtins.str reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
3760
3761
|
"""
|
|
3761
3762
|
pulumi.set(__self__, "expression", expression)
|
|
3762
3763
|
if message is not None:
|
|
@@ -3768,7 +3769,7 @@ class Validation(dict):
|
|
|
3768
3769
|
|
|
3769
3770
|
@property
|
|
3770
3771
|
@pulumi.getter
|
|
3771
|
-
def expression(self) -> str:
|
|
3772
|
+
def expression(self) -> builtins.str:
|
|
3772
3773
|
"""
|
|
3773
3774
|
Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
|
|
3774
3775
|
|
|
@@ -3801,7 +3802,7 @@ class Validation(dict):
|
|
|
3801
3802
|
|
|
3802
3803
|
@property
|
|
3803
3804
|
@pulumi.getter
|
|
3804
|
-
def message(self) -> Optional[str]:
|
|
3805
|
+
def message(self) -> Optional[builtins.str]:
|
|
3805
3806
|
"""
|
|
3806
3807
|
Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
3807
3808
|
"""
|
|
@@ -3809,7 +3810,7 @@ class Validation(dict):
|
|
|
3809
3810
|
|
|
3810
3811
|
@property
|
|
3811
3812
|
@pulumi.getter(name="messageExpression")
|
|
3812
|
-
def message_expression(self) -> Optional[str]:
|
|
3813
|
+
def message_expression(self) -> Optional[builtins.str]:
|
|
3813
3814
|
"""
|
|
3814
3815
|
messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
3815
3816
|
"""
|
|
@@ -3817,7 +3818,7 @@ class Validation(dict):
|
|
|
3817
3818
|
|
|
3818
3819
|
@property
|
|
3819
3820
|
@pulumi.getter
|
|
3820
|
-
def reason(self) -> Optional[str]:
|
|
3821
|
+
def reason(self) -> Optional[builtins.str]:
|
|
3821
3822
|
"""
|
|
3822
3823
|
Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
3823
3824
|
"""
|
|
@@ -3847,13 +3848,13 @@ class ValidationPatch(dict):
|
|
|
3847
3848
|
return super().get(key, default)
|
|
3848
3849
|
|
|
3849
3850
|
def __init__(__self__, *,
|
|
3850
|
-
expression: Optional[str] = None,
|
|
3851
|
-
message: Optional[str] = None,
|
|
3852
|
-
message_expression: Optional[str] = None,
|
|
3853
|
-
reason: Optional[str] = None):
|
|
3851
|
+
expression: Optional[builtins.str] = None,
|
|
3852
|
+
message: Optional[builtins.str] = None,
|
|
3853
|
+
message_expression: Optional[builtins.str] = None,
|
|
3854
|
+
reason: Optional[builtins.str] = None):
|
|
3854
3855
|
"""
|
|
3855
3856
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
3856
|
-
:param str expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
|
|
3857
|
+
:param builtins.str expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
|
|
3857
3858
|
|
|
3858
3859
|
- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
|
|
3859
3860
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -3879,9 +3880,9 @@ class ValidationPatch(dict):
|
|
|
3879
3880
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
3880
3881
|
non-intersecting keys are appended, retaining their partial order.
|
|
3881
3882
|
Required.
|
|
3882
|
-
:param str message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
3883
|
-
:param str message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
3884
|
-
:param str reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
3883
|
+
:param builtins.str message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
3884
|
+
:param builtins.str message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
3885
|
+
:param builtins.str reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
3885
3886
|
"""
|
|
3886
3887
|
if expression is not None:
|
|
3887
3888
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -3894,7 +3895,7 @@ class ValidationPatch(dict):
|
|
|
3894
3895
|
|
|
3895
3896
|
@property
|
|
3896
3897
|
@pulumi.getter
|
|
3897
|
-
def expression(self) -> Optional[str]:
|
|
3898
|
+
def expression(self) -> Optional[builtins.str]:
|
|
3898
3899
|
"""
|
|
3899
3900
|
Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
|
|
3900
3901
|
|
|
@@ -3927,7 +3928,7 @@ class ValidationPatch(dict):
|
|
|
3927
3928
|
|
|
3928
3929
|
@property
|
|
3929
3930
|
@pulumi.getter
|
|
3930
|
-
def message(self) -> Optional[str]:
|
|
3931
|
+
def message(self) -> Optional[builtins.str]:
|
|
3931
3932
|
"""
|
|
3932
3933
|
Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
3933
3934
|
"""
|
|
@@ -3935,7 +3936,7 @@ class ValidationPatch(dict):
|
|
|
3935
3936
|
|
|
3936
3937
|
@property
|
|
3937
3938
|
@pulumi.getter(name="messageExpression")
|
|
3938
|
-
def message_expression(self) -> Optional[str]:
|
|
3939
|
+
def message_expression(self) -> Optional[builtins.str]:
|
|
3939
3940
|
"""
|
|
3940
3941
|
messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
3941
3942
|
"""
|
|
@@ -3943,7 +3944,7 @@ class ValidationPatch(dict):
|
|
|
3943
3944
|
|
|
3944
3945
|
@property
|
|
3945
3946
|
@pulumi.getter
|
|
3946
|
-
def reason(self) -> Optional[str]:
|
|
3947
|
+
def reason(self) -> Optional[builtins.str]:
|
|
3947
3948
|
"""
|
|
3948
3949
|
Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
3949
3950
|
"""
|
|
@@ -3956,19 +3957,19 @@ class Variable(dict):
|
|
|
3956
3957
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
3957
3958
|
"""
|
|
3958
3959
|
def __init__(__self__, *,
|
|
3959
|
-
expression: str,
|
|
3960
|
-
name: str):
|
|
3960
|
+
expression: builtins.str,
|
|
3961
|
+
name: builtins.str):
|
|
3961
3962
|
"""
|
|
3962
3963
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
3963
|
-
:param str expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
3964
|
-
:param str name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
3964
|
+
:param builtins.str expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
3965
|
+
:param builtins.str name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
3965
3966
|
"""
|
|
3966
3967
|
pulumi.set(__self__, "expression", expression)
|
|
3967
3968
|
pulumi.set(__self__, "name", name)
|
|
3968
3969
|
|
|
3969
3970
|
@property
|
|
3970
3971
|
@pulumi.getter
|
|
3971
|
-
def expression(self) -> str:
|
|
3972
|
+
def expression(self) -> builtins.str:
|
|
3972
3973
|
"""
|
|
3973
3974
|
Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
3974
3975
|
"""
|
|
@@ -3976,7 +3977,7 @@ class Variable(dict):
|
|
|
3976
3977
|
|
|
3977
3978
|
@property
|
|
3978
3979
|
@pulumi.getter
|
|
3979
|
-
def name(self) -> str:
|
|
3980
|
+
def name(self) -> builtins.str:
|
|
3980
3981
|
"""
|
|
3981
3982
|
Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
3982
3983
|
"""
|
|
@@ -3989,12 +3990,12 @@ class VariablePatch(dict):
|
|
|
3989
3990
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
3990
3991
|
"""
|
|
3991
3992
|
def __init__(__self__, *,
|
|
3992
|
-
expression: Optional[str] = None,
|
|
3993
|
-
name: Optional[str] = None):
|
|
3993
|
+
expression: Optional[builtins.str] = None,
|
|
3994
|
+
name: Optional[builtins.str] = None):
|
|
3994
3995
|
"""
|
|
3995
3996
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
3996
|
-
:param str expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
3997
|
-
:param str name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
3997
|
+
:param builtins.str expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
3998
|
+
:param builtins.str name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
3998
3999
|
"""
|
|
3999
4000
|
if expression is not None:
|
|
4000
4001
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -4003,7 +4004,7 @@ class VariablePatch(dict):
|
|
|
4003
4004
|
|
|
4004
4005
|
@property
|
|
4005
4006
|
@pulumi.getter
|
|
4006
|
-
def expression(self) -> Optional[str]:
|
|
4007
|
+
def expression(self) -> Optional[builtins.str]:
|
|
4007
4008
|
"""
|
|
4008
4009
|
Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
4009
4010
|
"""
|
|
@@ -4011,7 +4012,7 @@ class VariablePatch(dict):
|
|
|
4011
4012
|
|
|
4012
4013
|
@property
|
|
4013
4014
|
@pulumi.getter
|
|
4014
|
-
def name(self) -> Optional[str]:
|
|
4015
|
+
def name(self) -> Optional[builtins.str]:
|
|
4015
4016
|
"""
|
|
4016
4017
|
Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
4017
4018
|
"""
|
|
@@ -4041,16 +4042,16 @@ class WebhookClientConfig(dict):
|
|
|
4041
4042
|
return super().get(key, default)
|
|
4042
4043
|
|
|
4043
4044
|
def __init__(__self__, *,
|
|
4044
|
-
ca_bundle: Optional[str] = None,
|
|
4045
|
+
ca_bundle: Optional[builtins.str] = None,
|
|
4045
4046
|
service: Optional['outputs.ServiceReference'] = None,
|
|
4046
|
-
url: Optional[str] = None):
|
|
4047
|
+
url: Optional[builtins.str] = None):
|
|
4047
4048
|
"""
|
|
4048
4049
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
4049
|
-
:param str ca_bundle: `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
4050
|
+
:param builtins.str ca_bundle: `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
4050
4051
|
:param 'ServiceReferenceArgs' service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
4051
4052
|
|
|
4052
4053
|
If the webhook is running within the cluster, then you should use `service`.
|
|
4053
|
-
:param str url: `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4054
|
+
:param builtins.str url: `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4054
4055
|
|
|
4055
4056
|
The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
|
|
4056
4057
|
|
|
@@ -4071,7 +4072,7 @@ class WebhookClientConfig(dict):
|
|
|
4071
4072
|
|
|
4072
4073
|
@property
|
|
4073
4074
|
@pulumi.getter(name="caBundle")
|
|
4074
|
-
def ca_bundle(self) -> Optional[str]:
|
|
4075
|
+
def ca_bundle(self) -> Optional[builtins.str]:
|
|
4075
4076
|
"""
|
|
4076
4077
|
`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
4077
4078
|
"""
|
|
@@ -4089,7 +4090,7 @@ class WebhookClientConfig(dict):
|
|
|
4089
4090
|
|
|
4090
4091
|
@property
|
|
4091
4092
|
@pulumi.getter
|
|
4092
|
-
def url(self) -> Optional[str]:
|
|
4093
|
+
def url(self) -> Optional[builtins.str]:
|
|
4093
4094
|
"""
|
|
4094
4095
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4095
4096
|
|
|
@@ -4129,16 +4130,16 @@ class WebhookClientConfigPatch(dict):
|
|
|
4129
4130
|
return super().get(key, default)
|
|
4130
4131
|
|
|
4131
4132
|
def __init__(__self__, *,
|
|
4132
|
-
ca_bundle: Optional[str] = None,
|
|
4133
|
+
ca_bundle: Optional[builtins.str] = None,
|
|
4133
4134
|
service: Optional['outputs.ServiceReferencePatch'] = None,
|
|
4134
|
-
url: Optional[str] = None):
|
|
4135
|
+
url: Optional[builtins.str] = None):
|
|
4135
4136
|
"""
|
|
4136
4137
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
4137
|
-
:param str ca_bundle: `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
4138
|
+
:param builtins.str ca_bundle: `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
4138
4139
|
:param 'ServiceReferencePatchArgs' service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
4139
4140
|
|
|
4140
4141
|
If the webhook is running within the cluster, then you should use `service`.
|
|
4141
|
-
:param str url: `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4142
|
+
:param builtins.str url: `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4142
4143
|
|
|
4143
4144
|
The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
|
|
4144
4145
|
|
|
@@ -4159,7 +4160,7 @@ class WebhookClientConfigPatch(dict):
|
|
|
4159
4160
|
|
|
4160
4161
|
@property
|
|
4161
4162
|
@pulumi.getter(name="caBundle")
|
|
4162
|
-
def ca_bundle(self) -> Optional[str]:
|
|
4163
|
+
def ca_bundle(self) -> Optional[builtins.str]:
|
|
4163
4164
|
"""
|
|
4164
4165
|
`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
4165
4166
|
"""
|
|
@@ -4177,7 +4178,7 @@ class WebhookClientConfigPatch(dict):
|
|
|
4177
4178
|
|
|
4178
4179
|
@property
|
|
4179
4180
|
@pulumi.getter
|
|
4180
|
-
def url(self) -> Optional[str]:
|
|
4181
|
+
def url(self) -> Optional[builtins.str]:
|
|
4181
4182
|
"""
|
|
4182
4183
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4183
4184
|
|