pulumi-kubernetes 4.22.1__py3-none-any.whl → 4.23.0__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 +37 -2
- pulumi_kubernetes/_inputs.py +41 -40
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +18 -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 +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +396 -395
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +249 -248
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +18 -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 +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +18 -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 +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +18 -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 +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +18 -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 +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +18 -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 +26 -24
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +22 -20
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +664 -610
- pulumi_kubernetes/apps/v1/outputs.py +582 -508
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +18 -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 +26 -24
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +18 -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 +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +18 -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 +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +18 -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 +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +371 -290
- pulumi_kubernetes/autoscaling/v2/outputs.py +281 -224
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +18 -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 +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +18 -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 +18 -16
- pulumi_kubernetes/batch/v1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/Job.py +18 -16
- pulumi_kubernetes/batch/v1/JobList.py +18 -16
- pulumi_kubernetes/batch/v1/JobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +394 -423
- pulumi_kubernetes/batch/v1/outputs.py +293 -316
- pulumi_kubernetes/batch/v1beta1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +18 -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 +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +18 -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 +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +18 -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 +20 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +18 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +20 -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 +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +227 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +217 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +238 -0
- pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +409 -116
- pulumi_kubernetes/certificates/v1beta1/outputs.py +334 -92
- pulumi_kubernetes/coordination/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1/LeasePatch.py +18 -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 +19 -17
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +19 -17
- 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 +19 -17
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +19 -17
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +75 -74
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +45 -44
- pulumi_kubernetes/coordination/v1beta1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +218 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +217 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +230 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +432 -60
- pulumi_kubernetes/coordination/v1beta1/outputs.py +329 -36
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +18 -16
- pulumi_kubernetes/core/v1/BindingPatch.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMap.py +42 -40
- pulumi_kubernetes/core/v1/ConfigMapList.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +42 -40
- pulumi_kubernetes/core/v1/Endpoints.py +26 -16
- pulumi_kubernetes/core/v1/EndpointsList.py +20 -18
- pulumi_kubernetes/core/v1/EndpointsPatch.py +26 -16
- pulumi_kubernetes/core/v1/Event.py +98 -96
- pulumi_kubernetes/core/v1/EventList.py +18 -16
- pulumi_kubernetes/core/v1/EventPatch.py +98 -96
- pulumi_kubernetes/core/v1/LimitRange.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangeList.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangePatch.py +18 -16
- pulumi_kubernetes/core/v1/Namespace.py +18 -16
- pulumi_kubernetes/core/v1/NamespaceList.py +18 -16
- pulumi_kubernetes/core/v1/NamespacePatch.py +18 -16
- pulumi_kubernetes/core/v1/Node.py +18 -16
- pulumi_kubernetes/core/v1/NodeList.py +18 -16
- pulumi_kubernetes/core/v1/NodePatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolume.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +18 -16
- pulumi_kubernetes/core/v1/Pod.py +18 -16
- pulumi_kubernetes/core/v1/PodList.py +18 -16
- pulumi_kubernetes/core/v1/PodPatch.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplate.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplateList.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationController.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuota.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +18 -16
- pulumi_kubernetes/core/v1/Secret.py +50 -48
- pulumi_kubernetes/core/v1/SecretList.py +18 -16
- pulumi_kubernetes/core/v1/SecretPatch.py +50 -48
- pulumi_kubernetes/core/v1/Service.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccount.py +26 -24
- pulumi_kubernetes/core/v1/ServiceAccountList.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +26 -24
- pulumi_kubernetes/core/v1/ServiceList.py +18 -16
- pulumi_kubernetes/core/v1/ServicePatch.py +18 -16
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +4 -1
- pulumi_kubernetes/core/v1/_inputs.py +5736 -5561
- pulumi_kubernetes/core/v1/outputs.py +3853 -3652
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +34 -32
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +34 -32
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +294 -178
- pulumi_kubernetes/discovery/v1/outputs.py +184 -108
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +26 -24
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +26 -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 +98 -96
- pulumi_kubernetes/events/v1/EventList.py +18 -16
- pulumi_kubernetes/events/v1/EventPatch.py +98 -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 +98 -96
- pulumi_kubernetes/events/v1beta1/EventList.py +18 -16
- pulumi_kubernetes/events/v1beta1/EventPatch.py +98 -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 +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +18 -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 +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +18 -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 +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +18 -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 +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +18 -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 +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +18 -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 +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +18 -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 +247 -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 +72 -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 +31 -29
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +43 -41
- pulumi_kubernetes/meta/v1/StatusPatch.py +43 -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/IPAddress.py +218 -0
- pulumi_kubernetes/networking/v1/IPAddressList.py +217 -0
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +230 -0
- pulumi_kubernetes/networking/v1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +228 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +217 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +240 -0
- pulumi_kubernetes/networking/v1/__init__.py +7 -0
- pulumi_kubernetes/networking/v1/_inputs.py +865 -265
- pulumi_kubernetes/networking/v1/outputs.py +632 -170
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +19 -17
- 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 +19 -17
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +19 -17
- 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 +26 -24
- pulumi_kubernetes/node/v1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +26 -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 +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +18 -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 +26 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +26 -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 +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +71 -82
- pulumi_kubernetes/policy/v1/outputs.py +53 -60
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +18 -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 +93 -91
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/RolePatch.py +18 -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 +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +18 -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 +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +18 -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 +4 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +26 -24
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +26 -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 +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +35 -33
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +35 -33
- 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 +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +225 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +217 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +236 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/__init__.py +4 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +2999 -652
- pulumi_kubernetes/resource/v1alpha3/outputs.py +2286 -504
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +19 -17
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +2481 -612
- pulumi_kubernetes/resource/v1beta1/outputs.py +1782 -379
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +239 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +250 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +234 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +245 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +231 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +242 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +248 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +259 -0
- pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta2/_inputs.py +5681 -0
- pulumi_kubernetes/resource/v1beta2/outputs.py +4726 -0
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +50 -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 +50 -48
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +50 -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 +50 -48
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +50 -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 +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +18 -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 +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +366 -275
- pulumi_kubernetes/storage/v1/outputs.py +288 -177
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +34 -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 +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +34 -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 +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +18 -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 +23 -21
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +30 -28
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- pulumi_kubernetes/yaml/yaml.py +108 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/METADATA +4 -4
- pulumi_kubernetes-4.23.0.dist-info/RECORD +709 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.22.1.dist-info/RECORD +0 -679
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.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
|
|
@@ -99,7 +100,7 @@ if not MYPY:
|
|
|
99
100
|
"""
|
|
100
101
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
101
102
|
"""
|
|
102
|
-
key: NotRequired[pulumi.Input[str]]
|
|
103
|
+
key: NotRequired[pulumi.Input[builtins.str]]
|
|
103
104
|
"""
|
|
104
105
|
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.
|
|
105
106
|
|
|
@@ -109,7 +110,7 @@ if not MYPY:
|
|
|
109
110
|
|
|
110
111
|
Required.
|
|
111
112
|
"""
|
|
112
|
-
value_expression: NotRequired[pulumi.Input[str]]
|
|
113
|
+
value_expression: NotRequired[pulumi.Input[builtins.str]]
|
|
113
114
|
"""
|
|
114
115
|
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.
|
|
115
116
|
|
|
@@ -123,18 +124,18 @@ elif False:
|
|
|
123
124
|
@pulumi.input_type
|
|
124
125
|
class AuditAnnotationPatchArgs:
|
|
125
126
|
def __init__(__self__, *,
|
|
126
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
127
|
-
value_expression: Optional[pulumi.Input[str]] = None):
|
|
127
|
+
key: Optional[pulumi.Input[builtins.str]] = None,
|
|
128
|
+
value_expression: Optional[pulumi.Input[builtins.str]] = None):
|
|
128
129
|
"""
|
|
129
130
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
130
|
-
:param pulumi.Input[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.
|
|
131
|
+
:param pulumi.Input[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.
|
|
131
132
|
|
|
132
133
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
133
134
|
|
|
134
135
|
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.
|
|
135
136
|
|
|
136
137
|
Required.
|
|
137
|
-
:param pulumi.Input[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.
|
|
138
|
+
:param pulumi.Input[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.
|
|
138
139
|
|
|
139
140
|
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.
|
|
140
141
|
|
|
@@ -147,7 +148,7 @@ class AuditAnnotationPatchArgs:
|
|
|
147
148
|
|
|
148
149
|
@property
|
|
149
150
|
@pulumi.getter
|
|
150
|
-
def key(self) -> Optional[pulumi.Input[str]]:
|
|
151
|
+
def key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
151
152
|
"""
|
|
152
153
|
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.
|
|
153
154
|
|
|
@@ -160,12 +161,12 @@ class AuditAnnotationPatchArgs:
|
|
|
160
161
|
return pulumi.get(self, "key")
|
|
161
162
|
|
|
162
163
|
@key.setter
|
|
163
|
-
def key(self, value: Optional[pulumi.Input[str]]):
|
|
164
|
+
def key(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
164
165
|
pulumi.set(self, "key", value)
|
|
165
166
|
|
|
166
167
|
@property
|
|
167
168
|
@pulumi.getter(name="valueExpression")
|
|
168
|
-
def value_expression(self) -> Optional[pulumi.Input[str]]:
|
|
169
|
+
def value_expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
169
170
|
"""
|
|
170
171
|
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.
|
|
171
172
|
|
|
@@ -176,7 +177,7 @@ class AuditAnnotationPatchArgs:
|
|
|
176
177
|
return pulumi.get(self, "value_expression")
|
|
177
178
|
|
|
178
179
|
@value_expression.setter
|
|
179
|
-
def value_expression(self, value: Optional[pulumi.Input[str]]):
|
|
180
|
+
def value_expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
180
181
|
pulumi.set(self, "value_expression", value)
|
|
181
182
|
|
|
182
183
|
|
|
@@ -185,7 +186,7 @@ if not MYPY:
|
|
|
185
186
|
"""
|
|
186
187
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
187
188
|
"""
|
|
188
|
-
key: pulumi.Input[str]
|
|
189
|
+
key: pulumi.Input[builtins.str]
|
|
189
190
|
"""
|
|
190
191
|
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.
|
|
191
192
|
|
|
@@ -195,7 +196,7 @@ if not MYPY:
|
|
|
195
196
|
|
|
196
197
|
Required.
|
|
197
198
|
"""
|
|
198
|
-
value_expression: pulumi.Input[str]
|
|
199
|
+
value_expression: pulumi.Input[builtins.str]
|
|
199
200
|
"""
|
|
200
201
|
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.
|
|
201
202
|
|
|
@@ -209,18 +210,18 @@ elif False:
|
|
|
209
210
|
@pulumi.input_type
|
|
210
211
|
class AuditAnnotationArgs:
|
|
211
212
|
def __init__(__self__, *,
|
|
212
|
-
key: pulumi.Input[str],
|
|
213
|
-
value_expression: pulumi.Input[str]):
|
|
213
|
+
key: pulumi.Input[builtins.str],
|
|
214
|
+
value_expression: pulumi.Input[builtins.str]):
|
|
214
215
|
"""
|
|
215
216
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
216
|
-
:param pulumi.Input[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.
|
|
217
|
+
:param pulumi.Input[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.
|
|
217
218
|
|
|
218
219
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
219
220
|
|
|
220
221
|
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.
|
|
221
222
|
|
|
222
223
|
Required.
|
|
223
|
-
:param pulumi.Input[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.
|
|
224
|
+
:param pulumi.Input[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.
|
|
224
225
|
|
|
225
226
|
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.
|
|
226
227
|
|
|
@@ -231,7 +232,7 @@ class AuditAnnotationArgs:
|
|
|
231
232
|
|
|
232
233
|
@property
|
|
233
234
|
@pulumi.getter
|
|
234
|
-
def key(self) -> pulumi.Input[str]:
|
|
235
|
+
def key(self) -> pulumi.Input[builtins.str]:
|
|
235
236
|
"""
|
|
236
237
|
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.
|
|
237
238
|
|
|
@@ -244,12 +245,12 @@ class AuditAnnotationArgs:
|
|
|
244
245
|
return pulumi.get(self, "key")
|
|
245
246
|
|
|
246
247
|
@key.setter
|
|
247
|
-
def key(self, value: pulumi.Input[str]):
|
|
248
|
+
def key(self, value: pulumi.Input[builtins.str]):
|
|
248
249
|
pulumi.set(self, "key", value)
|
|
249
250
|
|
|
250
251
|
@property
|
|
251
252
|
@pulumi.getter(name="valueExpression")
|
|
252
|
-
def value_expression(self) -> pulumi.Input[str]:
|
|
253
|
+
def value_expression(self) -> pulumi.Input[builtins.str]:
|
|
253
254
|
"""
|
|
254
255
|
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.
|
|
255
256
|
|
|
@@ -260,7 +261,7 @@ class AuditAnnotationArgs:
|
|
|
260
261
|
return pulumi.get(self, "value_expression")
|
|
261
262
|
|
|
262
263
|
@value_expression.setter
|
|
263
|
-
def value_expression(self, value: pulumi.Input[str]):
|
|
264
|
+
def value_expression(self, value: pulumi.Input[builtins.str]):
|
|
264
265
|
pulumi.set(self, "value_expression", value)
|
|
265
266
|
|
|
266
267
|
|
|
@@ -269,11 +270,11 @@ if not MYPY:
|
|
|
269
270
|
"""
|
|
270
271
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
271
272
|
"""
|
|
272
|
-
field_ref: pulumi.Input[str]
|
|
273
|
+
field_ref: pulumi.Input[builtins.str]
|
|
273
274
|
"""
|
|
274
275
|
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"
|
|
275
276
|
"""
|
|
276
|
-
warning: pulumi.Input[str]
|
|
277
|
+
warning: pulumi.Input[builtins.str]
|
|
277
278
|
"""
|
|
278
279
|
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.
|
|
279
280
|
"""
|
|
@@ -283,38 +284,38 @@ elif False:
|
|
|
283
284
|
@pulumi.input_type
|
|
284
285
|
class ExpressionWarningArgs:
|
|
285
286
|
def __init__(__self__, *,
|
|
286
|
-
field_ref: pulumi.Input[str],
|
|
287
|
-
warning: pulumi.Input[str]):
|
|
287
|
+
field_ref: pulumi.Input[builtins.str],
|
|
288
|
+
warning: pulumi.Input[builtins.str]):
|
|
288
289
|
"""
|
|
289
290
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
290
|
-
:param pulumi.Input[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"
|
|
291
|
-
:param pulumi.Input[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.
|
|
291
|
+
:param pulumi.Input[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"
|
|
292
|
+
:param pulumi.Input[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.
|
|
292
293
|
"""
|
|
293
294
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
294
295
|
pulumi.set(__self__, "warning", warning)
|
|
295
296
|
|
|
296
297
|
@property
|
|
297
298
|
@pulumi.getter(name="fieldRef")
|
|
298
|
-
def field_ref(self) -> pulumi.Input[str]:
|
|
299
|
+
def field_ref(self) -> pulumi.Input[builtins.str]:
|
|
299
300
|
"""
|
|
300
301
|
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"
|
|
301
302
|
"""
|
|
302
303
|
return pulumi.get(self, "field_ref")
|
|
303
304
|
|
|
304
305
|
@field_ref.setter
|
|
305
|
-
def field_ref(self, value: pulumi.Input[str]):
|
|
306
|
+
def field_ref(self, value: pulumi.Input[builtins.str]):
|
|
306
307
|
pulumi.set(self, "field_ref", value)
|
|
307
308
|
|
|
308
309
|
@property
|
|
309
310
|
@pulumi.getter
|
|
310
|
-
def warning(self) -> pulumi.Input[str]:
|
|
311
|
+
def warning(self) -> pulumi.Input[builtins.str]:
|
|
311
312
|
"""
|
|
312
313
|
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.
|
|
313
314
|
"""
|
|
314
315
|
return pulumi.get(self, "warning")
|
|
315
316
|
|
|
316
317
|
@warning.setter
|
|
317
|
-
def warning(self, value: pulumi.Input[str]):
|
|
318
|
+
def warning(self, value: pulumi.Input[builtins.str]):
|
|
318
319
|
pulumi.set(self, "warning", value)
|
|
319
320
|
|
|
320
321
|
|
|
@@ -323,7 +324,7 @@ if not MYPY:
|
|
|
323
324
|
"""
|
|
324
325
|
MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
|
|
325
326
|
"""
|
|
326
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
327
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
327
328
|
"""
|
|
328
329
|
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:
|
|
329
330
|
|
|
@@ -335,7 +336,7 @@ if not MYPY:
|
|
|
335
336
|
|
|
336
337
|
Required.
|
|
337
338
|
"""
|
|
338
|
-
name: NotRequired[pulumi.Input[str]]
|
|
339
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
339
340
|
"""
|
|
340
341
|
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')
|
|
341
342
|
|
|
@@ -347,11 +348,11 @@ elif False:
|
|
|
347
348
|
@pulumi.input_type
|
|
348
349
|
class MatchConditionPatchArgs:
|
|
349
350
|
def __init__(__self__, *,
|
|
350
|
-
expression: Optional[pulumi.Input[str]] = None,
|
|
351
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
351
|
+
expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
352
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
352
353
|
"""
|
|
353
354
|
MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
|
|
354
|
-
:param pulumi.Input[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:
|
|
355
|
+
:param pulumi.Input[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:
|
|
355
356
|
|
|
356
357
|
'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.
|
|
357
358
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -360,7 +361,7 @@ class MatchConditionPatchArgs:
|
|
|
360
361
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
361
362
|
|
|
362
363
|
Required.
|
|
363
|
-
:param pulumi.Input[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')
|
|
364
|
+
:param pulumi.Input[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')
|
|
364
365
|
|
|
365
366
|
Required.
|
|
366
367
|
"""
|
|
@@ -371,7 +372,7 @@ class MatchConditionPatchArgs:
|
|
|
371
372
|
|
|
372
373
|
@property
|
|
373
374
|
@pulumi.getter
|
|
374
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
375
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
375
376
|
"""
|
|
376
377
|
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:
|
|
377
378
|
|
|
@@ -386,12 +387,12 @@ class MatchConditionPatchArgs:
|
|
|
386
387
|
return pulumi.get(self, "expression")
|
|
387
388
|
|
|
388
389
|
@expression.setter
|
|
389
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
390
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
390
391
|
pulumi.set(self, "expression", value)
|
|
391
392
|
|
|
392
393
|
@property
|
|
393
394
|
@pulumi.getter
|
|
394
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
395
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
395
396
|
"""
|
|
396
397
|
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')
|
|
397
398
|
|
|
@@ -400,7 +401,7 @@ class MatchConditionPatchArgs:
|
|
|
400
401
|
return pulumi.get(self, "name")
|
|
401
402
|
|
|
402
403
|
@name.setter
|
|
403
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
404
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
404
405
|
pulumi.set(self, "name", value)
|
|
405
406
|
|
|
406
407
|
|
|
@@ -409,7 +410,7 @@ if not MYPY:
|
|
|
409
410
|
"""
|
|
410
411
|
MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
|
|
411
412
|
"""
|
|
412
|
-
expression: pulumi.Input[str]
|
|
413
|
+
expression: pulumi.Input[builtins.str]
|
|
413
414
|
"""
|
|
414
415
|
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:
|
|
415
416
|
|
|
@@ -421,7 +422,7 @@ if not MYPY:
|
|
|
421
422
|
|
|
422
423
|
Required.
|
|
423
424
|
"""
|
|
424
|
-
name: pulumi.Input[str]
|
|
425
|
+
name: pulumi.Input[builtins.str]
|
|
425
426
|
"""
|
|
426
427
|
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')
|
|
427
428
|
|
|
@@ -433,11 +434,11 @@ elif False:
|
|
|
433
434
|
@pulumi.input_type
|
|
434
435
|
class MatchConditionArgs:
|
|
435
436
|
def __init__(__self__, *,
|
|
436
|
-
expression: pulumi.Input[str],
|
|
437
|
-
name: pulumi.Input[str]):
|
|
437
|
+
expression: pulumi.Input[builtins.str],
|
|
438
|
+
name: pulumi.Input[builtins.str]):
|
|
438
439
|
"""
|
|
439
440
|
MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
|
|
440
|
-
:param pulumi.Input[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:
|
|
441
|
+
:param pulumi.Input[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:
|
|
441
442
|
|
|
442
443
|
'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.
|
|
443
444
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -446,7 +447,7 @@ class MatchConditionArgs:
|
|
|
446
447
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
447
448
|
|
|
448
449
|
Required.
|
|
449
|
-
:param pulumi.Input[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')
|
|
450
|
+
:param pulumi.Input[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')
|
|
450
451
|
|
|
451
452
|
Required.
|
|
452
453
|
"""
|
|
@@ -455,7 +456,7 @@ class MatchConditionArgs:
|
|
|
455
456
|
|
|
456
457
|
@property
|
|
457
458
|
@pulumi.getter
|
|
458
|
-
def expression(self) -> pulumi.Input[str]:
|
|
459
|
+
def expression(self) -> pulumi.Input[builtins.str]:
|
|
459
460
|
"""
|
|
460
461
|
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:
|
|
461
462
|
|
|
@@ -470,12 +471,12 @@ class MatchConditionArgs:
|
|
|
470
471
|
return pulumi.get(self, "expression")
|
|
471
472
|
|
|
472
473
|
@expression.setter
|
|
473
|
-
def expression(self, value: pulumi.Input[str]):
|
|
474
|
+
def expression(self, value: pulumi.Input[builtins.str]):
|
|
474
475
|
pulumi.set(self, "expression", value)
|
|
475
476
|
|
|
476
477
|
@property
|
|
477
478
|
@pulumi.getter
|
|
478
|
-
def name(self) -> pulumi.Input[str]:
|
|
479
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
479
480
|
"""
|
|
480
481
|
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')
|
|
481
482
|
|
|
@@ -484,7 +485,7 @@ class MatchConditionArgs:
|
|
|
484
485
|
return pulumi.get(self, "name")
|
|
485
486
|
|
|
486
487
|
@name.setter
|
|
487
|
-
def name(self, value: pulumi.Input[str]):
|
|
488
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
488
489
|
pulumi.set(self, "name", value)
|
|
489
490
|
|
|
490
491
|
|
|
@@ -497,7 +498,7 @@ if not MYPY:
|
|
|
497
498
|
"""
|
|
498
499
|
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)
|
|
499
500
|
"""
|
|
500
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
501
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
501
502
|
"""
|
|
502
503
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
503
504
|
|
|
@@ -556,14 +557,14 @@ elif False:
|
|
|
556
557
|
class MatchResourcesPatchArgs:
|
|
557
558
|
def __init__(__self__, *,
|
|
558
559
|
exclude_resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]] = None,
|
|
559
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
560
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
560
561
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
561
562
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
562
563
|
resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]] = None):
|
|
563
564
|
"""
|
|
564
565
|
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)
|
|
565
566
|
:param pulumi.Input[Sequence[pulumi.Input['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)
|
|
566
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
567
|
+
:param pulumi.Input[builtins.str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
567
568
|
|
|
568
569
|
- 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.
|
|
569
570
|
|
|
@@ -629,7 +630,7 @@ class MatchResourcesPatchArgs:
|
|
|
629
630
|
|
|
630
631
|
@property
|
|
631
632
|
@pulumi.getter(name="matchPolicy")
|
|
632
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
633
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
633
634
|
"""
|
|
634
635
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
635
636
|
|
|
@@ -642,7 +643,7 @@ class MatchResourcesPatchArgs:
|
|
|
642
643
|
return pulumi.get(self, "match_policy")
|
|
643
644
|
|
|
644
645
|
@match_policy.setter
|
|
645
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
646
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
646
647
|
pulumi.set(self, "match_policy", value)
|
|
647
648
|
|
|
648
649
|
@property
|
|
@@ -721,7 +722,7 @@ if not MYPY:
|
|
|
721
722
|
"""
|
|
722
723
|
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)
|
|
723
724
|
"""
|
|
724
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
725
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
725
726
|
"""
|
|
726
727
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
727
728
|
|
|
@@ -780,14 +781,14 @@ elif False:
|
|
|
780
781
|
class MatchResourcesArgs:
|
|
781
782
|
def __init__(__self__, *,
|
|
782
783
|
exclude_resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]] = None,
|
|
783
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
784
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
784
785
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
785
786
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
786
787
|
resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]] = None):
|
|
787
788
|
"""
|
|
788
789
|
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)
|
|
789
790
|
:param pulumi.Input[Sequence[pulumi.Input['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)
|
|
790
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
791
|
+
:param pulumi.Input[builtins.str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
791
792
|
|
|
792
793
|
- 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.
|
|
793
794
|
|
|
@@ -853,7 +854,7 @@ class MatchResourcesArgs:
|
|
|
853
854
|
|
|
854
855
|
@property
|
|
855
856
|
@pulumi.getter(name="matchPolicy")
|
|
856
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
857
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
857
858
|
"""
|
|
858
859
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
859
860
|
|
|
@@ -866,7 +867,7 @@ class MatchResourcesArgs:
|
|
|
866
867
|
return pulumi.get(self, "match_policy")
|
|
867
868
|
|
|
868
869
|
@match_policy.setter
|
|
869
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
870
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
870
871
|
pulumi.set(self, "match_policy", value)
|
|
871
872
|
|
|
872
873
|
@property
|
|
@@ -941,11 +942,11 @@ if not MYPY:
|
|
|
941
942
|
"""
|
|
942
943
|
MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.
|
|
943
944
|
"""
|
|
944
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
945
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
945
946
|
"""
|
|
946
947
|
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
|
|
947
948
|
"""
|
|
948
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
949
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
949
950
|
"""
|
|
950
951
|
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
|
|
951
952
|
"""
|
|
@@ -963,14 +964,14 @@ elif False:
|
|
|
963
964
|
@pulumi.input_type
|
|
964
965
|
class MutatingWebhookConfigurationArgs:
|
|
965
966
|
def __init__(__self__, *,
|
|
966
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
967
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
967
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
968
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
968
969
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
969
970
|
webhooks: Optional[pulumi.Input[Sequence[pulumi.Input['MutatingWebhookArgs']]]] = None):
|
|
970
971
|
"""
|
|
971
972
|
MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.
|
|
972
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
973
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
973
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
974
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
974
975
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
975
976
|
:param pulumi.Input[Sequence[pulumi.Input['MutatingWebhookArgs']]] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
976
977
|
"""
|
|
@@ -985,26 +986,26 @@ class MutatingWebhookConfigurationArgs:
|
|
|
985
986
|
|
|
986
987
|
@property
|
|
987
988
|
@pulumi.getter(name="apiVersion")
|
|
988
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
989
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
989
990
|
"""
|
|
990
991
|
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
|
|
991
992
|
"""
|
|
992
993
|
return pulumi.get(self, "api_version")
|
|
993
994
|
|
|
994
995
|
@api_version.setter
|
|
995
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
996
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
996
997
|
pulumi.set(self, "api_version", value)
|
|
997
998
|
|
|
998
999
|
@property
|
|
999
1000
|
@pulumi.getter
|
|
1000
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1001
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1001
1002
|
"""
|
|
1002
1003
|
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
|
|
1003
1004
|
"""
|
|
1004
1005
|
return pulumi.get(self, "kind")
|
|
1005
1006
|
|
|
1006
1007
|
@kind.setter
|
|
1007
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1008
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1008
1009
|
pulumi.set(self, "kind", value)
|
|
1009
1010
|
|
|
1010
1011
|
@property
|
|
@@ -1037,7 +1038,7 @@ if not MYPY:
|
|
|
1037
1038
|
"""
|
|
1038
1039
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1039
1040
|
"""
|
|
1040
|
-
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1041
|
+
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1041
1042
|
"""
|
|
1042
1043
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1043
1044
|
"""
|
|
@@ -1045,11 +1046,11 @@ if not MYPY:
|
|
|
1045
1046
|
"""
|
|
1046
1047
|
ClientConfig defines how to communicate with the hook. Required
|
|
1047
1048
|
"""
|
|
1048
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
1049
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1049
1050
|
"""
|
|
1050
1051
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1051
1052
|
"""
|
|
1052
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
1053
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1053
1054
|
"""
|
|
1054
1055
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1055
1056
|
|
|
@@ -1059,7 +1060,7 @@ if not MYPY:
|
|
|
1059
1060
|
|
|
1060
1061
|
Defaults to "Exact"
|
|
1061
1062
|
"""
|
|
1062
|
-
name: NotRequired[pulumi.Input[str]]
|
|
1063
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
1063
1064
|
"""
|
|
1064
1065
|
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.
|
|
1065
1066
|
"""
|
|
@@ -1101,7 +1102,7 @@ if not MYPY:
|
|
|
1101
1102
|
"""
|
|
1102
1103
|
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.
|
|
1103
1104
|
"""
|
|
1104
|
-
reinvocation_policy: NotRequired[pulumi.Input[str]]
|
|
1105
|
+
reinvocation_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1105
1106
|
"""
|
|
1106
1107
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1107
1108
|
|
|
@@ -1115,11 +1116,11 @@ if not MYPY:
|
|
|
1115
1116
|
"""
|
|
1116
1117
|
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.
|
|
1117
1118
|
"""
|
|
1118
|
-
side_effects: NotRequired[pulumi.Input[str]]
|
|
1119
|
+
side_effects: NotRequired[pulumi.Input[builtins.str]]
|
|
1119
1120
|
"""
|
|
1120
1121
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1121
1122
|
"""
|
|
1122
|
-
timeout_seconds: NotRequired[pulumi.Input[int]]
|
|
1123
|
+
timeout_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1123
1124
|
"""
|
|
1124
1125
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1125
1126
|
"""
|
|
@@ -1129,30 +1130,30 @@ elif False:
|
|
|
1129
1130
|
@pulumi.input_type
|
|
1130
1131
|
class MutatingWebhookPatchArgs:
|
|
1131
1132
|
def __init__(__self__, *,
|
|
1132
|
-
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1133
|
+
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1133
1134
|
client_config: Optional[pulumi.Input['WebhookClientConfigPatchArgs']] = None,
|
|
1134
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
1135
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
1136
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
1135
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1136
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1137
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1137
1138
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1138
1139
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1139
|
-
reinvocation_policy: Optional[pulumi.Input[str]] = None,
|
|
1140
|
+
reinvocation_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1140
1141
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]] = None,
|
|
1141
|
-
side_effects: Optional[pulumi.Input[str]] = None,
|
|
1142
|
-
timeout_seconds: Optional[pulumi.Input[int]] = None):
|
|
1142
|
+
side_effects: Optional[pulumi.Input[builtins.str]] = None,
|
|
1143
|
+
timeout_seconds: Optional[pulumi.Input[builtins.int]] = None):
|
|
1143
1144
|
"""
|
|
1144
1145
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1145
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1146
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1146
1147
|
:param pulumi.Input['WebhookClientConfigPatchArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
1147
|
-
:param pulumi.Input[str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1148
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1148
|
+
:param pulumi.Input[builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1149
|
+
:param pulumi.Input[builtins.str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1149
1150
|
|
|
1150
1151
|
- 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.
|
|
1151
1152
|
|
|
1152
1153
|
- 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.
|
|
1153
1154
|
|
|
1154
1155
|
Defaults to "Exact"
|
|
1155
|
-
:param pulumi.Input[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.
|
|
1156
|
+
:param pulumi.Input[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.
|
|
1156
1157
|
:param pulumi.Input['_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.
|
|
1157
1158
|
|
|
1158
1159
|
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": {
|
|
@@ -1185,7 +1186,7 @@ class MutatingWebhookPatchArgs:
|
|
|
1185
1186
|
|
|
1186
1187
|
Default to the empty LabelSelector, which matches everything.
|
|
1187
1188
|
:param pulumi.Input['_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.
|
|
1188
|
-
:param pulumi.Input[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".
|
|
1189
|
+
:param pulumi.Input[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".
|
|
1189
1190
|
|
|
1190
1191
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
1191
1192
|
|
|
@@ -1193,8 +1194,8 @@ class MutatingWebhookPatchArgs:
|
|
|
1193
1194
|
|
|
1194
1195
|
Defaults to "Never".
|
|
1195
1196
|
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
1196
|
-
:param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1197
|
-
:param pulumi.Input[int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1197
|
+
:param pulumi.Input[builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1198
|
+
:param pulumi.Input[builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1198
1199
|
"""
|
|
1199
1200
|
if admission_review_versions is not None:
|
|
1200
1201
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -1221,14 +1222,14 @@ class MutatingWebhookPatchArgs:
|
|
|
1221
1222
|
|
|
1222
1223
|
@property
|
|
1223
1224
|
@pulumi.getter(name="admissionReviewVersions")
|
|
1224
|
-
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1225
|
+
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1225
1226
|
"""
|
|
1226
1227
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1227
1228
|
"""
|
|
1228
1229
|
return pulumi.get(self, "admission_review_versions")
|
|
1229
1230
|
|
|
1230
1231
|
@admission_review_versions.setter
|
|
1231
|
-
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1232
|
+
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1232
1233
|
pulumi.set(self, "admission_review_versions", value)
|
|
1233
1234
|
|
|
1234
1235
|
@property
|
|
@@ -1245,19 +1246,19 @@ class MutatingWebhookPatchArgs:
|
|
|
1245
1246
|
|
|
1246
1247
|
@property
|
|
1247
1248
|
@pulumi.getter(name="failurePolicy")
|
|
1248
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1249
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1249
1250
|
"""
|
|
1250
1251
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1251
1252
|
"""
|
|
1252
1253
|
return pulumi.get(self, "failure_policy")
|
|
1253
1254
|
|
|
1254
1255
|
@failure_policy.setter
|
|
1255
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1256
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1256
1257
|
pulumi.set(self, "failure_policy", value)
|
|
1257
1258
|
|
|
1258
1259
|
@property
|
|
1259
1260
|
@pulumi.getter(name="matchPolicy")
|
|
1260
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1261
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1261
1262
|
"""
|
|
1262
1263
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1263
1264
|
|
|
@@ -1270,19 +1271,19 @@ class MutatingWebhookPatchArgs:
|
|
|
1270
1271
|
return pulumi.get(self, "match_policy")
|
|
1271
1272
|
|
|
1272
1273
|
@match_policy.setter
|
|
1273
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1274
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1274
1275
|
pulumi.set(self, "match_policy", value)
|
|
1275
1276
|
|
|
1276
1277
|
@property
|
|
1277
1278
|
@pulumi.getter
|
|
1278
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
1279
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1279
1280
|
"""
|
|
1280
1281
|
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.
|
|
1281
1282
|
"""
|
|
1282
1283
|
return pulumi.get(self, "name")
|
|
1283
1284
|
|
|
1284
1285
|
@name.setter
|
|
1285
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
1286
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1286
1287
|
pulumi.set(self, "name", value)
|
|
1287
1288
|
|
|
1288
1289
|
@property
|
|
@@ -1341,7 +1342,7 @@ class MutatingWebhookPatchArgs:
|
|
|
1341
1342
|
|
|
1342
1343
|
@property
|
|
1343
1344
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1344
|
-
def reinvocation_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1345
|
+
def reinvocation_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1345
1346
|
"""
|
|
1346
1347
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1347
1348
|
|
|
@@ -1354,7 +1355,7 @@ class MutatingWebhookPatchArgs:
|
|
|
1354
1355
|
return pulumi.get(self, "reinvocation_policy")
|
|
1355
1356
|
|
|
1356
1357
|
@reinvocation_policy.setter
|
|
1357
|
-
def reinvocation_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1358
|
+
def reinvocation_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1358
1359
|
pulumi.set(self, "reinvocation_policy", value)
|
|
1359
1360
|
|
|
1360
1361
|
@property
|
|
@@ -1371,26 +1372,26 @@ class MutatingWebhookPatchArgs:
|
|
|
1371
1372
|
|
|
1372
1373
|
@property
|
|
1373
1374
|
@pulumi.getter(name="sideEffects")
|
|
1374
|
-
def side_effects(self) -> Optional[pulumi.Input[str]]:
|
|
1375
|
+
def side_effects(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1375
1376
|
"""
|
|
1376
1377
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1377
1378
|
"""
|
|
1378
1379
|
return pulumi.get(self, "side_effects")
|
|
1379
1380
|
|
|
1380
1381
|
@side_effects.setter
|
|
1381
|
-
def side_effects(self, value: Optional[pulumi.Input[str]]):
|
|
1382
|
+
def side_effects(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1382
1383
|
pulumi.set(self, "side_effects", value)
|
|
1383
1384
|
|
|
1384
1385
|
@property
|
|
1385
1386
|
@pulumi.getter(name="timeoutSeconds")
|
|
1386
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1387
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1387
1388
|
"""
|
|
1388
1389
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1389
1390
|
"""
|
|
1390
1391
|
return pulumi.get(self, "timeout_seconds")
|
|
1391
1392
|
|
|
1392
1393
|
@timeout_seconds.setter
|
|
1393
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1394
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1394
1395
|
pulumi.set(self, "timeout_seconds", value)
|
|
1395
1396
|
|
|
1396
1397
|
|
|
@@ -1403,19 +1404,19 @@ if not MYPY:
|
|
|
1403
1404
|
"""
|
|
1404
1405
|
ClientConfig defines how to communicate with the hook. Required
|
|
1405
1406
|
"""
|
|
1406
|
-
name: pulumi.Input[str]
|
|
1407
|
+
name: pulumi.Input[builtins.str]
|
|
1407
1408
|
"""
|
|
1408
1409
|
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.
|
|
1409
1410
|
"""
|
|
1410
|
-
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1411
|
+
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1411
1412
|
"""
|
|
1412
1413
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1413
1414
|
"""
|
|
1414
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
1415
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1415
1416
|
"""
|
|
1416
1417
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1417
1418
|
"""
|
|
1418
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
1419
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1419
1420
|
"""
|
|
1420
1421
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1421
1422
|
|
|
@@ -1463,7 +1464,7 @@ if not MYPY:
|
|
|
1463
1464
|
"""
|
|
1464
1465
|
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.
|
|
1465
1466
|
"""
|
|
1466
|
-
reinvocation_policy: NotRequired[pulumi.Input[str]]
|
|
1467
|
+
reinvocation_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1467
1468
|
"""
|
|
1468
1469
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1469
1470
|
|
|
@@ -1477,11 +1478,11 @@ if not MYPY:
|
|
|
1477
1478
|
"""
|
|
1478
1479
|
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.
|
|
1479
1480
|
"""
|
|
1480
|
-
side_effects: NotRequired[pulumi.Input[str]]
|
|
1481
|
+
side_effects: NotRequired[pulumi.Input[builtins.str]]
|
|
1481
1482
|
"""
|
|
1482
1483
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1483
1484
|
"""
|
|
1484
|
-
timeout_seconds: NotRequired[pulumi.Input[int]]
|
|
1485
|
+
timeout_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1485
1486
|
"""
|
|
1486
1487
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1487
1488
|
"""
|
|
@@ -1492,23 +1493,23 @@ elif False:
|
|
|
1492
1493
|
class MutatingWebhookArgs:
|
|
1493
1494
|
def __init__(__self__, *,
|
|
1494
1495
|
client_config: pulumi.Input['WebhookClientConfigArgs'],
|
|
1495
|
-
name: pulumi.Input[str],
|
|
1496
|
-
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1497
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
1498
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
1496
|
+
name: pulumi.Input[builtins.str],
|
|
1497
|
+
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1498
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1499
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1499
1500
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1500
1501
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1501
|
-
reinvocation_policy: Optional[pulumi.Input[str]] = None,
|
|
1502
|
+
reinvocation_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1502
1503
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]] = None,
|
|
1503
|
-
side_effects: Optional[pulumi.Input[str]] = None,
|
|
1504
|
-
timeout_seconds: Optional[pulumi.Input[int]] = None):
|
|
1504
|
+
side_effects: Optional[pulumi.Input[builtins.str]] = None,
|
|
1505
|
+
timeout_seconds: Optional[pulumi.Input[builtins.int]] = None):
|
|
1505
1506
|
"""
|
|
1506
1507
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1507
1508
|
:param pulumi.Input['WebhookClientConfigArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
1508
|
-
:param pulumi.Input[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.
|
|
1509
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1510
|
-
:param pulumi.Input[str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1511
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1509
|
+
:param pulumi.Input[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.
|
|
1510
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1511
|
+
:param pulumi.Input[builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1512
|
+
:param pulumi.Input[builtins.str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1512
1513
|
|
|
1513
1514
|
- 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.
|
|
1514
1515
|
|
|
@@ -1547,7 +1548,7 @@ class MutatingWebhookArgs:
|
|
|
1547
1548
|
|
|
1548
1549
|
Default to the empty LabelSelector, which matches everything.
|
|
1549
1550
|
:param pulumi.Input['_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.
|
|
1550
|
-
:param pulumi.Input[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".
|
|
1551
|
+
:param pulumi.Input[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".
|
|
1551
1552
|
|
|
1552
1553
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
1553
1554
|
|
|
@@ -1555,8 +1556,8 @@ class MutatingWebhookArgs:
|
|
|
1555
1556
|
|
|
1556
1557
|
Defaults to "Never".
|
|
1557
1558
|
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
1558
|
-
:param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1559
|
-
:param pulumi.Input[int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1559
|
+
:param pulumi.Input[builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1560
|
+
:param pulumi.Input[builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1560
1561
|
"""
|
|
1561
1562
|
pulumi.set(__self__, "client_config", client_config)
|
|
1562
1563
|
pulumi.set(__self__, "name", name)
|
|
@@ -1593,43 +1594,43 @@ class MutatingWebhookArgs:
|
|
|
1593
1594
|
|
|
1594
1595
|
@property
|
|
1595
1596
|
@pulumi.getter
|
|
1596
|
-
def name(self) -> pulumi.Input[str]:
|
|
1597
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
1597
1598
|
"""
|
|
1598
1599
|
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.
|
|
1599
1600
|
"""
|
|
1600
1601
|
return pulumi.get(self, "name")
|
|
1601
1602
|
|
|
1602
1603
|
@name.setter
|
|
1603
|
-
def name(self, value: pulumi.Input[str]):
|
|
1604
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
1604
1605
|
pulumi.set(self, "name", value)
|
|
1605
1606
|
|
|
1606
1607
|
@property
|
|
1607
1608
|
@pulumi.getter(name="admissionReviewVersions")
|
|
1608
|
-
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1609
|
+
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1609
1610
|
"""
|
|
1610
1611
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1611
1612
|
"""
|
|
1612
1613
|
return pulumi.get(self, "admission_review_versions")
|
|
1613
1614
|
|
|
1614
1615
|
@admission_review_versions.setter
|
|
1615
|
-
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1616
|
+
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1616
1617
|
pulumi.set(self, "admission_review_versions", value)
|
|
1617
1618
|
|
|
1618
1619
|
@property
|
|
1619
1620
|
@pulumi.getter(name="failurePolicy")
|
|
1620
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1621
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1621
1622
|
"""
|
|
1622
1623
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1623
1624
|
"""
|
|
1624
1625
|
return pulumi.get(self, "failure_policy")
|
|
1625
1626
|
|
|
1626
1627
|
@failure_policy.setter
|
|
1627
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1628
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1628
1629
|
pulumi.set(self, "failure_policy", value)
|
|
1629
1630
|
|
|
1630
1631
|
@property
|
|
1631
1632
|
@pulumi.getter(name="matchPolicy")
|
|
1632
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1633
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1633
1634
|
"""
|
|
1634
1635
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1635
1636
|
|
|
@@ -1642,7 +1643,7 @@ class MutatingWebhookArgs:
|
|
|
1642
1643
|
return pulumi.get(self, "match_policy")
|
|
1643
1644
|
|
|
1644
1645
|
@match_policy.setter
|
|
1645
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1646
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1646
1647
|
pulumi.set(self, "match_policy", value)
|
|
1647
1648
|
|
|
1648
1649
|
@property
|
|
@@ -1701,7 +1702,7 @@ class MutatingWebhookArgs:
|
|
|
1701
1702
|
|
|
1702
1703
|
@property
|
|
1703
1704
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1704
|
-
def reinvocation_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1705
|
+
def reinvocation_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1705
1706
|
"""
|
|
1706
1707
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1707
1708
|
|
|
@@ -1714,7 +1715,7 @@ class MutatingWebhookArgs:
|
|
|
1714
1715
|
return pulumi.get(self, "reinvocation_policy")
|
|
1715
1716
|
|
|
1716
1717
|
@reinvocation_policy.setter
|
|
1717
|
-
def reinvocation_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1718
|
+
def reinvocation_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1718
1719
|
pulumi.set(self, "reinvocation_policy", value)
|
|
1719
1720
|
|
|
1720
1721
|
@property
|
|
@@ -1731,26 +1732,26 @@ class MutatingWebhookArgs:
|
|
|
1731
1732
|
|
|
1732
1733
|
@property
|
|
1733
1734
|
@pulumi.getter(name="sideEffects")
|
|
1734
|
-
def side_effects(self) -> Optional[pulumi.Input[str]]:
|
|
1735
|
+
def side_effects(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1735
1736
|
"""
|
|
1736
1737
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1737
1738
|
"""
|
|
1738
1739
|
return pulumi.get(self, "side_effects")
|
|
1739
1740
|
|
|
1740
1741
|
@side_effects.setter
|
|
1741
|
-
def side_effects(self, value: Optional[pulumi.Input[str]]):
|
|
1742
|
+
def side_effects(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1742
1743
|
pulumi.set(self, "side_effects", value)
|
|
1743
1744
|
|
|
1744
1745
|
@property
|
|
1745
1746
|
@pulumi.getter(name="timeoutSeconds")
|
|
1746
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1747
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1747
1748
|
"""
|
|
1748
1749
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1749
1750
|
"""
|
|
1750
1751
|
return pulumi.get(self, "timeout_seconds")
|
|
1751
1752
|
|
|
1752
1753
|
@timeout_seconds.setter
|
|
1753
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1754
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1754
1755
|
pulumi.set(self, "timeout_seconds", value)
|
|
1755
1756
|
|
|
1756
1757
|
|
|
@@ -1759,23 +1760,23 @@ if not MYPY:
|
|
|
1759
1760
|
"""
|
|
1760
1761
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1761
1762
|
"""
|
|
1762
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1763
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1763
1764
|
"""
|
|
1764
1765
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1765
1766
|
"""
|
|
1766
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1767
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1767
1768
|
"""
|
|
1768
1769
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1769
1770
|
"""
|
|
1770
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1771
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1771
1772
|
"""
|
|
1772
1773
|
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.
|
|
1773
1774
|
"""
|
|
1774
|
-
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1775
|
+
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1775
1776
|
"""
|
|
1776
1777
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1777
1778
|
"""
|
|
1778
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1779
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1779
1780
|
"""
|
|
1780
1781
|
Resources is a list of resources this rule applies to.
|
|
1781
1782
|
|
|
@@ -1785,7 +1786,7 @@ if not MYPY:
|
|
|
1785
1786
|
|
|
1786
1787
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1787
1788
|
"""
|
|
1788
|
-
scope: NotRequired[pulumi.Input[str]]
|
|
1789
|
+
scope: NotRequired[pulumi.Input[builtins.str]]
|
|
1789
1790
|
"""
|
|
1790
1791
|
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 "*".
|
|
1791
1792
|
"""
|
|
@@ -1795,26 +1796,26 @@ elif False:
|
|
|
1795
1796
|
@pulumi.input_type
|
|
1796
1797
|
class NamedRuleWithOperationsPatchArgs:
|
|
1797
1798
|
def __init__(__self__, *,
|
|
1798
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1799
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1800
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1801
|
-
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1802
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1803
|
-
scope: Optional[pulumi.Input[str]] = None):
|
|
1799
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1800
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1801
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1802
|
+
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1803
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1804
|
+
scope: Optional[pulumi.Input[builtins.str]] = None):
|
|
1804
1805
|
"""
|
|
1805
1806
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1806
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1807
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1808
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1809
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1810
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
|
|
1807
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1808
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1809
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1810
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1811
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
1811
1812
|
|
|
1812
1813
|
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.
|
|
1813
1814
|
|
|
1814
1815
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1815
1816
|
|
|
1816
1817
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1817
|
-
:param pulumi.Input[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 "*".
|
|
1818
|
+
:param pulumi.Input[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 "*".
|
|
1818
1819
|
"""
|
|
1819
1820
|
if api_groups is not None:
|
|
1820
1821
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1831,55 +1832,55 @@ class NamedRuleWithOperationsPatchArgs:
|
|
|
1831
1832
|
|
|
1832
1833
|
@property
|
|
1833
1834
|
@pulumi.getter(name="apiGroups")
|
|
1834
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1835
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1835
1836
|
"""
|
|
1836
1837
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1837
1838
|
"""
|
|
1838
1839
|
return pulumi.get(self, "api_groups")
|
|
1839
1840
|
|
|
1840
1841
|
@api_groups.setter
|
|
1841
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1842
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1842
1843
|
pulumi.set(self, "api_groups", value)
|
|
1843
1844
|
|
|
1844
1845
|
@property
|
|
1845
1846
|
@pulumi.getter(name="apiVersions")
|
|
1846
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1847
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1847
1848
|
"""
|
|
1848
1849
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1849
1850
|
"""
|
|
1850
1851
|
return pulumi.get(self, "api_versions")
|
|
1851
1852
|
|
|
1852
1853
|
@api_versions.setter
|
|
1853
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1854
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1854
1855
|
pulumi.set(self, "api_versions", value)
|
|
1855
1856
|
|
|
1856
1857
|
@property
|
|
1857
1858
|
@pulumi.getter
|
|
1858
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1859
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1859
1860
|
"""
|
|
1860
1861
|
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.
|
|
1861
1862
|
"""
|
|
1862
1863
|
return pulumi.get(self, "operations")
|
|
1863
1864
|
|
|
1864
1865
|
@operations.setter
|
|
1865
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1866
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1866
1867
|
pulumi.set(self, "operations", value)
|
|
1867
1868
|
|
|
1868
1869
|
@property
|
|
1869
1870
|
@pulumi.getter(name="resourceNames")
|
|
1870
|
-
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1871
|
+
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1871
1872
|
"""
|
|
1872
1873
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1873
1874
|
"""
|
|
1874
1875
|
return pulumi.get(self, "resource_names")
|
|
1875
1876
|
|
|
1876
1877
|
@resource_names.setter
|
|
1877
|
-
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1878
|
+
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1878
1879
|
pulumi.set(self, "resource_names", value)
|
|
1879
1880
|
|
|
1880
1881
|
@property
|
|
1881
1882
|
@pulumi.getter
|
|
1882
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1883
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1883
1884
|
"""
|
|
1884
1885
|
Resources is a list of resources this rule applies to.
|
|
1885
1886
|
|
|
@@ -1892,19 +1893,19 @@ class NamedRuleWithOperationsPatchArgs:
|
|
|
1892
1893
|
return pulumi.get(self, "resources")
|
|
1893
1894
|
|
|
1894
1895
|
@resources.setter
|
|
1895
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1896
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1896
1897
|
pulumi.set(self, "resources", value)
|
|
1897
1898
|
|
|
1898
1899
|
@property
|
|
1899
1900
|
@pulumi.getter
|
|
1900
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
1901
|
+
def scope(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1901
1902
|
"""
|
|
1902
1903
|
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 "*".
|
|
1903
1904
|
"""
|
|
1904
1905
|
return pulumi.get(self, "scope")
|
|
1905
1906
|
|
|
1906
1907
|
@scope.setter
|
|
1907
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
1908
|
+
def scope(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1908
1909
|
pulumi.set(self, "scope", value)
|
|
1909
1910
|
|
|
1910
1911
|
|
|
@@ -1913,23 +1914,23 @@ if not MYPY:
|
|
|
1913
1914
|
"""
|
|
1914
1915
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1915
1916
|
"""
|
|
1916
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1917
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1917
1918
|
"""
|
|
1918
1919
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1919
1920
|
"""
|
|
1920
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1921
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1921
1922
|
"""
|
|
1922
1923
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1923
1924
|
"""
|
|
1924
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1925
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1925
1926
|
"""
|
|
1926
1927
|
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.
|
|
1927
1928
|
"""
|
|
1928
|
-
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1929
|
+
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1929
1930
|
"""
|
|
1930
1931
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1931
1932
|
"""
|
|
1932
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1933
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1933
1934
|
"""
|
|
1934
1935
|
Resources is a list of resources this rule applies to.
|
|
1935
1936
|
|
|
@@ -1939,7 +1940,7 @@ if not MYPY:
|
|
|
1939
1940
|
|
|
1940
1941
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1941
1942
|
"""
|
|
1942
|
-
scope: NotRequired[pulumi.Input[str]]
|
|
1943
|
+
scope: NotRequired[pulumi.Input[builtins.str]]
|
|
1943
1944
|
"""
|
|
1944
1945
|
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 "*".
|
|
1945
1946
|
"""
|
|
@@ -1949,26 +1950,26 @@ elif False:
|
|
|
1949
1950
|
@pulumi.input_type
|
|
1950
1951
|
class NamedRuleWithOperationsArgs:
|
|
1951
1952
|
def __init__(__self__, *,
|
|
1952
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1953
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1954
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1955
|
-
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1956
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1957
|
-
scope: Optional[pulumi.Input[str]] = None):
|
|
1953
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1954
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1955
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1956
|
+
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1957
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1958
|
+
scope: Optional[pulumi.Input[builtins.str]] = None):
|
|
1958
1959
|
"""
|
|
1959
1960
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1960
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1961
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1962
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1963
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1964
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
|
|
1961
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1962
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1963
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1964
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
1965
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
1965
1966
|
|
|
1966
1967
|
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.
|
|
1967
1968
|
|
|
1968
1969
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1969
1970
|
|
|
1970
1971
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1971
|
-
:param pulumi.Input[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 "*".
|
|
1972
|
+
:param pulumi.Input[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 "*".
|
|
1972
1973
|
"""
|
|
1973
1974
|
if api_groups is not None:
|
|
1974
1975
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1985,55 +1986,55 @@ class NamedRuleWithOperationsArgs:
|
|
|
1985
1986
|
|
|
1986
1987
|
@property
|
|
1987
1988
|
@pulumi.getter(name="apiGroups")
|
|
1988
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1989
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1989
1990
|
"""
|
|
1990
1991
|
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
1992
|
"""
|
|
1992
1993
|
return pulumi.get(self, "api_groups")
|
|
1993
1994
|
|
|
1994
1995
|
@api_groups.setter
|
|
1995
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1996
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1996
1997
|
pulumi.set(self, "api_groups", value)
|
|
1997
1998
|
|
|
1998
1999
|
@property
|
|
1999
2000
|
@pulumi.getter(name="apiVersions")
|
|
2000
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2001
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2001
2002
|
"""
|
|
2002
2003
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2003
2004
|
"""
|
|
2004
2005
|
return pulumi.get(self, "api_versions")
|
|
2005
2006
|
|
|
2006
2007
|
@api_versions.setter
|
|
2007
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2008
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2008
2009
|
pulumi.set(self, "api_versions", value)
|
|
2009
2010
|
|
|
2010
2011
|
@property
|
|
2011
2012
|
@pulumi.getter
|
|
2012
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2013
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2013
2014
|
"""
|
|
2014
2015
|
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.
|
|
2015
2016
|
"""
|
|
2016
2017
|
return pulumi.get(self, "operations")
|
|
2017
2018
|
|
|
2018
2019
|
@operations.setter
|
|
2019
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2020
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2020
2021
|
pulumi.set(self, "operations", value)
|
|
2021
2022
|
|
|
2022
2023
|
@property
|
|
2023
2024
|
@pulumi.getter(name="resourceNames")
|
|
2024
|
-
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2025
|
+
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2025
2026
|
"""
|
|
2026
2027
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2027
2028
|
"""
|
|
2028
2029
|
return pulumi.get(self, "resource_names")
|
|
2029
2030
|
|
|
2030
2031
|
@resource_names.setter
|
|
2031
|
-
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2032
|
+
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2032
2033
|
pulumi.set(self, "resource_names", value)
|
|
2033
2034
|
|
|
2034
2035
|
@property
|
|
2035
2036
|
@pulumi.getter
|
|
2036
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2037
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2037
2038
|
"""
|
|
2038
2039
|
Resources is a list of resources this rule applies to.
|
|
2039
2040
|
|
|
@@ -2046,19 +2047,19 @@ class NamedRuleWithOperationsArgs:
|
|
|
2046
2047
|
return pulumi.get(self, "resources")
|
|
2047
2048
|
|
|
2048
2049
|
@resources.setter
|
|
2049
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2050
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2050
2051
|
pulumi.set(self, "resources", value)
|
|
2051
2052
|
|
|
2052
2053
|
@property
|
|
2053
2054
|
@pulumi.getter
|
|
2054
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
2055
|
+
def scope(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2055
2056
|
"""
|
|
2056
2057
|
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 "*".
|
|
2057
2058
|
"""
|
|
2058
2059
|
return pulumi.get(self, "scope")
|
|
2059
2060
|
|
|
2060
2061
|
@scope.setter
|
|
2061
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
2062
|
+
def scope(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2062
2063
|
pulumi.set(self, "scope", value)
|
|
2063
2064
|
|
|
2064
2065
|
|
|
@@ -2067,11 +2068,11 @@ if not MYPY:
|
|
|
2067
2068
|
"""
|
|
2068
2069
|
ParamKind is a tuple of Group Kind and Version.
|
|
2069
2070
|
"""
|
|
2070
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
2071
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
2071
2072
|
"""
|
|
2072
2073
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2073
2074
|
"""
|
|
2074
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
2075
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
2075
2076
|
"""
|
|
2076
2077
|
Kind is the API kind the resources belong to. Required.
|
|
2077
2078
|
"""
|
|
@@ -2081,12 +2082,12 @@ elif False:
|
|
|
2081
2082
|
@pulumi.input_type
|
|
2082
2083
|
class ParamKindPatchArgs:
|
|
2083
2084
|
def __init__(__self__, *,
|
|
2084
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2085
|
-
kind: Optional[pulumi.Input[str]] = None):
|
|
2085
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
2086
|
+
kind: Optional[pulumi.Input[builtins.str]] = None):
|
|
2086
2087
|
"""
|
|
2087
2088
|
ParamKind is a tuple of Group Kind and Version.
|
|
2088
|
-
:param pulumi.Input[str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2089
|
-
:param pulumi.Input[str] kind: Kind is the API kind the resources belong to. Required.
|
|
2089
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2090
|
+
:param pulumi.Input[builtins.str] kind: Kind is the API kind the resources belong to. Required.
|
|
2090
2091
|
"""
|
|
2091
2092
|
if api_version is not None:
|
|
2092
2093
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -2095,26 +2096,26 @@ class ParamKindPatchArgs:
|
|
|
2095
2096
|
|
|
2096
2097
|
@property
|
|
2097
2098
|
@pulumi.getter(name="apiVersion")
|
|
2098
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2099
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2099
2100
|
"""
|
|
2100
2101
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2101
2102
|
"""
|
|
2102
2103
|
return pulumi.get(self, "api_version")
|
|
2103
2104
|
|
|
2104
2105
|
@api_version.setter
|
|
2105
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2106
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2106
2107
|
pulumi.set(self, "api_version", value)
|
|
2107
2108
|
|
|
2108
2109
|
@property
|
|
2109
2110
|
@pulumi.getter
|
|
2110
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2111
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2111
2112
|
"""
|
|
2112
2113
|
Kind is the API kind the resources belong to. Required.
|
|
2113
2114
|
"""
|
|
2114
2115
|
return pulumi.get(self, "kind")
|
|
2115
2116
|
|
|
2116
2117
|
@kind.setter
|
|
2117
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2118
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2118
2119
|
pulumi.set(self, "kind", value)
|
|
2119
2120
|
|
|
2120
2121
|
|
|
@@ -2123,11 +2124,11 @@ if not MYPY:
|
|
|
2123
2124
|
"""
|
|
2124
2125
|
ParamKind is a tuple of Group Kind and Version.
|
|
2125
2126
|
"""
|
|
2126
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
2127
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
2127
2128
|
"""
|
|
2128
2129
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2129
2130
|
"""
|
|
2130
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
2131
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
2131
2132
|
"""
|
|
2132
2133
|
Kind is the API kind the resources belong to. Required.
|
|
2133
2134
|
"""
|
|
@@ -2137,12 +2138,12 @@ elif False:
|
|
|
2137
2138
|
@pulumi.input_type
|
|
2138
2139
|
class ParamKindArgs:
|
|
2139
2140
|
def __init__(__self__, *,
|
|
2140
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2141
|
-
kind: Optional[pulumi.Input[str]] = None):
|
|
2141
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
2142
|
+
kind: Optional[pulumi.Input[builtins.str]] = None):
|
|
2142
2143
|
"""
|
|
2143
2144
|
ParamKind is a tuple of Group Kind and Version.
|
|
2144
|
-
:param pulumi.Input[str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2145
|
-
:param pulumi.Input[str] kind: Kind is the API kind the resources belong to. Required.
|
|
2145
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2146
|
+
:param pulumi.Input[builtins.str] kind: Kind is the API kind the resources belong to. Required.
|
|
2146
2147
|
"""
|
|
2147
2148
|
if api_version is not None:
|
|
2148
2149
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -2151,26 +2152,26 @@ class ParamKindArgs:
|
|
|
2151
2152
|
|
|
2152
2153
|
@property
|
|
2153
2154
|
@pulumi.getter(name="apiVersion")
|
|
2154
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2155
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2155
2156
|
"""
|
|
2156
2157
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2157
2158
|
"""
|
|
2158
2159
|
return pulumi.get(self, "api_version")
|
|
2159
2160
|
|
|
2160
2161
|
@api_version.setter
|
|
2161
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2162
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2162
2163
|
pulumi.set(self, "api_version", value)
|
|
2163
2164
|
|
|
2164
2165
|
@property
|
|
2165
2166
|
@pulumi.getter
|
|
2166
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2167
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2167
2168
|
"""
|
|
2168
2169
|
Kind is the API kind the resources belong to. Required.
|
|
2169
2170
|
"""
|
|
2170
2171
|
return pulumi.get(self, "kind")
|
|
2171
2172
|
|
|
2172
2173
|
@kind.setter
|
|
2173
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2174
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2174
2175
|
pulumi.set(self, "kind", value)
|
|
2175
2176
|
|
|
2176
2177
|
|
|
@@ -2179,7 +2180,7 @@ if not MYPY:
|
|
|
2179
2180
|
"""
|
|
2180
2181
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2181
2182
|
"""
|
|
2182
|
-
name: NotRequired[pulumi.Input[str]]
|
|
2183
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
2183
2184
|
"""
|
|
2184
2185
|
name is the name of the resource being referenced.
|
|
2185
2186
|
|
|
@@ -2187,7 +2188,7 @@ if not MYPY:
|
|
|
2187
2188
|
|
|
2188
2189
|
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.
|
|
2189
2190
|
"""
|
|
2190
|
-
namespace: NotRequired[pulumi.Input[str]]
|
|
2191
|
+
namespace: NotRequired[pulumi.Input[builtins.str]]
|
|
2191
2192
|
"""
|
|
2192
2193
|
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.
|
|
2193
2194
|
|
|
@@ -2197,7 +2198,7 @@ if not MYPY:
|
|
|
2197
2198
|
|
|
2198
2199
|
- 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.
|
|
2199
2200
|
"""
|
|
2200
|
-
parameter_not_found_action: NotRequired[pulumi.Input[str]]
|
|
2201
|
+
parameter_not_found_action: NotRequired[pulumi.Input[builtins.str]]
|
|
2201
2202
|
"""
|
|
2202
2203
|
`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.
|
|
2203
2204
|
|
|
@@ -2219,25 +2220,25 @@ elif False:
|
|
|
2219
2220
|
@pulumi.input_type
|
|
2220
2221
|
class ParamRefPatchArgs:
|
|
2221
2222
|
def __init__(__self__, *,
|
|
2222
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2223
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
2224
|
-
parameter_not_found_action: Optional[pulumi.Input[str]] = None,
|
|
2223
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2224
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
2225
|
+
parameter_not_found_action: Optional[pulumi.Input[builtins.str]] = None,
|
|
2225
2226
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
|
|
2226
2227
|
"""
|
|
2227
2228
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2228
|
-
:param pulumi.Input[str] name: name is the name of the resource being referenced.
|
|
2229
|
+
:param pulumi.Input[builtins.str] name: name is the name of the resource being referenced.
|
|
2229
2230
|
|
|
2230
2231
|
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.
|
|
2231
2232
|
|
|
2232
2233
|
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.
|
|
2233
|
-
:param pulumi.Input[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.
|
|
2234
|
+
:param pulumi.Input[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.
|
|
2234
2235
|
|
|
2235
2236
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
2236
2237
|
|
|
2237
2238
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
2238
2239
|
|
|
2239
2240
|
- 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.
|
|
2240
|
-
:param pulumi.Input[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.
|
|
2241
|
+
:param pulumi.Input[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.
|
|
2241
2242
|
|
|
2242
2243
|
Allowed values are `Allow` or `Deny`
|
|
2243
2244
|
|
|
@@ -2259,7 +2260,7 @@ class ParamRefPatchArgs:
|
|
|
2259
2260
|
|
|
2260
2261
|
@property
|
|
2261
2262
|
@pulumi.getter
|
|
2262
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2263
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2263
2264
|
"""
|
|
2264
2265
|
name is the name of the resource being referenced.
|
|
2265
2266
|
|
|
@@ -2270,12 +2271,12 @@ class ParamRefPatchArgs:
|
|
|
2270
2271
|
return pulumi.get(self, "name")
|
|
2271
2272
|
|
|
2272
2273
|
@name.setter
|
|
2273
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
2274
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2274
2275
|
pulumi.set(self, "name", value)
|
|
2275
2276
|
|
|
2276
2277
|
@property
|
|
2277
2278
|
@pulumi.getter
|
|
2278
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
2279
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2279
2280
|
"""
|
|
2280
2281
|
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.
|
|
2281
2282
|
|
|
@@ -2288,12 +2289,12 @@ class ParamRefPatchArgs:
|
|
|
2288
2289
|
return pulumi.get(self, "namespace")
|
|
2289
2290
|
|
|
2290
2291
|
@namespace.setter
|
|
2291
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
2292
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2292
2293
|
pulumi.set(self, "namespace", value)
|
|
2293
2294
|
|
|
2294
2295
|
@property
|
|
2295
2296
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
2296
|
-
def parameter_not_found_action(self) -> Optional[pulumi.Input[str]]:
|
|
2297
|
+
def parameter_not_found_action(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2297
2298
|
"""
|
|
2298
2299
|
`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.
|
|
2299
2300
|
|
|
@@ -2304,7 +2305,7 @@ class ParamRefPatchArgs:
|
|
|
2304
2305
|
return pulumi.get(self, "parameter_not_found_action")
|
|
2305
2306
|
|
|
2306
2307
|
@parameter_not_found_action.setter
|
|
2307
|
-
def parameter_not_found_action(self, value: Optional[pulumi.Input[str]]):
|
|
2308
|
+
def parameter_not_found_action(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2308
2309
|
pulumi.set(self, "parameter_not_found_action", value)
|
|
2309
2310
|
|
|
2310
2311
|
@property
|
|
@@ -2329,7 +2330,7 @@ if not MYPY:
|
|
|
2329
2330
|
"""
|
|
2330
2331
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2331
2332
|
"""
|
|
2332
|
-
name: NotRequired[pulumi.Input[str]]
|
|
2333
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
2333
2334
|
"""
|
|
2334
2335
|
name is the name of the resource being referenced.
|
|
2335
2336
|
|
|
@@ -2337,7 +2338,7 @@ if not MYPY:
|
|
|
2337
2338
|
|
|
2338
2339
|
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.
|
|
2339
2340
|
"""
|
|
2340
|
-
namespace: NotRequired[pulumi.Input[str]]
|
|
2341
|
+
namespace: NotRequired[pulumi.Input[builtins.str]]
|
|
2341
2342
|
"""
|
|
2342
2343
|
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.
|
|
2343
2344
|
|
|
@@ -2347,7 +2348,7 @@ if not MYPY:
|
|
|
2347
2348
|
|
|
2348
2349
|
- 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.
|
|
2349
2350
|
"""
|
|
2350
|
-
parameter_not_found_action: NotRequired[pulumi.Input[str]]
|
|
2351
|
+
parameter_not_found_action: NotRequired[pulumi.Input[builtins.str]]
|
|
2351
2352
|
"""
|
|
2352
2353
|
`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.
|
|
2353
2354
|
|
|
@@ -2369,25 +2370,25 @@ elif False:
|
|
|
2369
2370
|
@pulumi.input_type
|
|
2370
2371
|
class ParamRefArgs:
|
|
2371
2372
|
def __init__(__self__, *,
|
|
2372
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2373
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
2374
|
-
parameter_not_found_action: Optional[pulumi.Input[str]] = None,
|
|
2373
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2374
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
2375
|
+
parameter_not_found_action: Optional[pulumi.Input[builtins.str]] = None,
|
|
2375
2376
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
2376
2377
|
"""
|
|
2377
2378
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2378
|
-
:param pulumi.Input[str] name: name is the name of the resource being referenced.
|
|
2379
|
+
:param pulumi.Input[builtins.str] name: name is the name of the resource being referenced.
|
|
2379
2380
|
|
|
2380
2381
|
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.
|
|
2381
2382
|
|
|
2382
2383
|
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.
|
|
2383
|
-
:param pulumi.Input[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.
|
|
2384
|
+
:param pulumi.Input[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.
|
|
2384
2385
|
|
|
2385
2386
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
2386
2387
|
|
|
2387
2388
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
2388
2389
|
|
|
2389
2390
|
- 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.
|
|
2390
|
-
:param pulumi.Input[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.
|
|
2391
|
+
:param pulumi.Input[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.
|
|
2391
2392
|
|
|
2392
2393
|
Allowed values are `Allow` or `Deny`
|
|
2393
2394
|
|
|
@@ -2409,7 +2410,7 @@ class ParamRefArgs:
|
|
|
2409
2410
|
|
|
2410
2411
|
@property
|
|
2411
2412
|
@pulumi.getter
|
|
2412
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2413
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2413
2414
|
"""
|
|
2414
2415
|
name is the name of the resource being referenced.
|
|
2415
2416
|
|
|
@@ -2420,12 +2421,12 @@ class ParamRefArgs:
|
|
|
2420
2421
|
return pulumi.get(self, "name")
|
|
2421
2422
|
|
|
2422
2423
|
@name.setter
|
|
2423
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
2424
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2424
2425
|
pulumi.set(self, "name", value)
|
|
2425
2426
|
|
|
2426
2427
|
@property
|
|
2427
2428
|
@pulumi.getter
|
|
2428
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
2429
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2429
2430
|
"""
|
|
2430
2431
|
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.
|
|
2431
2432
|
|
|
@@ -2438,12 +2439,12 @@ class ParamRefArgs:
|
|
|
2438
2439
|
return pulumi.get(self, "namespace")
|
|
2439
2440
|
|
|
2440
2441
|
@namespace.setter
|
|
2441
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
2442
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2442
2443
|
pulumi.set(self, "namespace", value)
|
|
2443
2444
|
|
|
2444
2445
|
@property
|
|
2445
2446
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
2446
|
-
def parameter_not_found_action(self) -> Optional[pulumi.Input[str]]:
|
|
2447
|
+
def parameter_not_found_action(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2447
2448
|
"""
|
|
2448
2449
|
`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.
|
|
2449
2450
|
|
|
@@ -2454,7 +2455,7 @@ class ParamRefArgs:
|
|
|
2454
2455
|
return pulumi.get(self, "parameter_not_found_action")
|
|
2455
2456
|
|
|
2456
2457
|
@parameter_not_found_action.setter
|
|
2457
|
-
def parameter_not_found_action(self, value: Optional[pulumi.Input[str]]):
|
|
2458
|
+
def parameter_not_found_action(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2458
2459
|
pulumi.set(self, "parameter_not_found_action", value)
|
|
2459
2460
|
|
|
2460
2461
|
@property
|
|
@@ -2479,19 +2480,19 @@ if not MYPY:
|
|
|
2479
2480
|
"""
|
|
2480
2481
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2481
2482
|
"""
|
|
2482
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2483
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2483
2484
|
"""
|
|
2484
2485
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2485
2486
|
"""
|
|
2486
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2487
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2487
2488
|
"""
|
|
2488
2489
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2489
2490
|
"""
|
|
2490
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2491
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2491
2492
|
"""
|
|
2492
2493
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2493
2494
|
"""
|
|
2494
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2495
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2495
2496
|
"""
|
|
2496
2497
|
Resources is a list of resources this rule applies to.
|
|
2497
2498
|
|
|
@@ -2501,7 +2502,7 @@ if not MYPY:
|
|
|
2501
2502
|
|
|
2502
2503
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2503
2504
|
"""
|
|
2504
|
-
scope: NotRequired[pulumi.Input[str]]
|
|
2505
|
+
scope: NotRequired[pulumi.Input[builtins.str]]
|
|
2505
2506
|
"""
|
|
2506
2507
|
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 "*".
|
|
2507
2508
|
"""
|
|
@@ -2511,24 +2512,24 @@ elif False:
|
|
|
2511
2512
|
@pulumi.input_type
|
|
2512
2513
|
class RuleWithOperationsPatchArgs:
|
|
2513
2514
|
def __init__(__self__, *,
|
|
2514
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2515
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2516
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2517
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2518
|
-
scope: Optional[pulumi.Input[str]] = None):
|
|
2515
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2516
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2517
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2518
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2519
|
+
scope: Optional[pulumi.Input[builtins.str]] = None):
|
|
2519
2520
|
"""
|
|
2520
2521
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2521
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2522
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2523
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2524
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
|
|
2522
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2523
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2524
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2525
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2525
2526
|
|
|
2526
2527
|
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.
|
|
2527
2528
|
|
|
2528
2529
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2529
2530
|
|
|
2530
2531
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2531
|
-
:param pulumi.Input[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 "*".
|
|
2532
|
+
:param pulumi.Input[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 "*".
|
|
2532
2533
|
"""
|
|
2533
2534
|
if api_groups is not None:
|
|
2534
2535
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2543,43 +2544,43 @@ class RuleWithOperationsPatchArgs:
|
|
|
2543
2544
|
|
|
2544
2545
|
@property
|
|
2545
2546
|
@pulumi.getter(name="apiGroups")
|
|
2546
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2547
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2547
2548
|
"""
|
|
2548
2549
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2549
2550
|
"""
|
|
2550
2551
|
return pulumi.get(self, "api_groups")
|
|
2551
2552
|
|
|
2552
2553
|
@api_groups.setter
|
|
2553
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2554
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2554
2555
|
pulumi.set(self, "api_groups", value)
|
|
2555
2556
|
|
|
2556
2557
|
@property
|
|
2557
2558
|
@pulumi.getter(name="apiVersions")
|
|
2558
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2559
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2559
2560
|
"""
|
|
2560
2561
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2561
2562
|
"""
|
|
2562
2563
|
return pulumi.get(self, "api_versions")
|
|
2563
2564
|
|
|
2564
2565
|
@api_versions.setter
|
|
2565
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2566
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2566
2567
|
pulumi.set(self, "api_versions", value)
|
|
2567
2568
|
|
|
2568
2569
|
@property
|
|
2569
2570
|
@pulumi.getter
|
|
2570
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2571
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2571
2572
|
"""
|
|
2572
2573
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2573
2574
|
"""
|
|
2574
2575
|
return pulumi.get(self, "operations")
|
|
2575
2576
|
|
|
2576
2577
|
@operations.setter
|
|
2577
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2578
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2578
2579
|
pulumi.set(self, "operations", value)
|
|
2579
2580
|
|
|
2580
2581
|
@property
|
|
2581
2582
|
@pulumi.getter
|
|
2582
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2583
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2583
2584
|
"""
|
|
2584
2585
|
Resources is a list of resources this rule applies to.
|
|
2585
2586
|
|
|
@@ -2592,19 +2593,19 @@ class RuleWithOperationsPatchArgs:
|
|
|
2592
2593
|
return pulumi.get(self, "resources")
|
|
2593
2594
|
|
|
2594
2595
|
@resources.setter
|
|
2595
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2596
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2596
2597
|
pulumi.set(self, "resources", value)
|
|
2597
2598
|
|
|
2598
2599
|
@property
|
|
2599
2600
|
@pulumi.getter
|
|
2600
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
2601
|
+
def scope(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2601
2602
|
"""
|
|
2602
2603
|
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 "*".
|
|
2603
2604
|
"""
|
|
2604
2605
|
return pulumi.get(self, "scope")
|
|
2605
2606
|
|
|
2606
2607
|
@scope.setter
|
|
2607
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
2608
|
+
def scope(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2608
2609
|
pulumi.set(self, "scope", value)
|
|
2609
2610
|
|
|
2610
2611
|
|
|
@@ -2613,19 +2614,19 @@ if not MYPY:
|
|
|
2613
2614
|
"""
|
|
2614
2615
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2615
2616
|
"""
|
|
2616
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2617
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2617
2618
|
"""
|
|
2618
2619
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2619
2620
|
"""
|
|
2620
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2621
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2621
2622
|
"""
|
|
2622
2623
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2623
2624
|
"""
|
|
2624
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2625
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2625
2626
|
"""
|
|
2626
2627
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2627
2628
|
"""
|
|
2628
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2629
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2629
2630
|
"""
|
|
2630
2631
|
Resources is a list of resources this rule applies to.
|
|
2631
2632
|
|
|
@@ -2635,7 +2636,7 @@ if not MYPY:
|
|
|
2635
2636
|
|
|
2636
2637
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2637
2638
|
"""
|
|
2638
|
-
scope: NotRequired[pulumi.Input[str]]
|
|
2639
|
+
scope: NotRequired[pulumi.Input[builtins.str]]
|
|
2639
2640
|
"""
|
|
2640
2641
|
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 "*".
|
|
2641
2642
|
"""
|
|
@@ -2645,24 +2646,24 @@ elif False:
|
|
|
2645
2646
|
@pulumi.input_type
|
|
2646
2647
|
class RuleWithOperationsArgs:
|
|
2647
2648
|
def __init__(__self__, *,
|
|
2648
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2649
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2650
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2651
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2652
|
-
scope: Optional[pulumi.Input[str]] = None):
|
|
2649
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2650
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2651
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2652
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2653
|
+
scope: Optional[pulumi.Input[builtins.str]] = None):
|
|
2653
2654
|
"""
|
|
2654
2655
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2655
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2656
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2657
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2658
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
|
|
2656
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2657
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2658
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2659
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2659
2660
|
|
|
2660
2661
|
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.
|
|
2661
2662
|
|
|
2662
2663
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2663
2664
|
|
|
2664
2665
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2665
|
-
:param pulumi.Input[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 "*".
|
|
2666
|
+
:param pulumi.Input[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 "*".
|
|
2666
2667
|
"""
|
|
2667
2668
|
if api_groups is not None:
|
|
2668
2669
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2677,43 +2678,43 @@ class RuleWithOperationsArgs:
|
|
|
2677
2678
|
|
|
2678
2679
|
@property
|
|
2679
2680
|
@pulumi.getter(name="apiGroups")
|
|
2680
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2681
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2681
2682
|
"""
|
|
2682
2683
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2683
2684
|
"""
|
|
2684
2685
|
return pulumi.get(self, "api_groups")
|
|
2685
2686
|
|
|
2686
2687
|
@api_groups.setter
|
|
2687
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2688
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2688
2689
|
pulumi.set(self, "api_groups", value)
|
|
2689
2690
|
|
|
2690
2691
|
@property
|
|
2691
2692
|
@pulumi.getter(name="apiVersions")
|
|
2692
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2693
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2693
2694
|
"""
|
|
2694
2695
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2695
2696
|
"""
|
|
2696
2697
|
return pulumi.get(self, "api_versions")
|
|
2697
2698
|
|
|
2698
2699
|
@api_versions.setter
|
|
2699
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2700
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2700
2701
|
pulumi.set(self, "api_versions", value)
|
|
2701
2702
|
|
|
2702
2703
|
@property
|
|
2703
2704
|
@pulumi.getter
|
|
2704
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2705
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2705
2706
|
"""
|
|
2706
2707
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2707
2708
|
"""
|
|
2708
2709
|
return pulumi.get(self, "operations")
|
|
2709
2710
|
|
|
2710
2711
|
@operations.setter
|
|
2711
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2712
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2712
2713
|
pulumi.set(self, "operations", value)
|
|
2713
2714
|
|
|
2714
2715
|
@property
|
|
2715
2716
|
@pulumi.getter
|
|
2716
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2717
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2717
2718
|
"""
|
|
2718
2719
|
Resources is a list of resources this rule applies to.
|
|
2719
2720
|
|
|
@@ -2726,19 +2727,19 @@ class RuleWithOperationsArgs:
|
|
|
2726
2727
|
return pulumi.get(self, "resources")
|
|
2727
2728
|
|
|
2728
2729
|
@resources.setter
|
|
2729
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2730
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2730
2731
|
pulumi.set(self, "resources", value)
|
|
2731
2732
|
|
|
2732
2733
|
@property
|
|
2733
2734
|
@pulumi.getter
|
|
2734
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
2735
|
+
def scope(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2735
2736
|
"""
|
|
2736
2737
|
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 "*".
|
|
2737
2738
|
"""
|
|
2738
2739
|
return pulumi.get(self, "scope")
|
|
2739
2740
|
|
|
2740
2741
|
@scope.setter
|
|
2741
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
2742
|
+
def scope(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2742
2743
|
pulumi.set(self, "scope", value)
|
|
2743
2744
|
|
|
2744
2745
|
|
|
@@ -2747,19 +2748,19 @@ if not MYPY:
|
|
|
2747
2748
|
"""
|
|
2748
2749
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2749
2750
|
"""
|
|
2750
|
-
name: NotRequired[pulumi.Input[str]]
|
|
2751
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
2751
2752
|
"""
|
|
2752
2753
|
`name` is the name of the service. Required
|
|
2753
2754
|
"""
|
|
2754
|
-
namespace: NotRequired[pulumi.Input[str]]
|
|
2755
|
+
namespace: NotRequired[pulumi.Input[builtins.str]]
|
|
2755
2756
|
"""
|
|
2756
2757
|
`namespace` is the namespace of the service. Required
|
|
2757
2758
|
"""
|
|
2758
|
-
path: NotRequired[pulumi.Input[str]]
|
|
2759
|
+
path: NotRequired[pulumi.Input[builtins.str]]
|
|
2759
2760
|
"""
|
|
2760
2761
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2761
2762
|
"""
|
|
2762
|
-
port: NotRequired[pulumi.Input[int]]
|
|
2763
|
+
port: NotRequired[pulumi.Input[builtins.int]]
|
|
2763
2764
|
"""
|
|
2764
2765
|
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).
|
|
2765
2766
|
"""
|
|
@@ -2769,16 +2770,16 @@ elif False:
|
|
|
2769
2770
|
@pulumi.input_type
|
|
2770
2771
|
class ServiceReferencePatchArgs:
|
|
2771
2772
|
def __init__(__self__, *,
|
|
2772
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2773
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
2774
|
-
path: Optional[pulumi.Input[str]] = None,
|
|
2775
|
-
port: Optional[pulumi.Input[int]] = None):
|
|
2773
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2774
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
2775
|
+
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
2776
|
+
port: Optional[pulumi.Input[builtins.int]] = None):
|
|
2776
2777
|
"""
|
|
2777
2778
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2778
|
-
:param pulumi.Input[str] name: `name` is the name of the service. Required
|
|
2779
|
-
:param pulumi.Input[str] namespace: `namespace` is the namespace of the service. Required
|
|
2780
|
-
:param pulumi.Input[str] path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2781
|
-
:param pulumi.Input[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).
|
|
2779
|
+
:param pulumi.Input[builtins.str] name: `name` is the name of the service. Required
|
|
2780
|
+
:param pulumi.Input[builtins.str] namespace: `namespace` is the namespace of the service. Required
|
|
2781
|
+
:param pulumi.Input[builtins.str] path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2782
|
+
:param pulumi.Input[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).
|
|
2782
2783
|
"""
|
|
2783
2784
|
if name is not None:
|
|
2784
2785
|
pulumi.set(__self__, "name", name)
|
|
@@ -2791,50 +2792,50 @@ class ServiceReferencePatchArgs:
|
|
|
2791
2792
|
|
|
2792
2793
|
@property
|
|
2793
2794
|
@pulumi.getter
|
|
2794
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2795
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2795
2796
|
"""
|
|
2796
2797
|
`name` is the name of the service. Required
|
|
2797
2798
|
"""
|
|
2798
2799
|
return pulumi.get(self, "name")
|
|
2799
2800
|
|
|
2800
2801
|
@name.setter
|
|
2801
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
2802
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2802
2803
|
pulumi.set(self, "name", value)
|
|
2803
2804
|
|
|
2804
2805
|
@property
|
|
2805
2806
|
@pulumi.getter
|
|
2806
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
2807
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2807
2808
|
"""
|
|
2808
2809
|
`namespace` is the namespace of the service. Required
|
|
2809
2810
|
"""
|
|
2810
2811
|
return pulumi.get(self, "namespace")
|
|
2811
2812
|
|
|
2812
2813
|
@namespace.setter
|
|
2813
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
2814
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2814
2815
|
pulumi.set(self, "namespace", value)
|
|
2815
2816
|
|
|
2816
2817
|
@property
|
|
2817
2818
|
@pulumi.getter
|
|
2818
|
-
def path(self) -> Optional[pulumi.Input[str]]:
|
|
2819
|
+
def path(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2819
2820
|
"""
|
|
2820
2821
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2821
2822
|
"""
|
|
2822
2823
|
return pulumi.get(self, "path")
|
|
2823
2824
|
|
|
2824
2825
|
@path.setter
|
|
2825
|
-
def path(self, value: Optional[pulumi.Input[str]]):
|
|
2826
|
+
def path(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2826
2827
|
pulumi.set(self, "path", value)
|
|
2827
2828
|
|
|
2828
2829
|
@property
|
|
2829
2830
|
@pulumi.getter
|
|
2830
|
-
def port(self) -> Optional[pulumi.Input[int]]:
|
|
2831
|
+
def port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2831
2832
|
"""
|
|
2832
2833
|
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).
|
|
2833
2834
|
"""
|
|
2834
2835
|
return pulumi.get(self, "port")
|
|
2835
2836
|
|
|
2836
2837
|
@port.setter
|
|
2837
|
-
def port(self, value: Optional[pulumi.Input[int]]):
|
|
2838
|
+
def port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2838
2839
|
pulumi.set(self, "port", value)
|
|
2839
2840
|
|
|
2840
2841
|
|
|
@@ -2843,19 +2844,19 @@ if not MYPY:
|
|
|
2843
2844
|
"""
|
|
2844
2845
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2845
2846
|
"""
|
|
2846
|
-
name: pulumi.Input[str]
|
|
2847
|
+
name: pulumi.Input[builtins.str]
|
|
2847
2848
|
"""
|
|
2848
2849
|
`name` is the name of the service. Required
|
|
2849
2850
|
"""
|
|
2850
|
-
namespace: pulumi.Input[str]
|
|
2851
|
+
namespace: pulumi.Input[builtins.str]
|
|
2851
2852
|
"""
|
|
2852
2853
|
`namespace` is the namespace of the service. Required
|
|
2853
2854
|
"""
|
|
2854
|
-
path: NotRequired[pulumi.Input[str]]
|
|
2855
|
+
path: NotRequired[pulumi.Input[builtins.str]]
|
|
2855
2856
|
"""
|
|
2856
2857
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2857
2858
|
"""
|
|
2858
|
-
port: NotRequired[pulumi.Input[int]]
|
|
2859
|
+
port: NotRequired[pulumi.Input[builtins.int]]
|
|
2859
2860
|
"""
|
|
2860
2861
|
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).
|
|
2861
2862
|
"""
|
|
@@ -2865,16 +2866,16 @@ elif False:
|
|
|
2865
2866
|
@pulumi.input_type
|
|
2866
2867
|
class ServiceReferenceArgs:
|
|
2867
2868
|
def __init__(__self__, *,
|
|
2868
|
-
name: pulumi.Input[str],
|
|
2869
|
-
namespace: pulumi.Input[str],
|
|
2870
|
-
path: Optional[pulumi.Input[str]] = None,
|
|
2871
|
-
port: Optional[pulumi.Input[int]] = None):
|
|
2869
|
+
name: pulumi.Input[builtins.str],
|
|
2870
|
+
namespace: pulumi.Input[builtins.str],
|
|
2871
|
+
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
2872
|
+
port: Optional[pulumi.Input[builtins.int]] = None):
|
|
2872
2873
|
"""
|
|
2873
2874
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2874
|
-
:param pulumi.Input[str] name: `name` is the name of the service. Required
|
|
2875
|
-
:param pulumi.Input[str] namespace: `namespace` is the namespace of the service. Required
|
|
2876
|
-
:param pulumi.Input[str] path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2877
|
-
:param pulumi.Input[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).
|
|
2875
|
+
:param pulumi.Input[builtins.str] name: `name` is the name of the service. Required
|
|
2876
|
+
:param pulumi.Input[builtins.str] namespace: `namespace` is the namespace of the service. Required
|
|
2877
|
+
:param pulumi.Input[builtins.str] path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2878
|
+
:param pulumi.Input[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).
|
|
2878
2879
|
"""
|
|
2879
2880
|
pulumi.set(__self__, "name", name)
|
|
2880
2881
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -2885,50 +2886,50 @@ class ServiceReferenceArgs:
|
|
|
2885
2886
|
|
|
2886
2887
|
@property
|
|
2887
2888
|
@pulumi.getter
|
|
2888
|
-
def name(self) -> pulumi.Input[str]:
|
|
2889
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
2889
2890
|
"""
|
|
2890
2891
|
`name` is the name of the service. Required
|
|
2891
2892
|
"""
|
|
2892
2893
|
return pulumi.get(self, "name")
|
|
2893
2894
|
|
|
2894
2895
|
@name.setter
|
|
2895
|
-
def name(self, value: pulumi.Input[str]):
|
|
2896
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
2896
2897
|
pulumi.set(self, "name", value)
|
|
2897
2898
|
|
|
2898
2899
|
@property
|
|
2899
2900
|
@pulumi.getter
|
|
2900
|
-
def namespace(self) -> pulumi.Input[str]:
|
|
2901
|
+
def namespace(self) -> pulumi.Input[builtins.str]:
|
|
2901
2902
|
"""
|
|
2902
2903
|
`namespace` is the namespace of the service. Required
|
|
2903
2904
|
"""
|
|
2904
2905
|
return pulumi.get(self, "namespace")
|
|
2905
2906
|
|
|
2906
2907
|
@namespace.setter
|
|
2907
|
-
def namespace(self, value: pulumi.Input[str]):
|
|
2908
|
+
def namespace(self, value: pulumi.Input[builtins.str]):
|
|
2908
2909
|
pulumi.set(self, "namespace", value)
|
|
2909
2910
|
|
|
2910
2911
|
@property
|
|
2911
2912
|
@pulumi.getter
|
|
2912
|
-
def path(self) -> Optional[pulumi.Input[str]]:
|
|
2913
|
+
def path(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2913
2914
|
"""
|
|
2914
2915
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2915
2916
|
"""
|
|
2916
2917
|
return pulumi.get(self, "path")
|
|
2917
2918
|
|
|
2918
2919
|
@path.setter
|
|
2919
|
-
def path(self, value: Optional[pulumi.Input[str]]):
|
|
2920
|
+
def path(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2920
2921
|
pulumi.set(self, "path", value)
|
|
2921
2922
|
|
|
2922
2923
|
@property
|
|
2923
2924
|
@pulumi.getter
|
|
2924
|
-
def port(self) -> Optional[pulumi.Input[int]]:
|
|
2925
|
+
def port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2925
2926
|
"""
|
|
2926
2927
|
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).
|
|
2927
2928
|
"""
|
|
2928
2929
|
return pulumi.get(self, "port")
|
|
2929
2930
|
|
|
2930
2931
|
@port.setter
|
|
2931
|
-
def port(self, value: Optional[pulumi.Input[int]]):
|
|
2932
|
+
def port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2932
2933
|
pulumi.set(self, "port", value)
|
|
2933
2934
|
|
|
2934
2935
|
|
|
@@ -2981,11 +2982,11 @@ if not MYPY:
|
|
|
2981
2982
|
"""
|
|
2982
2983
|
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.
|
|
2983
2984
|
"""
|
|
2984
|
-
policy_name: NotRequired[pulumi.Input[str]]
|
|
2985
|
+
policy_name: NotRequired[pulumi.Input[builtins.str]]
|
|
2985
2986
|
"""
|
|
2986
2987
|
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.
|
|
2987
2988
|
"""
|
|
2988
|
-
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2989
|
+
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2989
2990
|
"""
|
|
2990
2991
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2991
2992
|
|
|
@@ -3015,14 +3016,14 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3015
3016
|
def __init__(__self__, *,
|
|
3016
3017
|
match_resources: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
3017
3018
|
param_ref: Optional[pulumi.Input['ParamRefPatchArgs']] = None,
|
|
3018
|
-
policy_name: Optional[pulumi.Input[str]] = None,
|
|
3019
|
-
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
3019
|
+
policy_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
3020
|
+
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
3020
3021
|
"""
|
|
3021
3022
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
3022
3023
|
:param pulumi.Input['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.
|
|
3023
3024
|
:param pulumi.Input['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.
|
|
3024
|
-
:param pulumi.Input[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.
|
|
3025
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
3025
|
+
:param pulumi.Input[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.
|
|
3026
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
3026
3027
|
|
|
3027
3028
|
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.
|
|
3028
3029
|
|
|
@@ -3077,19 +3078,19 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3077
3078
|
|
|
3078
3079
|
@property
|
|
3079
3080
|
@pulumi.getter(name="policyName")
|
|
3080
|
-
def policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
3081
|
+
def policy_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3081
3082
|
"""
|
|
3082
3083
|
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.
|
|
3083
3084
|
"""
|
|
3084
3085
|
return pulumi.get(self, "policy_name")
|
|
3085
3086
|
|
|
3086
3087
|
@policy_name.setter
|
|
3087
|
-
def policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
3088
|
+
def policy_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3088
3089
|
pulumi.set(self, "policy_name", value)
|
|
3089
3090
|
|
|
3090
3091
|
@property
|
|
3091
3092
|
@pulumi.getter(name="validationActions")
|
|
3092
|
-
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3093
|
+
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
3093
3094
|
"""
|
|
3094
3095
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3095
3096
|
|
|
@@ -3114,7 +3115,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3114
3115
|
return pulumi.get(self, "validation_actions")
|
|
3115
3116
|
|
|
3116
3117
|
@validation_actions.setter
|
|
3117
|
-
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
3118
|
+
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
3118
3119
|
pulumi.set(self, "validation_actions", value)
|
|
3119
3120
|
|
|
3120
3121
|
|
|
@@ -3131,11 +3132,11 @@ if not MYPY:
|
|
|
3131
3132
|
"""
|
|
3132
3133
|
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.
|
|
3133
3134
|
"""
|
|
3134
|
-
policy_name: NotRequired[pulumi.Input[str]]
|
|
3135
|
+
policy_name: NotRequired[pulumi.Input[builtins.str]]
|
|
3135
3136
|
"""
|
|
3136
3137
|
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.
|
|
3137
3138
|
"""
|
|
3138
|
-
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
3139
|
+
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
3139
3140
|
"""
|
|
3140
3141
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3141
3142
|
|
|
@@ -3165,14 +3166,14 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3165
3166
|
def __init__(__self__, *,
|
|
3166
3167
|
match_resources: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
3167
3168
|
param_ref: Optional[pulumi.Input['ParamRefArgs']] = None,
|
|
3168
|
-
policy_name: Optional[pulumi.Input[str]] = None,
|
|
3169
|
-
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
3169
|
+
policy_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
3170
|
+
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
3170
3171
|
"""
|
|
3171
3172
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
3172
3173
|
:param pulumi.Input['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.
|
|
3173
3174
|
:param pulumi.Input['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.
|
|
3174
|
-
:param pulumi.Input[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.
|
|
3175
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
3175
|
+
:param pulumi.Input[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.
|
|
3176
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
3176
3177
|
|
|
3177
3178
|
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.
|
|
3178
3179
|
|
|
@@ -3227,19 +3228,19 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3227
3228
|
|
|
3228
3229
|
@property
|
|
3229
3230
|
@pulumi.getter(name="policyName")
|
|
3230
|
-
def policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
3231
|
+
def policy_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3231
3232
|
"""
|
|
3232
3233
|
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.
|
|
3233
3234
|
"""
|
|
3234
3235
|
return pulumi.get(self, "policy_name")
|
|
3235
3236
|
|
|
3236
3237
|
@policy_name.setter
|
|
3237
|
-
def policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
3238
|
+
def policy_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3238
3239
|
pulumi.set(self, "policy_name", value)
|
|
3239
3240
|
|
|
3240
3241
|
@property
|
|
3241
3242
|
@pulumi.getter(name="validationActions")
|
|
3242
|
-
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3243
|
+
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
3243
3244
|
"""
|
|
3244
3245
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3245
3246
|
|
|
@@ -3264,7 +3265,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3264
3265
|
return pulumi.get(self, "validation_actions")
|
|
3265
3266
|
|
|
3266
3267
|
@validation_actions.setter
|
|
3267
|
-
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
3268
|
+
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
3268
3269
|
pulumi.set(self, "validation_actions", value)
|
|
3269
3270
|
|
|
3270
3271
|
|
|
@@ -3277,11 +3278,11 @@ if not MYPY:
|
|
|
3277
3278
|
|
|
3278
3279
|
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.
|
|
3279
3280
|
"""
|
|
3280
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
3281
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
3281
3282
|
"""
|
|
3282
3283
|
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
|
|
3283
3284
|
"""
|
|
3284
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
3285
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
3285
3286
|
"""
|
|
3286
3287
|
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
|
|
3287
3288
|
"""
|
|
@@ -3299,8 +3300,8 @@ elif False:
|
|
|
3299
3300
|
@pulumi.input_type
|
|
3300
3301
|
class ValidatingAdmissionPolicyBindingArgs:
|
|
3301
3302
|
def __init__(__self__, *,
|
|
3302
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
3303
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
3303
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
3304
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
3304
3305
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
3305
3306
|
spec: Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']] = None):
|
|
3306
3307
|
"""
|
|
@@ -3309,8 +3310,8 @@ class ValidatingAdmissionPolicyBindingArgs:
|
|
|
3309
3310
|
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.
|
|
3310
3311
|
|
|
3311
3312
|
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.
|
|
3312
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
3313
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3313
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
3314
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3314
3315
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
3315
3316
|
:param pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
3316
3317
|
"""
|
|
@@ -3325,26 +3326,26 @@ class ValidatingAdmissionPolicyBindingArgs:
|
|
|
3325
3326
|
|
|
3326
3327
|
@property
|
|
3327
3328
|
@pulumi.getter(name="apiVersion")
|
|
3328
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
3329
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3329
3330
|
"""
|
|
3330
3331
|
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
|
|
3331
3332
|
"""
|
|
3332
3333
|
return pulumi.get(self, "api_version")
|
|
3333
3334
|
|
|
3334
3335
|
@api_version.setter
|
|
3335
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
3336
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3336
3337
|
pulumi.set(self, "api_version", value)
|
|
3337
3338
|
|
|
3338
3339
|
@property
|
|
3339
3340
|
@pulumi.getter
|
|
3340
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
3341
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3341
3342
|
"""
|
|
3342
3343
|
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
|
|
3343
3344
|
"""
|
|
3344
3345
|
return pulumi.get(self, "kind")
|
|
3345
3346
|
|
|
3346
3347
|
@kind.setter
|
|
3347
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
3348
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3348
3349
|
pulumi.set(self, "kind", value)
|
|
3349
3350
|
|
|
3350
3351
|
@property
|
|
@@ -3381,7 +3382,7 @@ if not MYPY:
|
|
|
3381
3382
|
"""
|
|
3382
3383
|
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.
|
|
3383
3384
|
"""
|
|
3384
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
3385
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
3385
3386
|
"""
|
|
3386
3387
|
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.
|
|
3387
3388
|
|
|
@@ -3431,7 +3432,7 @@ elif False:
|
|
|
3431
3432
|
class ValidatingAdmissionPolicySpecPatchArgs:
|
|
3432
3433
|
def __init__(__self__, *,
|
|
3433
3434
|
audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]] = None,
|
|
3434
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
3435
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
3435
3436
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
|
|
3436
3437
|
match_constraints: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
3437
3438
|
param_kind: Optional[pulumi.Input['ParamKindPatchArgs']] = None,
|
|
@@ -3440,7 +3441,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3440
3441
|
"""
|
|
3441
3442
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
3442
3443
|
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
3443
|
-
:param pulumi.Input[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.
|
|
3444
|
+
:param pulumi.Input[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.
|
|
3444
3445
|
|
|
3445
3446
|
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.
|
|
3446
3447
|
|
|
@@ -3495,7 +3496,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3495
3496
|
|
|
3496
3497
|
@property
|
|
3497
3498
|
@pulumi.getter(name="failurePolicy")
|
|
3498
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
3499
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3499
3500
|
"""
|
|
3500
3501
|
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.
|
|
3501
3502
|
|
|
@@ -3510,7 +3511,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3510
3511
|
return pulumi.get(self, "failure_policy")
|
|
3511
3512
|
|
|
3512
3513
|
@failure_policy.setter
|
|
3513
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
3514
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3514
3515
|
pulumi.set(self, "failure_policy", value)
|
|
3515
3516
|
|
|
3516
3517
|
@property
|
|
@@ -3594,7 +3595,7 @@ if not MYPY:
|
|
|
3594
3595
|
"""
|
|
3595
3596
|
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.
|
|
3596
3597
|
"""
|
|
3597
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
3598
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
3598
3599
|
"""
|
|
3599
3600
|
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.
|
|
3600
3601
|
|
|
@@ -3644,7 +3645,7 @@ elif False:
|
|
|
3644
3645
|
class ValidatingAdmissionPolicySpecArgs:
|
|
3645
3646
|
def __init__(__self__, *,
|
|
3646
3647
|
audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]] = None,
|
|
3647
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
3648
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
3648
3649
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
|
|
3649
3650
|
match_constraints: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
3650
3651
|
param_kind: Optional[pulumi.Input['ParamKindArgs']] = None,
|
|
@@ -3653,7 +3654,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3653
3654
|
"""
|
|
3654
3655
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
3655
3656
|
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
3656
|
-
:param pulumi.Input[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.
|
|
3657
|
+
:param pulumi.Input[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.
|
|
3657
3658
|
|
|
3658
3659
|
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.
|
|
3659
3660
|
|
|
@@ -3708,7 +3709,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3708
3709
|
|
|
3709
3710
|
@property
|
|
3710
3711
|
@pulumi.getter(name="failurePolicy")
|
|
3711
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
3712
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3712
3713
|
"""
|
|
3713
3714
|
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.
|
|
3714
3715
|
|
|
@@ -3723,7 +3724,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3723
3724
|
return pulumi.get(self, "failure_policy")
|
|
3724
3725
|
|
|
3725
3726
|
@failure_policy.setter
|
|
3726
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
3727
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3727
3728
|
pulumi.set(self, "failure_policy", value)
|
|
3728
3729
|
|
|
3729
3730
|
@property
|
|
@@ -3807,7 +3808,7 @@ if not MYPY:
|
|
|
3807
3808
|
"""
|
|
3808
3809
|
The conditions represent the latest available observations of a policy's current state.
|
|
3809
3810
|
"""
|
|
3810
|
-
observed_generation: NotRequired[pulumi.Input[int]]
|
|
3811
|
+
observed_generation: NotRequired[pulumi.Input[builtins.int]]
|
|
3811
3812
|
"""
|
|
3812
3813
|
The generation observed by the controller.
|
|
3813
3814
|
"""
|
|
@@ -3822,12 +3823,12 @@ elif False:
|
|
|
3822
3823
|
class ValidatingAdmissionPolicyStatusArgs:
|
|
3823
3824
|
def __init__(__self__, *,
|
|
3824
3825
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]] = None,
|
|
3825
|
-
observed_generation: Optional[pulumi.Input[int]] = None,
|
|
3826
|
+
observed_generation: Optional[pulumi.Input[builtins.int]] = None,
|
|
3826
3827
|
type_checking: Optional[pulumi.Input['TypeCheckingArgs']] = None):
|
|
3827
3828
|
"""
|
|
3828
3829
|
ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
|
|
3829
3830
|
:param pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3830
|
-
:param pulumi.Input[int] observed_generation: The generation observed by the controller.
|
|
3831
|
+
:param pulumi.Input[builtins.int] observed_generation: The generation observed by the controller.
|
|
3831
3832
|
:param pulumi.Input['TypeCheckingArgs'] type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
3832
3833
|
"""
|
|
3833
3834
|
if conditions is not None:
|
|
@@ -3851,14 +3852,14 @@ class ValidatingAdmissionPolicyStatusArgs:
|
|
|
3851
3852
|
|
|
3852
3853
|
@property
|
|
3853
3854
|
@pulumi.getter(name="observedGeneration")
|
|
3854
|
-
def observed_generation(self) -> Optional[pulumi.Input[int]]:
|
|
3855
|
+
def observed_generation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3855
3856
|
"""
|
|
3856
3857
|
The generation observed by the controller.
|
|
3857
3858
|
"""
|
|
3858
3859
|
return pulumi.get(self, "observed_generation")
|
|
3859
3860
|
|
|
3860
3861
|
@observed_generation.setter
|
|
3861
|
-
def observed_generation(self, value: Optional[pulumi.Input[int]]):
|
|
3862
|
+
def observed_generation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3862
3863
|
pulumi.set(self, "observed_generation", value)
|
|
3863
3864
|
|
|
3864
3865
|
@property
|
|
@@ -3879,11 +3880,11 @@ if not MYPY:
|
|
|
3879
3880
|
"""
|
|
3880
3881
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
3881
3882
|
"""
|
|
3882
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
3883
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
3883
3884
|
"""
|
|
3884
3885
|
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
|
|
3885
3886
|
"""
|
|
3886
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
3887
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
3887
3888
|
"""
|
|
3888
3889
|
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
|
|
3889
3890
|
"""
|
|
@@ -3905,15 +3906,15 @@ elif False:
|
|
|
3905
3906
|
@pulumi.input_type
|
|
3906
3907
|
class ValidatingAdmissionPolicyArgs:
|
|
3907
3908
|
def __init__(__self__, *,
|
|
3908
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
3909
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
3909
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
3910
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
3910
3911
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
3911
3912
|
spec: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']] = None,
|
|
3912
3913
|
status: Optional[pulumi.Input['ValidatingAdmissionPolicyStatusArgs']] = None):
|
|
3913
3914
|
"""
|
|
3914
3915
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
3915
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
3916
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3916
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
3917
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3917
3918
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
3918
3919
|
:param pulumi.Input['ValidatingAdmissionPolicySpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
3919
3920
|
:param pulumi.Input['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.
|
|
@@ -3931,26 +3932,26 @@ class ValidatingAdmissionPolicyArgs:
|
|
|
3931
3932
|
|
|
3932
3933
|
@property
|
|
3933
3934
|
@pulumi.getter(name="apiVersion")
|
|
3934
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
3935
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3935
3936
|
"""
|
|
3936
3937
|
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
|
|
3937
3938
|
"""
|
|
3938
3939
|
return pulumi.get(self, "api_version")
|
|
3939
3940
|
|
|
3940
3941
|
@api_version.setter
|
|
3941
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
3942
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3942
3943
|
pulumi.set(self, "api_version", value)
|
|
3943
3944
|
|
|
3944
3945
|
@property
|
|
3945
3946
|
@pulumi.getter
|
|
3946
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
3947
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3947
3948
|
"""
|
|
3948
3949
|
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
|
|
3949
3950
|
"""
|
|
3950
3951
|
return pulumi.get(self, "kind")
|
|
3951
3952
|
|
|
3952
3953
|
@kind.setter
|
|
3953
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
3954
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3954
3955
|
pulumi.set(self, "kind", value)
|
|
3955
3956
|
|
|
3956
3957
|
@property
|
|
@@ -3995,11 +3996,11 @@ if not MYPY:
|
|
|
3995
3996
|
"""
|
|
3996
3997
|
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.
|
|
3997
3998
|
"""
|
|
3998
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
3999
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
3999
4000
|
"""
|
|
4000
4001
|
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
|
|
4001
4002
|
"""
|
|
4002
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
4003
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
4003
4004
|
"""
|
|
4004
4005
|
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
|
|
4005
4006
|
"""
|
|
@@ -4017,14 +4018,14 @@ elif False:
|
|
|
4017
4018
|
@pulumi.input_type
|
|
4018
4019
|
class ValidatingWebhookConfigurationArgs:
|
|
4019
4020
|
def __init__(__self__, *,
|
|
4020
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
4021
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
4021
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
4022
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
4022
4023
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
4023
4024
|
webhooks: Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]] = None):
|
|
4024
4025
|
"""
|
|
4025
4026
|
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.
|
|
4026
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
4027
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
4027
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
4028
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
4028
4029
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
4029
4030
|
:param pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
4030
4031
|
"""
|
|
@@ -4039,26 +4040,26 @@ class ValidatingWebhookConfigurationArgs:
|
|
|
4039
4040
|
|
|
4040
4041
|
@property
|
|
4041
4042
|
@pulumi.getter(name="apiVersion")
|
|
4042
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
4043
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4043
4044
|
"""
|
|
4044
4045
|
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
|
|
4045
4046
|
"""
|
|
4046
4047
|
return pulumi.get(self, "api_version")
|
|
4047
4048
|
|
|
4048
4049
|
@api_version.setter
|
|
4049
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
4050
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4050
4051
|
pulumi.set(self, "api_version", value)
|
|
4051
4052
|
|
|
4052
4053
|
@property
|
|
4053
4054
|
@pulumi.getter
|
|
4054
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
4055
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4055
4056
|
"""
|
|
4056
4057
|
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
|
|
4057
4058
|
"""
|
|
4058
4059
|
return pulumi.get(self, "kind")
|
|
4059
4060
|
|
|
4060
4061
|
@kind.setter
|
|
4061
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
4062
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4062
4063
|
pulumi.set(self, "kind", value)
|
|
4063
4064
|
|
|
4064
4065
|
@property
|
|
@@ -4091,7 +4092,7 @@ if not MYPY:
|
|
|
4091
4092
|
"""
|
|
4092
4093
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
4093
4094
|
"""
|
|
4094
|
-
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4095
|
+
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
4095
4096
|
"""
|
|
4096
4097
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
4097
4098
|
"""
|
|
@@ -4099,11 +4100,11 @@ if not MYPY:
|
|
|
4099
4100
|
"""
|
|
4100
4101
|
ClientConfig defines how to communicate with the hook. Required
|
|
4101
4102
|
"""
|
|
4102
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
4103
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
4103
4104
|
"""
|
|
4104
4105
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
4105
4106
|
"""
|
|
4106
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
4107
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
4107
4108
|
"""
|
|
4108
4109
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4109
4110
|
|
|
@@ -4113,7 +4114,7 @@ if not MYPY:
|
|
|
4113
4114
|
|
|
4114
4115
|
Defaults to "Exact"
|
|
4115
4116
|
"""
|
|
4116
|
-
name: NotRequired[pulumi.Input[str]]
|
|
4117
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
4117
4118
|
"""
|
|
4118
4119
|
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.
|
|
4119
4120
|
"""
|
|
@@ -4159,11 +4160,11 @@ if not MYPY:
|
|
|
4159
4160
|
"""
|
|
4160
4161
|
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.
|
|
4161
4162
|
"""
|
|
4162
|
-
side_effects: NotRequired[pulumi.Input[str]]
|
|
4163
|
+
side_effects: NotRequired[pulumi.Input[builtins.str]]
|
|
4163
4164
|
"""
|
|
4164
4165
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
4165
4166
|
"""
|
|
4166
|
-
timeout_seconds: NotRequired[pulumi.Input[int]]
|
|
4167
|
+
timeout_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
4167
4168
|
"""
|
|
4168
4169
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
4169
4170
|
"""
|
|
@@ -4173,29 +4174,29 @@ elif False:
|
|
|
4173
4174
|
@pulumi.input_type
|
|
4174
4175
|
class ValidatingWebhookPatchArgs:
|
|
4175
4176
|
def __init__(__self__, *,
|
|
4176
|
-
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
4177
|
+
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
4177
4178
|
client_config: Optional[pulumi.Input['WebhookClientConfigPatchArgs']] = None,
|
|
4178
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
4179
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
4180
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
4179
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
4180
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
4181
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
4181
4182
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
4182
4183
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
4183
4184
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]] = None,
|
|
4184
|
-
side_effects: Optional[pulumi.Input[str]] = None,
|
|
4185
|
-
timeout_seconds: Optional[pulumi.Input[int]] = None):
|
|
4185
|
+
side_effects: Optional[pulumi.Input[builtins.str]] = None,
|
|
4186
|
+
timeout_seconds: Optional[pulumi.Input[builtins.int]] = None):
|
|
4186
4187
|
"""
|
|
4187
4188
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
4188
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
4189
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
4189
4190
|
:param pulumi.Input['WebhookClientConfigPatchArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
4190
|
-
:param pulumi.Input[str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
4191
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4191
|
+
:param pulumi.Input[builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
4192
|
+
:param pulumi.Input[builtins.str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4192
4193
|
|
|
4193
4194
|
- 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.
|
|
4194
4195
|
|
|
4195
4196
|
- 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.
|
|
4196
4197
|
|
|
4197
4198
|
Defaults to "Exact"
|
|
4198
|
-
:param pulumi.Input[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.
|
|
4199
|
+
:param pulumi.Input[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.
|
|
4199
4200
|
:param pulumi.Input['_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.
|
|
4200
4201
|
|
|
4201
4202
|
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": {
|
|
@@ -4229,8 +4230,8 @@ class ValidatingWebhookPatchArgs:
|
|
|
4229
4230
|
Default to the empty LabelSelector, which matches everything.
|
|
4230
4231
|
:param pulumi.Input['_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.
|
|
4231
4232
|
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
4232
|
-
:param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
4233
|
-
:param pulumi.Input[int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
4233
|
+
:param pulumi.Input[builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
4234
|
+
:param pulumi.Input[builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
4234
4235
|
"""
|
|
4235
4236
|
if admission_review_versions is not None:
|
|
4236
4237
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -4255,14 +4256,14 @@ class ValidatingWebhookPatchArgs:
|
|
|
4255
4256
|
|
|
4256
4257
|
@property
|
|
4257
4258
|
@pulumi.getter(name="admissionReviewVersions")
|
|
4258
|
-
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
4259
|
+
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
4259
4260
|
"""
|
|
4260
4261
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
4261
4262
|
"""
|
|
4262
4263
|
return pulumi.get(self, "admission_review_versions")
|
|
4263
4264
|
|
|
4264
4265
|
@admission_review_versions.setter
|
|
4265
|
-
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
4266
|
+
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
4266
4267
|
pulumi.set(self, "admission_review_versions", value)
|
|
4267
4268
|
|
|
4268
4269
|
@property
|
|
@@ -4279,19 +4280,19 @@ class ValidatingWebhookPatchArgs:
|
|
|
4279
4280
|
|
|
4280
4281
|
@property
|
|
4281
4282
|
@pulumi.getter(name="failurePolicy")
|
|
4282
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
4283
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4283
4284
|
"""
|
|
4284
4285
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
4285
4286
|
"""
|
|
4286
4287
|
return pulumi.get(self, "failure_policy")
|
|
4287
4288
|
|
|
4288
4289
|
@failure_policy.setter
|
|
4289
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
4290
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4290
4291
|
pulumi.set(self, "failure_policy", value)
|
|
4291
4292
|
|
|
4292
4293
|
@property
|
|
4293
4294
|
@pulumi.getter(name="matchPolicy")
|
|
4294
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
4295
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4295
4296
|
"""
|
|
4296
4297
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4297
4298
|
|
|
@@ -4304,19 +4305,19 @@ class ValidatingWebhookPatchArgs:
|
|
|
4304
4305
|
return pulumi.get(self, "match_policy")
|
|
4305
4306
|
|
|
4306
4307
|
@match_policy.setter
|
|
4307
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
4308
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4308
4309
|
pulumi.set(self, "match_policy", value)
|
|
4309
4310
|
|
|
4310
4311
|
@property
|
|
4311
4312
|
@pulumi.getter
|
|
4312
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
4313
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4313
4314
|
"""
|
|
4314
4315
|
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.
|
|
4315
4316
|
"""
|
|
4316
4317
|
return pulumi.get(self, "name")
|
|
4317
4318
|
|
|
4318
4319
|
@name.setter
|
|
4319
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
4320
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4320
4321
|
pulumi.set(self, "name", value)
|
|
4321
4322
|
|
|
4322
4323
|
@property
|
|
@@ -4387,26 +4388,26 @@ class ValidatingWebhookPatchArgs:
|
|
|
4387
4388
|
|
|
4388
4389
|
@property
|
|
4389
4390
|
@pulumi.getter(name="sideEffects")
|
|
4390
|
-
def side_effects(self) -> Optional[pulumi.Input[str]]:
|
|
4391
|
+
def side_effects(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4391
4392
|
"""
|
|
4392
4393
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
4393
4394
|
"""
|
|
4394
4395
|
return pulumi.get(self, "side_effects")
|
|
4395
4396
|
|
|
4396
4397
|
@side_effects.setter
|
|
4397
|
-
def side_effects(self, value: Optional[pulumi.Input[str]]):
|
|
4398
|
+
def side_effects(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4398
4399
|
pulumi.set(self, "side_effects", value)
|
|
4399
4400
|
|
|
4400
4401
|
@property
|
|
4401
4402
|
@pulumi.getter(name="timeoutSeconds")
|
|
4402
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
4403
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
4403
4404
|
"""
|
|
4404
4405
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
4405
4406
|
"""
|
|
4406
4407
|
return pulumi.get(self, "timeout_seconds")
|
|
4407
4408
|
|
|
4408
4409
|
@timeout_seconds.setter
|
|
4409
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
4410
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
4410
4411
|
pulumi.set(self, "timeout_seconds", value)
|
|
4411
4412
|
|
|
4412
4413
|
|
|
@@ -4419,19 +4420,19 @@ if not MYPY:
|
|
|
4419
4420
|
"""
|
|
4420
4421
|
ClientConfig defines how to communicate with the hook. Required
|
|
4421
4422
|
"""
|
|
4422
|
-
name: pulumi.Input[str]
|
|
4423
|
+
name: pulumi.Input[builtins.str]
|
|
4423
4424
|
"""
|
|
4424
4425
|
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.
|
|
4425
4426
|
"""
|
|
4426
|
-
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4427
|
+
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
4427
4428
|
"""
|
|
4428
4429
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
4429
4430
|
"""
|
|
4430
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
4431
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
4431
4432
|
"""
|
|
4432
4433
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
4433
4434
|
"""
|
|
4434
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
4435
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
4435
4436
|
"""
|
|
4436
4437
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4437
4438
|
|
|
@@ -4483,11 +4484,11 @@ if not MYPY:
|
|
|
4483
4484
|
"""
|
|
4484
4485
|
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.
|
|
4485
4486
|
"""
|
|
4486
|
-
side_effects: NotRequired[pulumi.Input[str]]
|
|
4487
|
+
side_effects: NotRequired[pulumi.Input[builtins.str]]
|
|
4487
4488
|
"""
|
|
4488
4489
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
4489
4490
|
"""
|
|
4490
|
-
timeout_seconds: NotRequired[pulumi.Input[int]]
|
|
4491
|
+
timeout_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
4491
4492
|
"""
|
|
4492
4493
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
4493
4494
|
"""
|
|
@@ -4498,22 +4499,22 @@ elif False:
|
|
|
4498
4499
|
class ValidatingWebhookArgs:
|
|
4499
4500
|
def __init__(__self__, *,
|
|
4500
4501
|
client_config: pulumi.Input['WebhookClientConfigArgs'],
|
|
4501
|
-
name: pulumi.Input[str],
|
|
4502
|
-
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
4503
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
4504
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
4502
|
+
name: pulumi.Input[builtins.str],
|
|
4503
|
+
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
4504
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
4505
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
4505
4506
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
4506
4507
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
4507
4508
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]] = None,
|
|
4508
|
-
side_effects: Optional[pulumi.Input[str]] = None,
|
|
4509
|
-
timeout_seconds: Optional[pulumi.Input[int]] = None):
|
|
4509
|
+
side_effects: Optional[pulumi.Input[builtins.str]] = None,
|
|
4510
|
+
timeout_seconds: Optional[pulumi.Input[builtins.int]] = None):
|
|
4510
4511
|
"""
|
|
4511
4512
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
4512
4513
|
:param pulumi.Input['WebhookClientConfigArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
4513
|
-
:param pulumi.Input[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.
|
|
4514
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
4515
|
-
:param pulumi.Input[str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
4516
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4514
|
+
:param pulumi.Input[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.
|
|
4515
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
4516
|
+
:param pulumi.Input[builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
4517
|
+
:param pulumi.Input[builtins.str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4517
4518
|
|
|
4518
4519
|
- 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.
|
|
4519
4520
|
|
|
@@ -4553,8 +4554,8 @@ class ValidatingWebhookArgs:
|
|
|
4553
4554
|
Default to the empty LabelSelector, which matches everything.
|
|
4554
4555
|
:param pulumi.Input['_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.
|
|
4555
4556
|
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
4556
|
-
:param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
4557
|
-
:param pulumi.Input[int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
4557
|
+
:param pulumi.Input[builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
4558
|
+
:param pulumi.Input[builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
4558
4559
|
"""
|
|
4559
4560
|
pulumi.set(__self__, "client_config", client_config)
|
|
4560
4561
|
pulumi.set(__self__, "name", name)
|
|
@@ -4589,43 +4590,43 @@ class ValidatingWebhookArgs:
|
|
|
4589
4590
|
|
|
4590
4591
|
@property
|
|
4591
4592
|
@pulumi.getter
|
|
4592
|
-
def name(self) -> pulumi.Input[str]:
|
|
4593
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
4593
4594
|
"""
|
|
4594
4595
|
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.
|
|
4595
4596
|
"""
|
|
4596
4597
|
return pulumi.get(self, "name")
|
|
4597
4598
|
|
|
4598
4599
|
@name.setter
|
|
4599
|
-
def name(self, value: pulumi.Input[str]):
|
|
4600
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
4600
4601
|
pulumi.set(self, "name", value)
|
|
4601
4602
|
|
|
4602
4603
|
@property
|
|
4603
4604
|
@pulumi.getter(name="admissionReviewVersions")
|
|
4604
|
-
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
4605
|
+
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
4605
4606
|
"""
|
|
4606
4607
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
4607
4608
|
"""
|
|
4608
4609
|
return pulumi.get(self, "admission_review_versions")
|
|
4609
4610
|
|
|
4610
4611
|
@admission_review_versions.setter
|
|
4611
|
-
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
4612
|
+
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
4612
4613
|
pulumi.set(self, "admission_review_versions", value)
|
|
4613
4614
|
|
|
4614
4615
|
@property
|
|
4615
4616
|
@pulumi.getter(name="failurePolicy")
|
|
4616
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
4617
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4617
4618
|
"""
|
|
4618
4619
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
4619
4620
|
"""
|
|
4620
4621
|
return pulumi.get(self, "failure_policy")
|
|
4621
4622
|
|
|
4622
4623
|
@failure_policy.setter
|
|
4623
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
4624
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4624
4625
|
pulumi.set(self, "failure_policy", value)
|
|
4625
4626
|
|
|
4626
4627
|
@property
|
|
4627
4628
|
@pulumi.getter(name="matchPolicy")
|
|
4628
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
4629
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4629
4630
|
"""
|
|
4630
4631
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4631
4632
|
|
|
@@ -4638,7 +4639,7 @@ class ValidatingWebhookArgs:
|
|
|
4638
4639
|
return pulumi.get(self, "match_policy")
|
|
4639
4640
|
|
|
4640
4641
|
@match_policy.setter
|
|
4641
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
4642
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4642
4643
|
pulumi.set(self, "match_policy", value)
|
|
4643
4644
|
|
|
4644
4645
|
@property
|
|
@@ -4709,26 +4710,26 @@ class ValidatingWebhookArgs:
|
|
|
4709
4710
|
|
|
4710
4711
|
@property
|
|
4711
4712
|
@pulumi.getter(name="sideEffects")
|
|
4712
|
-
def side_effects(self) -> Optional[pulumi.Input[str]]:
|
|
4713
|
+
def side_effects(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4713
4714
|
"""
|
|
4714
4715
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
4715
4716
|
"""
|
|
4716
4717
|
return pulumi.get(self, "side_effects")
|
|
4717
4718
|
|
|
4718
4719
|
@side_effects.setter
|
|
4719
|
-
def side_effects(self, value: Optional[pulumi.Input[str]]):
|
|
4720
|
+
def side_effects(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4720
4721
|
pulumi.set(self, "side_effects", value)
|
|
4721
4722
|
|
|
4722
4723
|
@property
|
|
4723
4724
|
@pulumi.getter(name="timeoutSeconds")
|
|
4724
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
4725
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
4725
4726
|
"""
|
|
4726
4727
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
4727
4728
|
"""
|
|
4728
4729
|
return pulumi.get(self, "timeout_seconds")
|
|
4729
4730
|
|
|
4730
4731
|
@timeout_seconds.setter
|
|
4731
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
4732
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
4732
4733
|
pulumi.set(self, "timeout_seconds", value)
|
|
4733
4734
|
|
|
4734
4735
|
|
|
@@ -4737,7 +4738,7 @@ if not MYPY:
|
|
|
4737
4738
|
"""
|
|
4738
4739
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4739
4740
|
"""
|
|
4740
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
4741
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
4741
4742
|
"""
|
|
4742
4743
|
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:
|
|
4743
4744
|
|
|
@@ -4766,15 +4767,15 @@ if not MYPY:
|
|
|
4766
4767
|
non-intersecting keys are appended, retaining their partial order.
|
|
4767
4768
|
Required.
|
|
4768
4769
|
"""
|
|
4769
|
-
message: NotRequired[pulumi.Input[str]]
|
|
4770
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
4770
4771
|
"""
|
|
4771
4772
|
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}".
|
|
4772
4773
|
"""
|
|
4773
|
-
message_expression: NotRequired[pulumi.Input[str]]
|
|
4774
|
+
message_expression: NotRequired[pulumi.Input[builtins.str]]
|
|
4774
4775
|
"""
|
|
4775
4776
|
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)+")"
|
|
4776
4777
|
"""
|
|
4777
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
4778
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
4778
4779
|
"""
|
|
4779
4780
|
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.
|
|
4780
4781
|
"""
|
|
@@ -4784,13 +4785,13 @@ elif False:
|
|
|
4784
4785
|
@pulumi.input_type
|
|
4785
4786
|
class ValidationPatchArgs:
|
|
4786
4787
|
def __init__(__self__, *,
|
|
4787
|
-
expression: Optional[pulumi.Input[str]] = None,
|
|
4788
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
4789
|
-
message_expression: Optional[pulumi.Input[str]] = None,
|
|
4790
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
4788
|
+
expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
4789
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
4790
|
+
message_expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
4791
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
4791
4792
|
"""
|
|
4792
4793
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4793
|
-
:param pulumi.Input[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:
|
|
4794
|
+
:param pulumi.Input[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:
|
|
4794
4795
|
|
|
4795
4796
|
- '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.
|
|
4796
4797
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -4816,9 +4817,9 @@ class ValidationPatchArgs:
|
|
|
4816
4817
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
4817
4818
|
non-intersecting keys are appended, retaining their partial order.
|
|
4818
4819
|
Required.
|
|
4819
|
-
:param pulumi.Input[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}".
|
|
4820
|
-
:param pulumi.Input[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)+")"
|
|
4821
|
-
:param pulumi.Input[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.
|
|
4820
|
+
:param pulumi.Input[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}".
|
|
4821
|
+
:param pulumi.Input[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)+")"
|
|
4822
|
+
:param pulumi.Input[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.
|
|
4822
4823
|
"""
|
|
4823
4824
|
if expression is not None:
|
|
4824
4825
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -4831,7 +4832,7 @@ class ValidationPatchArgs:
|
|
|
4831
4832
|
|
|
4832
4833
|
@property
|
|
4833
4834
|
@pulumi.getter
|
|
4834
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
4835
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4835
4836
|
"""
|
|
4836
4837
|
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:
|
|
4837
4838
|
|
|
@@ -4863,43 +4864,43 @@ class ValidationPatchArgs:
|
|
|
4863
4864
|
return pulumi.get(self, "expression")
|
|
4864
4865
|
|
|
4865
4866
|
@expression.setter
|
|
4866
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
4867
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4867
4868
|
pulumi.set(self, "expression", value)
|
|
4868
4869
|
|
|
4869
4870
|
@property
|
|
4870
4871
|
@pulumi.getter
|
|
4871
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
4872
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4872
4873
|
"""
|
|
4873
4874
|
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}".
|
|
4874
4875
|
"""
|
|
4875
4876
|
return pulumi.get(self, "message")
|
|
4876
4877
|
|
|
4877
4878
|
@message.setter
|
|
4878
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
4879
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4879
4880
|
pulumi.set(self, "message", value)
|
|
4880
4881
|
|
|
4881
4882
|
@property
|
|
4882
4883
|
@pulumi.getter(name="messageExpression")
|
|
4883
|
-
def message_expression(self) -> Optional[pulumi.Input[str]]:
|
|
4884
|
+
def message_expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4884
4885
|
"""
|
|
4885
4886
|
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)+")"
|
|
4886
4887
|
"""
|
|
4887
4888
|
return pulumi.get(self, "message_expression")
|
|
4888
4889
|
|
|
4889
4890
|
@message_expression.setter
|
|
4890
|
-
def message_expression(self, value: Optional[pulumi.Input[str]]):
|
|
4891
|
+
def message_expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4891
4892
|
pulumi.set(self, "message_expression", value)
|
|
4892
4893
|
|
|
4893
4894
|
@property
|
|
4894
4895
|
@pulumi.getter
|
|
4895
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
4896
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4896
4897
|
"""
|
|
4897
4898
|
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.
|
|
4898
4899
|
"""
|
|
4899
4900
|
return pulumi.get(self, "reason")
|
|
4900
4901
|
|
|
4901
4902
|
@reason.setter
|
|
4902
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
4903
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4903
4904
|
pulumi.set(self, "reason", value)
|
|
4904
4905
|
|
|
4905
4906
|
|
|
@@ -4908,7 +4909,7 @@ if not MYPY:
|
|
|
4908
4909
|
"""
|
|
4909
4910
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4910
4911
|
"""
|
|
4911
|
-
expression: pulumi.Input[str]
|
|
4912
|
+
expression: pulumi.Input[builtins.str]
|
|
4912
4913
|
"""
|
|
4913
4914
|
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:
|
|
4914
4915
|
|
|
@@ -4937,15 +4938,15 @@ if not MYPY:
|
|
|
4937
4938
|
non-intersecting keys are appended, retaining their partial order.
|
|
4938
4939
|
Required.
|
|
4939
4940
|
"""
|
|
4940
|
-
message: NotRequired[pulumi.Input[str]]
|
|
4941
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
4941
4942
|
"""
|
|
4942
4943
|
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}".
|
|
4943
4944
|
"""
|
|
4944
|
-
message_expression: NotRequired[pulumi.Input[str]]
|
|
4945
|
+
message_expression: NotRequired[pulumi.Input[builtins.str]]
|
|
4945
4946
|
"""
|
|
4946
4947
|
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)+")"
|
|
4947
4948
|
"""
|
|
4948
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
4949
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
4949
4950
|
"""
|
|
4950
4951
|
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.
|
|
4951
4952
|
"""
|
|
@@ -4955,13 +4956,13 @@ elif False:
|
|
|
4955
4956
|
@pulumi.input_type
|
|
4956
4957
|
class ValidationArgs:
|
|
4957
4958
|
def __init__(__self__, *,
|
|
4958
|
-
expression: pulumi.Input[str],
|
|
4959
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
4960
|
-
message_expression: Optional[pulumi.Input[str]] = None,
|
|
4961
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
4959
|
+
expression: pulumi.Input[builtins.str],
|
|
4960
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
4961
|
+
message_expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
4962
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
4962
4963
|
"""
|
|
4963
4964
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4964
|
-
:param pulumi.Input[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:
|
|
4965
|
+
:param pulumi.Input[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:
|
|
4965
4966
|
|
|
4966
4967
|
- '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.
|
|
4967
4968
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -4987,9 +4988,9 @@ class ValidationArgs:
|
|
|
4987
4988
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
4988
4989
|
non-intersecting keys are appended, retaining their partial order.
|
|
4989
4990
|
Required.
|
|
4990
|
-
:param pulumi.Input[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}".
|
|
4991
|
-
:param pulumi.Input[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)+")"
|
|
4992
|
-
:param pulumi.Input[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.
|
|
4991
|
+
:param pulumi.Input[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}".
|
|
4992
|
+
:param pulumi.Input[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)+")"
|
|
4993
|
+
:param pulumi.Input[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.
|
|
4993
4994
|
"""
|
|
4994
4995
|
pulumi.set(__self__, "expression", expression)
|
|
4995
4996
|
if message is not None:
|
|
@@ -5001,7 +5002,7 @@ class ValidationArgs:
|
|
|
5001
5002
|
|
|
5002
5003
|
@property
|
|
5003
5004
|
@pulumi.getter
|
|
5004
|
-
def expression(self) -> pulumi.Input[str]:
|
|
5005
|
+
def expression(self) -> pulumi.Input[builtins.str]:
|
|
5005
5006
|
"""
|
|
5006
5007
|
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:
|
|
5007
5008
|
|
|
@@ -5033,43 +5034,43 @@ class ValidationArgs:
|
|
|
5033
5034
|
return pulumi.get(self, "expression")
|
|
5034
5035
|
|
|
5035
5036
|
@expression.setter
|
|
5036
|
-
def expression(self, value: pulumi.Input[str]):
|
|
5037
|
+
def expression(self, value: pulumi.Input[builtins.str]):
|
|
5037
5038
|
pulumi.set(self, "expression", value)
|
|
5038
5039
|
|
|
5039
5040
|
@property
|
|
5040
5041
|
@pulumi.getter
|
|
5041
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
5042
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5042
5043
|
"""
|
|
5043
5044
|
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}".
|
|
5044
5045
|
"""
|
|
5045
5046
|
return pulumi.get(self, "message")
|
|
5046
5047
|
|
|
5047
5048
|
@message.setter
|
|
5048
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
5049
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5049
5050
|
pulumi.set(self, "message", value)
|
|
5050
5051
|
|
|
5051
5052
|
@property
|
|
5052
5053
|
@pulumi.getter(name="messageExpression")
|
|
5053
|
-
def message_expression(self) -> Optional[pulumi.Input[str]]:
|
|
5054
|
+
def message_expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5054
5055
|
"""
|
|
5055
5056
|
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)+")"
|
|
5056
5057
|
"""
|
|
5057
5058
|
return pulumi.get(self, "message_expression")
|
|
5058
5059
|
|
|
5059
5060
|
@message_expression.setter
|
|
5060
|
-
def message_expression(self, value: Optional[pulumi.Input[str]]):
|
|
5061
|
+
def message_expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5061
5062
|
pulumi.set(self, "message_expression", value)
|
|
5062
5063
|
|
|
5063
5064
|
@property
|
|
5064
5065
|
@pulumi.getter
|
|
5065
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
5066
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5066
5067
|
"""
|
|
5067
5068
|
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.
|
|
5068
5069
|
"""
|
|
5069
5070
|
return pulumi.get(self, "reason")
|
|
5070
5071
|
|
|
5071
5072
|
@reason.setter
|
|
5072
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
5073
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5073
5074
|
pulumi.set(self, "reason", value)
|
|
5074
5075
|
|
|
5075
5076
|
|
|
@@ -5078,11 +5079,11 @@ if not MYPY:
|
|
|
5078
5079
|
"""
|
|
5079
5080
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5080
5081
|
"""
|
|
5081
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
5082
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
5082
5083
|
"""
|
|
5083
5084
|
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.
|
|
5084
5085
|
"""
|
|
5085
|
-
name: NotRequired[pulumi.Input[str]]
|
|
5086
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
5086
5087
|
"""
|
|
5087
5088
|
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`
|
|
5088
5089
|
"""
|
|
@@ -5092,12 +5093,12 @@ elif False:
|
|
|
5092
5093
|
@pulumi.input_type
|
|
5093
5094
|
class VariablePatchArgs:
|
|
5094
5095
|
def __init__(__self__, *,
|
|
5095
|
-
expression: Optional[pulumi.Input[str]] = None,
|
|
5096
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
5096
|
+
expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
5097
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
5097
5098
|
"""
|
|
5098
5099
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5099
|
-
:param pulumi.Input[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.
|
|
5100
|
-
:param pulumi.Input[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`
|
|
5100
|
+
:param pulumi.Input[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.
|
|
5101
|
+
:param pulumi.Input[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`
|
|
5101
5102
|
"""
|
|
5102
5103
|
if expression is not None:
|
|
5103
5104
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -5106,26 +5107,26 @@ class VariablePatchArgs:
|
|
|
5106
5107
|
|
|
5107
5108
|
@property
|
|
5108
5109
|
@pulumi.getter
|
|
5109
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
5110
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5110
5111
|
"""
|
|
5111
5112
|
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.
|
|
5112
5113
|
"""
|
|
5113
5114
|
return pulumi.get(self, "expression")
|
|
5114
5115
|
|
|
5115
5116
|
@expression.setter
|
|
5116
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
5117
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5117
5118
|
pulumi.set(self, "expression", value)
|
|
5118
5119
|
|
|
5119
5120
|
@property
|
|
5120
5121
|
@pulumi.getter
|
|
5121
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
5122
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5122
5123
|
"""
|
|
5123
5124
|
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`
|
|
5124
5125
|
"""
|
|
5125
5126
|
return pulumi.get(self, "name")
|
|
5126
5127
|
|
|
5127
5128
|
@name.setter
|
|
5128
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
5129
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5129
5130
|
pulumi.set(self, "name", value)
|
|
5130
5131
|
|
|
5131
5132
|
|
|
@@ -5134,11 +5135,11 @@ if not MYPY:
|
|
|
5134
5135
|
"""
|
|
5135
5136
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5136
5137
|
"""
|
|
5137
|
-
expression: pulumi.Input[str]
|
|
5138
|
+
expression: pulumi.Input[builtins.str]
|
|
5138
5139
|
"""
|
|
5139
5140
|
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.
|
|
5140
5141
|
"""
|
|
5141
|
-
name: pulumi.Input[str]
|
|
5142
|
+
name: pulumi.Input[builtins.str]
|
|
5142
5143
|
"""
|
|
5143
5144
|
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`
|
|
5144
5145
|
"""
|
|
@@ -5148,38 +5149,38 @@ elif False:
|
|
|
5148
5149
|
@pulumi.input_type
|
|
5149
5150
|
class VariableArgs:
|
|
5150
5151
|
def __init__(__self__, *,
|
|
5151
|
-
expression: pulumi.Input[str],
|
|
5152
|
-
name: pulumi.Input[str]):
|
|
5152
|
+
expression: pulumi.Input[builtins.str],
|
|
5153
|
+
name: pulumi.Input[builtins.str]):
|
|
5153
5154
|
"""
|
|
5154
5155
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5155
|
-
:param pulumi.Input[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.
|
|
5156
|
-
:param pulumi.Input[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`
|
|
5156
|
+
:param pulumi.Input[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.
|
|
5157
|
+
:param pulumi.Input[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`
|
|
5157
5158
|
"""
|
|
5158
5159
|
pulumi.set(__self__, "expression", expression)
|
|
5159
5160
|
pulumi.set(__self__, "name", name)
|
|
5160
5161
|
|
|
5161
5162
|
@property
|
|
5162
5163
|
@pulumi.getter
|
|
5163
|
-
def expression(self) -> pulumi.Input[str]:
|
|
5164
|
+
def expression(self) -> pulumi.Input[builtins.str]:
|
|
5164
5165
|
"""
|
|
5165
5166
|
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.
|
|
5166
5167
|
"""
|
|
5167
5168
|
return pulumi.get(self, "expression")
|
|
5168
5169
|
|
|
5169
5170
|
@expression.setter
|
|
5170
|
-
def expression(self, value: pulumi.Input[str]):
|
|
5171
|
+
def expression(self, value: pulumi.Input[builtins.str]):
|
|
5171
5172
|
pulumi.set(self, "expression", value)
|
|
5172
5173
|
|
|
5173
5174
|
@property
|
|
5174
5175
|
@pulumi.getter
|
|
5175
|
-
def name(self) -> pulumi.Input[str]:
|
|
5176
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
5176
5177
|
"""
|
|
5177
5178
|
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`
|
|
5178
5179
|
"""
|
|
5179
5180
|
return pulumi.get(self, "name")
|
|
5180
5181
|
|
|
5181
5182
|
@name.setter
|
|
5182
|
-
def name(self, value: pulumi.Input[str]):
|
|
5183
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
5183
5184
|
pulumi.set(self, "name", value)
|
|
5184
5185
|
|
|
5185
5186
|
|
|
@@ -5188,7 +5189,7 @@ if not MYPY:
|
|
|
5188
5189
|
"""
|
|
5189
5190
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5190
5191
|
"""
|
|
5191
|
-
ca_bundle: NotRequired[pulumi.Input[str]]
|
|
5192
|
+
ca_bundle: NotRequired[pulumi.Input[builtins.str]]
|
|
5192
5193
|
"""
|
|
5193
5194
|
`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.
|
|
5194
5195
|
"""
|
|
@@ -5198,7 +5199,7 @@ if not MYPY:
|
|
|
5198
5199
|
|
|
5199
5200
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5200
5201
|
"""
|
|
5201
|
-
url: NotRequired[pulumi.Input[str]]
|
|
5202
|
+
url: NotRequired[pulumi.Input[builtins.str]]
|
|
5202
5203
|
"""
|
|
5203
5204
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5204
5205
|
|
|
@@ -5218,16 +5219,16 @@ elif False:
|
|
|
5218
5219
|
@pulumi.input_type
|
|
5219
5220
|
class WebhookClientConfigPatchArgs:
|
|
5220
5221
|
def __init__(__self__, *,
|
|
5221
|
-
ca_bundle: Optional[pulumi.Input[str]] = None,
|
|
5222
|
+
ca_bundle: Optional[pulumi.Input[builtins.str]] = None,
|
|
5222
5223
|
service: Optional[pulumi.Input['ServiceReferencePatchArgs']] = None,
|
|
5223
|
-
url: Optional[pulumi.Input[str]] = None):
|
|
5224
|
+
url: Optional[pulumi.Input[builtins.str]] = None):
|
|
5224
5225
|
"""
|
|
5225
5226
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5226
|
-
:param pulumi.Input[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.
|
|
5227
|
+
:param pulumi.Input[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.
|
|
5227
5228
|
:param pulumi.Input['ServiceReferencePatchArgs'] service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
5228
5229
|
|
|
5229
5230
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5230
|
-
:param pulumi.Input[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.
|
|
5231
|
+
:param pulumi.Input[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.
|
|
5231
5232
|
|
|
5232
5233
|
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.
|
|
5233
5234
|
|
|
@@ -5248,14 +5249,14 @@ class WebhookClientConfigPatchArgs:
|
|
|
5248
5249
|
|
|
5249
5250
|
@property
|
|
5250
5251
|
@pulumi.getter(name="caBundle")
|
|
5251
|
-
def ca_bundle(self) -> Optional[pulumi.Input[str]]:
|
|
5252
|
+
def ca_bundle(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5252
5253
|
"""
|
|
5253
5254
|
`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.
|
|
5254
5255
|
"""
|
|
5255
5256
|
return pulumi.get(self, "ca_bundle")
|
|
5256
5257
|
|
|
5257
5258
|
@ca_bundle.setter
|
|
5258
|
-
def ca_bundle(self, value: Optional[pulumi.Input[str]]):
|
|
5259
|
+
def ca_bundle(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5259
5260
|
pulumi.set(self, "ca_bundle", value)
|
|
5260
5261
|
|
|
5261
5262
|
@property
|
|
@@ -5274,7 +5275,7 @@ class WebhookClientConfigPatchArgs:
|
|
|
5274
5275
|
|
|
5275
5276
|
@property
|
|
5276
5277
|
@pulumi.getter
|
|
5277
|
-
def url(self) -> Optional[pulumi.Input[str]]:
|
|
5278
|
+
def url(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5278
5279
|
"""
|
|
5279
5280
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5280
5281
|
|
|
@@ -5291,7 +5292,7 @@ class WebhookClientConfigPatchArgs:
|
|
|
5291
5292
|
return pulumi.get(self, "url")
|
|
5292
5293
|
|
|
5293
5294
|
@url.setter
|
|
5294
|
-
def url(self, value: Optional[pulumi.Input[str]]):
|
|
5295
|
+
def url(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5295
5296
|
pulumi.set(self, "url", value)
|
|
5296
5297
|
|
|
5297
5298
|
|
|
@@ -5300,7 +5301,7 @@ if not MYPY:
|
|
|
5300
5301
|
"""
|
|
5301
5302
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5302
5303
|
"""
|
|
5303
|
-
ca_bundle: NotRequired[pulumi.Input[str]]
|
|
5304
|
+
ca_bundle: NotRequired[pulumi.Input[builtins.str]]
|
|
5304
5305
|
"""
|
|
5305
5306
|
`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.
|
|
5306
5307
|
"""
|
|
@@ -5310,7 +5311,7 @@ if not MYPY:
|
|
|
5310
5311
|
|
|
5311
5312
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5312
5313
|
"""
|
|
5313
|
-
url: NotRequired[pulumi.Input[str]]
|
|
5314
|
+
url: NotRequired[pulumi.Input[builtins.str]]
|
|
5314
5315
|
"""
|
|
5315
5316
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5316
5317
|
|
|
@@ -5330,16 +5331,16 @@ elif False:
|
|
|
5330
5331
|
@pulumi.input_type
|
|
5331
5332
|
class WebhookClientConfigArgs:
|
|
5332
5333
|
def __init__(__self__, *,
|
|
5333
|
-
ca_bundle: Optional[pulumi.Input[str]] = None,
|
|
5334
|
+
ca_bundle: Optional[pulumi.Input[builtins.str]] = None,
|
|
5334
5335
|
service: Optional[pulumi.Input['ServiceReferenceArgs']] = None,
|
|
5335
|
-
url: Optional[pulumi.Input[str]] = None):
|
|
5336
|
+
url: Optional[pulumi.Input[builtins.str]] = None):
|
|
5336
5337
|
"""
|
|
5337
5338
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5338
|
-
:param pulumi.Input[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.
|
|
5339
|
+
:param pulumi.Input[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.
|
|
5339
5340
|
:param pulumi.Input['ServiceReferenceArgs'] service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
5340
5341
|
|
|
5341
5342
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5342
|
-
:param pulumi.Input[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.
|
|
5343
|
+
:param pulumi.Input[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.
|
|
5343
5344
|
|
|
5344
5345
|
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.
|
|
5345
5346
|
|
|
@@ -5360,14 +5361,14 @@ class WebhookClientConfigArgs:
|
|
|
5360
5361
|
|
|
5361
5362
|
@property
|
|
5362
5363
|
@pulumi.getter(name="caBundle")
|
|
5363
|
-
def ca_bundle(self) -> Optional[pulumi.Input[str]]:
|
|
5364
|
+
def ca_bundle(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5364
5365
|
"""
|
|
5365
5366
|
`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.
|
|
5366
5367
|
"""
|
|
5367
5368
|
return pulumi.get(self, "ca_bundle")
|
|
5368
5369
|
|
|
5369
5370
|
@ca_bundle.setter
|
|
5370
|
-
def ca_bundle(self, value: Optional[pulumi.Input[str]]):
|
|
5371
|
+
def ca_bundle(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5371
5372
|
pulumi.set(self, "ca_bundle", value)
|
|
5372
5373
|
|
|
5373
5374
|
@property
|
|
@@ -5386,7 +5387,7 @@ class WebhookClientConfigArgs:
|
|
|
5386
5387
|
|
|
5387
5388
|
@property
|
|
5388
5389
|
@pulumi.getter
|
|
5389
|
-
def url(self) -> Optional[pulumi.Input[str]]:
|
|
5390
|
+
def url(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5390
5391
|
"""
|
|
5391
5392
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5392
5393
|
|
|
@@ -5403,7 +5404,7 @@ class WebhookClientConfigArgs:
|
|
|
5403
5404
|
return pulumi.get(self, "url")
|
|
5404
5405
|
|
|
5405
5406
|
@url.setter
|
|
5406
|
-
def url(self, value: Optional[pulumi.Input[str]]):
|
|
5407
|
+
def url(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5407
5408
|
pulumi.set(self, "url", value)
|
|
5408
5409
|
|
|
5409
5410
|
|