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 by 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 by 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 by 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 by 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
|
|
|
@@ -788,25 +789,25 @@ class MutatingWebhook(dict):
|
|
|
788
789
|
return super().get(key, default)
|
|
789
790
|
|
|
790
791
|
def __init__(__self__, *,
|
|
791
|
-
admission_review_versions: Sequence[str],
|
|
792
|
+
admission_review_versions: Sequence[builtins.str],
|
|
792
793
|
client_config: 'outputs.WebhookClientConfig',
|
|
793
|
-
name: str,
|
|
794
|
-
side_effects: str,
|
|
795
|
-
failure_policy: Optional[str] = None,
|
|
794
|
+
name: builtins.str,
|
|
795
|
+
side_effects: builtins.str,
|
|
796
|
+
failure_policy: Optional[builtins.str] = None,
|
|
796
797
|
match_conditions: Optional[Sequence['outputs.MatchCondition']] = None,
|
|
797
|
-
match_policy: Optional[str] = None,
|
|
798
|
+
match_policy: Optional[builtins.str] = None,
|
|
798
799
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
799
800
|
object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
800
|
-
reinvocation_policy: Optional[str] = None,
|
|
801
|
+
reinvocation_policy: Optional[builtins.str] = None,
|
|
801
802
|
rules: Optional[Sequence['outputs.RuleWithOperations']] = None,
|
|
802
|
-
timeout_seconds: Optional[int] = None):
|
|
803
|
+
timeout_seconds: Optional[builtins.int] = None):
|
|
803
804
|
"""
|
|
804
805
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
805
|
-
: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.
|
|
806
|
+
: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.
|
|
806
807
|
:param 'WebhookClientConfigArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
807
|
-
: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.
|
|
808
|
-
:param str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
809
|
-
:param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
808
|
+
: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.
|
|
809
|
+
:param builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
810
|
+
:param builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
810
811
|
:param Sequence['MatchConditionArgs'] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
811
812
|
|
|
812
813
|
The exact matching logic is (in order):
|
|
@@ -815,7 +816,7 @@ class MutatingWebhook(dict):
|
|
|
815
816
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
816
817
|
- If failurePolicy=Fail, reject the request
|
|
817
818
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
818
|
-
:param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
819
|
+
:param builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
819
820
|
|
|
820
821
|
- 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.
|
|
821
822
|
|
|
@@ -854,7 +855,7 @@ class MutatingWebhook(dict):
|
|
|
854
855
|
|
|
855
856
|
Default to the empty LabelSelector, which matches everything.
|
|
856
857
|
: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.
|
|
857
|
-
: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".
|
|
858
|
+
: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".
|
|
858
859
|
|
|
859
860
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
860
861
|
|
|
@@ -862,7 +863,7 @@ class MutatingWebhook(dict):
|
|
|
862
863
|
|
|
863
864
|
Defaults to "Never".
|
|
864
865
|
: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.
|
|
865
|
-
: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 10 seconds.
|
|
866
|
+
: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 10 seconds.
|
|
866
867
|
"""
|
|
867
868
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
868
869
|
pulumi.set(__self__, "client_config", client_config)
|
|
@@ -887,7 +888,7 @@ class MutatingWebhook(dict):
|
|
|
887
888
|
|
|
888
889
|
@property
|
|
889
890
|
@pulumi.getter(name="admissionReviewVersions")
|
|
890
|
-
def admission_review_versions(self) -> Sequence[str]:
|
|
891
|
+
def admission_review_versions(self) -> Sequence[builtins.str]:
|
|
891
892
|
"""
|
|
892
893
|
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.
|
|
893
894
|
"""
|
|
@@ -903,7 +904,7 @@ class MutatingWebhook(dict):
|
|
|
903
904
|
|
|
904
905
|
@property
|
|
905
906
|
@pulumi.getter
|
|
906
|
-
def name(self) -> str:
|
|
907
|
+
def name(self) -> builtins.str:
|
|
907
908
|
"""
|
|
908
909
|
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.
|
|
909
910
|
"""
|
|
@@ -911,7 +912,7 @@ class MutatingWebhook(dict):
|
|
|
911
912
|
|
|
912
913
|
@property
|
|
913
914
|
@pulumi.getter(name="sideEffects")
|
|
914
|
-
def side_effects(self) -> str:
|
|
915
|
+
def side_effects(self) -> builtins.str:
|
|
915
916
|
"""
|
|
916
917
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
917
918
|
"""
|
|
@@ -919,7 +920,7 @@ class MutatingWebhook(dict):
|
|
|
919
920
|
|
|
920
921
|
@property
|
|
921
922
|
@pulumi.getter(name="failurePolicy")
|
|
922
|
-
def failure_policy(self) -> Optional[str]:
|
|
923
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
923
924
|
"""
|
|
924
925
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
925
926
|
"""
|
|
@@ -942,7 +943,7 @@ class MutatingWebhook(dict):
|
|
|
942
943
|
|
|
943
944
|
@property
|
|
944
945
|
@pulumi.getter(name="matchPolicy")
|
|
945
|
-
def match_policy(self) -> Optional[str]:
|
|
946
|
+
def match_policy(self) -> Optional[builtins.str]:
|
|
946
947
|
"""
|
|
947
948
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
948
949
|
|
|
@@ -1002,7 +1003,7 @@ class MutatingWebhook(dict):
|
|
|
1002
1003
|
|
|
1003
1004
|
@property
|
|
1004
1005
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1005
|
-
def reinvocation_policy(self) -> Optional[str]:
|
|
1006
|
+
def reinvocation_policy(self) -> Optional[builtins.str]:
|
|
1006
1007
|
"""
|
|
1007
1008
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1008
1009
|
|
|
@@ -1024,7 +1025,7 @@ class MutatingWebhook(dict):
|
|
|
1024
1025
|
|
|
1025
1026
|
@property
|
|
1026
1027
|
@pulumi.getter(name="timeoutSeconds")
|
|
1027
|
-
def timeout_seconds(self) -> Optional[int]:
|
|
1028
|
+
def timeout_seconds(self) -> Optional[builtins.int]:
|
|
1028
1029
|
"""
|
|
1029
1030
|
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 10 seconds.
|
|
1030
1031
|
"""
|
|
@@ -1054,14 +1055,14 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1054
1055
|
return super().get(key, default)
|
|
1055
1056
|
|
|
1056
1057
|
def __init__(__self__, *,
|
|
1057
|
-
api_version: Optional[str] = None,
|
|
1058
|
-
kind: Optional[str] = None,
|
|
1058
|
+
api_version: Optional[builtins.str] = None,
|
|
1059
|
+
kind: Optional[builtins.str] = None,
|
|
1059
1060
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
1060
1061
|
webhooks: Optional[Sequence['outputs.MutatingWebhook']] = None):
|
|
1061
1062
|
"""
|
|
1062
1063
|
MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
|
|
1063
|
-
: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
|
|
1064
|
-
: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
|
|
1064
|
+
: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
|
|
1065
|
+
: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
|
|
1065
1066
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
1066
1067
|
:param Sequence['MutatingWebhookArgs'] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
1067
1068
|
"""
|
|
@@ -1076,7 +1077,7 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1076
1077
|
|
|
1077
1078
|
@property
|
|
1078
1079
|
@pulumi.getter(name="apiVersion")
|
|
1079
|
-
def api_version(self) -> Optional[str]:
|
|
1080
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
1080
1081
|
"""
|
|
1081
1082
|
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
|
|
1082
1083
|
"""
|
|
@@ -1084,7 +1085,7 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1084
1085
|
|
|
1085
1086
|
@property
|
|
1086
1087
|
@pulumi.getter
|
|
1087
|
-
def kind(self) -> Optional[str]:
|
|
1088
|
+
def kind(self) -> Optional[builtins.str]:
|
|
1088
1089
|
"""
|
|
1089
1090
|
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
|
|
1090
1091
|
"""
|
|
@@ -1148,23 +1149,23 @@ class MutatingWebhookPatch(dict):
|
|
|
1148
1149
|
return super().get(key, default)
|
|
1149
1150
|
|
|
1150
1151
|
def __init__(__self__, *,
|
|
1151
|
-
admission_review_versions: Optional[Sequence[str]] = None,
|
|
1152
|
+
admission_review_versions: Optional[Sequence[builtins.str]] = None,
|
|
1152
1153
|
client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
|
|
1153
|
-
failure_policy: Optional[str] = None,
|
|
1154
|
+
failure_policy: Optional[builtins.str] = None,
|
|
1154
1155
|
match_conditions: Optional[Sequence['outputs.MatchConditionPatch']] = None,
|
|
1155
|
-
match_policy: Optional[str] = None,
|
|
1156
|
-
name: Optional[str] = None,
|
|
1156
|
+
match_policy: Optional[builtins.str] = None,
|
|
1157
|
+
name: Optional[builtins.str] = None,
|
|
1157
1158
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1158
1159
|
object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1159
|
-
reinvocation_policy: Optional[str] = None,
|
|
1160
|
+
reinvocation_policy: Optional[builtins.str] = None,
|
|
1160
1161
|
rules: Optional[Sequence['outputs.RuleWithOperationsPatch']] = None,
|
|
1161
|
-
side_effects: Optional[str] = None,
|
|
1162
|
-
timeout_seconds: Optional[int] = None):
|
|
1162
|
+
side_effects: Optional[builtins.str] = None,
|
|
1163
|
+
timeout_seconds: Optional[builtins.int] = None):
|
|
1163
1164
|
"""
|
|
1164
1165
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1165
|
-
: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.
|
|
1166
|
+
: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.
|
|
1166
1167
|
:param 'WebhookClientConfigPatchArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
1167
|
-
:param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1168
|
+
:param builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1168
1169
|
:param Sequence['MatchConditionPatchArgs'] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
1169
1170
|
|
|
1170
1171
|
The exact matching logic is (in order):
|
|
@@ -1173,14 +1174,14 @@ class MutatingWebhookPatch(dict):
|
|
|
1173
1174
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
1174
1175
|
- If failurePolicy=Fail, reject the request
|
|
1175
1176
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
1176
|
-
:param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1177
|
+
:param builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1177
1178
|
|
|
1178
1179
|
- 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.
|
|
1179
1180
|
|
|
1180
1181
|
- 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.
|
|
1181
1182
|
|
|
1182
1183
|
Defaults to "Equivalent"
|
|
1183
|
-
: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.
|
|
1184
|
+
: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.
|
|
1184
1185
|
: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.
|
|
1185
1186
|
|
|
1186
1187
|
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": {
|
|
@@ -1213,7 +1214,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1213
1214
|
|
|
1214
1215
|
Default to the empty LabelSelector, which matches everything.
|
|
1215
1216
|
: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.
|
|
1216
|
-
: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".
|
|
1217
|
+
: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".
|
|
1217
1218
|
|
|
1218
1219
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
1219
1220
|
|
|
@@ -1221,8 +1222,8 @@ class MutatingWebhookPatch(dict):
|
|
|
1221
1222
|
|
|
1222
1223
|
Defaults to "Never".
|
|
1223
1224
|
: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.
|
|
1224
|
-
:param str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
1225
|
-
: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 10 seconds.
|
|
1225
|
+
:param builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
1226
|
+
: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 10 seconds.
|
|
1226
1227
|
"""
|
|
1227
1228
|
if admission_review_versions is not None:
|
|
1228
1229
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -1251,7 +1252,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1251
1252
|
|
|
1252
1253
|
@property
|
|
1253
1254
|
@pulumi.getter(name="admissionReviewVersions")
|
|
1254
|
-
def admission_review_versions(self) -> Optional[Sequence[str]]:
|
|
1255
|
+
def admission_review_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
1255
1256
|
"""
|
|
1256
1257
|
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.
|
|
1257
1258
|
"""
|
|
@@ -1267,7 +1268,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1267
1268
|
|
|
1268
1269
|
@property
|
|
1269
1270
|
@pulumi.getter(name="failurePolicy")
|
|
1270
|
-
def failure_policy(self) -> Optional[str]:
|
|
1271
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
1271
1272
|
"""
|
|
1272
1273
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1273
1274
|
"""
|
|
@@ -1290,7 +1291,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1290
1291
|
|
|
1291
1292
|
@property
|
|
1292
1293
|
@pulumi.getter(name="matchPolicy")
|
|
1293
|
-
def match_policy(self) -> Optional[str]:
|
|
1294
|
+
def match_policy(self) -> Optional[builtins.str]:
|
|
1294
1295
|
"""
|
|
1295
1296
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1296
1297
|
|
|
@@ -1304,7 +1305,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1304
1305
|
|
|
1305
1306
|
@property
|
|
1306
1307
|
@pulumi.getter
|
|
1307
|
-
def name(self) -> Optional[str]:
|
|
1308
|
+
def name(self) -> Optional[builtins.str]:
|
|
1308
1309
|
"""
|
|
1309
1310
|
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.
|
|
1310
1311
|
"""
|
|
@@ -1358,7 +1359,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1358
1359
|
|
|
1359
1360
|
@property
|
|
1360
1361
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1361
|
-
def reinvocation_policy(self) -> Optional[str]:
|
|
1362
|
+
def reinvocation_policy(self) -> Optional[builtins.str]:
|
|
1362
1363
|
"""
|
|
1363
1364
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1364
1365
|
|
|
@@ -1380,7 +1381,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1380
1381
|
|
|
1381
1382
|
@property
|
|
1382
1383
|
@pulumi.getter(name="sideEffects")
|
|
1383
|
-
def side_effects(self) -> Optional[str]:
|
|
1384
|
+
def side_effects(self) -> Optional[builtins.str]:
|
|
1384
1385
|
"""
|
|
1385
1386
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
1386
1387
|
"""
|
|
@@ -1388,7 +1389,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1388
1389
|
|
|
1389
1390
|
@property
|
|
1390
1391
|
@pulumi.getter(name="timeoutSeconds")
|
|
1391
|
-
def timeout_seconds(self) -> Optional[int]:
|
|
1392
|
+
def timeout_seconds(self) -> Optional[builtins.int]:
|
|
1392
1393
|
"""
|
|
1393
1394
|
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 10 seconds.
|
|
1394
1395
|
"""
|
|
@@ -1422,26 +1423,26 @@ class NamedRuleWithOperations(dict):
|
|
|
1422
1423
|
return super().get(key, default)
|
|
1423
1424
|
|
|
1424
1425
|
def __init__(__self__, *,
|
|
1425
|
-
api_groups: Optional[Sequence[str]] = None,
|
|
1426
|
-
api_versions: Optional[Sequence[str]] = None,
|
|
1427
|
-
operations: Optional[Sequence[str]] = None,
|
|
1428
|
-
resource_names: Optional[Sequence[str]] = None,
|
|
1429
|
-
resources: Optional[Sequence[str]] = None,
|
|
1430
|
-
scope: Optional[str] = None):
|
|
1426
|
+
api_groups: Optional[Sequence[builtins.str]] = None,
|
|
1427
|
+
api_versions: Optional[Sequence[builtins.str]] = None,
|
|
1428
|
+
operations: Optional[Sequence[builtins.str]] = None,
|
|
1429
|
+
resource_names: Optional[Sequence[builtins.str]] = None,
|
|
1430
|
+
resources: Optional[Sequence[builtins.str]] = None,
|
|
1431
|
+
scope: Optional[builtins.str] = None):
|
|
1431
1432
|
"""
|
|
1432
1433
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1433
|
-
: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.
|
|
1434
|
-
: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.
|
|
1435
|
-
: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.
|
|
1436
|
-
: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.
|
|
1437
|
-
:param Sequence[str] resources: Resources is a list of resources this rule applies to.
|
|
1434
|
+
: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.
|
|
1435
|
+
: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.
|
|
1436
|
+
: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.
|
|
1437
|
+
: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.
|
|
1438
|
+
:param Sequence[builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1438
1439
|
|
|
1439
1440
|
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.
|
|
1440
1441
|
|
|
1441
1442
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1442
1443
|
|
|
1443
1444
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1444
|
-
: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 "*".
|
|
1445
|
+
: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 "*".
|
|
1445
1446
|
"""
|
|
1446
1447
|
if api_groups is not None:
|
|
1447
1448
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1458,7 +1459,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1458
1459
|
|
|
1459
1460
|
@property
|
|
1460
1461
|
@pulumi.getter(name="apiGroups")
|
|
1461
|
-
def api_groups(self) -> Optional[Sequence[str]]:
|
|
1462
|
+
def api_groups(self) -> Optional[Sequence[builtins.str]]:
|
|
1462
1463
|
"""
|
|
1463
1464
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1464
1465
|
"""
|
|
@@ -1466,7 +1467,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1466
1467
|
|
|
1467
1468
|
@property
|
|
1468
1469
|
@pulumi.getter(name="apiVersions")
|
|
1469
|
-
def api_versions(self) -> Optional[Sequence[str]]:
|
|
1470
|
+
def api_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
1470
1471
|
"""
|
|
1471
1472
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1472
1473
|
"""
|
|
@@ -1474,7 +1475,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1474
1475
|
|
|
1475
1476
|
@property
|
|
1476
1477
|
@pulumi.getter
|
|
1477
|
-
def operations(self) -> Optional[Sequence[str]]:
|
|
1478
|
+
def operations(self) -> Optional[Sequence[builtins.str]]:
|
|
1478
1479
|
"""
|
|
1479
1480
|
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.
|
|
1480
1481
|
"""
|
|
@@ -1482,7 +1483,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1482
1483
|
|
|
1483
1484
|
@property
|
|
1484
1485
|
@pulumi.getter(name="resourceNames")
|
|
1485
|
-
def resource_names(self) -> Optional[Sequence[str]]:
|
|
1486
|
+
def resource_names(self) -> Optional[Sequence[builtins.str]]:
|
|
1486
1487
|
"""
|
|
1487
1488
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1488
1489
|
"""
|
|
@@ -1490,7 +1491,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1490
1491
|
|
|
1491
1492
|
@property
|
|
1492
1493
|
@pulumi.getter
|
|
1493
|
-
def resources(self) -> Optional[Sequence[str]]:
|
|
1494
|
+
def resources(self) -> Optional[Sequence[builtins.str]]:
|
|
1494
1495
|
"""
|
|
1495
1496
|
Resources is a list of resources this rule applies to.
|
|
1496
1497
|
|
|
@@ -1504,7 +1505,7 @@ class NamedRuleWithOperations(dict):
|
|
|
1504
1505
|
|
|
1505
1506
|
@property
|
|
1506
1507
|
@pulumi.getter
|
|
1507
|
-
def scope(self) -> Optional[str]:
|
|
1508
|
+
def scope(self) -> Optional[builtins.str]:
|
|
1508
1509
|
"""
|
|
1509
1510
|
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 "*".
|
|
1510
1511
|
"""
|
|
@@ -1538,26 +1539,26 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1538
1539
|
return super().get(key, default)
|
|
1539
1540
|
|
|
1540
1541
|
def __init__(__self__, *,
|
|
1541
|
-
api_groups: Optional[Sequence[str]] = None,
|
|
1542
|
-
api_versions: Optional[Sequence[str]] = None,
|
|
1543
|
-
operations: Optional[Sequence[str]] = None,
|
|
1544
|
-
resource_names: Optional[Sequence[str]] = None,
|
|
1545
|
-
resources: Optional[Sequence[str]] = None,
|
|
1546
|
-
scope: Optional[str] = None):
|
|
1542
|
+
api_groups: Optional[Sequence[builtins.str]] = None,
|
|
1543
|
+
api_versions: Optional[Sequence[builtins.str]] = None,
|
|
1544
|
+
operations: Optional[Sequence[builtins.str]] = None,
|
|
1545
|
+
resource_names: Optional[Sequence[builtins.str]] = None,
|
|
1546
|
+
resources: Optional[Sequence[builtins.str]] = None,
|
|
1547
|
+
scope: Optional[builtins.str] = None):
|
|
1547
1548
|
"""
|
|
1548
1549
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1549
|
-
: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.
|
|
1550
|
-
: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.
|
|
1551
|
-
: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.
|
|
1552
|
-
: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.
|
|
1553
|
-
:param Sequence[str] resources: Resources is a list of resources this rule applies to.
|
|
1550
|
+
: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.
|
|
1551
|
+
: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.
|
|
1552
|
+
: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.
|
|
1553
|
+
: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.
|
|
1554
|
+
:param Sequence[builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1554
1555
|
|
|
1555
1556
|
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.
|
|
1556
1557
|
|
|
1557
1558
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1558
1559
|
|
|
1559
1560
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1560
|
-
: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 "*".
|
|
1561
|
+
: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 "*".
|
|
1561
1562
|
"""
|
|
1562
1563
|
if api_groups is not None:
|
|
1563
1564
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1574,7 +1575,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1574
1575
|
|
|
1575
1576
|
@property
|
|
1576
1577
|
@pulumi.getter(name="apiGroups")
|
|
1577
|
-
def api_groups(self) -> Optional[Sequence[str]]:
|
|
1578
|
+
def api_groups(self) -> Optional[Sequence[builtins.str]]:
|
|
1578
1579
|
"""
|
|
1579
1580
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1580
1581
|
"""
|
|
@@ -1582,7 +1583,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1582
1583
|
|
|
1583
1584
|
@property
|
|
1584
1585
|
@pulumi.getter(name="apiVersions")
|
|
1585
|
-
def api_versions(self) -> Optional[Sequence[str]]:
|
|
1586
|
+
def api_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
1586
1587
|
"""
|
|
1587
1588
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1588
1589
|
"""
|
|
@@ -1590,7 +1591,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1590
1591
|
|
|
1591
1592
|
@property
|
|
1592
1593
|
@pulumi.getter
|
|
1593
|
-
def operations(self) -> Optional[Sequence[str]]:
|
|
1594
|
+
def operations(self) -> Optional[Sequence[builtins.str]]:
|
|
1594
1595
|
"""
|
|
1595
1596
|
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.
|
|
1596
1597
|
"""
|
|
@@ -1598,7 +1599,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1598
1599
|
|
|
1599
1600
|
@property
|
|
1600
1601
|
@pulumi.getter(name="resourceNames")
|
|
1601
|
-
def resource_names(self) -> Optional[Sequence[str]]:
|
|
1602
|
+
def resource_names(self) -> Optional[Sequence[builtins.str]]:
|
|
1602
1603
|
"""
|
|
1603
1604
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1604
1605
|
"""
|
|
@@ -1606,7 +1607,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1606
1607
|
|
|
1607
1608
|
@property
|
|
1608
1609
|
@pulumi.getter
|
|
1609
|
-
def resources(self) -> Optional[Sequence[str]]:
|
|
1610
|
+
def resources(self) -> Optional[Sequence[builtins.str]]:
|
|
1610
1611
|
"""
|
|
1611
1612
|
Resources is a list of resources this rule applies to.
|
|
1612
1613
|
|
|
@@ -1620,7 +1621,7 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1620
1621
|
|
|
1621
1622
|
@property
|
|
1622
1623
|
@pulumi.getter
|
|
1623
|
-
def scope(self) -> Optional[str]:
|
|
1624
|
+
def scope(self) -> Optional[builtins.str]:
|
|
1624
1625
|
"""
|
|
1625
1626
|
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 "*".
|
|
1626
1627
|
"""
|
|
@@ -1650,12 +1651,12 @@ class ParamKind(dict):
|
|
|
1650
1651
|
return super().get(key, default)
|
|
1651
1652
|
|
|
1652
1653
|
def __init__(__self__, *,
|
|
1653
|
-
api_version: Optional[str] = None,
|
|
1654
|
-
kind: Optional[str] = None):
|
|
1654
|
+
api_version: Optional[builtins.str] = None,
|
|
1655
|
+
kind: Optional[builtins.str] = None):
|
|
1655
1656
|
"""
|
|
1656
1657
|
ParamKind is a tuple of Group Kind and Version.
|
|
1657
|
-
:param str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1658
|
-
:param str kind: Kind is the API kind the resources belong to. Required.
|
|
1658
|
+
:param builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1659
|
+
:param builtins.str kind: Kind is the API kind the resources belong to. Required.
|
|
1659
1660
|
"""
|
|
1660
1661
|
if api_version is not None:
|
|
1661
1662
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -1664,7 +1665,7 @@ class ParamKind(dict):
|
|
|
1664
1665
|
|
|
1665
1666
|
@property
|
|
1666
1667
|
@pulumi.getter(name="apiVersion")
|
|
1667
|
-
def api_version(self) -> Optional[str]:
|
|
1668
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
1668
1669
|
"""
|
|
1669
1670
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1670
1671
|
"""
|
|
@@ -1672,7 +1673,7 @@ class ParamKind(dict):
|
|
|
1672
1673
|
|
|
1673
1674
|
@property
|
|
1674
1675
|
@pulumi.getter
|
|
1675
|
-
def kind(self) -> Optional[str]:
|
|
1676
|
+
def kind(self) -> Optional[builtins.str]:
|
|
1676
1677
|
"""
|
|
1677
1678
|
Kind is the API kind the resources belong to. Required.
|
|
1678
1679
|
"""
|
|
@@ -1702,12 +1703,12 @@ class ParamKindPatch(dict):
|
|
|
1702
1703
|
return super().get(key, default)
|
|
1703
1704
|
|
|
1704
1705
|
def __init__(__self__, *,
|
|
1705
|
-
api_version: Optional[str] = None,
|
|
1706
|
-
kind: Optional[str] = None):
|
|
1706
|
+
api_version: Optional[builtins.str] = None,
|
|
1707
|
+
kind: Optional[builtins.str] = None):
|
|
1707
1708
|
"""
|
|
1708
1709
|
ParamKind is a tuple of Group Kind and Version.
|
|
1709
|
-
:param str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1710
|
-
:param str kind: Kind is the API kind the resources belong to. Required.
|
|
1710
|
+
:param builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1711
|
+
:param builtins.str kind: Kind is the API kind the resources belong to. Required.
|
|
1711
1712
|
"""
|
|
1712
1713
|
if api_version is not None:
|
|
1713
1714
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -1716,7 +1717,7 @@ class ParamKindPatch(dict):
|
|
|
1716
1717
|
|
|
1717
1718
|
@property
|
|
1718
1719
|
@pulumi.getter(name="apiVersion")
|
|
1719
|
-
def api_version(self) -> Optional[str]:
|
|
1720
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
1720
1721
|
"""
|
|
1721
1722
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1722
1723
|
"""
|
|
@@ -1724,7 +1725,7 @@ class ParamKindPatch(dict):
|
|
|
1724
1725
|
|
|
1725
1726
|
@property
|
|
1726
1727
|
@pulumi.getter
|
|
1727
|
-
def kind(self) -> Optional[str]:
|
|
1728
|
+
def kind(self) -> Optional[builtins.str]:
|
|
1728
1729
|
"""
|
|
1729
1730
|
Kind is the API kind the resources belong to. Required.
|
|
1730
1731
|
"""
|
|
@@ -1754,25 +1755,25 @@ class ParamRef(dict):
|
|
|
1754
1755
|
return super().get(key, default)
|
|
1755
1756
|
|
|
1756
1757
|
def __init__(__self__, *,
|
|
1757
|
-
name: Optional[str] = None,
|
|
1758
|
-
namespace: Optional[str] = None,
|
|
1759
|
-
parameter_not_found_action: Optional[str] = None,
|
|
1758
|
+
name: Optional[builtins.str] = None,
|
|
1759
|
+
namespace: Optional[builtins.str] = None,
|
|
1760
|
+
parameter_not_found_action: Optional[builtins.str] = None,
|
|
1760
1761
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
1761
1762
|
"""
|
|
1762
1763
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
1763
|
-
:param str name: name is the name of the resource being referenced.
|
|
1764
|
+
:param builtins.str name: name is the name of the resource being referenced.
|
|
1764
1765
|
|
|
1765
1766
|
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.
|
|
1766
1767
|
|
|
1767
1768
|
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.
|
|
1768
|
-
: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.
|
|
1769
|
+
: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.
|
|
1769
1770
|
|
|
1770
1771
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
1771
1772
|
|
|
1772
1773
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
1773
1774
|
|
|
1774
1775
|
- 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.
|
|
1775
|
-
: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.
|
|
1776
|
+
: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.
|
|
1776
1777
|
|
|
1777
1778
|
Allowed values are `Allow` or `Deny`
|
|
1778
1779
|
|
|
@@ -1794,7 +1795,7 @@ class ParamRef(dict):
|
|
|
1794
1795
|
|
|
1795
1796
|
@property
|
|
1796
1797
|
@pulumi.getter
|
|
1797
|
-
def name(self) -> Optional[str]:
|
|
1798
|
+
def name(self) -> Optional[builtins.str]:
|
|
1798
1799
|
"""
|
|
1799
1800
|
name is the name of the resource being referenced.
|
|
1800
1801
|
|
|
@@ -1806,7 +1807,7 @@ class ParamRef(dict):
|
|
|
1806
1807
|
|
|
1807
1808
|
@property
|
|
1808
1809
|
@pulumi.getter
|
|
1809
|
-
def namespace(self) -> Optional[str]:
|
|
1810
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
1810
1811
|
"""
|
|
1811
1812
|
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.
|
|
1812
1813
|
|
|
@@ -1820,7 +1821,7 @@ class ParamRef(dict):
|
|
|
1820
1821
|
|
|
1821
1822
|
@property
|
|
1822
1823
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
1823
|
-
def parameter_not_found_action(self) -> Optional[str]:
|
|
1824
|
+
def parameter_not_found_action(self) -> Optional[builtins.str]:
|
|
1824
1825
|
"""
|
|
1825
1826
|
`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.
|
|
1826
1827
|
|
|
@@ -1866,25 +1867,25 @@ class ParamRefPatch(dict):
|
|
|
1866
1867
|
return super().get(key, default)
|
|
1867
1868
|
|
|
1868
1869
|
def __init__(__self__, *,
|
|
1869
|
-
name: Optional[str] = None,
|
|
1870
|
-
namespace: Optional[str] = None,
|
|
1871
|
-
parameter_not_found_action: Optional[str] = None,
|
|
1870
|
+
name: Optional[builtins.str] = None,
|
|
1871
|
+
namespace: Optional[builtins.str] = None,
|
|
1872
|
+
parameter_not_found_action: Optional[builtins.str] = None,
|
|
1872
1873
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None):
|
|
1873
1874
|
"""
|
|
1874
1875
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
1875
|
-
:param str name: name is the name of the resource being referenced.
|
|
1876
|
+
:param builtins.str name: name is the name of the resource being referenced.
|
|
1876
1877
|
|
|
1877
1878
|
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.
|
|
1878
1879
|
|
|
1879
1880
|
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.
|
|
1880
|
-
: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.
|
|
1881
|
+
: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.
|
|
1881
1882
|
|
|
1882
1883
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
1883
1884
|
|
|
1884
1885
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
1885
1886
|
|
|
1886
1887
|
- 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.
|
|
1887
|
-
: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.
|
|
1888
|
+
: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.
|
|
1888
1889
|
|
|
1889
1890
|
Allowed values are `Allow` or `Deny`
|
|
1890
1891
|
|
|
@@ -1906,7 +1907,7 @@ class ParamRefPatch(dict):
|
|
|
1906
1907
|
|
|
1907
1908
|
@property
|
|
1908
1909
|
@pulumi.getter
|
|
1909
|
-
def name(self) -> Optional[str]:
|
|
1910
|
+
def name(self) -> Optional[builtins.str]:
|
|
1910
1911
|
"""
|
|
1911
1912
|
name is the name of the resource being referenced.
|
|
1912
1913
|
|
|
@@ -1918,7 +1919,7 @@ class ParamRefPatch(dict):
|
|
|
1918
1919
|
|
|
1919
1920
|
@property
|
|
1920
1921
|
@pulumi.getter
|
|
1921
|
-
def namespace(self) -> Optional[str]:
|
|
1922
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
1922
1923
|
"""
|
|
1923
1924
|
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.
|
|
1924
1925
|
|
|
@@ -1932,7 +1933,7 @@ class ParamRefPatch(dict):
|
|
|
1932
1933
|
|
|
1933
1934
|
@property
|
|
1934
1935
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
1935
|
-
def parameter_not_found_action(self) -> Optional[str]:
|
|
1936
|
+
def parameter_not_found_action(self) -> Optional[builtins.str]:
|
|
1936
1937
|
"""
|
|
1937
1938
|
`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.
|
|
1938
1939
|
|
|
@@ -1980,24 +1981,24 @@ class RuleWithOperations(dict):
|
|
|
1980
1981
|
return super().get(key, default)
|
|
1981
1982
|
|
|
1982
1983
|
def __init__(__self__, *,
|
|
1983
|
-
api_groups: Optional[Sequence[str]] = None,
|
|
1984
|
-
api_versions: Optional[Sequence[str]] = None,
|
|
1985
|
-
operations: Optional[Sequence[str]] = None,
|
|
1986
|
-
resources: Optional[Sequence[str]] = None,
|
|
1987
|
-
scope: Optional[str] = None):
|
|
1984
|
+
api_groups: Optional[Sequence[builtins.str]] = None,
|
|
1985
|
+
api_versions: Optional[Sequence[builtins.str]] = None,
|
|
1986
|
+
operations: Optional[Sequence[builtins.str]] = None,
|
|
1987
|
+
resources: Optional[Sequence[builtins.str]] = None,
|
|
1988
|
+
scope: Optional[builtins.str] = None):
|
|
1988
1989
|
"""
|
|
1989
1990
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
1990
|
-
: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.
|
|
1991
|
-
: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.
|
|
1992
|
-
: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.
|
|
1993
|
-
:param Sequence[str] resources: Resources is a list of resources this rule applies to.
|
|
1991
|
+
: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.
|
|
1992
|
+
: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.
|
|
1993
|
+
: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.
|
|
1994
|
+
:param Sequence[builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1994
1995
|
|
|
1995
1996
|
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.
|
|
1996
1997
|
|
|
1997
1998
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1998
1999
|
|
|
1999
2000
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2000
|
-
: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 "*".
|
|
2001
|
+
: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 "*".
|
|
2001
2002
|
"""
|
|
2002
2003
|
if api_groups is not None:
|
|
2003
2004
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2012,7 +2013,7 @@ class RuleWithOperations(dict):
|
|
|
2012
2013
|
|
|
2013
2014
|
@property
|
|
2014
2015
|
@pulumi.getter(name="apiGroups")
|
|
2015
|
-
def api_groups(self) -> Optional[Sequence[str]]:
|
|
2016
|
+
def api_groups(self) -> Optional[Sequence[builtins.str]]:
|
|
2016
2017
|
"""
|
|
2017
2018
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2018
2019
|
"""
|
|
@@ -2020,7 +2021,7 @@ class RuleWithOperations(dict):
|
|
|
2020
2021
|
|
|
2021
2022
|
@property
|
|
2022
2023
|
@pulumi.getter(name="apiVersions")
|
|
2023
|
-
def api_versions(self) -> Optional[Sequence[str]]:
|
|
2024
|
+
def api_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
2024
2025
|
"""
|
|
2025
2026
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2026
2027
|
"""
|
|
@@ -2028,7 +2029,7 @@ class RuleWithOperations(dict):
|
|
|
2028
2029
|
|
|
2029
2030
|
@property
|
|
2030
2031
|
@pulumi.getter
|
|
2031
|
-
def operations(self) -> Optional[Sequence[str]]:
|
|
2032
|
+
def operations(self) -> Optional[Sequence[builtins.str]]:
|
|
2032
2033
|
"""
|
|
2033
2034
|
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.
|
|
2034
2035
|
"""
|
|
@@ -2036,7 +2037,7 @@ class RuleWithOperations(dict):
|
|
|
2036
2037
|
|
|
2037
2038
|
@property
|
|
2038
2039
|
@pulumi.getter
|
|
2039
|
-
def resources(self) -> Optional[Sequence[str]]:
|
|
2040
|
+
def resources(self) -> Optional[Sequence[builtins.str]]:
|
|
2040
2041
|
"""
|
|
2041
2042
|
Resources is a list of resources this rule applies to.
|
|
2042
2043
|
|
|
@@ -2050,7 +2051,7 @@ class RuleWithOperations(dict):
|
|
|
2050
2051
|
|
|
2051
2052
|
@property
|
|
2052
2053
|
@pulumi.getter
|
|
2053
|
-
def scope(self) -> Optional[str]:
|
|
2054
|
+
def scope(self) -> Optional[builtins.str]:
|
|
2054
2055
|
"""
|
|
2055
2056
|
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 "*".
|
|
2056
2057
|
"""
|
|
@@ -2082,24 +2083,24 @@ class RuleWithOperationsPatch(dict):
|
|
|
2082
2083
|
return super().get(key, default)
|
|
2083
2084
|
|
|
2084
2085
|
def __init__(__self__, *,
|
|
2085
|
-
api_groups: Optional[Sequence[str]] = None,
|
|
2086
|
-
api_versions: Optional[Sequence[str]] = None,
|
|
2087
|
-
operations: Optional[Sequence[str]] = None,
|
|
2088
|
-
resources: Optional[Sequence[str]] = None,
|
|
2089
|
-
scope: Optional[str] = None):
|
|
2086
|
+
api_groups: Optional[Sequence[builtins.str]] = None,
|
|
2087
|
+
api_versions: Optional[Sequence[builtins.str]] = None,
|
|
2088
|
+
operations: Optional[Sequence[builtins.str]] = None,
|
|
2089
|
+
resources: Optional[Sequence[builtins.str]] = None,
|
|
2090
|
+
scope: Optional[builtins.str] = None):
|
|
2090
2091
|
"""
|
|
2091
2092
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2092
|
-
: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.
|
|
2093
|
-
: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.
|
|
2094
|
-
: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.
|
|
2095
|
-
:param Sequence[str] resources: Resources is a list of resources this rule applies to.
|
|
2093
|
+
: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.
|
|
2094
|
+
: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.
|
|
2095
|
+
: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.
|
|
2096
|
+
:param Sequence[builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
2096
2097
|
|
|
2097
2098
|
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.
|
|
2098
2099
|
|
|
2099
2100
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2100
2101
|
|
|
2101
2102
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2102
|
-
: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 "*".
|
|
2103
|
+
: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 "*".
|
|
2103
2104
|
"""
|
|
2104
2105
|
if api_groups is not None:
|
|
2105
2106
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2114,7 +2115,7 @@ class RuleWithOperationsPatch(dict):
|
|
|
2114
2115
|
|
|
2115
2116
|
@property
|
|
2116
2117
|
@pulumi.getter(name="apiGroups")
|
|
2117
|
-
def api_groups(self) -> Optional[Sequence[str]]:
|
|
2118
|
+
def api_groups(self) -> Optional[Sequence[builtins.str]]:
|
|
2118
2119
|
"""
|
|
2119
2120
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2120
2121
|
"""
|
|
@@ -2122,7 +2123,7 @@ class RuleWithOperationsPatch(dict):
|
|
|
2122
2123
|
|
|
2123
2124
|
@property
|
|
2124
2125
|
@pulumi.getter(name="apiVersions")
|
|
2125
|
-
def api_versions(self) -> Optional[Sequence[str]]:
|
|
2126
|
+
def api_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
2126
2127
|
"""
|
|
2127
2128
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2128
2129
|
"""
|
|
@@ -2130,7 +2131,7 @@ class RuleWithOperationsPatch(dict):
|
|
|
2130
2131
|
|
|
2131
2132
|
@property
|
|
2132
2133
|
@pulumi.getter
|
|
2133
|
-
def operations(self) -> Optional[Sequence[str]]:
|
|
2134
|
+
def operations(self) -> Optional[Sequence[builtins.str]]:
|
|
2134
2135
|
"""
|
|
2135
2136
|
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.
|
|
2136
2137
|
"""
|
|
@@ -2138,7 +2139,7 @@ class RuleWithOperationsPatch(dict):
|
|
|
2138
2139
|
|
|
2139
2140
|
@property
|
|
2140
2141
|
@pulumi.getter
|
|
2141
|
-
def resources(self) -> Optional[Sequence[str]]:
|
|
2142
|
+
def resources(self) -> Optional[Sequence[builtins.str]]:
|
|
2142
2143
|
"""
|
|
2143
2144
|
Resources is a list of resources this rule applies to.
|
|
2144
2145
|
|
|
@@ -2152,7 +2153,7 @@ class RuleWithOperationsPatch(dict):
|
|
|
2152
2153
|
|
|
2153
2154
|
@property
|
|
2154
2155
|
@pulumi.getter
|
|
2155
|
-
def scope(self) -> Optional[str]:
|
|
2156
|
+
def scope(self) -> Optional[builtins.str]:
|
|
2156
2157
|
"""
|
|
2157
2158
|
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 "*".
|
|
2158
2159
|
"""
|
|
@@ -2165,16 +2166,16 @@ class ServiceReference(dict):
|
|
|
2165
2166
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2166
2167
|
"""
|
|
2167
2168
|
def __init__(__self__, *,
|
|
2168
|
-
name: str,
|
|
2169
|
-
namespace: str,
|
|
2170
|
-
path: Optional[str] = None,
|
|
2171
|
-
port: Optional[int] = None):
|
|
2169
|
+
name: builtins.str,
|
|
2170
|
+
namespace: builtins.str,
|
|
2171
|
+
path: Optional[builtins.str] = None,
|
|
2172
|
+
port: Optional[builtins.int] = None):
|
|
2172
2173
|
"""
|
|
2173
2174
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2174
|
-
:param str name: `name` is the name of the service. Required
|
|
2175
|
-
:param str namespace: `namespace` is the namespace of the service. Required
|
|
2176
|
-
:param str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2177
|
-
: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).
|
|
2175
|
+
:param builtins.str name: `name` is the name of the service. Required
|
|
2176
|
+
:param builtins.str namespace: `namespace` is the namespace of the service. Required
|
|
2177
|
+
:param builtins.str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2178
|
+
: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).
|
|
2178
2179
|
"""
|
|
2179
2180
|
pulumi.set(__self__, "name", name)
|
|
2180
2181
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -2185,7 +2186,7 @@ class ServiceReference(dict):
|
|
|
2185
2186
|
|
|
2186
2187
|
@property
|
|
2187
2188
|
@pulumi.getter
|
|
2188
|
-
def name(self) -> str:
|
|
2189
|
+
def name(self) -> builtins.str:
|
|
2189
2190
|
"""
|
|
2190
2191
|
`name` is the name of the service. Required
|
|
2191
2192
|
"""
|
|
@@ -2193,7 +2194,7 @@ class ServiceReference(dict):
|
|
|
2193
2194
|
|
|
2194
2195
|
@property
|
|
2195
2196
|
@pulumi.getter
|
|
2196
|
-
def namespace(self) -> str:
|
|
2197
|
+
def namespace(self) -> builtins.str:
|
|
2197
2198
|
"""
|
|
2198
2199
|
`namespace` is the namespace of the service. Required
|
|
2199
2200
|
"""
|
|
@@ -2201,7 +2202,7 @@ class ServiceReference(dict):
|
|
|
2201
2202
|
|
|
2202
2203
|
@property
|
|
2203
2204
|
@pulumi.getter
|
|
2204
|
-
def path(self) -> Optional[str]:
|
|
2205
|
+
def path(self) -> Optional[builtins.str]:
|
|
2205
2206
|
"""
|
|
2206
2207
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2207
2208
|
"""
|
|
@@ -2209,7 +2210,7 @@ class ServiceReference(dict):
|
|
|
2209
2210
|
|
|
2210
2211
|
@property
|
|
2211
2212
|
@pulumi.getter
|
|
2212
|
-
def port(self) -> Optional[int]:
|
|
2213
|
+
def port(self) -> Optional[builtins.int]:
|
|
2213
2214
|
"""
|
|
2214
2215
|
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).
|
|
2215
2216
|
"""
|
|
@@ -2222,16 +2223,16 @@ class ServiceReferencePatch(dict):
|
|
|
2222
2223
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2223
2224
|
"""
|
|
2224
2225
|
def __init__(__self__, *,
|
|
2225
|
-
name: Optional[str] = None,
|
|
2226
|
-
namespace: Optional[str] = None,
|
|
2227
|
-
path: Optional[str] = None,
|
|
2228
|
-
port: Optional[int] = None):
|
|
2226
|
+
name: Optional[builtins.str] = None,
|
|
2227
|
+
namespace: Optional[builtins.str] = None,
|
|
2228
|
+
path: Optional[builtins.str] = None,
|
|
2229
|
+
port: Optional[builtins.int] = None):
|
|
2229
2230
|
"""
|
|
2230
2231
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2231
|
-
:param str name: `name` is the name of the service. Required
|
|
2232
|
-
:param str namespace: `namespace` is the namespace of the service. Required
|
|
2233
|
-
:param str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2234
|
-
: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).
|
|
2232
|
+
:param builtins.str name: `name` is the name of the service. Required
|
|
2233
|
+
:param builtins.str namespace: `namespace` is the namespace of the service. Required
|
|
2234
|
+
:param builtins.str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2235
|
+
: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).
|
|
2235
2236
|
"""
|
|
2236
2237
|
if name is not None:
|
|
2237
2238
|
pulumi.set(__self__, "name", name)
|
|
@@ -2244,7 +2245,7 @@ class ServiceReferencePatch(dict):
|
|
|
2244
2245
|
|
|
2245
2246
|
@property
|
|
2246
2247
|
@pulumi.getter
|
|
2247
|
-
def name(self) -> Optional[str]:
|
|
2248
|
+
def name(self) -> Optional[builtins.str]:
|
|
2248
2249
|
"""
|
|
2249
2250
|
`name` is the name of the service. Required
|
|
2250
2251
|
"""
|
|
@@ -2252,7 +2253,7 @@ class ServiceReferencePatch(dict):
|
|
|
2252
2253
|
|
|
2253
2254
|
@property
|
|
2254
2255
|
@pulumi.getter
|
|
2255
|
-
def namespace(self) -> Optional[str]:
|
|
2256
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
2256
2257
|
"""
|
|
2257
2258
|
`namespace` is the namespace of the service. Required
|
|
2258
2259
|
"""
|
|
@@ -2260,7 +2261,7 @@ class ServiceReferencePatch(dict):
|
|
|
2260
2261
|
|
|
2261
2262
|
@property
|
|
2262
2263
|
@pulumi.getter
|
|
2263
|
-
def path(self) -> Optional[str]:
|
|
2264
|
+
def path(self) -> Optional[builtins.str]:
|
|
2264
2265
|
"""
|
|
2265
2266
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2266
2267
|
"""
|
|
@@ -2268,7 +2269,7 @@ class ServiceReferencePatch(dict):
|
|
|
2268
2269
|
|
|
2269
2270
|
@property
|
|
2270
2271
|
@pulumi.getter
|
|
2271
|
-
def port(self) -> Optional[int]:
|
|
2272
|
+
def port(self) -> Optional[builtins.int]:
|
|
2272
2273
|
"""
|
|
2273
2274
|
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).
|
|
2274
2275
|
"""
|
|
@@ -2378,15 +2379,15 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2378
2379
|
return super().get(key, default)
|
|
2379
2380
|
|
|
2380
2381
|
def __init__(__self__, *,
|
|
2381
|
-
api_version: Optional[str] = None,
|
|
2382
|
-
kind: Optional[str] = None,
|
|
2382
|
+
api_version: Optional[builtins.str] = None,
|
|
2383
|
+
kind: Optional[builtins.str] = None,
|
|
2383
2384
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2384
2385
|
spec: Optional['outputs.ValidatingAdmissionPolicySpec'] = None,
|
|
2385
2386
|
status: Optional['outputs.ValidatingAdmissionPolicyStatus'] = None):
|
|
2386
2387
|
"""
|
|
2387
2388
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
2388
|
-
: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
|
|
2389
|
-
: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
|
|
2389
|
+
: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
|
|
2390
|
+
: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
|
|
2390
2391
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
2391
2392
|
:param 'ValidatingAdmissionPolicySpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
2392
2393
|
: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.
|
|
@@ -2404,7 +2405,7 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2404
2405
|
|
|
2405
2406
|
@property
|
|
2406
2407
|
@pulumi.getter(name="apiVersion")
|
|
2407
|
-
def api_version(self) -> Optional[str]:
|
|
2408
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
2408
2409
|
"""
|
|
2409
2410
|
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
|
|
2410
2411
|
"""
|
|
@@ -2412,7 +2413,7 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2412
2413
|
|
|
2413
2414
|
@property
|
|
2414
2415
|
@pulumi.getter
|
|
2415
|
-
def kind(self) -> Optional[str]:
|
|
2416
|
+
def kind(self) -> Optional[builtins.str]:
|
|
2416
2417
|
"""
|
|
2417
2418
|
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
|
|
2418
2419
|
"""
|
|
@@ -2470,8 +2471,8 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2470
2471
|
return super().get(key, default)
|
|
2471
2472
|
|
|
2472
2473
|
def __init__(__self__, *,
|
|
2473
|
-
api_version: Optional[str] = None,
|
|
2474
|
-
kind: Optional[str] = None,
|
|
2474
|
+
api_version: Optional[builtins.str] = None,
|
|
2475
|
+
kind: Optional[builtins.str] = None,
|
|
2475
2476
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2476
2477
|
spec: Optional['outputs.ValidatingAdmissionPolicyBindingSpec'] = None):
|
|
2477
2478
|
"""
|
|
@@ -2480,8 +2481,8 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2480
2481
|
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.
|
|
2481
2482
|
|
|
2482
2483
|
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.
|
|
2483
|
-
: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
|
|
2484
|
-
: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
|
|
2484
|
+
: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
|
|
2485
|
+
: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
|
|
2485
2486
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
2486
2487
|
:param 'ValidatingAdmissionPolicyBindingSpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
2487
2488
|
"""
|
|
@@ -2496,7 +2497,7 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2496
2497
|
|
|
2497
2498
|
@property
|
|
2498
2499
|
@pulumi.getter(name="apiVersion")
|
|
2499
|
-
def api_version(self) -> Optional[str]:
|
|
2500
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
2500
2501
|
"""
|
|
2501
2502
|
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
|
|
2502
2503
|
"""
|
|
@@ -2504,7 +2505,7 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2504
2505
|
|
|
2505
2506
|
@property
|
|
2506
2507
|
@pulumi.getter
|
|
2507
|
-
def kind(self) -> Optional[str]:
|
|
2508
|
+
def kind(self) -> Optional[builtins.str]:
|
|
2508
2509
|
"""
|
|
2509
2510
|
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
|
|
2510
2511
|
"""
|
|
@@ -2558,14 +2559,14 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2558
2559
|
def __init__(__self__, *,
|
|
2559
2560
|
match_resources: Optional['outputs.MatchResources'] = None,
|
|
2560
2561
|
param_ref: Optional['outputs.ParamRef'] = None,
|
|
2561
|
-
policy_name: Optional[str] = None,
|
|
2562
|
-
validation_actions: Optional[Sequence[str]] = None):
|
|
2562
|
+
policy_name: Optional[builtins.str] = None,
|
|
2563
|
+
validation_actions: Optional[Sequence[builtins.str]] = None):
|
|
2563
2564
|
"""
|
|
2564
2565
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
2565
2566
|
: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.
|
|
2566
2567
|
: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.
|
|
2567
|
-
: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.
|
|
2568
|
-
: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.
|
|
2568
|
+
: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.
|
|
2569
|
+
: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.
|
|
2569
2570
|
|
|
2570
2571
|
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.
|
|
2571
2572
|
|
|
@@ -2612,7 +2613,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2612
2613
|
|
|
2613
2614
|
@property
|
|
2614
2615
|
@pulumi.getter(name="policyName")
|
|
2615
|
-
def policy_name(self) -> Optional[str]:
|
|
2616
|
+
def policy_name(self) -> Optional[builtins.str]:
|
|
2616
2617
|
"""
|
|
2617
2618
|
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.
|
|
2618
2619
|
"""
|
|
@@ -2620,7 +2621,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2620
2621
|
|
|
2621
2622
|
@property
|
|
2622
2623
|
@pulumi.getter(name="validationActions")
|
|
2623
|
-
def validation_actions(self) -> Optional[Sequence[str]]:
|
|
2624
|
+
def validation_actions(self) -> Optional[Sequence[builtins.str]]:
|
|
2624
2625
|
"""
|
|
2625
2626
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2626
2627
|
|
|
@@ -2676,14 +2677,14 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2676
2677
|
def __init__(__self__, *,
|
|
2677
2678
|
match_resources: Optional['outputs.MatchResourcesPatch'] = None,
|
|
2678
2679
|
param_ref: Optional['outputs.ParamRefPatch'] = None,
|
|
2679
|
-
policy_name: Optional[str] = None,
|
|
2680
|
-
validation_actions: Optional[Sequence[str]] = None):
|
|
2680
|
+
policy_name: Optional[builtins.str] = None,
|
|
2681
|
+
validation_actions: Optional[Sequence[builtins.str]] = None):
|
|
2681
2682
|
"""
|
|
2682
2683
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
2683
2684
|
: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.
|
|
2684
2685
|
: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.
|
|
2685
|
-
: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.
|
|
2686
|
-
: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.
|
|
2686
|
+
: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.
|
|
2687
|
+
: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.
|
|
2687
2688
|
|
|
2688
2689
|
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.
|
|
2689
2690
|
|
|
@@ -2730,7 +2731,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2730
2731
|
|
|
2731
2732
|
@property
|
|
2732
2733
|
@pulumi.getter(name="policyName")
|
|
2733
|
-
def policy_name(self) -> Optional[str]:
|
|
2734
|
+
def policy_name(self) -> Optional[builtins.str]:
|
|
2734
2735
|
"""
|
|
2735
2736
|
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.
|
|
2736
2737
|
"""
|
|
@@ -2738,7 +2739,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2738
2739
|
|
|
2739
2740
|
@property
|
|
2740
2741
|
@pulumi.getter(name="validationActions")
|
|
2741
|
-
def validation_actions(self) -> Optional[Sequence[str]]:
|
|
2742
|
+
def validation_actions(self) -> Optional[Sequence[builtins.str]]:
|
|
2742
2743
|
"""
|
|
2743
2744
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2744
2745
|
|
|
@@ -2795,7 +2796,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2795
2796
|
|
|
2796
2797
|
def __init__(__self__, *,
|
|
2797
2798
|
audit_annotations: Optional[Sequence['outputs.AuditAnnotation']] = None,
|
|
2798
|
-
failure_policy: Optional[str] = None,
|
|
2799
|
+
failure_policy: Optional[builtins.str] = None,
|
|
2799
2800
|
match_conditions: Optional[Sequence['outputs.MatchCondition']] = None,
|
|
2800
2801
|
match_constraints: Optional['outputs.MatchResources'] = None,
|
|
2801
2802
|
param_kind: Optional['outputs.ParamKind'] = None,
|
|
@@ -2804,7 +2805,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2804
2805
|
"""
|
|
2805
2806
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
2806
2807
|
: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.
|
|
2807
|
-
: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.
|
|
2808
|
+
: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.
|
|
2808
2809
|
|
|
2809
2810
|
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.
|
|
2810
2811
|
|
|
@@ -2855,7 +2856,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2855
2856
|
|
|
2856
2857
|
@property
|
|
2857
2858
|
@pulumi.getter(name="failurePolicy")
|
|
2858
|
-
def failure_policy(self) -> Optional[str]:
|
|
2859
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
2859
2860
|
"""
|
|
2860
2861
|
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.
|
|
2861
2862
|
|
|
@@ -2953,7 +2954,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2953
2954
|
|
|
2954
2955
|
def __init__(__self__, *,
|
|
2955
2956
|
audit_annotations: Optional[Sequence['outputs.AuditAnnotationPatch']] = None,
|
|
2956
|
-
failure_policy: Optional[str] = None,
|
|
2957
|
+
failure_policy: Optional[builtins.str] = None,
|
|
2957
2958
|
match_conditions: Optional[Sequence['outputs.MatchConditionPatch']] = None,
|
|
2958
2959
|
match_constraints: Optional['outputs.MatchResourcesPatch'] = None,
|
|
2959
2960
|
param_kind: Optional['outputs.ParamKindPatch'] = None,
|
|
@@ -2962,7 +2963,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2962
2963
|
"""
|
|
2963
2964
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
2964
2965
|
: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.
|
|
2965
|
-
: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.
|
|
2966
|
+
: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.
|
|
2966
2967
|
|
|
2967
2968
|
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.
|
|
2968
2969
|
|
|
@@ -3013,7 +3014,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3013
3014
|
|
|
3014
3015
|
@property
|
|
3015
3016
|
@pulumi.getter(name="failurePolicy")
|
|
3016
|
-
def failure_policy(self) -> Optional[str]:
|
|
3017
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
3017
3018
|
"""
|
|
3018
3019
|
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.
|
|
3019
3020
|
|
|
@@ -3105,12 +3106,12 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3105
3106
|
|
|
3106
3107
|
def __init__(__self__, *,
|
|
3107
3108
|
conditions: Optional[Sequence['_meta.v1.outputs.Condition']] = None,
|
|
3108
|
-
observed_generation: Optional[int] = None,
|
|
3109
|
+
observed_generation: Optional[builtins.int] = None,
|
|
3109
3110
|
type_checking: Optional['outputs.TypeChecking'] = None):
|
|
3110
3111
|
"""
|
|
3111
3112
|
ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
|
|
3112
3113
|
:param Sequence['_meta.v1.ConditionArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3113
|
-
:param int observed_generation: The generation observed by the controller.
|
|
3114
|
+
:param builtins.int observed_generation: The generation observed by the controller.
|
|
3114
3115
|
:param 'TypeCheckingArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
3115
3116
|
"""
|
|
3116
3117
|
if conditions is not None:
|
|
@@ -3130,7 +3131,7 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3130
3131
|
|
|
3131
3132
|
@property
|
|
3132
3133
|
@pulumi.getter(name="observedGeneration")
|
|
3133
|
-
def observed_generation(self) -> Optional[int]:
|
|
3134
|
+
def observed_generation(self) -> Optional[builtins.int]:
|
|
3134
3135
|
"""
|
|
3135
3136
|
The generation observed by the controller.
|
|
3136
3137
|
"""
|
|
@@ -3171,12 +3172,12 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3171
3172
|
|
|
3172
3173
|
def __init__(__self__, *,
|
|
3173
3174
|
conditions: Optional[Sequence['_meta.v1.outputs.ConditionPatch']] = None,
|
|
3174
|
-
observed_generation: Optional[int] = None,
|
|
3175
|
+
observed_generation: Optional[builtins.int] = None,
|
|
3175
3176
|
type_checking: Optional['outputs.TypeCheckingPatch'] = None):
|
|
3176
3177
|
"""
|
|
3177
3178
|
ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
|
|
3178
3179
|
:param Sequence['_meta.v1.ConditionPatchArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3179
|
-
:param int observed_generation: The generation observed by the controller.
|
|
3180
|
+
:param builtins.int observed_generation: The generation observed by the controller.
|
|
3180
3181
|
:param 'TypeCheckingPatchArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
3181
3182
|
"""
|
|
3182
3183
|
if conditions is not None:
|
|
@@ -3196,7 +3197,7 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3196
3197
|
|
|
3197
3198
|
@property
|
|
3198
3199
|
@pulumi.getter(name="observedGeneration")
|
|
3199
|
-
def observed_generation(self) -> Optional[int]:
|
|
3200
|
+
def observed_generation(self) -> Optional[builtins.int]:
|
|
3200
3201
|
"""
|
|
3201
3202
|
The generation observed by the controller.
|
|
3202
3203
|
"""
|
|
@@ -3250,24 +3251,24 @@ class ValidatingWebhook(dict):
|
|
|
3250
3251
|
return super().get(key, default)
|
|
3251
3252
|
|
|
3252
3253
|
def __init__(__self__, *,
|
|
3253
|
-
admission_review_versions: Sequence[str],
|
|
3254
|
+
admission_review_versions: Sequence[builtins.str],
|
|
3254
3255
|
client_config: 'outputs.WebhookClientConfig',
|
|
3255
|
-
name: str,
|
|
3256
|
-
side_effects: str,
|
|
3257
|
-
failure_policy: Optional[str] = None,
|
|
3256
|
+
name: builtins.str,
|
|
3257
|
+
side_effects: builtins.str,
|
|
3258
|
+
failure_policy: Optional[builtins.str] = None,
|
|
3258
3259
|
match_conditions: Optional[Sequence['outputs.MatchCondition']] = None,
|
|
3259
|
-
match_policy: Optional[str] = None,
|
|
3260
|
+
match_policy: Optional[builtins.str] = None,
|
|
3260
3261
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
3261
3262
|
object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
3262
3263
|
rules: Optional[Sequence['outputs.RuleWithOperations']] = None,
|
|
3263
|
-
timeout_seconds: Optional[int] = None):
|
|
3264
|
+
timeout_seconds: Optional[builtins.int] = None):
|
|
3264
3265
|
"""
|
|
3265
3266
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
3266
|
-
: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.
|
|
3267
|
+
: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.
|
|
3267
3268
|
:param 'WebhookClientConfigArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
3268
|
-
: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.
|
|
3269
|
-
:param str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
3270
|
-
:param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
3269
|
+
: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.
|
|
3270
|
+
:param builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
3271
|
+
:param builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
3271
3272
|
:param Sequence['MatchConditionArgs'] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
3272
3273
|
|
|
3273
3274
|
The exact matching logic is (in order):
|
|
@@ -3276,7 +3277,7 @@ class ValidatingWebhook(dict):
|
|
|
3276
3277
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
3277
3278
|
- If failurePolicy=Fail, reject the request
|
|
3278
3279
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
3279
|
-
:param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3280
|
+
:param builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3280
3281
|
|
|
3281
3282
|
- 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.
|
|
3282
3283
|
|
|
@@ -3316,7 +3317,7 @@ class ValidatingWebhook(dict):
|
|
|
3316
3317
|
Default to the empty LabelSelector, which matches everything.
|
|
3317
3318
|
: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.
|
|
3318
3319
|
: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.
|
|
3319
|
-
: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 10 seconds.
|
|
3320
|
+
: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 10 seconds.
|
|
3320
3321
|
"""
|
|
3321
3322
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
3322
3323
|
pulumi.set(__self__, "client_config", client_config)
|
|
@@ -3339,7 +3340,7 @@ class ValidatingWebhook(dict):
|
|
|
3339
3340
|
|
|
3340
3341
|
@property
|
|
3341
3342
|
@pulumi.getter(name="admissionReviewVersions")
|
|
3342
|
-
def admission_review_versions(self) -> Sequence[str]:
|
|
3343
|
+
def admission_review_versions(self) -> Sequence[builtins.str]:
|
|
3343
3344
|
"""
|
|
3344
3345
|
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.
|
|
3345
3346
|
"""
|
|
@@ -3355,7 +3356,7 @@ class ValidatingWebhook(dict):
|
|
|
3355
3356
|
|
|
3356
3357
|
@property
|
|
3357
3358
|
@pulumi.getter
|
|
3358
|
-
def name(self) -> str:
|
|
3359
|
+
def name(self) -> builtins.str:
|
|
3359
3360
|
"""
|
|
3360
3361
|
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.
|
|
3361
3362
|
"""
|
|
@@ -3363,7 +3364,7 @@ class ValidatingWebhook(dict):
|
|
|
3363
3364
|
|
|
3364
3365
|
@property
|
|
3365
3366
|
@pulumi.getter(name="sideEffects")
|
|
3366
|
-
def side_effects(self) -> str:
|
|
3367
|
+
def side_effects(self) -> builtins.str:
|
|
3367
3368
|
"""
|
|
3368
3369
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
3369
3370
|
"""
|
|
@@ -3371,7 +3372,7 @@ class ValidatingWebhook(dict):
|
|
|
3371
3372
|
|
|
3372
3373
|
@property
|
|
3373
3374
|
@pulumi.getter(name="failurePolicy")
|
|
3374
|
-
def failure_policy(self) -> Optional[str]:
|
|
3375
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
3375
3376
|
"""
|
|
3376
3377
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
3377
3378
|
"""
|
|
@@ -3394,7 +3395,7 @@ class ValidatingWebhook(dict):
|
|
|
3394
3395
|
|
|
3395
3396
|
@property
|
|
3396
3397
|
@pulumi.getter(name="matchPolicy")
|
|
3397
|
-
def match_policy(self) -> Optional[str]:
|
|
3398
|
+
def match_policy(self) -> Optional[builtins.str]:
|
|
3398
3399
|
"""
|
|
3399
3400
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3400
3401
|
|
|
@@ -3462,7 +3463,7 @@ class ValidatingWebhook(dict):
|
|
|
3462
3463
|
|
|
3463
3464
|
@property
|
|
3464
3465
|
@pulumi.getter(name="timeoutSeconds")
|
|
3465
|
-
def timeout_seconds(self) -> Optional[int]:
|
|
3466
|
+
def timeout_seconds(self) -> Optional[builtins.int]:
|
|
3466
3467
|
"""
|
|
3467
3468
|
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 10 seconds.
|
|
3468
3469
|
"""
|
|
@@ -3492,14 +3493,14 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3492
3493
|
return super().get(key, default)
|
|
3493
3494
|
|
|
3494
3495
|
def __init__(__self__, *,
|
|
3495
|
-
api_version: Optional[str] = None,
|
|
3496
|
-
kind: Optional[str] = None,
|
|
3496
|
+
api_version: Optional[builtins.str] = None,
|
|
3497
|
+
kind: Optional[builtins.str] = None,
|
|
3497
3498
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
3498
3499
|
webhooks: Optional[Sequence['outputs.ValidatingWebhook']] = None):
|
|
3499
3500
|
"""
|
|
3500
3501
|
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
|
|
3501
|
-
: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
|
|
3502
|
-
: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
|
|
3502
|
+
: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
|
|
3503
|
+
: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
|
|
3503
3504
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
3504
3505
|
:param Sequence['ValidatingWebhookArgs'] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
3505
3506
|
"""
|
|
@@ -3514,7 +3515,7 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3514
3515
|
|
|
3515
3516
|
@property
|
|
3516
3517
|
@pulumi.getter(name="apiVersion")
|
|
3517
|
-
def api_version(self) -> Optional[str]:
|
|
3518
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
3518
3519
|
"""
|
|
3519
3520
|
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
|
|
3520
3521
|
"""
|
|
@@ -3522,7 +3523,7 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3522
3523
|
|
|
3523
3524
|
@property
|
|
3524
3525
|
@pulumi.getter
|
|
3525
|
-
def kind(self) -> Optional[str]:
|
|
3526
|
+
def kind(self) -> Optional[builtins.str]:
|
|
3526
3527
|
"""
|
|
3527
3528
|
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
|
|
3528
3529
|
"""
|
|
@@ -3584,22 +3585,22 @@ class ValidatingWebhookPatch(dict):
|
|
|
3584
3585
|
return super().get(key, default)
|
|
3585
3586
|
|
|
3586
3587
|
def __init__(__self__, *,
|
|
3587
|
-
admission_review_versions: Optional[Sequence[str]] = None,
|
|
3588
|
+
admission_review_versions: Optional[Sequence[builtins.str]] = None,
|
|
3588
3589
|
client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
|
|
3589
|
-
failure_policy: Optional[str] = None,
|
|
3590
|
+
failure_policy: Optional[builtins.str] = None,
|
|
3590
3591
|
match_conditions: Optional[Sequence['outputs.MatchConditionPatch']] = None,
|
|
3591
|
-
match_policy: Optional[str] = None,
|
|
3592
|
-
name: Optional[str] = None,
|
|
3592
|
+
match_policy: Optional[builtins.str] = None,
|
|
3593
|
+
name: Optional[builtins.str] = None,
|
|
3593
3594
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
3594
3595
|
object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
3595
3596
|
rules: Optional[Sequence['outputs.RuleWithOperationsPatch']] = None,
|
|
3596
|
-
side_effects: Optional[str] = None,
|
|
3597
|
-
timeout_seconds: Optional[int] = None):
|
|
3597
|
+
side_effects: Optional[builtins.str] = None,
|
|
3598
|
+
timeout_seconds: Optional[builtins.int] = None):
|
|
3598
3599
|
"""
|
|
3599
3600
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
3600
|
-
: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.
|
|
3601
|
+
: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.
|
|
3601
3602
|
:param 'WebhookClientConfigPatchArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
3602
|
-
:param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
3603
|
+
:param builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
3603
3604
|
:param Sequence['MatchConditionPatchArgs'] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
3604
3605
|
|
|
3605
3606
|
The exact matching logic is (in order):
|
|
@@ -3608,14 +3609,14 @@ class ValidatingWebhookPatch(dict):
|
|
|
3608
3609
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
3609
3610
|
- If failurePolicy=Fail, reject the request
|
|
3610
3611
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
3611
|
-
:param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3612
|
+
:param builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3612
3613
|
|
|
3613
3614
|
- 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.
|
|
3614
3615
|
|
|
3615
3616
|
- 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.
|
|
3616
3617
|
|
|
3617
3618
|
Defaults to "Equivalent"
|
|
3618
|
-
: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.
|
|
3619
|
+
: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.
|
|
3619
3620
|
: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.
|
|
3620
3621
|
|
|
3621
3622
|
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": {
|
|
@@ -3649,8 +3650,8 @@ class ValidatingWebhookPatch(dict):
|
|
|
3649
3650
|
Default to the empty LabelSelector, which matches everything.
|
|
3650
3651
|
: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.
|
|
3651
3652
|
: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.
|
|
3652
|
-
:param str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
3653
|
-
: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 10 seconds.
|
|
3653
|
+
:param builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
3654
|
+
: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 10 seconds.
|
|
3654
3655
|
"""
|
|
3655
3656
|
if admission_review_versions is not None:
|
|
3656
3657
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -3677,7 +3678,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3677
3678
|
|
|
3678
3679
|
@property
|
|
3679
3680
|
@pulumi.getter(name="admissionReviewVersions")
|
|
3680
|
-
def admission_review_versions(self) -> Optional[Sequence[str]]:
|
|
3681
|
+
def admission_review_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
3681
3682
|
"""
|
|
3682
3683
|
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.
|
|
3683
3684
|
"""
|
|
@@ -3693,7 +3694,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3693
3694
|
|
|
3694
3695
|
@property
|
|
3695
3696
|
@pulumi.getter(name="failurePolicy")
|
|
3696
|
-
def failure_policy(self) -> Optional[str]:
|
|
3697
|
+
def failure_policy(self) -> Optional[builtins.str]:
|
|
3697
3698
|
"""
|
|
3698
3699
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
3699
3700
|
"""
|
|
@@ -3716,7 +3717,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3716
3717
|
|
|
3717
3718
|
@property
|
|
3718
3719
|
@pulumi.getter(name="matchPolicy")
|
|
3719
|
-
def match_policy(self) -> Optional[str]:
|
|
3720
|
+
def match_policy(self) -> Optional[builtins.str]:
|
|
3720
3721
|
"""
|
|
3721
3722
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3722
3723
|
|
|
@@ -3730,7 +3731,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3730
3731
|
|
|
3731
3732
|
@property
|
|
3732
3733
|
@pulumi.getter
|
|
3733
|
-
def name(self) -> Optional[str]:
|
|
3734
|
+
def name(self) -> Optional[builtins.str]:
|
|
3734
3735
|
"""
|
|
3735
3736
|
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.
|
|
3736
3737
|
"""
|
|
@@ -3792,7 +3793,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3792
3793
|
|
|
3793
3794
|
@property
|
|
3794
3795
|
@pulumi.getter(name="sideEffects")
|
|
3795
|
-
def side_effects(self) -> Optional[str]:
|
|
3796
|
+
def side_effects(self) -> Optional[builtins.str]:
|
|
3796
3797
|
"""
|
|
3797
3798
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain 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.
|
|
3798
3799
|
"""
|
|
@@ -3800,7 +3801,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3800
3801
|
|
|
3801
3802
|
@property
|
|
3802
3803
|
@pulumi.getter(name="timeoutSeconds")
|
|
3803
|
-
def timeout_seconds(self) -> Optional[int]:
|
|
3804
|
+
def timeout_seconds(self) -> Optional[builtins.int]:
|
|
3804
3805
|
"""
|
|
3805
3806
|
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 10 seconds.
|
|
3806
3807
|
"""
|
|
@@ -3830,13 +3831,13 @@ class Validation(dict):
|
|
|
3830
3831
|
return super().get(key, default)
|
|
3831
3832
|
|
|
3832
3833
|
def __init__(__self__, *,
|
|
3833
|
-
expression: str,
|
|
3834
|
-
message: Optional[str] = None,
|
|
3835
|
-
message_expression: Optional[str] = None,
|
|
3836
|
-
reason: Optional[str] = None):
|
|
3834
|
+
expression: builtins.str,
|
|
3835
|
+
message: Optional[builtins.str] = None,
|
|
3836
|
+
message_expression: Optional[builtins.str] = None,
|
|
3837
|
+
reason: Optional[builtins.str] = None):
|
|
3837
3838
|
"""
|
|
3838
3839
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
3839
|
-
: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:
|
|
3840
|
+
: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:
|
|
3840
3841
|
|
|
3841
3842
|
- '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.
|
|
3842
3843
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -3862,9 +3863,9 @@ class Validation(dict):
|
|
|
3862
3863
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
3863
3864
|
non-intersecting keys are appended, retaining their partial order.
|
|
3864
3865
|
Required.
|
|
3865
|
-
: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}".
|
|
3866
|
-
: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)+")"
|
|
3867
|
-
: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.
|
|
3866
|
+
: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}".
|
|
3867
|
+
: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)+")"
|
|
3868
|
+
: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.
|
|
3868
3869
|
"""
|
|
3869
3870
|
pulumi.set(__self__, "expression", expression)
|
|
3870
3871
|
if message is not None:
|
|
@@ -3876,7 +3877,7 @@ class Validation(dict):
|
|
|
3876
3877
|
|
|
3877
3878
|
@property
|
|
3878
3879
|
@pulumi.getter
|
|
3879
|
-
def expression(self) -> str:
|
|
3880
|
+
def expression(self) -> builtins.str:
|
|
3880
3881
|
"""
|
|
3881
3882
|
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:
|
|
3882
3883
|
|
|
@@ -3909,7 +3910,7 @@ class Validation(dict):
|
|
|
3909
3910
|
|
|
3910
3911
|
@property
|
|
3911
3912
|
@pulumi.getter
|
|
3912
|
-
def message(self) -> Optional[str]:
|
|
3913
|
+
def message(self) -> Optional[builtins.str]:
|
|
3913
3914
|
"""
|
|
3914
3915
|
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}".
|
|
3915
3916
|
"""
|
|
@@ -3917,7 +3918,7 @@ class Validation(dict):
|
|
|
3917
3918
|
|
|
3918
3919
|
@property
|
|
3919
3920
|
@pulumi.getter(name="messageExpression")
|
|
3920
|
-
def message_expression(self) -> Optional[str]:
|
|
3921
|
+
def message_expression(self) -> Optional[builtins.str]:
|
|
3921
3922
|
"""
|
|
3922
3923
|
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)+")"
|
|
3923
3924
|
"""
|
|
@@ -3925,7 +3926,7 @@ class Validation(dict):
|
|
|
3925
3926
|
|
|
3926
3927
|
@property
|
|
3927
3928
|
@pulumi.getter
|
|
3928
|
-
def reason(self) -> Optional[str]:
|
|
3929
|
+
def reason(self) -> Optional[builtins.str]:
|
|
3929
3930
|
"""
|
|
3930
3931
|
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.
|
|
3931
3932
|
"""
|
|
@@ -3955,13 +3956,13 @@ class ValidationPatch(dict):
|
|
|
3955
3956
|
return super().get(key, default)
|
|
3956
3957
|
|
|
3957
3958
|
def __init__(__self__, *,
|
|
3958
|
-
expression: Optional[str] = None,
|
|
3959
|
-
message: Optional[str] = None,
|
|
3960
|
-
message_expression: Optional[str] = None,
|
|
3961
|
-
reason: Optional[str] = None):
|
|
3959
|
+
expression: Optional[builtins.str] = None,
|
|
3960
|
+
message: Optional[builtins.str] = None,
|
|
3961
|
+
message_expression: Optional[builtins.str] = None,
|
|
3962
|
+
reason: Optional[builtins.str] = None):
|
|
3962
3963
|
"""
|
|
3963
3964
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
3964
|
-
: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:
|
|
3965
|
+
: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:
|
|
3965
3966
|
|
|
3966
3967
|
- '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.
|
|
3967
3968
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -3987,9 +3988,9 @@ class ValidationPatch(dict):
|
|
|
3987
3988
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
3988
3989
|
non-intersecting keys are appended, retaining their partial order.
|
|
3989
3990
|
Required.
|
|
3990
|
-
: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}".
|
|
3991
|
-
: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)+")"
|
|
3992
|
-
: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.
|
|
3991
|
+
: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}".
|
|
3992
|
+
: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)+")"
|
|
3993
|
+
: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.
|
|
3993
3994
|
"""
|
|
3994
3995
|
if expression is not None:
|
|
3995
3996
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -4002,7 +4003,7 @@ class ValidationPatch(dict):
|
|
|
4002
4003
|
|
|
4003
4004
|
@property
|
|
4004
4005
|
@pulumi.getter
|
|
4005
|
-
def expression(self) -> Optional[str]:
|
|
4006
|
+
def expression(self) -> Optional[builtins.str]:
|
|
4006
4007
|
"""
|
|
4007
4008
|
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:
|
|
4008
4009
|
|
|
@@ -4035,7 +4036,7 @@ class ValidationPatch(dict):
|
|
|
4035
4036
|
|
|
4036
4037
|
@property
|
|
4037
4038
|
@pulumi.getter
|
|
4038
|
-
def message(self) -> Optional[str]:
|
|
4039
|
+
def message(self) -> Optional[builtins.str]:
|
|
4039
4040
|
"""
|
|
4040
4041
|
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}".
|
|
4041
4042
|
"""
|
|
@@ -4043,7 +4044,7 @@ class ValidationPatch(dict):
|
|
|
4043
4044
|
|
|
4044
4045
|
@property
|
|
4045
4046
|
@pulumi.getter(name="messageExpression")
|
|
4046
|
-
def message_expression(self) -> Optional[str]:
|
|
4047
|
+
def message_expression(self) -> Optional[builtins.str]:
|
|
4047
4048
|
"""
|
|
4048
4049
|
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)+")"
|
|
4049
4050
|
"""
|
|
@@ -4051,7 +4052,7 @@ class ValidationPatch(dict):
|
|
|
4051
4052
|
|
|
4052
4053
|
@property
|
|
4053
4054
|
@pulumi.getter
|
|
4054
|
-
def reason(self) -> Optional[str]:
|
|
4055
|
+
def reason(self) -> Optional[builtins.str]:
|
|
4055
4056
|
"""
|
|
4056
4057
|
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.
|
|
4057
4058
|
"""
|
|
@@ -4064,19 +4065,19 @@ class Variable(dict):
|
|
|
4064
4065
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
4065
4066
|
"""
|
|
4066
4067
|
def __init__(__self__, *,
|
|
4067
|
-
expression: str,
|
|
4068
|
-
name: str):
|
|
4068
|
+
expression: builtins.str,
|
|
4069
|
+
name: builtins.str):
|
|
4069
4070
|
"""
|
|
4070
4071
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
4071
|
-
: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.
|
|
4072
|
-
: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`
|
|
4072
|
+
: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.
|
|
4073
|
+
: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`
|
|
4073
4074
|
"""
|
|
4074
4075
|
pulumi.set(__self__, "expression", expression)
|
|
4075
4076
|
pulumi.set(__self__, "name", name)
|
|
4076
4077
|
|
|
4077
4078
|
@property
|
|
4078
4079
|
@pulumi.getter
|
|
4079
|
-
def expression(self) -> str:
|
|
4080
|
+
def expression(self) -> builtins.str:
|
|
4080
4081
|
"""
|
|
4081
4082
|
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.
|
|
4082
4083
|
"""
|
|
@@ -4084,7 +4085,7 @@ class Variable(dict):
|
|
|
4084
4085
|
|
|
4085
4086
|
@property
|
|
4086
4087
|
@pulumi.getter
|
|
4087
|
-
def name(self) -> str:
|
|
4088
|
+
def name(self) -> builtins.str:
|
|
4088
4089
|
"""
|
|
4089
4090
|
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`
|
|
4090
4091
|
"""
|
|
@@ -4097,12 +4098,12 @@ class VariablePatch(dict):
|
|
|
4097
4098
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
4098
4099
|
"""
|
|
4099
4100
|
def __init__(__self__, *,
|
|
4100
|
-
expression: Optional[str] = None,
|
|
4101
|
-
name: Optional[str] = None):
|
|
4101
|
+
expression: Optional[builtins.str] = None,
|
|
4102
|
+
name: Optional[builtins.str] = None):
|
|
4102
4103
|
"""
|
|
4103
4104
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
4104
|
-
: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.
|
|
4105
|
-
: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`
|
|
4105
|
+
: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.
|
|
4106
|
+
: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`
|
|
4106
4107
|
"""
|
|
4107
4108
|
if expression is not None:
|
|
4108
4109
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -4111,7 +4112,7 @@ class VariablePatch(dict):
|
|
|
4111
4112
|
|
|
4112
4113
|
@property
|
|
4113
4114
|
@pulumi.getter
|
|
4114
|
-
def expression(self) -> Optional[str]:
|
|
4115
|
+
def expression(self) -> Optional[builtins.str]:
|
|
4115
4116
|
"""
|
|
4116
4117
|
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.
|
|
4117
4118
|
"""
|
|
@@ -4119,7 +4120,7 @@ class VariablePatch(dict):
|
|
|
4119
4120
|
|
|
4120
4121
|
@property
|
|
4121
4122
|
@pulumi.getter
|
|
4122
|
-
def name(self) -> Optional[str]:
|
|
4123
|
+
def name(self) -> Optional[builtins.str]:
|
|
4123
4124
|
"""
|
|
4124
4125
|
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`
|
|
4125
4126
|
"""
|
|
@@ -4149,16 +4150,16 @@ class WebhookClientConfig(dict):
|
|
|
4149
4150
|
return super().get(key, default)
|
|
4150
4151
|
|
|
4151
4152
|
def __init__(__self__, *,
|
|
4152
|
-
ca_bundle: Optional[str] = None,
|
|
4153
|
+
ca_bundle: Optional[builtins.str] = None,
|
|
4153
4154
|
service: Optional['outputs.ServiceReference'] = None,
|
|
4154
|
-
url: Optional[str] = None):
|
|
4155
|
+
url: Optional[builtins.str] = None):
|
|
4155
4156
|
"""
|
|
4156
4157
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
4157
|
-
: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.
|
|
4158
|
+
: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.
|
|
4158
4159
|
:param 'ServiceReferenceArgs' service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
4159
4160
|
|
|
4160
4161
|
If the webhook is running within the cluster, then you should use `service`.
|
|
4161
|
-
: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.
|
|
4162
|
+
: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.
|
|
4162
4163
|
|
|
4163
4164
|
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.
|
|
4164
4165
|
|
|
@@ -4179,7 +4180,7 @@ class WebhookClientConfig(dict):
|
|
|
4179
4180
|
|
|
4180
4181
|
@property
|
|
4181
4182
|
@pulumi.getter(name="caBundle")
|
|
4182
|
-
def ca_bundle(self) -> Optional[str]:
|
|
4183
|
+
def ca_bundle(self) -> Optional[builtins.str]:
|
|
4183
4184
|
"""
|
|
4184
4185
|
`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.
|
|
4185
4186
|
"""
|
|
@@ -4197,7 +4198,7 @@ class WebhookClientConfig(dict):
|
|
|
4197
4198
|
|
|
4198
4199
|
@property
|
|
4199
4200
|
@pulumi.getter
|
|
4200
|
-
def url(self) -> Optional[str]:
|
|
4201
|
+
def url(self) -> Optional[builtins.str]:
|
|
4201
4202
|
"""
|
|
4202
4203
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4203
4204
|
|
|
@@ -4237,16 +4238,16 @@ class WebhookClientConfigPatch(dict):
|
|
|
4237
4238
|
return super().get(key, default)
|
|
4238
4239
|
|
|
4239
4240
|
def __init__(__self__, *,
|
|
4240
|
-
ca_bundle: Optional[str] = None,
|
|
4241
|
+
ca_bundle: Optional[builtins.str] = None,
|
|
4241
4242
|
service: Optional['outputs.ServiceReferencePatch'] = None,
|
|
4242
|
-
url: Optional[str] = None):
|
|
4243
|
+
url: Optional[builtins.str] = None):
|
|
4243
4244
|
"""
|
|
4244
4245
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
4245
|
-
: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.
|
|
4246
|
+
: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.
|
|
4246
4247
|
:param 'ServiceReferencePatchArgs' service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
4247
4248
|
|
|
4248
4249
|
If the webhook is running within the cluster, then you should use `service`.
|
|
4249
|
-
: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.
|
|
4250
|
+
: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.
|
|
4250
4251
|
|
|
4251
4252
|
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.
|
|
4252
4253
|
|
|
@@ -4267,7 +4268,7 @@ class WebhookClientConfigPatch(dict):
|
|
|
4267
4268
|
|
|
4268
4269
|
@property
|
|
4269
4270
|
@pulumi.getter(name="caBundle")
|
|
4270
|
-
def ca_bundle(self) -> Optional[str]:
|
|
4271
|
+
def ca_bundle(self) -> Optional[builtins.str]:
|
|
4271
4272
|
"""
|
|
4272
4273
|
`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.
|
|
4273
4274
|
"""
|
|
@@ -4285,7 +4286,7 @@ class WebhookClientConfigPatch(dict):
|
|
|
4285
4286
|
|
|
4286
4287
|
@property
|
|
4287
4288
|
@pulumi.getter
|
|
4288
|
-
def url(self) -> Optional[str]:
|
|
4289
|
+
def url(self) -> Optional[builtins.str]:
|
|
4289
4290
|
"""
|
|
4290
4291
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4291
4292
|
|