pulumi-kubernetes 4.23.0a1743496684__py3-none-any.whl → 4.23.0a1743595894__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +1 -0
- pulumi_kubernetes/_inputs.py +41 -40
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1/outputs.py +337 -336
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +366 -365
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +229 -228
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +337 -336
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +17 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +17 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +17 -16
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +699 -698
- pulumi_kubernetes/apiextensions/v1/outputs.py +405 -404
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +639 -638
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +369 -368
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +17 -16
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +17 -16
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +17 -16
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1/outputs.py +91 -90
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +91 -90
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1/DaemonSet.py +17 -16
- pulumi_kubernetes/apps/v1/DaemonSetList.py +17 -16
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSet.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +571 -570
- pulumi_kubernetes/apps/v1/outputs.py +476 -475
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1beta1/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +316 -315
- pulumi_kubernetes/apps/v1beta1/outputs.py +260 -259
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +506 -505
- pulumi_kubernetes/apps/v1beta2/outputs.py +442 -441
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +111 -110
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +96 -95
- pulumi_kubernetes/autoscaling/v1/outputs.py +73 -72
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2/outputs.py +217 -216
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +346 -345
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +283 -282
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +217 -216
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v1/Job.py +17 -16
- pulumi_kubernetes/batch/v1/JobList.py +17 -16
- pulumi_kubernetes/batch/v1/JobPatch.py +17 -16
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +386 -385
- pulumi_kubernetes/batch/v1/outputs.py +289 -288
- pulumi_kubernetes/batch/v1beta1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v1beta1/outputs.py +49 -48
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v2alpha1/outputs.py +49 -48
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +17 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +17 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +17 -16
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +126 -125
- pulumi_kubernetes/certificates/v1/outputs.py +97 -96
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +117 -116
- pulumi_kubernetes/certificates/v1beta1/outputs.py +93 -92
- pulumi_kubernetes/coordination/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/Lease.py +17 -16
- pulumi_kubernetes/coordination/v1/LeaseList.py +17 -16
- pulumi_kubernetes/coordination/v1/LeasePatch.py +17 -16
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +81 -80
- pulumi_kubernetes/coordination/v1/outputs.py +49 -48
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1beta1/Lease.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +61 -60
- pulumi_kubernetes/coordination/v1beta1/outputs.py +37 -36
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +17 -16
- pulumi_kubernetes/core/v1/BindingPatch.py +17 -16
- pulumi_kubernetes/core/v1/ConfigMap.py +41 -40
- pulumi_kubernetes/core/v1/ConfigMapList.py +17 -16
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +41 -40
- pulumi_kubernetes/core/v1/Endpoints.py +17 -16
- pulumi_kubernetes/core/v1/EndpointsList.py +17 -16
- pulumi_kubernetes/core/v1/EndpointsPatch.py +17 -16
- pulumi_kubernetes/core/v1/Event.py +97 -96
- pulumi_kubernetes/core/v1/EventList.py +17 -16
- pulumi_kubernetes/core/v1/EventPatch.py +97 -96
- pulumi_kubernetes/core/v1/LimitRange.py +17 -16
- pulumi_kubernetes/core/v1/LimitRangeList.py +17 -16
- pulumi_kubernetes/core/v1/LimitRangePatch.py +17 -16
- pulumi_kubernetes/core/v1/Namespace.py +17 -16
- pulumi_kubernetes/core/v1/NamespaceList.py +17 -16
- pulumi_kubernetes/core/v1/NamespacePatch.py +17 -16
- pulumi_kubernetes/core/v1/Node.py +17 -16
- pulumi_kubernetes/core/v1/NodeList.py +17 -16
- pulumi_kubernetes/core/v1/NodePatch.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolume.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +17 -16
- pulumi_kubernetes/core/v1/Pod.py +17 -16
- pulumi_kubernetes/core/v1/PodList.py +17 -16
- pulumi_kubernetes/core/v1/PodPatch.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplate.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplateList.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationController.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuota.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +17 -16
- pulumi_kubernetes/core/v1/Secret.py +49 -48
- pulumi_kubernetes/core/v1/SecretList.py +17 -16
- pulumi_kubernetes/core/v1/SecretPatch.py +49 -48
- pulumi_kubernetes/core/v1/Service.py +17 -16
- pulumi_kubernetes/core/v1/ServiceAccount.py +25 -24
- pulumi_kubernetes/core/v1/ServiceAccountList.py +17 -16
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +25 -24
- pulumi_kubernetes/core/v1/ServiceList.py +17 -16
- pulumi_kubernetes/core/v1/ServicePatch.py +17 -16
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +3 -1
- pulumi_kubernetes/core/v1/_inputs.py +5506 -5505
- pulumi_kubernetes/core/v1/outputs.py +3613 -3612
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +25 -24
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +17 -16
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +25 -24
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +146 -145
- pulumi_kubernetes/discovery/v1/outputs.py +88 -87
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +25 -24
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +17 -16
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +25 -24
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/discovery/v1beta1/outputs.py +76 -75
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +97 -96
- pulumi_kubernetes/events/v1/EventList.py +17 -16
- pulumi_kubernetes/events/v1/EventPatch.py +97 -96
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +81 -80
- pulumi_kubernetes/events/v1/outputs.py +49 -48
- pulumi_kubernetes/events/v1beta1/Event.py +97 -96
- pulumi_kubernetes/events/v1beta1/EventList.py +17 -16
- pulumi_kubernetes/events/v1beta1/EventPatch.py +97 -96
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +91 -90
- pulumi_kubernetes/events/v1beta1/outputs.py +55 -54
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +826 -825
- pulumi_kubernetes/extensions/v1beta1/outputs.py +587 -586
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +223 -222
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +246 -245
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +31 -30
- pulumi_kubernetes/helm/v3/outputs.py +41 -40
- pulumi_kubernetes/helm/v4/Chart.py +71 -70
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +26 -25
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +30 -29
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +42 -41
- pulumi_kubernetes/meta/v1/StatusPatch.py +42 -41
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +451 -450
- pulumi_kubernetes/meta/v1/outputs.py +289 -288
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/Ingress.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClass.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClassList.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +17 -16
- pulumi_kubernetes/networking/v1/IngressList.py +17 -16
- pulumi_kubernetes/networking/v1/IngressPatch.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +17 -16
- pulumi_kubernetes/networking/v1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/_inputs.py +266 -265
- pulumi_kubernetes/networking/v1/outputs.py +171 -170
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +121 -120
- pulumi_kubernetes/networking/v1alpha1/outputs.py +73 -72
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/Ingress.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +181 -180
- pulumi_kubernetes/networking/v1beta1/outputs.py +105 -104
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +25 -24
- pulumi_kubernetes/node/v1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +25 -24
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1/outputs.py +22 -21
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +17 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +17 -16
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +41 -40
- pulumi_kubernetes/node/v1alpha1/outputs.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +25 -24
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1beta1/outputs.py +22 -21
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +17 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +17 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +17 -16
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +71 -70
- pulumi_kubernetes/policy/v1/outputs.py +53 -52
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +17 -16
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +361 -360
- pulumi_kubernetes/policy/v1beta1/outputs.py +227 -226
- pulumi_kubernetes/provider.py +92 -91
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1beta1/outputs.py +97 -96
- pulumi_kubernetes/resource/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +25 -24
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +25 -24
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +206 -205
- pulumi_kubernetes/resource/v1alpha1/outputs.py +154 -153
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +25 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +25 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +411 -410
- pulumi_kubernetes/resource/v1alpha2/outputs.py +286 -285
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +386 -385
- pulumi_kubernetes/resource/v1alpha3/outputs.py +295 -294
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +17 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +321 -320
- pulumi_kubernetes/resource/v1beta1/outputs.py +244 -243
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +19 -18
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +11 -10
- pulumi_kubernetes/settings/v1alpha1/outputs.py +7 -6
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +17 -16
- pulumi_kubernetes/storage/v1/CSIDriverList.py +17 -16
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +17 -16
- pulumi_kubernetes/storage/v1/CSINode.py +17 -16
- pulumi_kubernetes/storage/v1/CSINodeList.py +17 -16
- pulumi_kubernetes/storage/v1/CSINodePatch.py +17 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +41 -40
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +17 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +41 -40
- pulumi_kubernetes/storage/v1/StorageClass.py +65 -64
- pulumi_kubernetes/storage/v1/StorageClassList.py +17 -16
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +65 -64
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +276 -275
- pulumi_kubernetes/storage/v1/outputs.py +178 -177
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +33 -32
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +33 -32
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storage/v1alpha1/outputs.py +61 -60
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINode.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +41 -40
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +41 -40
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +65 -64
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +65 -64
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +33 -32
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +33 -32
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +286 -285
- pulumi_kubernetes/storage/v1beta1/outputs.py +184 -183
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +22 -21
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +29 -28
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- {pulumi_kubernetes-4.23.0a1743496684.dist-info → pulumi_kubernetes-4.23.0a1743595894.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.23.0a1743595894.dist-info/RECORD +679 -0
- pulumi_kubernetes-4.23.0a1743496684.dist-info/RECORD +0 -679
- {pulumi_kubernetes-4.23.0a1743496684.dist-info → pulumi_kubernetes-4.23.0a1743595894.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.23.0a1743496684.dist-info → pulumi_kubernetes-4.23.0a1743595894.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -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 by 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 by 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 by 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 by 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.
|
|
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.
|
|
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.
|
|
1043
1044
|
"""
|
|
@@ -1045,7 +1046,7 @@ 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 Fail.
|
|
1051
1052
|
"""
|
|
@@ -1060,7 +1061,7 @@ if not MYPY:
|
|
|
1060
1061
|
- If failurePolicy=Fail, reject the request
|
|
1061
1062
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
1062
1063
|
"""
|
|
1063
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
1064
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1064
1065
|
"""
|
|
1065
1066
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1066
1067
|
|
|
@@ -1070,7 +1071,7 @@ if not MYPY:
|
|
|
1070
1071
|
|
|
1071
1072
|
Defaults to "Equivalent"
|
|
1072
1073
|
"""
|
|
1073
|
-
name: NotRequired[pulumi.Input[str]]
|
|
1074
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
1074
1075
|
"""
|
|
1075
1076
|
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.
|
|
1076
1077
|
"""
|
|
@@ -1112,7 +1113,7 @@ if not MYPY:
|
|
|
1112
1113
|
"""
|
|
1113
1114
|
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.
|
|
1114
1115
|
"""
|
|
1115
|
-
reinvocation_policy: NotRequired[pulumi.Input[str]]
|
|
1116
|
+
reinvocation_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1116
1117
|
"""
|
|
1117
1118
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1118
1119
|
|
|
@@ -1126,11 +1127,11 @@ if not MYPY:
|
|
|
1126
1127
|
"""
|
|
1127
1128
|
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.
|
|
1128
1129
|
"""
|
|
1129
|
-
side_effects: NotRequired[pulumi.Input[str]]
|
|
1130
|
+
side_effects: NotRequired[pulumi.Input[builtins.str]]
|
|
1130
1131
|
"""
|
|
1131
1132
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1132
1133
|
"""
|
|
1133
|
-
timeout_seconds: NotRequired[pulumi.Input[int]]
|
|
1134
|
+
timeout_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1134
1135
|
"""
|
|
1135
1136
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
1136
1137
|
"""
|
|
@@ -1140,23 +1141,23 @@ elif False:
|
|
|
1140
1141
|
@pulumi.input_type
|
|
1141
1142
|
class MutatingWebhookPatchArgs:
|
|
1142
1143
|
def __init__(__self__, *,
|
|
1143
|
-
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1144
|
+
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1144
1145
|
client_config: Optional[pulumi.Input['WebhookClientConfigPatchArgs']] = None,
|
|
1145
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
1146
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1146
1147
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
|
|
1147
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
1148
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
1148
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1149
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1149
1150
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1150
1151
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1151
|
-
reinvocation_policy: Optional[pulumi.Input[str]] = None,
|
|
1152
|
+
reinvocation_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1152
1153
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]] = None,
|
|
1153
|
-
side_effects: Optional[pulumi.Input[str]] = None,
|
|
1154
|
-
timeout_seconds: Optional[pulumi.Input[int]] = None):
|
|
1154
|
+
side_effects: Optional[pulumi.Input[builtins.str]] = None,
|
|
1155
|
+
timeout_seconds: Optional[pulumi.Input[builtins.int]] = None):
|
|
1155
1156
|
"""
|
|
1156
1157
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1157
|
-
: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.
|
|
1158
|
+
: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.
|
|
1158
1159
|
:param pulumi.Input['WebhookClientConfigPatchArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
1159
|
-
: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 Fail.
|
|
1160
|
+
: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 Fail.
|
|
1160
1161
|
:param pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
1161
1162
|
|
|
1162
1163
|
The exact matching logic is (in order):
|
|
@@ -1165,14 +1166,14 @@ class MutatingWebhookPatchArgs:
|
|
|
1165
1166
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
1166
1167
|
- If failurePolicy=Fail, reject the request
|
|
1167
1168
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
1168
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1169
|
+
: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".
|
|
1169
1170
|
|
|
1170
1171
|
- 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.
|
|
1171
1172
|
|
|
1172
1173
|
- 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.
|
|
1173
1174
|
|
|
1174
1175
|
Defaults to "Equivalent"
|
|
1175
|
-
: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.
|
|
1176
|
+
: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.
|
|
1176
1177
|
: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.
|
|
1177
1178
|
|
|
1178
1179
|
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": {
|
|
@@ -1205,7 +1206,7 @@ class MutatingWebhookPatchArgs:
|
|
|
1205
1206
|
|
|
1206
1207
|
Default to the empty LabelSelector, which matches everything.
|
|
1207
1208
|
: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.
|
|
1208
|
-
: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".
|
|
1209
|
+
: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".
|
|
1209
1210
|
|
|
1210
1211
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
1211
1212
|
|
|
@@ -1213,8 +1214,8 @@ class MutatingWebhookPatchArgs:
|
|
|
1213
1214
|
|
|
1214
1215
|
Defaults to "Never".
|
|
1215
1216
|
: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.
|
|
1216
|
-
:param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1217
|
-
: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 10 seconds.
|
|
1217
|
+
:param pulumi.Input[builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1218
|
+
: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 10 seconds.
|
|
1218
1219
|
"""
|
|
1219
1220
|
if admission_review_versions is not None:
|
|
1220
1221
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -1243,14 +1244,14 @@ class MutatingWebhookPatchArgs:
|
|
|
1243
1244
|
|
|
1244
1245
|
@property
|
|
1245
1246
|
@pulumi.getter(name="admissionReviewVersions")
|
|
1246
|
-
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1247
|
+
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1247
1248
|
"""
|
|
1248
1249
|
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.
|
|
1249
1250
|
"""
|
|
1250
1251
|
return pulumi.get(self, "admission_review_versions")
|
|
1251
1252
|
|
|
1252
1253
|
@admission_review_versions.setter
|
|
1253
|
-
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1254
|
+
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1254
1255
|
pulumi.set(self, "admission_review_versions", value)
|
|
1255
1256
|
|
|
1256
1257
|
@property
|
|
@@ -1267,14 +1268,14 @@ class MutatingWebhookPatchArgs:
|
|
|
1267
1268
|
|
|
1268
1269
|
@property
|
|
1269
1270
|
@pulumi.getter(name="failurePolicy")
|
|
1270
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1271
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1271
1272
|
"""
|
|
1272
1273
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1273
1274
|
"""
|
|
1274
1275
|
return pulumi.get(self, "failure_policy")
|
|
1275
1276
|
|
|
1276
1277
|
@failure_policy.setter
|
|
1277
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1278
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1278
1279
|
pulumi.set(self, "failure_policy", value)
|
|
1279
1280
|
|
|
1280
1281
|
@property
|
|
@@ -1298,7 +1299,7 @@ class MutatingWebhookPatchArgs:
|
|
|
1298
1299
|
|
|
1299
1300
|
@property
|
|
1300
1301
|
@pulumi.getter(name="matchPolicy")
|
|
1301
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1302
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1302
1303
|
"""
|
|
1303
1304
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1304
1305
|
|
|
@@ -1311,19 +1312,19 @@ class MutatingWebhookPatchArgs:
|
|
|
1311
1312
|
return pulumi.get(self, "match_policy")
|
|
1312
1313
|
|
|
1313
1314
|
@match_policy.setter
|
|
1314
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1315
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1315
1316
|
pulumi.set(self, "match_policy", value)
|
|
1316
1317
|
|
|
1317
1318
|
@property
|
|
1318
1319
|
@pulumi.getter
|
|
1319
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
1320
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1320
1321
|
"""
|
|
1321
1322
|
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.
|
|
1322
1323
|
"""
|
|
1323
1324
|
return pulumi.get(self, "name")
|
|
1324
1325
|
|
|
1325
1326
|
@name.setter
|
|
1326
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
1327
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1327
1328
|
pulumi.set(self, "name", value)
|
|
1328
1329
|
|
|
1329
1330
|
@property
|
|
@@ -1382,7 +1383,7 @@ class MutatingWebhookPatchArgs:
|
|
|
1382
1383
|
|
|
1383
1384
|
@property
|
|
1384
1385
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1385
|
-
def reinvocation_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1386
|
+
def reinvocation_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1386
1387
|
"""
|
|
1387
1388
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1388
1389
|
|
|
@@ -1395,7 +1396,7 @@ class MutatingWebhookPatchArgs:
|
|
|
1395
1396
|
return pulumi.get(self, "reinvocation_policy")
|
|
1396
1397
|
|
|
1397
1398
|
@reinvocation_policy.setter
|
|
1398
|
-
def reinvocation_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1399
|
+
def reinvocation_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1399
1400
|
pulumi.set(self, "reinvocation_policy", value)
|
|
1400
1401
|
|
|
1401
1402
|
@property
|
|
@@ -1412,26 +1413,26 @@ class MutatingWebhookPatchArgs:
|
|
|
1412
1413
|
|
|
1413
1414
|
@property
|
|
1414
1415
|
@pulumi.getter(name="sideEffects")
|
|
1415
|
-
def side_effects(self) -> Optional[pulumi.Input[str]]:
|
|
1416
|
+
def side_effects(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1416
1417
|
"""
|
|
1417
1418
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1418
1419
|
"""
|
|
1419
1420
|
return pulumi.get(self, "side_effects")
|
|
1420
1421
|
|
|
1421
1422
|
@side_effects.setter
|
|
1422
|
-
def side_effects(self, value: Optional[pulumi.Input[str]]):
|
|
1423
|
+
def side_effects(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1423
1424
|
pulumi.set(self, "side_effects", value)
|
|
1424
1425
|
|
|
1425
1426
|
@property
|
|
1426
1427
|
@pulumi.getter(name="timeoutSeconds")
|
|
1427
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1428
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1428
1429
|
"""
|
|
1429
1430
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
1430
1431
|
"""
|
|
1431
1432
|
return pulumi.get(self, "timeout_seconds")
|
|
1432
1433
|
|
|
1433
1434
|
@timeout_seconds.setter
|
|
1434
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1435
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1435
1436
|
pulumi.set(self, "timeout_seconds", value)
|
|
1436
1437
|
|
|
1437
1438
|
|
|
@@ -1440,7 +1441,7 @@ if not MYPY:
|
|
|
1440
1441
|
"""
|
|
1441
1442
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1442
1443
|
"""
|
|
1443
|
-
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
1444
|
+
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
|
|
1444
1445
|
"""
|
|
1445
1446
|
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.
|
|
1446
1447
|
"""
|
|
@@ -1448,15 +1449,15 @@ if not MYPY:
|
|
|
1448
1449
|
"""
|
|
1449
1450
|
ClientConfig defines how to communicate with the hook. Required
|
|
1450
1451
|
"""
|
|
1451
|
-
name: pulumi.Input[str]
|
|
1452
|
+
name: pulumi.Input[builtins.str]
|
|
1452
1453
|
"""
|
|
1453
1454
|
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.
|
|
1454
1455
|
"""
|
|
1455
|
-
side_effects: pulumi.Input[str]
|
|
1456
|
+
side_effects: pulumi.Input[builtins.str]
|
|
1456
1457
|
"""
|
|
1457
1458
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1458
1459
|
"""
|
|
1459
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
1460
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1460
1461
|
"""
|
|
1461
1462
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1462
1463
|
"""
|
|
@@ -1471,7 +1472,7 @@ if not MYPY:
|
|
|
1471
1472
|
- If failurePolicy=Fail, reject the request
|
|
1472
1473
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
1473
1474
|
"""
|
|
1474
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
1475
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1475
1476
|
"""
|
|
1476
1477
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1477
1478
|
|
|
@@ -1519,7 +1520,7 @@ if not MYPY:
|
|
|
1519
1520
|
"""
|
|
1520
1521
|
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.
|
|
1521
1522
|
"""
|
|
1522
|
-
reinvocation_policy: NotRequired[pulumi.Input[str]]
|
|
1523
|
+
reinvocation_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1523
1524
|
"""
|
|
1524
1525
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1525
1526
|
|
|
@@ -1533,7 +1534,7 @@ if not MYPY:
|
|
|
1533
1534
|
"""
|
|
1534
1535
|
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.
|
|
1535
1536
|
"""
|
|
1536
|
-
timeout_seconds: NotRequired[pulumi.Input[int]]
|
|
1537
|
+
timeout_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1537
1538
|
"""
|
|
1538
1539
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
1539
1540
|
"""
|
|
@@ -1543,25 +1544,25 @@ elif False:
|
|
|
1543
1544
|
@pulumi.input_type
|
|
1544
1545
|
class MutatingWebhookArgs:
|
|
1545
1546
|
def __init__(__self__, *,
|
|
1546
|
-
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
1547
|
+
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
1547
1548
|
client_config: pulumi.Input['WebhookClientConfigArgs'],
|
|
1548
|
-
name: pulumi.Input[str],
|
|
1549
|
-
side_effects: pulumi.Input[str],
|
|
1550
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
1549
|
+
name: pulumi.Input[builtins.str],
|
|
1550
|
+
side_effects: pulumi.Input[builtins.str],
|
|
1551
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1551
1552
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
|
|
1552
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
1553
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1553
1554
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1554
1555
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1555
|
-
reinvocation_policy: Optional[pulumi.Input[str]] = None,
|
|
1556
|
+
reinvocation_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1556
1557
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]] = None,
|
|
1557
|
-
timeout_seconds: Optional[pulumi.Input[int]] = None):
|
|
1558
|
+
timeout_seconds: Optional[pulumi.Input[builtins.int]] = None):
|
|
1558
1559
|
"""
|
|
1559
1560
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1560
|
-
: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.
|
|
1561
|
+
: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.
|
|
1561
1562
|
:param pulumi.Input['WebhookClientConfigArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
1562
|
-
: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.
|
|
1563
|
-
:param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1564
|
-
: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 Fail.
|
|
1563
|
+
: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.
|
|
1564
|
+
:param pulumi.Input[builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1565
|
+
: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 Fail.
|
|
1565
1566
|
:param pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
1566
1567
|
|
|
1567
1568
|
The exact matching logic is (in order):
|
|
@@ -1570,7 +1571,7 @@ class MutatingWebhookArgs:
|
|
|
1570
1571
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
1571
1572
|
- If failurePolicy=Fail, reject the request
|
|
1572
1573
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
1573
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1574
|
+
: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".
|
|
1574
1575
|
|
|
1575
1576
|
- 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.
|
|
1576
1577
|
|
|
@@ -1609,7 +1610,7 @@ class MutatingWebhookArgs:
|
|
|
1609
1610
|
|
|
1610
1611
|
Default to the empty LabelSelector, which matches everything.
|
|
1611
1612
|
: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.
|
|
1612
|
-
: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".
|
|
1613
|
+
: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".
|
|
1613
1614
|
|
|
1614
1615
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
1615
1616
|
|
|
@@ -1617,7 +1618,7 @@ class MutatingWebhookArgs:
|
|
|
1617
1618
|
|
|
1618
1619
|
Defaults to "Never".
|
|
1619
1620
|
: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.
|
|
1620
|
-
: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 10 seconds.
|
|
1621
|
+
: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 10 seconds.
|
|
1621
1622
|
"""
|
|
1622
1623
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
1623
1624
|
pulumi.set(__self__, "client_config", client_config)
|
|
@@ -1642,14 +1643,14 @@ class MutatingWebhookArgs:
|
|
|
1642
1643
|
|
|
1643
1644
|
@property
|
|
1644
1645
|
@pulumi.getter(name="admissionReviewVersions")
|
|
1645
|
-
def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
1646
|
+
def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
1646
1647
|
"""
|
|
1647
1648
|
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.
|
|
1648
1649
|
"""
|
|
1649
1650
|
return pulumi.get(self, "admission_review_versions")
|
|
1650
1651
|
|
|
1651
1652
|
@admission_review_versions.setter
|
|
1652
|
-
def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
1653
|
+
def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
1653
1654
|
pulumi.set(self, "admission_review_versions", value)
|
|
1654
1655
|
|
|
1655
1656
|
@property
|
|
@@ -1666,38 +1667,38 @@ class MutatingWebhookArgs:
|
|
|
1666
1667
|
|
|
1667
1668
|
@property
|
|
1668
1669
|
@pulumi.getter
|
|
1669
|
-
def name(self) -> pulumi.Input[str]:
|
|
1670
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
1670
1671
|
"""
|
|
1671
1672
|
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.
|
|
1672
1673
|
"""
|
|
1673
1674
|
return pulumi.get(self, "name")
|
|
1674
1675
|
|
|
1675
1676
|
@name.setter
|
|
1676
|
-
def name(self, value: pulumi.Input[str]):
|
|
1677
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
1677
1678
|
pulumi.set(self, "name", value)
|
|
1678
1679
|
|
|
1679
1680
|
@property
|
|
1680
1681
|
@pulumi.getter(name="sideEffects")
|
|
1681
|
-
def side_effects(self) -> pulumi.Input[str]:
|
|
1682
|
+
def side_effects(self) -> pulumi.Input[builtins.str]:
|
|
1682
1683
|
"""
|
|
1683
1684
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1684
1685
|
"""
|
|
1685
1686
|
return pulumi.get(self, "side_effects")
|
|
1686
1687
|
|
|
1687
1688
|
@side_effects.setter
|
|
1688
|
-
def side_effects(self, value: pulumi.Input[str]):
|
|
1689
|
+
def side_effects(self, value: pulumi.Input[builtins.str]):
|
|
1689
1690
|
pulumi.set(self, "side_effects", value)
|
|
1690
1691
|
|
|
1691
1692
|
@property
|
|
1692
1693
|
@pulumi.getter(name="failurePolicy")
|
|
1693
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1694
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1694
1695
|
"""
|
|
1695
1696
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1696
1697
|
"""
|
|
1697
1698
|
return pulumi.get(self, "failure_policy")
|
|
1698
1699
|
|
|
1699
1700
|
@failure_policy.setter
|
|
1700
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1701
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1701
1702
|
pulumi.set(self, "failure_policy", value)
|
|
1702
1703
|
|
|
1703
1704
|
@property
|
|
@@ -1721,7 +1722,7 @@ class MutatingWebhookArgs:
|
|
|
1721
1722
|
|
|
1722
1723
|
@property
|
|
1723
1724
|
@pulumi.getter(name="matchPolicy")
|
|
1724
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1725
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1725
1726
|
"""
|
|
1726
1727
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1727
1728
|
|
|
@@ -1734,7 +1735,7 @@ class MutatingWebhookArgs:
|
|
|
1734
1735
|
return pulumi.get(self, "match_policy")
|
|
1735
1736
|
|
|
1736
1737
|
@match_policy.setter
|
|
1737
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1738
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1738
1739
|
pulumi.set(self, "match_policy", value)
|
|
1739
1740
|
|
|
1740
1741
|
@property
|
|
@@ -1793,7 +1794,7 @@ class MutatingWebhookArgs:
|
|
|
1793
1794
|
|
|
1794
1795
|
@property
|
|
1795
1796
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1796
|
-
def reinvocation_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1797
|
+
def reinvocation_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1797
1798
|
"""
|
|
1798
1799
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1799
1800
|
|
|
@@ -1806,7 +1807,7 @@ class MutatingWebhookArgs:
|
|
|
1806
1807
|
return pulumi.get(self, "reinvocation_policy")
|
|
1807
1808
|
|
|
1808
1809
|
@reinvocation_policy.setter
|
|
1809
|
-
def reinvocation_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1810
|
+
def reinvocation_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1810
1811
|
pulumi.set(self, "reinvocation_policy", value)
|
|
1811
1812
|
|
|
1812
1813
|
@property
|
|
@@ -1823,14 +1824,14 @@ class MutatingWebhookArgs:
|
|
|
1823
1824
|
|
|
1824
1825
|
@property
|
|
1825
1826
|
@pulumi.getter(name="timeoutSeconds")
|
|
1826
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1827
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1827
1828
|
"""
|
|
1828
1829
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
1829
1830
|
"""
|
|
1830
1831
|
return pulumi.get(self, "timeout_seconds")
|
|
1831
1832
|
|
|
1832
1833
|
@timeout_seconds.setter
|
|
1833
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1834
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1834
1835
|
pulumi.set(self, "timeout_seconds", value)
|
|
1835
1836
|
|
|
1836
1837
|
|
|
@@ -1839,23 +1840,23 @@ if not MYPY:
|
|
|
1839
1840
|
"""
|
|
1840
1841
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1841
1842
|
"""
|
|
1842
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1843
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1843
1844
|
"""
|
|
1844
1845
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1845
1846
|
"""
|
|
1846
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1847
|
+
api_versions: NotRequired[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
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1851
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1851
1852
|
"""
|
|
1852
1853
|
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.
|
|
1853
1854
|
"""
|
|
1854
|
-
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1855
|
+
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1855
1856
|
"""
|
|
1856
1857
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1857
1858
|
"""
|
|
1858
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1859
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1859
1860
|
"""
|
|
1860
1861
|
Resources is a list of resources this rule applies to.
|
|
1861
1862
|
|
|
@@ -1865,7 +1866,7 @@ if not MYPY:
|
|
|
1865
1866
|
|
|
1866
1867
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1867
1868
|
"""
|
|
1868
|
-
scope: NotRequired[pulumi.Input[str]]
|
|
1869
|
+
scope: NotRequired[pulumi.Input[builtins.str]]
|
|
1869
1870
|
"""
|
|
1870
1871
|
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 "*".
|
|
1871
1872
|
"""
|
|
@@ -1875,26 +1876,26 @@ elif False:
|
|
|
1875
1876
|
@pulumi.input_type
|
|
1876
1877
|
class NamedRuleWithOperationsPatchArgs:
|
|
1877
1878
|
def __init__(__self__, *,
|
|
1878
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1879
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1880
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1881
|
-
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1882
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1883
|
-
scope: Optional[pulumi.Input[str]] = None):
|
|
1879
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1880
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1881
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1882
|
+
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1883
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1884
|
+
scope: Optional[pulumi.Input[builtins.str]] = None):
|
|
1884
1885
|
"""
|
|
1885
1886
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1886
|
-
: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.
|
|
1887
|
-
: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.
|
|
1888
|
-
: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.
|
|
1889
|
-
: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.
|
|
1890
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
|
|
1887
|
+
: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.
|
|
1888
|
+
: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.
|
|
1889
|
+
: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.
|
|
1890
|
+
: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.
|
|
1891
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
1891
1892
|
|
|
1892
1893
|
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.
|
|
1893
1894
|
|
|
1894
1895
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1895
1896
|
|
|
1896
1897
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1897
|
-
: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 "*".
|
|
1898
|
+
: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 "*".
|
|
1898
1899
|
"""
|
|
1899
1900
|
if api_groups is not None:
|
|
1900
1901
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1911,55 +1912,55 @@ class NamedRuleWithOperationsPatchArgs:
|
|
|
1911
1912
|
|
|
1912
1913
|
@property
|
|
1913
1914
|
@pulumi.getter(name="apiGroups")
|
|
1914
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1915
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1915
1916
|
"""
|
|
1916
1917
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1917
1918
|
"""
|
|
1918
1919
|
return pulumi.get(self, "api_groups")
|
|
1919
1920
|
|
|
1920
1921
|
@api_groups.setter
|
|
1921
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1922
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1922
1923
|
pulumi.set(self, "api_groups", value)
|
|
1923
1924
|
|
|
1924
1925
|
@property
|
|
1925
1926
|
@pulumi.getter(name="apiVersions")
|
|
1926
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1927
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1927
1928
|
"""
|
|
1928
1929
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1929
1930
|
"""
|
|
1930
1931
|
return pulumi.get(self, "api_versions")
|
|
1931
1932
|
|
|
1932
1933
|
@api_versions.setter
|
|
1933
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1934
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1934
1935
|
pulumi.set(self, "api_versions", value)
|
|
1935
1936
|
|
|
1936
1937
|
@property
|
|
1937
1938
|
@pulumi.getter
|
|
1938
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1939
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1939
1940
|
"""
|
|
1940
1941
|
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.
|
|
1941
1942
|
"""
|
|
1942
1943
|
return pulumi.get(self, "operations")
|
|
1943
1944
|
|
|
1944
1945
|
@operations.setter
|
|
1945
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1946
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1946
1947
|
pulumi.set(self, "operations", value)
|
|
1947
1948
|
|
|
1948
1949
|
@property
|
|
1949
1950
|
@pulumi.getter(name="resourceNames")
|
|
1950
|
-
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1951
|
+
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1951
1952
|
"""
|
|
1952
1953
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1953
1954
|
"""
|
|
1954
1955
|
return pulumi.get(self, "resource_names")
|
|
1955
1956
|
|
|
1956
1957
|
@resource_names.setter
|
|
1957
|
-
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1958
|
+
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1958
1959
|
pulumi.set(self, "resource_names", value)
|
|
1959
1960
|
|
|
1960
1961
|
@property
|
|
1961
1962
|
@pulumi.getter
|
|
1962
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1963
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1963
1964
|
"""
|
|
1964
1965
|
Resources is a list of resources this rule applies to.
|
|
1965
1966
|
|
|
@@ -1972,19 +1973,19 @@ class NamedRuleWithOperationsPatchArgs:
|
|
|
1972
1973
|
return pulumi.get(self, "resources")
|
|
1973
1974
|
|
|
1974
1975
|
@resources.setter
|
|
1975
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1976
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1976
1977
|
pulumi.set(self, "resources", value)
|
|
1977
1978
|
|
|
1978
1979
|
@property
|
|
1979
1980
|
@pulumi.getter
|
|
1980
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
1981
|
+
def scope(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1981
1982
|
"""
|
|
1982
1983
|
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 "*".
|
|
1983
1984
|
"""
|
|
1984
1985
|
return pulumi.get(self, "scope")
|
|
1985
1986
|
|
|
1986
1987
|
@scope.setter
|
|
1987
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
1988
|
+
def scope(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1988
1989
|
pulumi.set(self, "scope", value)
|
|
1989
1990
|
|
|
1990
1991
|
|
|
@@ -1993,23 +1994,23 @@ if not MYPY:
|
|
|
1993
1994
|
"""
|
|
1994
1995
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1995
1996
|
"""
|
|
1996
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1997
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1997
1998
|
"""
|
|
1998
1999
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1999
2000
|
"""
|
|
2000
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2001
|
+
api_versions: NotRequired[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
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2005
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2005
2006
|
"""
|
|
2006
2007
|
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.
|
|
2007
2008
|
"""
|
|
2008
|
-
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2009
|
+
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2009
2010
|
"""
|
|
2010
2011
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2011
2012
|
"""
|
|
2012
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2013
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2013
2014
|
"""
|
|
2014
2015
|
Resources is a list of resources this rule applies to.
|
|
2015
2016
|
|
|
@@ -2019,7 +2020,7 @@ if not MYPY:
|
|
|
2019
2020
|
|
|
2020
2021
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2021
2022
|
"""
|
|
2022
|
-
scope: NotRequired[pulumi.Input[str]]
|
|
2023
|
+
scope: NotRequired[pulumi.Input[builtins.str]]
|
|
2023
2024
|
"""
|
|
2024
2025
|
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 "*".
|
|
2025
2026
|
"""
|
|
@@ -2029,26 +2030,26 @@ elif False:
|
|
|
2029
2030
|
@pulumi.input_type
|
|
2030
2031
|
class NamedRuleWithOperationsArgs:
|
|
2031
2032
|
def __init__(__self__, *,
|
|
2032
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2033
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2034
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2035
|
-
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2036
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2037
|
-
scope: Optional[pulumi.Input[str]] = None):
|
|
2033
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2034
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2035
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2036
|
+
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2037
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2038
|
+
scope: Optional[pulumi.Input[builtins.str]] = None):
|
|
2038
2039
|
"""
|
|
2039
2040
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
2040
|
-
: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.
|
|
2041
|
-
: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.
|
|
2042
|
-
: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.
|
|
2043
|
-
: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.
|
|
2044
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
|
|
2041
|
+
: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.
|
|
2042
|
+
: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.
|
|
2043
|
+
: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.
|
|
2044
|
+
: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.
|
|
2045
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2045
2046
|
|
|
2046
2047
|
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.
|
|
2047
2048
|
|
|
2048
2049
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2049
2050
|
|
|
2050
2051
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2051
|
-
: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 "*".
|
|
2052
|
+
: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 "*".
|
|
2052
2053
|
"""
|
|
2053
2054
|
if api_groups is not None:
|
|
2054
2055
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2065,55 +2066,55 @@ class NamedRuleWithOperationsArgs:
|
|
|
2065
2066
|
|
|
2066
2067
|
@property
|
|
2067
2068
|
@pulumi.getter(name="apiGroups")
|
|
2068
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2069
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2069
2070
|
"""
|
|
2070
2071
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2071
2072
|
"""
|
|
2072
2073
|
return pulumi.get(self, "api_groups")
|
|
2073
2074
|
|
|
2074
2075
|
@api_groups.setter
|
|
2075
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2076
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2076
2077
|
pulumi.set(self, "api_groups", value)
|
|
2077
2078
|
|
|
2078
2079
|
@property
|
|
2079
2080
|
@pulumi.getter(name="apiVersions")
|
|
2080
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2081
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2081
2082
|
"""
|
|
2082
2083
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2083
2084
|
"""
|
|
2084
2085
|
return pulumi.get(self, "api_versions")
|
|
2085
2086
|
|
|
2086
2087
|
@api_versions.setter
|
|
2087
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2088
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2088
2089
|
pulumi.set(self, "api_versions", value)
|
|
2089
2090
|
|
|
2090
2091
|
@property
|
|
2091
2092
|
@pulumi.getter
|
|
2092
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2093
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2093
2094
|
"""
|
|
2094
2095
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
2095
2096
|
"""
|
|
2096
2097
|
return pulumi.get(self, "operations")
|
|
2097
2098
|
|
|
2098
2099
|
@operations.setter
|
|
2099
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2100
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2100
2101
|
pulumi.set(self, "operations", value)
|
|
2101
2102
|
|
|
2102
2103
|
@property
|
|
2103
2104
|
@pulumi.getter(name="resourceNames")
|
|
2104
|
-
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2105
|
+
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2105
2106
|
"""
|
|
2106
2107
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2107
2108
|
"""
|
|
2108
2109
|
return pulumi.get(self, "resource_names")
|
|
2109
2110
|
|
|
2110
2111
|
@resource_names.setter
|
|
2111
|
-
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2112
|
+
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2112
2113
|
pulumi.set(self, "resource_names", value)
|
|
2113
2114
|
|
|
2114
2115
|
@property
|
|
2115
2116
|
@pulumi.getter
|
|
2116
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2117
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2117
2118
|
"""
|
|
2118
2119
|
Resources is a list of resources this rule applies to.
|
|
2119
2120
|
|
|
@@ -2126,19 +2127,19 @@ class NamedRuleWithOperationsArgs:
|
|
|
2126
2127
|
return pulumi.get(self, "resources")
|
|
2127
2128
|
|
|
2128
2129
|
@resources.setter
|
|
2129
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2130
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2130
2131
|
pulumi.set(self, "resources", value)
|
|
2131
2132
|
|
|
2132
2133
|
@property
|
|
2133
2134
|
@pulumi.getter
|
|
2134
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
2135
|
+
def scope(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2135
2136
|
"""
|
|
2136
2137
|
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 "*".
|
|
2137
2138
|
"""
|
|
2138
2139
|
return pulumi.get(self, "scope")
|
|
2139
2140
|
|
|
2140
2141
|
@scope.setter
|
|
2141
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
2142
|
+
def scope(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2142
2143
|
pulumi.set(self, "scope", value)
|
|
2143
2144
|
|
|
2144
2145
|
|
|
@@ -2147,11 +2148,11 @@ if not MYPY:
|
|
|
2147
2148
|
"""
|
|
2148
2149
|
ParamKind is a tuple of Group Kind and Version.
|
|
2149
2150
|
"""
|
|
2150
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
2151
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
2151
2152
|
"""
|
|
2152
2153
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2153
2154
|
"""
|
|
2154
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
2155
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
2155
2156
|
"""
|
|
2156
2157
|
Kind is the API kind the resources belong to. Required.
|
|
2157
2158
|
"""
|
|
@@ -2161,12 +2162,12 @@ elif False:
|
|
|
2161
2162
|
@pulumi.input_type
|
|
2162
2163
|
class ParamKindPatchArgs:
|
|
2163
2164
|
def __init__(__self__, *,
|
|
2164
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2165
|
-
kind: Optional[pulumi.Input[str]] = None):
|
|
2165
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
2166
|
+
kind: Optional[pulumi.Input[builtins.str]] = None):
|
|
2166
2167
|
"""
|
|
2167
2168
|
ParamKind is a tuple of Group Kind and Version.
|
|
2168
|
-
:param pulumi.Input[str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2169
|
-
:param pulumi.Input[str] kind: Kind is the API kind the resources belong to. Required.
|
|
2169
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2170
|
+
:param pulumi.Input[builtins.str] kind: Kind is the API kind the resources belong to. Required.
|
|
2170
2171
|
"""
|
|
2171
2172
|
if api_version is not None:
|
|
2172
2173
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -2175,26 +2176,26 @@ class ParamKindPatchArgs:
|
|
|
2175
2176
|
|
|
2176
2177
|
@property
|
|
2177
2178
|
@pulumi.getter(name="apiVersion")
|
|
2178
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2179
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2179
2180
|
"""
|
|
2180
2181
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2181
2182
|
"""
|
|
2182
2183
|
return pulumi.get(self, "api_version")
|
|
2183
2184
|
|
|
2184
2185
|
@api_version.setter
|
|
2185
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2186
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2186
2187
|
pulumi.set(self, "api_version", value)
|
|
2187
2188
|
|
|
2188
2189
|
@property
|
|
2189
2190
|
@pulumi.getter
|
|
2190
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2191
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2191
2192
|
"""
|
|
2192
2193
|
Kind is the API kind the resources belong to. Required.
|
|
2193
2194
|
"""
|
|
2194
2195
|
return pulumi.get(self, "kind")
|
|
2195
2196
|
|
|
2196
2197
|
@kind.setter
|
|
2197
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2198
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2198
2199
|
pulumi.set(self, "kind", value)
|
|
2199
2200
|
|
|
2200
2201
|
|
|
@@ -2203,11 +2204,11 @@ if not MYPY:
|
|
|
2203
2204
|
"""
|
|
2204
2205
|
ParamKind is a tuple of Group Kind and Version.
|
|
2205
2206
|
"""
|
|
2206
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
2207
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
2207
2208
|
"""
|
|
2208
2209
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2209
2210
|
"""
|
|
2210
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
2211
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
2211
2212
|
"""
|
|
2212
2213
|
Kind is the API kind the resources belong to. Required.
|
|
2213
2214
|
"""
|
|
@@ -2217,12 +2218,12 @@ elif False:
|
|
|
2217
2218
|
@pulumi.input_type
|
|
2218
2219
|
class ParamKindArgs:
|
|
2219
2220
|
def __init__(__self__, *,
|
|
2220
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2221
|
-
kind: Optional[pulumi.Input[str]] = None):
|
|
2221
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
2222
|
+
kind: Optional[pulumi.Input[builtins.str]] = None):
|
|
2222
2223
|
"""
|
|
2223
2224
|
ParamKind is a tuple of Group Kind and Version.
|
|
2224
|
-
:param pulumi.Input[str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2225
|
-
:param pulumi.Input[str] kind: Kind is the API kind the resources belong to. Required.
|
|
2225
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2226
|
+
:param pulumi.Input[builtins.str] kind: Kind is the API kind the resources belong to. Required.
|
|
2226
2227
|
"""
|
|
2227
2228
|
if api_version is not None:
|
|
2228
2229
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -2231,26 +2232,26 @@ class ParamKindArgs:
|
|
|
2231
2232
|
|
|
2232
2233
|
@property
|
|
2233
2234
|
@pulumi.getter(name="apiVersion")
|
|
2234
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2235
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2235
2236
|
"""
|
|
2236
2237
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2237
2238
|
"""
|
|
2238
2239
|
return pulumi.get(self, "api_version")
|
|
2239
2240
|
|
|
2240
2241
|
@api_version.setter
|
|
2241
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2242
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2242
2243
|
pulumi.set(self, "api_version", value)
|
|
2243
2244
|
|
|
2244
2245
|
@property
|
|
2245
2246
|
@pulumi.getter
|
|
2246
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2247
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2247
2248
|
"""
|
|
2248
2249
|
Kind is the API kind the resources belong to. Required.
|
|
2249
2250
|
"""
|
|
2250
2251
|
return pulumi.get(self, "kind")
|
|
2251
2252
|
|
|
2252
2253
|
@kind.setter
|
|
2253
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2254
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2254
2255
|
pulumi.set(self, "kind", value)
|
|
2255
2256
|
|
|
2256
2257
|
|
|
@@ -2259,7 +2260,7 @@ if not MYPY:
|
|
|
2259
2260
|
"""
|
|
2260
2261
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2261
2262
|
"""
|
|
2262
|
-
name: NotRequired[pulumi.Input[str]]
|
|
2263
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
2263
2264
|
"""
|
|
2264
2265
|
name is the name of the resource being referenced.
|
|
2265
2266
|
|
|
@@ -2267,7 +2268,7 @@ if not MYPY:
|
|
|
2267
2268
|
|
|
2268
2269
|
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.
|
|
2269
2270
|
"""
|
|
2270
|
-
namespace: NotRequired[pulumi.Input[str]]
|
|
2271
|
+
namespace: NotRequired[pulumi.Input[builtins.str]]
|
|
2271
2272
|
"""
|
|
2272
2273
|
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.
|
|
2273
2274
|
|
|
@@ -2277,7 +2278,7 @@ if not MYPY:
|
|
|
2277
2278
|
|
|
2278
2279
|
- 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.
|
|
2279
2280
|
"""
|
|
2280
|
-
parameter_not_found_action: NotRequired[pulumi.Input[str]]
|
|
2281
|
+
parameter_not_found_action: NotRequired[pulumi.Input[builtins.str]]
|
|
2281
2282
|
"""
|
|
2282
2283
|
`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.
|
|
2283
2284
|
|
|
@@ -2299,25 +2300,25 @@ elif False:
|
|
|
2299
2300
|
@pulumi.input_type
|
|
2300
2301
|
class ParamRefPatchArgs:
|
|
2301
2302
|
def __init__(__self__, *,
|
|
2302
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2303
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
2304
|
-
parameter_not_found_action: Optional[pulumi.Input[str]] = None,
|
|
2303
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2304
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
2305
|
+
parameter_not_found_action: Optional[pulumi.Input[builtins.str]] = None,
|
|
2305
2306
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
|
|
2306
2307
|
"""
|
|
2307
2308
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2308
|
-
:param pulumi.Input[str] name: name is the name of the resource being referenced.
|
|
2309
|
+
:param pulumi.Input[builtins.str] name: name is the name of the resource being referenced.
|
|
2309
2310
|
|
|
2310
2311
|
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.
|
|
2311
2312
|
|
|
2312
2313
|
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.
|
|
2313
|
-
: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.
|
|
2314
|
+
: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.
|
|
2314
2315
|
|
|
2315
2316
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
2316
2317
|
|
|
2317
2318
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
2318
2319
|
|
|
2319
2320
|
- 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.
|
|
2320
|
-
: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.
|
|
2321
|
+
: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.
|
|
2321
2322
|
|
|
2322
2323
|
Allowed values are `Allow` or `Deny`
|
|
2323
2324
|
|
|
@@ -2339,7 +2340,7 @@ class ParamRefPatchArgs:
|
|
|
2339
2340
|
|
|
2340
2341
|
@property
|
|
2341
2342
|
@pulumi.getter
|
|
2342
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2343
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2343
2344
|
"""
|
|
2344
2345
|
name is the name of the resource being referenced.
|
|
2345
2346
|
|
|
@@ -2350,12 +2351,12 @@ class ParamRefPatchArgs:
|
|
|
2350
2351
|
return pulumi.get(self, "name")
|
|
2351
2352
|
|
|
2352
2353
|
@name.setter
|
|
2353
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
2354
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2354
2355
|
pulumi.set(self, "name", value)
|
|
2355
2356
|
|
|
2356
2357
|
@property
|
|
2357
2358
|
@pulumi.getter
|
|
2358
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
2359
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2359
2360
|
"""
|
|
2360
2361
|
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.
|
|
2361
2362
|
|
|
@@ -2368,12 +2369,12 @@ class ParamRefPatchArgs:
|
|
|
2368
2369
|
return pulumi.get(self, "namespace")
|
|
2369
2370
|
|
|
2370
2371
|
@namespace.setter
|
|
2371
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
2372
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2372
2373
|
pulumi.set(self, "namespace", value)
|
|
2373
2374
|
|
|
2374
2375
|
@property
|
|
2375
2376
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
2376
|
-
def parameter_not_found_action(self) -> Optional[pulumi.Input[str]]:
|
|
2377
|
+
def parameter_not_found_action(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2377
2378
|
"""
|
|
2378
2379
|
`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.
|
|
2379
2380
|
|
|
@@ -2384,7 +2385,7 @@ class ParamRefPatchArgs:
|
|
|
2384
2385
|
return pulumi.get(self, "parameter_not_found_action")
|
|
2385
2386
|
|
|
2386
2387
|
@parameter_not_found_action.setter
|
|
2387
|
-
def parameter_not_found_action(self, value: Optional[pulumi.Input[str]]):
|
|
2388
|
+
def parameter_not_found_action(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2388
2389
|
pulumi.set(self, "parameter_not_found_action", value)
|
|
2389
2390
|
|
|
2390
2391
|
@property
|
|
@@ -2409,7 +2410,7 @@ if not MYPY:
|
|
|
2409
2410
|
"""
|
|
2410
2411
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2411
2412
|
"""
|
|
2412
|
-
name: NotRequired[pulumi.Input[str]]
|
|
2413
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
2413
2414
|
"""
|
|
2414
2415
|
name is the name of the resource being referenced.
|
|
2415
2416
|
|
|
@@ -2417,7 +2418,7 @@ if not MYPY:
|
|
|
2417
2418
|
|
|
2418
2419
|
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.
|
|
2419
2420
|
"""
|
|
2420
|
-
namespace: NotRequired[pulumi.Input[str]]
|
|
2421
|
+
namespace: NotRequired[pulumi.Input[builtins.str]]
|
|
2421
2422
|
"""
|
|
2422
2423
|
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.
|
|
2423
2424
|
|
|
@@ -2427,7 +2428,7 @@ if not MYPY:
|
|
|
2427
2428
|
|
|
2428
2429
|
- 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.
|
|
2429
2430
|
"""
|
|
2430
|
-
parameter_not_found_action: NotRequired[pulumi.Input[str]]
|
|
2431
|
+
parameter_not_found_action: NotRequired[pulumi.Input[builtins.str]]
|
|
2431
2432
|
"""
|
|
2432
2433
|
`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.
|
|
2433
2434
|
|
|
@@ -2449,25 +2450,25 @@ elif False:
|
|
|
2449
2450
|
@pulumi.input_type
|
|
2450
2451
|
class ParamRefArgs:
|
|
2451
2452
|
def __init__(__self__, *,
|
|
2452
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2453
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
2454
|
-
parameter_not_found_action: Optional[pulumi.Input[str]] = None,
|
|
2453
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2454
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
2455
|
+
parameter_not_found_action: Optional[pulumi.Input[builtins.str]] = None,
|
|
2455
2456
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
2456
2457
|
"""
|
|
2457
2458
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2458
|
-
:param pulumi.Input[str] name: name is the name of the resource being referenced.
|
|
2459
|
+
:param pulumi.Input[builtins.str] name: name is the name of the resource being referenced.
|
|
2459
2460
|
|
|
2460
2461
|
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.
|
|
2461
2462
|
|
|
2462
2463
|
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.
|
|
2463
|
-
: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.
|
|
2464
|
+
: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.
|
|
2464
2465
|
|
|
2465
2466
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
2466
2467
|
|
|
2467
2468
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
2468
2469
|
|
|
2469
2470
|
- 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.
|
|
2470
|
-
: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.
|
|
2471
|
+
: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.
|
|
2471
2472
|
|
|
2472
2473
|
Allowed values are `Allow` or `Deny`
|
|
2473
2474
|
|
|
@@ -2489,7 +2490,7 @@ class ParamRefArgs:
|
|
|
2489
2490
|
|
|
2490
2491
|
@property
|
|
2491
2492
|
@pulumi.getter
|
|
2492
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2493
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2493
2494
|
"""
|
|
2494
2495
|
name is the name of the resource being referenced.
|
|
2495
2496
|
|
|
@@ -2500,12 +2501,12 @@ class ParamRefArgs:
|
|
|
2500
2501
|
return pulumi.get(self, "name")
|
|
2501
2502
|
|
|
2502
2503
|
@name.setter
|
|
2503
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
2504
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2504
2505
|
pulumi.set(self, "name", value)
|
|
2505
2506
|
|
|
2506
2507
|
@property
|
|
2507
2508
|
@pulumi.getter
|
|
2508
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
2509
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2509
2510
|
"""
|
|
2510
2511
|
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.
|
|
2511
2512
|
|
|
@@ -2518,12 +2519,12 @@ class ParamRefArgs:
|
|
|
2518
2519
|
return pulumi.get(self, "namespace")
|
|
2519
2520
|
|
|
2520
2521
|
@namespace.setter
|
|
2521
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
2522
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2522
2523
|
pulumi.set(self, "namespace", value)
|
|
2523
2524
|
|
|
2524
2525
|
@property
|
|
2525
2526
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
2526
|
-
def parameter_not_found_action(self) -> Optional[pulumi.Input[str]]:
|
|
2527
|
+
def parameter_not_found_action(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2527
2528
|
"""
|
|
2528
2529
|
`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.
|
|
2529
2530
|
|
|
@@ -2534,7 +2535,7 @@ class ParamRefArgs:
|
|
|
2534
2535
|
return pulumi.get(self, "parameter_not_found_action")
|
|
2535
2536
|
|
|
2536
2537
|
@parameter_not_found_action.setter
|
|
2537
|
-
def parameter_not_found_action(self, value: Optional[pulumi.Input[str]]):
|
|
2538
|
+
def parameter_not_found_action(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2538
2539
|
pulumi.set(self, "parameter_not_found_action", value)
|
|
2539
2540
|
|
|
2540
2541
|
@property
|
|
@@ -2559,19 +2560,19 @@ if not MYPY:
|
|
|
2559
2560
|
"""
|
|
2560
2561
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2561
2562
|
"""
|
|
2562
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2563
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2563
2564
|
"""
|
|
2564
2565
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2565
2566
|
"""
|
|
2566
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2567
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2567
2568
|
"""
|
|
2568
2569
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2569
2570
|
"""
|
|
2570
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2571
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2571
2572
|
"""
|
|
2572
2573
|
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.
|
|
2573
2574
|
"""
|
|
2574
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2575
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2575
2576
|
"""
|
|
2576
2577
|
Resources is a list of resources this rule applies to.
|
|
2577
2578
|
|
|
@@ -2581,7 +2582,7 @@ if not MYPY:
|
|
|
2581
2582
|
|
|
2582
2583
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2583
2584
|
"""
|
|
2584
|
-
scope: NotRequired[pulumi.Input[str]]
|
|
2585
|
+
scope: NotRequired[pulumi.Input[builtins.str]]
|
|
2585
2586
|
"""
|
|
2586
2587
|
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 "*".
|
|
2587
2588
|
"""
|
|
@@ -2591,24 +2592,24 @@ elif False:
|
|
|
2591
2592
|
@pulumi.input_type
|
|
2592
2593
|
class RuleWithOperationsPatchArgs:
|
|
2593
2594
|
def __init__(__self__, *,
|
|
2594
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2595
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2596
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2597
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2598
|
-
scope: Optional[pulumi.Input[str]] = None):
|
|
2595
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2596
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2597
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2598
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2599
|
+
scope: Optional[pulumi.Input[builtins.str]] = None):
|
|
2599
2600
|
"""
|
|
2600
2601
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2601
|
-
: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.
|
|
2602
|
-
: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.
|
|
2603
|
-
: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.
|
|
2604
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
|
|
2602
|
+
: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.
|
|
2603
|
+
: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.
|
|
2604
|
+
: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.
|
|
2605
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2605
2606
|
|
|
2606
2607
|
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.
|
|
2607
2608
|
|
|
2608
2609
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2609
2610
|
|
|
2610
2611
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2611
|
-
: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 "*".
|
|
2612
|
+
: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 "*".
|
|
2612
2613
|
"""
|
|
2613
2614
|
if api_groups is not None:
|
|
2614
2615
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2623,43 +2624,43 @@ class RuleWithOperationsPatchArgs:
|
|
|
2623
2624
|
|
|
2624
2625
|
@property
|
|
2625
2626
|
@pulumi.getter(name="apiGroups")
|
|
2626
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2627
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2627
2628
|
"""
|
|
2628
2629
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2629
2630
|
"""
|
|
2630
2631
|
return pulumi.get(self, "api_groups")
|
|
2631
2632
|
|
|
2632
2633
|
@api_groups.setter
|
|
2633
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2634
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2634
2635
|
pulumi.set(self, "api_groups", value)
|
|
2635
2636
|
|
|
2636
2637
|
@property
|
|
2637
2638
|
@pulumi.getter(name="apiVersions")
|
|
2638
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2639
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2639
2640
|
"""
|
|
2640
2641
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2641
2642
|
"""
|
|
2642
2643
|
return pulumi.get(self, "api_versions")
|
|
2643
2644
|
|
|
2644
2645
|
@api_versions.setter
|
|
2645
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2646
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2646
2647
|
pulumi.set(self, "api_versions", value)
|
|
2647
2648
|
|
|
2648
2649
|
@property
|
|
2649
2650
|
@pulumi.getter
|
|
2650
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2651
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2651
2652
|
"""
|
|
2652
2653
|
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.
|
|
2653
2654
|
"""
|
|
2654
2655
|
return pulumi.get(self, "operations")
|
|
2655
2656
|
|
|
2656
2657
|
@operations.setter
|
|
2657
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2658
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2658
2659
|
pulumi.set(self, "operations", value)
|
|
2659
2660
|
|
|
2660
2661
|
@property
|
|
2661
2662
|
@pulumi.getter
|
|
2662
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2663
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2663
2664
|
"""
|
|
2664
2665
|
Resources is a list of resources this rule applies to.
|
|
2665
2666
|
|
|
@@ -2672,19 +2673,19 @@ class RuleWithOperationsPatchArgs:
|
|
|
2672
2673
|
return pulumi.get(self, "resources")
|
|
2673
2674
|
|
|
2674
2675
|
@resources.setter
|
|
2675
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2676
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2676
2677
|
pulumi.set(self, "resources", value)
|
|
2677
2678
|
|
|
2678
2679
|
@property
|
|
2679
2680
|
@pulumi.getter
|
|
2680
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
2681
|
+
def scope(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2681
2682
|
"""
|
|
2682
2683
|
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 "*".
|
|
2683
2684
|
"""
|
|
2684
2685
|
return pulumi.get(self, "scope")
|
|
2685
2686
|
|
|
2686
2687
|
@scope.setter
|
|
2687
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
2688
|
+
def scope(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2688
2689
|
pulumi.set(self, "scope", value)
|
|
2689
2690
|
|
|
2690
2691
|
|
|
@@ -2693,19 +2694,19 @@ if not MYPY:
|
|
|
2693
2694
|
"""
|
|
2694
2695
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2695
2696
|
"""
|
|
2696
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2697
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2697
2698
|
"""
|
|
2698
2699
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2699
2700
|
"""
|
|
2700
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2701
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2701
2702
|
"""
|
|
2702
2703
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2703
2704
|
"""
|
|
2704
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2705
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2705
2706
|
"""
|
|
2706
2707
|
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.
|
|
2707
2708
|
"""
|
|
2708
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2709
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2709
2710
|
"""
|
|
2710
2711
|
Resources is a list of resources this rule applies to.
|
|
2711
2712
|
|
|
@@ -2715,7 +2716,7 @@ if not MYPY:
|
|
|
2715
2716
|
|
|
2716
2717
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2717
2718
|
"""
|
|
2718
|
-
scope: NotRequired[pulumi.Input[str]]
|
|
2719
|
+
scope: NotRequired[pulumi.Input[builtins.str]]
|
|
2719
2720
|
"""
|
|
2720
2721
|
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 "*".
|
|
2721
2722
|
"""
|
|
@@ -2725,24 +2726,24 @@ elif False:
|
|
|
2725
2726
|
@pulumi.input_type
|
|
2726
2727
|
class RuleWithOperationsArgs:
|
|
2727
2728
|
def __init__(__self__, *,
|
|
2728
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2729
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2730
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2731
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2732
|
-
scope: Optional[pulumi.Input[str]] = None):
|
|
2729
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2730
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2731
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2732
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2733
|
+
scope: Optional[pulumi.Input[builtins.str]] = None):
|
|
2733
2734
|
"""
|
|
2734
2735
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2735
|
-
: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.
|
|
2736
|
-
: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.
|
|
2737
|
-
: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.
|
|
2738
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
|
|
2736
|
+
: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.
|
|
2737
|
+
: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.
|
|
2738
|
+
: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.
|
|
2739
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2739
2740
|
|
|
2740
2741
|
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.
|
|
2741
2742
|
|
|
2742
2743
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2743
2744
|
|
|
2744
2745
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2745
|
-
: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 "*".
|
|
2746
|
+
: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 "*".
|
|
2746
2747
|
"""
|
|
2747
2748
|
if api_groups is not None:
|
|
2748
2749
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2757,43 +2758,43 @@ class RuleWithOperationsArgs:
|
|
|
2757
2758
|
|
|
2758
2759
|
@property
|
|
2759
2760
|
@pulumi.getter(name="apiGroups")
|
|
2760
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2761
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2761
2762
|
"""
|
|
2762
2763
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2763
2764
|
"""
|
|
2764
2765
|
return pulumi.get(self, "api_groups")
|
|
2765
2766
|
|
|
2766
2767
|
@api_groups.setter
|
|
2767
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2768
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2768
2769
|
pulumi.set(self, "api_groups", value)
|
|
2769
2770
|
|
|
2770
2771
|
@property
|
|
2771
2772
|
@pulumi.getter(name="apiVersions")
|
|
2772
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2773
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2773
2774
|
"""
|
|
2774
2775
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2775
2776
|
"""
|
|
2776
2777
|
return pulumi.get(self, "api_versions")
|
|
2777
2778
|
|
|
2778
2779
|
@api_versions.setter
|
|
2779
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2780
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2780
2781
|
pulumi.set(self, "api_versions", value)
|
|
2781
2782
|
|
|
2782
2783
|
@property
|
|
2783
2784
|
@pulumi.getter
|
|
2784
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2785
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2785
2786
|
"""
|
|
2786
2787
|
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.
|
|
2787
2788
|
"""
|
|
2788
2789
|
return pulumi.get(self, "operations")
|
|
2789
2790
|
|
|
2790
2791
|
@operations.setter
|
|
2791
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2792
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2792
2793
|
pulumi.set(self, "operations", value)
|
|
2793
2794
|
|
|
2794
2795
|
@property
|
|
2795
2796
|
@pulumi.getter
|
|
2796
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2797
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2797
2798
|
"""
|
|
2798
2799
|
Resources is a list of resources this rule applies to.
|
|
2799
2800
|
|
|
@@ -2806,19 +2807,19 @@ class RuleWithOperationsArgs:
|
|
|
2806
2807
|
return pulumi.get(self, "resources")
|
|
2807
2808
|
|
|
2808
2809
|
@resources.setter
|
|
2809
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2810
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2810
2811
|
pulumi.set(self, "resources", value)
|
|
2811
2812
|
|
|
2812
2813
|
@property
|
|
2813
2814
|
@pulumi.getter
|
|
2814
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
2815
|
+
def scope(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2815
2816
|
"""
|
|
2816
2817
|
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 "*".
|
|
2817
2818
|
"""
|
|
2818
2819
|
return pulumi.get(self, "scope")
|
|
2819
2820
|
|
|
2820
2821
|
@scope.setter
|
|
2821
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
2822
|
+
def scope(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2822
2823
|
pulumi.set(self, "scope", value)
|
|
2823
2824
|
|
|
2824
2825
|
|
|
@@ -2827,19 +2828,19 @@ if not MYPY:
|
|
|
2827
2828
|
"""
|
|
2828
2829
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2829
2830
|
"""
|
|
2830
|
-
name: NotRequired[pulumi.Input[str]]
|
|
2831
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
2831
2832
|
"""
|
|
2832
2833
|
`name` is the name of the service. Required
|
|
2833
2834
|
"""
|
|
2834
|
-
namespace: NotRequired[pulumi.Input[str]]
|
|
2835
|
+
namespace: NotRequired[pulumi.Input[builtins.str]]
|
|
2835
2836
|
"""
|
|
2836
2837
|
`namespace` is the namespace of the service. Required
|
|
2837
2838
|
"""
|
|
2838
|
-
path: NotRequired[pulumi.Input[str]]
|
|
2839
|
+
path: NotRequired[pulumi.Input[builtins.str]]
|
|
2839
2840
|
"""
|
|
2840
2841
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2841
2842
|
"""
|
|
2842
|
-
port: NotRequired[pulumi.Input[int]]
|
|
2843
|
+
port: NotRequired[pulumi.Input[builtins.int]]
|
|
2843
2844
|
"""
|
|
2844
2845
|
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).
|
|
2845
2846
|
"""
|
|
@@ -2849,16 +2850,16 @@ elif False:
|
|
|
2849
2850
|
@pulumi.input_type
|
|
2850
2851
|
class ServiceReferencePatchArgs:
|
|
2851
2852
|
def __init__(__self__, *,
|
|
2852
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2853
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
2854
|
-
path: Optional[pulumi.Input[str]] = None,
|
|
2855
|
-
port: Optional[pulumi.Input[int]] = None):
|
|
2853
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2854
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
2855
|
+
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
2856
|
+
port: Optional[pulumi.Input[builtins.int]] = None):
|
|
2856
2857
|
"""
|
|
2857
2858
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2858
|
-
:param pulumi.Input[str] name: `name` is the name of the service. Required
|
|
2859
|
-
:param pulumi.Input[str] namespace: `namespace` is the namespace of the service. Required
|
|
2860
|
-
:param pulumi.Input[str] path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2861
|
-
: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).
|
|
2859
|
+
:param pulumi.Input[builtins.str] name: `name` is the name of the service. Required
|
|
2860
|
+
:param pulumi.Input[builtins.str] namespace: `namespace` is the namespace of the service. Required
|
|
2861
|
+
:param pulumi.Input[builtins.str] path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2862
|
+
: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).
|
|
2862
2863
|
"""
|
|
2863
2864
|
if name is not None:
|
|
2864
2865
|
pulumi.set(__self__, "name", name)
|
|
@@ -2871,50 +2872,50 @@ class ServiceReferencePatchArgs:
|
|
|
2871
2872
|
|
|
2872
2873
|
@property
|
|
2873
2874
|
@pulumi.getter
|
|
2874
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2875
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2875
2876
|
"""
|
|
2876
2877
|
`name` is the name of the service. Required
|
|
2877
2878
|
"""
|
|
2878
2879
|
return pulumi.get(self, "name")
|
|
2879
2880
|
|
|
2880
2881
|
@name.setter
|
|
2881
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
2882
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2882
2883
|
pulumi.set(self, "name", value)
|
|
2883
2884
|
|
|
2884
2885
|
@property
|
|
2885
2886
|
@pulumi.getter
|
|
2886
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
2887
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2887
2888
|
"""
|
|
2888
2889
|
`namespace` is the namespace of the service. Required
|
|
2889
2890
|
"""
|
|
2890
2891
|
return pulumi.get(self, "namespace")
|
|
2891
2892
|
|
|
2892
2893
|
@namespace.setter
|
|
2893
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
2894
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2894
2895
|
pulumi.set(self, "namespace", value)
|
|
2895
2896
|
|
|
2896
2897
|
@property
|
|
2897
2898
|
@pulumi.getter
|
|
2898
|
-
def path(self) -> Optional[pulumi.Input[str]]:
|
|
2899
|
+
def path(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2899
2900
|
"""
|
|
2900
2901
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2901
2902
|
"""
|
|
2902
2903
|
return pulumi.get(self, "path")
|
|
2903
2904
|
|
|
2904
2905
|
@path.setter
|
|
2905
|
-
def path(self, value: Optional[pulumi.Input[str]]):
|
|
2906
|
+
def path(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2906
2907
|
pulumi.set(self, "path", value)
|
|
2907
2908
|
|
|
2908
2909
|
@property
|
|
2909
2910
|
@pulumi.getter
|
|
2910
|
-
def port(self) -> Optional[pulumi.Input[int]]:
|
|
2911
|
+
def port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2911
2912
|
"""
|
|
2912
2913
|
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).
|
|
2913
2914
|
"""
|
|
2914
2915
|
return pulumi.get(self, "port")
|
|
2915
2916
|
|
|
2916
2917
|
@port.setter
|
|
2917
|
-
def port(self, value: Optional[pulumi.Input[int]]):
|
|
2918
|
+
def port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2918
2919
|
pulumi.set(self, "port", value)
|
|
2919
2920
|
|
|
2920
2921
|
|
|
@@ -2923,19 +2924,19 @@ if not MYPY:
|
|
|
2923
2924
|
"""
|
|
2924
2925
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2925
2926
|
"""
|
|
2926
|
-
name: pulumi.Input[str]
|
|
2927
|
+
name: pulumi.Input[builtins.str]
|
|
2927
2928
|
"""
|
|
2928
2929
|
`name` is the name of the service. Required
|
|
2929
2930
|
"""
|
|
2930
|
-
namespace: pulumi.Input[str]
|
|
2931
|
+
namespace: pulumi.Input[builtins.str]
|
|
2931
2932
|
"""
|
|
2932
2933
|
`namespace` is the namespace of the service. Required
|
|
2933
2934
|
"""
|
|
2934
|
-
path: NotRequired[pulumi.Input[str]]
|
|
2935
|
+
path: NotRequired[pulumi.Input[builtins.str]]
|
|
2935
2936
|
"""
|
|
2936
2937
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2937
2938
|
"""
|
|
2938
|
-
port: NotRequired[pulumi.Input[int]]
|
|
2939
|
+
port: NotRequired[pulumi.Input[builtins.int]]
|
|
2939
2940
|
"""
|
|
2940
2941
|
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).
|
|
2941
2942
|
"""
|
|
@@ -2945,16 +2946,16 @@ elif False:
|
|
|
2945
2946
|
@pulumi.input_type
|
|
2946
2947
|
class ServiceReferenceArgs:
|
|
2947
2948
|
def __init__(__self__, *,
|
|
2948
|
-
name: pulumi.Input[str],
|
|
2949
|
-
namespace: pulumi.Input[str],
|
|
2950
|
-
path: Optional[pulumi.Input[str]] = None,
|
|
2951
|
-
port: Optional[pulumi.Input[int]] = None):
|
|
2949
|
+
name: pulumi.Input[builtins.str],
|
|
2950
|
+
namespace: pulumi.Input[builtins.str],
|
|
2951
|
+
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
2952
|
+
port: Optional[pulumi.Input[builtins.int]] = None):
|
|
2952
2953
|
"""
|
|
2953
2954
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2954
|
-
:param pulumi.Input[str] name: `name` is the name of the service. Required
|
|
2955
|
-
:param pulumi.Input[str] namespace: `namespace` is the namespace of the service. Required
|
|
2956
|
-
:param pulumi.Input[str] path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2957
|
-
: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).
|
|
2955
|
+
:param pulumi.Input[builtins.str] name: `name` is the name of the service. Required
|
|
2956
|
+
:param pulumi.Input[builtins.str] namespace: `namespace` is the namespace of the service. Required
|
|
2957
|
+
:param pulumi.Input[builtins.str] path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2958
|
+
: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).
|
|
2958
2959
|
"""
|
|
2959
2960
|
pulumi.set(__self__, "name", name)
|
|
2960
2961
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -2965,50 +2966,50 @@ class ServiceReferenceArgs:
|
|
|
2965
2966
|
|
|
2966
2967
|
@property
|
|
2967
2968
|
@pulumi.getter
|
|
2968
|
-
def name(self) -> pulumi.Input[str]:
|
|
2969
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
2969
2970
|
"""
|
|
2970
2971
|
`name` is the name of the service. Required
|
|
2971
2972
|
"""
|
|
2972
2973
|
return pulumi.get(self, "name")
|
|
2973
2974
|
|
|
2974
2975
|
@name.setter
|
|
2975
|
-
def name(self, value: pulumi.Input[str]):
|
|
2976
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
2976
2977
|
pulumi.set(self, "name", value)
|
|
2977
2978
|
|
|
2978
2979
|
@property
|
|
2979
2980
|
@pulumi.getter
|
|
2980
|
-
def namespace(self) -> pulumi.Input[str]:
|
|
2981
|
+
def namespace(self) -> pulumi.Input[builtins.str]:
|
|
2981
2982
|
"""
|
|
2982
2983
|
`namespace` is the namespace of the service. Required
|
|
2983
2984
|
"""
|
|
2984
2985
|
return pulumi.get(self, "namespace")
|
|
2985
2986
|
|
|
2986
2987
|
@namespace.setter
|
|
2987
|
-
def namespace(self, value: pulumi.Input[str]):
|
|
2988
|
+
def namespace(self, value: pulumi.Input[builtins.str]):
|
|
2988
2989
|
pulumi.set(self, "namespace", value)
|
|
2989
2990
|
|
|
2990
2991
|
@property
|
|
2991
2992
|
@pulumi.getter
|
|
2992
|
-
def path(self) -> Optional[pulumi.Input[str]]:
|
|
2993
|
+
def path(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2993
2994
|
"""
|
|
2994
2995
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2995
2996
|
"""
|
|
2996
2997
|
return pulumi.get(self, "path")
|
|
2997
2998
|
|
|
2998
2999
|
@path.setter
|
|
2999
|
-
def path(self, value: Optional[pulumi.Input[str]]):
|
|
3000
|
+
def path(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3000
3001
|
pulumi.set(self, "path", value)
|
|
3001
3002
|
|
|
3002
3003
|
@property
|
|
3003
3004
|
@pulumi.getter
|
|
3004
|
-
def port(self) -> Optional[pulumi.Input[int]]:
|
|
3005
|
+
def port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3005
3006
|
"""
|
|
3006
3007
|
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).
|
|
3007
3008
|
"""
|
|
3008
3009
|
return pulumi.get(self, "port")
|
|
3009
3010
|
|
|
3010
3011
|
@port.setter
|
|
3011
|
-
def port(self, value: Optional[pulumi.Input[int]]):
|
|
3012
|
+
def port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3012
3013
|
pulumi.set(self, "port", value)
|
|
3013
3014
|
|
|
3014
3015
|
|
|
@@ -3061,11 +3062,11 @@ if not MYPY:
|
|
|
3061
3062
|
"""
|
|
3062
3063
|
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.
|
|
3063
3064
|
"""
|
|
3064
|
-
policy_name: NotRequired[pulumi.Input[str]]
|
|
3065
|
+
policy_name: NotRequired[pulumi.Input[builtins.str]]
|
|
3065
3066
|
"""
|
|
3066
3067
|
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.
|
|
3067
3068
|
"""
|
|
3068
|
-
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
3069
|
+
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
3069
3070
|
"""
|
|
3070
3071
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3071
3072
|
|
|
@@ -3095,14 +3096,14 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3095
3096
|
def __init__(__self__, *,
|
|
3096
3097
|
match_resources: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
3097
3098
|
param_ref: Optional[pulumi.Input['ParamRefPatchArgs']] = None,
|
|
3098
|
-
policy_name: Optional[pulumi.Input[str]] = None,
|
|
3099
|
-
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
3099
|
+
policy_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
3100
|
+
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
3100
3101
|
"""
|
|
3101
3102
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
3102
3103
|
: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.
|
|
3103
3104
|
: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.
|
|
3104
|
-
: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.
|
|
3105
|
-
: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.
|
|
3105
|
+
: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.
|
|
3106
|
+
: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.
|
|
3106
3107
|
|
|
3107
3108
|
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.
|
|
3108
3109
|
|
|
@@ -3157,19 +3158,19 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3157
3158
|
|
|
3158
3159
|
@property
|
|
3159
3160
|
@pulumi.getter(name="policyName")
|
|
3160
|
-
def policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
3161
|
+
def policy_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3161
3162
|
"""
|
|
3162
3163
|
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.
|
|
3163
3164
|
"""
|
|
3164
3165
|
return pulumi.get(self, "policy_name")
|
|
3165
3166
|
|
|
3166
3167
|
@policy_name.setter
|
|
3167
|
-
def policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
3168
|
+
def policy_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3168
3169
|
pulumi.set(self, "policy_name", value)
|
|
3169
3170
|
|
|
3170
3171
|
@property
|
|
3171
3172
|
@pulumi.getter(name="validationActions")
|
|
3172
|
-
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3173
|
+
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
3173
3174
|
"""
|
|
3174
3175
|
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
3176
|
|
|
@@ -3194,7 +3195,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3194
3195
|
return pulumi.get(self, "validation_actions")
|
|
3195
3196
|
|
|
3196
3197
|
@validation_actions.setter
|
|
3197
|
-
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
3198
|
+
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
3198
3199
|
pulumi.set(self, "validation_actions", value)
|
|
3199
3200
|
|
|
3200
3201
|
|
|
@@ -3211,11 +3212,11 @@ if not MYPY:
|
|
|
3211
3212
|
"""
|
|
3212
3213
|
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.
|
|
3213
3214
|
"""
|
|
3214
|
-
policy_name: NotRequired[pulumi.Input[str]]
|
|
3215
|
+
policy_name: NotRequired[pulumi.Input[builtins.str]]
|
|
3215
3216
|
"""
|
|
3216
3217
|
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.
|
|
3217
3218
|
"""
|
|
3218
|
-
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
3219
|
+
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
3219
3220
|
"""
|
|
3220
3221
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3221
3222
|
|
|
@@ -3245,14 +3246,14 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3245
3246
|
def __init__(__self__, *,
|
|
3246
3247
|
match_resources: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
3247
3248
|
param_ref: Optional[pulumi.Input['ParamRefArgs']] = None,
|
|
3248
|
-
policy_name: Optional[pulumi.Input[str]] = None,
|
|
3249
|
-
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
3249
|
+
policy_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
3250
|
+
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
3250
3251
|
"""
|
|
3251
3252
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
3252
3253
|
: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.
|
|
3253
3254
|
: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.
|
|
3254
|
-
: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.
|
|
3255
|
-
: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.
|
|
3255
|
+
: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.
|
|
3256
|
+
: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.
|
|
3256
3257
|
|
|
3257
3258
|
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.
|
|
3258
3259
|
|
|
@@ -3307,19 +3308,19 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3307
3308
|
|
|
3308
3309
|
@property
|
|
3309
3310
|
@pulumi.getter(name="policyName")
|
|
3310
|
-
def policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
3311
|
+
def policy_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3311
3312
|
"""
|
|
3312
3313
|
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.
|
|
3313
3314
|
"""
|
|
3314
3315
|
return pulumi.get(self, "policy_name")
|
|
3315
3316
|
|
|
3316
3317
|
@policy_name.setter
|
|
3317
|
-
def policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
3318
|
+
def policy_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3318
3319
|
pulumi.set(self, "policy_name", value)
|
|
3319
3320
|
|
|
3320
3321
|
@property
|
|
3321
3322
|
@pulumi.getter(name="validationActions")
|
|
3322
|
-
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3323
|
+
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
3323
3324
|
"""
|
|
3324
3325
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3325
3326
|
|
|
@@ -3344,7 +3345,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3344
3345
|
return pulumi.get(self, "validation_actions")
|
|
3345
3346
|
|
|
3346
3347
|
@validation_actions.setter
|
|
3347
|
-
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
3348
|
+
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
3348
3349
|
pulumi.set(self, "validation_actions", value)
|
|
3349
3350
|
|
|
3350
3351
|
|
|
@@ -3357,11 +3358,11 @@ if not MYPY:
|
|
|
3357
3358
|
|
|
3358
3359
|
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.
|
|
3359
3360
|
"""
|
|
3360
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
3361
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
3361
3362
|
"""
|
|
3362
3363
|
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
|
|
3363
3364
|
"""
|
|
3364
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
3365
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
3365
3366
|
"""
|
|
3366
3367
|
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
|
|
3367
3368
|
"""
|
|
@@ -3379,8 +3380,8 @@ elif False:
|
|
|
3379
3380
|
@pulumi.input_type
|
|
3380
3381
|
class ValidatingAdmissionPolicyBindingArgs:
|
|
3381
3382
|
def __init__(__self__, *,
|
|
3382
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
3383
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
3383
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
3384
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
3384
3385
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
3385
3386
|
spec: Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']] = None):
|
|
3386
3387
|
"""
|
|
@@ -3389,8 +3390,8 @@ class ValidatingAdmissionPolicyBindingArgs:
|
|
|
3389
3390
|
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.
|
|
3390
3391
|
|
|
3391
3392
|
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.
|
|
3392
|
-
: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
|
|
3393
|
-
: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
|
|
3393
|
+
: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
|
|
3394
|
+
: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
|
|
3394
3395
|
: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.
|
|
3395
3396
|
:param pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
3396
3397
|
"""
|
|
@@ -3405,26 +3406,26 @@ class ValidatingAdmissionPolicyBindingArgs:
|
|
|
3405
3406
|
|
|
3406
3407
|
@property
|
|
3407
3408
|
@pulumi.getter(name="apiVersion")
|
|
3408
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
3409
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3409
3410
|
"""
|
|
3410
3411
|
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
|
|
3411
3412
|
"""
|
|
3412
3413
|
return pulumi.get(self, "api_version")
|
|
3413
3414
|
|
|
3414
3415
|
@api_version.setter
|
|
3415
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
3416
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3416
3417
|
pulumi.set(self, "api_version", value)
|
|
3417
3418
|
|
|
3418
3419
|
@property
|
|
3419
3420
|
@pulumi.getter
|
|
3420
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
3421
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3421
3422
|
"""
|
|
3422
3423
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3423
3424
|
"""
|
|
3424
3425
|
return pulumi.get(self, "kind")
|
|
3425
3426
|
|
|
3426
3427
|
@kind.setter
|
|
3427
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
3428
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3428
3429
|
pulumi.set(self, "kind", value)
|
|
3429
3430
|
|
|
3430
3431
|
@property
|
|
@@ -3461,7 +3462,7 @@ if not MYPY:
|
|
|
3461
3462
|
"""
|
|
3462
3463
|
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.
|
|
3463
3464
|
"""
|
|
3464
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
3465
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
3465
3466
|
"""
|
|
3466
3467
|
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.
|
|
3467
3468
|
|
|
@@ -3511,7 +3512,7 @@ elif False:
|
|
|
3511
3512
|
class ValidatingAdmissionPolicySpecPatchArgs:
|
|
3512
3513
|
def __init__(__self__, *,
|
|
3513
3514
|
audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]] = None,
|
|
3514
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
3515
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
3515
3516
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
|
|
3516
3517
|
match_constraints: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
3517
3518
|
param_kind: Optional[pulumi.Input['ParamKindPatchArgs']] = None,
|
|
@@ -3520,7 +3521,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3520
3521
|
"""
|
|
3521
3522
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
3522
3523
|
: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.
|
|
3523
|
-
: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.
|
|
3524
|
+
: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.
|
|
3524
3525
|
|
|
3525
3526
|
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.
|
|
3526
3527
|
|
|
@@ -3575,7 +3576,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3575
3576
|
|
|
3576
3577
|
@property
|
|
3577
3578
|
@pulumi.getter(name="failurePolicy")
|
|
3578
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
3579
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3579
3580
|
"""
|
|
3580
3581
|
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.
|
|
3581
3582
|
|
|
@@ -3590,7 +3591,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3590
3591
|
return pulumi.get(self, "failure_policy")
|
|
3591
3592
|
|
|
3592
3593
|
@failure_policy.setter
|
|
3593
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
3594
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3594
3595
|
pulumi.set(self, "failure_policy", value)
|
|
3595
3596
|
|
|
3596
3597
|
@property
|
|
@@ -3674,7 +3675,7 @@ if not MYPY:
|
|
|
3674
3675
|
"""
|
|
3675
3676
|
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.
|
|
3676
3677
|
"""
|
|
3677
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
3678
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
3678
3679
|
"""
|
|
3679
3680
|
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.
|
|
3680
3681
|
|
|
@@ -3724,7 +3725,7 @@ elif False:
|
|
|
3724
3725
|
class ValidatingAdmissionPolicySpecArgs:
|
|
3725
3726
|
def __init__(__self__, *,
|
|
3726
3727
|
audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]] = None,
|
|
3727
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
3728
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
3728
3729
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
|
|
3729
3730
|
match_constraints: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
3730
3731
|
param_kind: Optional[pulumi.Input['ParamKindArgs']] = None,
|
|
@@ -3733,7 +3734,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3733
3734
|
"""
|
|
3734
3735
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
3735
3736
|
: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.
|
|
3736
|
-
: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.
|
|
3737
|
+
: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.
|
|
3737
3738
|
|
|
3738
3739
|
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.
|
|
3739
3740
|
|
|
@@ -3788,7 +3789,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3788
3789
|
|
|
3789
3790
|
@property
|
|
3790
3791
|
@pulumi.getter(name="failurePolicy")
|
|
3791
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
3792
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3792
3793
|
"""
|
|
3793
3794
|
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.
|
|
3794
3795
|
|
|
@@ -3803,7 +3804,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3803
3804
|
return pulumi.get(self, "failure_policy")
|
|
3804
3805
|
|
|
3805
3806
|
@failure_policy.setter
|
|
3806
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
3807
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3807
3808
|
pulumi.set(self, "failure_policy", value)
|
|
3808
3809
|
|
|
3809
3810
|
@property
|
|
@@ -3887,7 +3888,7 @@ if not MYPY:
|
|
|
3887
3888
|
"""
|
|
3888
3889
|
The conditions represent the latest available observations of a policy's current state.
|
|
3889
3890
|
"""
|
|
3890
|
-
observed_generation: NotRequired[pulumi.Input[int]]
|
|
3891
|
+
observed_generation: NotRequired[pulumi.Input[builtins.int]]
|
|
3891
3892
|
"""
|
|
3892
3893
|
The generation observed by the controller.
|
|
3893
3894
|
"""
|
|
@@ -3902,12 +3903,12 @@ elif False:
|
|
|
3902
3903
|
class ValidatingAdmissionPolicyStatusArgs:
|
|
3903
3904
|
def __init__(__self__, *,
|
|
3904
3905
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]] = None,
|
|
3905
|
-
observed_generation: Optional[pulumi.Input[int]] = None,
|
|
3906
|
+
observed_generation: Optional[pulumi.Input[builtins.int]] = None,
|
|
3906
3907
|
type_checking: Optional[pulumi.Input['TypeCheckingArgs']] = None):
|
|
3907
3908
|
"""
|
|
3908
3909
|
ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
|
|
3909
3910
|
:param pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3910
|
-
:param pulumi.Input[int] observed_generation: The generation observed by the controller.
|
|
3911
|
+
:param pulumi.Input[builtins.int] observed_generation: The generation observed by the controller.
|
|
3911
3912
|
: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.
|
|
3912
3913
|
"""
|
|
3913
3914
|
if conditions is not None:
|
|
@@ -3931,14 +3932,14 @@ class ValidatingAdmissionPolicyStatusArgs:
|
|
|
3931
3932
|
|
|
3932
3933
|
@property
|
|
3933
3934
|
@pulumi.getter(name="observedGeneration")
|
|
3934
|
-
def observed_generation(self) -> Optional[pulumi.Input[int]]:
|
|
3935
|
+
def observed_generation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3935
3936
|
"""
|
|
3936
3937
|
The generation observed by the controller.
|
|
3937
3938
|
"""
|
|
3938
3939
|
return pulumi.get(self, "observed_generation")
|
|
3939
3940
|
|
|
3940
3941
|
@observed_generation.setter
|
|
3941
|
-
def observed_generation(self, value: Optional[pulumi.Input[int]]):
|
|
3942
|
+
def observed_generation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3942
3943
|
pulumi.set(self, "observed_generation", value)
|
|
3943
3944
|
|
|
3944
3945
|
@property
|
|
@@ -3959,11 +3960,11 @@ if not MYPY:
|
|
|
3959
3960
|
"""
|
|
3960
3961
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
3961
3962
|
"""
|
|
3962
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
3963
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
3963
3964
|
"""
|
|
3964
3965
|
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
|
|
3965
3966
|
"""
|
|
3966
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
3967
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
3967
3968
|
"""
|
|
3968
3969
|
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
|
|
3969
3970
|
"""
|
|
@@ -3985,15 +3986,15 @@ elif False:
|
|
|
3985
3986
|
@pulumi.input_type
|
|
3986
3987
|
class ValidatingAdmissionPolicyArgs:
|
|
3987
3988
|
def __init__(__self__, *,
|
|
3988
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
3989
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
3989
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
3990
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
3990
3991
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
3991
3992
|
spec: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']] = None,
|
|
3992
3993
|
status: Optional[pulumi.Input['ValidatingAdmissionPolicyStatusArgs']] = None):
|
|
3993
3994
|
"""
|
|
3994
3995
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
3995
|
-
: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
|
|
3996
|
-
: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
|
|
3996
|
+
: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
|
|
3997
|
+
: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
|
|
3997
3998
|
: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.
|
|
3998
3999
|
:param pulumi.Input['ValidatingAdmissionPolicySpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
3999
4000
|
: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.
|
|
@@ -4011,26 +4012,26 @@ class ValidatingAdmissionPolicyArgs:
|
|
|
4011
4012
|
|
|
4012
4013
|
@property
|
|
4013
4014
|
@pulumi.getter(name="apiVersion")
|
|
4014
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
4015
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4015
4016
|
"""
|
|
4016
4017
|
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
|
|
4017
4018
|
"""
|
|
4018
4019
|
return pulumi.get(self, "api_version")
|
|
4019
4020
|
|
|
4020
4021
|
@api_version.setter
|
|
4021
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
4022
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4022
4023
|
pulumi.set(self, "api_version", value)
|
|
4023
4024
|
|
|
4024
4025
|
@property
|
|
4025
4026
|
@pulumi.getter
|
|
4026
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
4027
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4027
4028
|
"""
|
|
4028
4029
|
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
|
|
4029
4030
|
"""
|
|
4030
4031
|
return pulumi.get(self, "kind")
|
|
4031
4032
|
|
|
4032
4033
|
@kind.setter
|
|
4033
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
4034
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4034
4035
|
pulumi.set(self, "kind", value)
|
|
4035
4036
|
|
|
4036
4037
|
@property
|
|
@@ -4075,11 +4076,11 @@ if not MYPY:
|
|
|
4075
4076
|
"""
|
|
4076
4077
|
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
|
|
4077
4078
|
"""
|
|
4078
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
4079
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
4079
4080
|
"""
|
|
4080
4081
|
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
|
|
4081
4082
|
"""
|
|
4082
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
4083
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
4083
4084
|
"""
|
|
4084
4085
|
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
|
|
4085
4086
|
"""
|
|
@@ -4097,14 +4098,14 @@ elif False:
|
|
|
4097
4098
|
@pulumi.input_type
|
|
4098
4099
|
class ValidatingWebhookConfigurationArgs:
|
|
4099
4100
|
def __init__(__self__, *,
|
|
4100
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
4101
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
4101
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
4102
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
4102
4103
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
4103
4104
|
webhooks: Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]] = None):
|
|
4104
4105
|
"""
|
|
4105
4106
|
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
|
|
4106
|
-
: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
|
|
4107
|
-
: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
|
|
4107
|
+
: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
|
|
4108
|
+
: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
|
|
4108
4109
|
: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.
|
|
4109
4110
|
:param pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
4110
4111
|
"""
|
|
@@ -4119,26 +4120,26 @@ class ValidatingWebhookConfigurationArgs:
|
|
|
4119
4120
|
|
|
4120
4121
|
@property
|
|
4121
4122
|
@pulumi.getter(name="apiVersion")
|
|
4122
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
4123
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4123
4124
|
"""
|
|
4124
4125
|
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
|
|
4125
4126
|
"""
|
|
4126
4127
|
return pulumi.get(self, "api_version")
|
|
4127
4128
|
|
|
4128
4129
|
@api_version.setter
|
|
4129
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
4130
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4130
4131
|
pulumi.set(self, "api_version", value)
|
|
4131
4132
|
|
|
4132
4133
|
@property
|
|
4133
4134
|
@pulumi.getter
|
|
4134
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
4135
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4135
4136
|
"""
|
|
4136
4137
|
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
|
|
4137
4138
|
"""
|
|
4138
4139
|
return pulumi.get(self, "kind")
|
|
4139
4140
|
|
|
4140
4141
|
@kind.setter
|
|
4141
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
4142
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4142
4143
|
pulumi.set(self, "kind", value)
|
|
4143
4144
|
|
|
4144
4145
|
@property
|
|
@@ -4171,7 +4172,7 @@ if not MYPY:
|
|
|
4171
4172
|
"""
|
|
4172
4173
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
4173
4174
|
"""
|
|
4174
|
-
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4175
|
+
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
4175
4176
|
"""
|
|
4176
4177
|
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.
|
|
4177
4178
|
"""
|
|
@@ -4179,7 +4180,7 @@ if not MYPY:
|
|
|
4179
4180
|
"""
|
|
4180
4181
|
ClientConfig defines how to communicate with the hook. Required
|
|
4181
4182
|
"""
|
|
4182
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
4183
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
4183
4184
|
"""
|
|
4184
4185
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
4185
4186
|
"""
|
|
@@ -4194,7 +4195,7 @@ if not MYPY:
|
|
|
4194
4195
|
- If failurePolicy=Fail, reject the request
|
|
4195
4196
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
4196
4197
|
"""
|
|
4197
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
4198
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
4198
4199
|
"""
|
|
4199
4200
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4200
4201
|
|
|
@@ -4204,7 +4205,7 @@ if not MYPY:
|
|
|
4204
4205
|
|
|
4205
4206
|
Defaults to "Equivalent"
|
|
4206
4207
|
"""
|
|
4207
|
-
name: NotRequired[pulumi.Input[str]]
|
|
4208
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
4208
4209
|
"""
|
|
4209
4210
|
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.
|
|
4210
4211
|
"""
|
|
@@ -4250,11 +4251,11 @@ if not MYPY:
|
|
|
4250
4251
|
"""
|
|
4251
4252
|
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.
|
|
4252
4253
|
"""
|
|
4253
|
-
side_effects: NotRequired[pulumi.Input[str]]
|
|
4254
|
+
side_effects: NotRequired[pulumi.Input[builtins.str]]
|
|
4254
4255
|
"""
|
|
4255
4256
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4256
4257
|
"""
|
|
4257
|
-
timeout_seconds: NotRequired[pulumi.Input[int]]
|
|
4258
|
+
timeout_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
4258
4259
|
"""
|
|
4259
4260
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
4260
4261
|
"""
|
|
@@ -4264,22 +4265,22 @@ elif False:
|
|
|
4264
4265
|
@pulumi.input_type
|
|
4265
4266
|
class ValidatingWebhookPatchArgs:
|
|
4266
4267
|
def __init__(__self__, *,
|
|
4267
|
-
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
4268
|
+
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
4268
4269
|
client_config: Optional[pulumi.Input['WebhookClientConfigPatchArgs']] = None,
|
|
4269
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
4270
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
4270
4271
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
|
|
4271
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
4272
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
4272
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
4273
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
4273
4274
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
4274
4275
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
4275
4276
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]] = None,
|
|
4276
|
-
side_effects: Optional[pulumi.Input[str]] = None,
|
|
4277
|
-
timeout_seconds: Optional[pulumi.Input[int]] = None):
|
|
4277
|
+
side_effects: Optional[pulumi.Input[builtins.str]] = None,
|
|
4278
|
+
timeout_seconds: Optional[pulumi.Input[builtins.int]] = None):
|
|
4278
4279
|
"""
|
|
4279
4280
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
4280
|
-
: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.
|
|
4281
|
+
: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.
|
|
4281
4282
|
:param pulumi.Input['WebhookClientConfigPatchArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
4282
|
-
: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 Fail.
|
|
4283
|
+
: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 Fail.
|
|
4283
4284
|
:param pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
4284
4285
|
|
|
4285
4286
|
The exact matching logic is (in order):
|
|
@@ -4288,14 +4289,14 @@ class ValidatingWebhookPatchArgs:
|
|
|
4288
4289
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
4289
4290
|
- If failurePolicy=Fail, reject the request
|
|
4290
4291
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
4291
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4292
|
+
: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".
|
|
4292
4293
|
|
|
4293
4294
|
- 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.
|
|
4294
4295
|
|
|
4295
4296
|
- 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.
|
|
4296
4297
|
|
|
4297
4298
|
Defaults to "Equivalent"
|
|
4298
|
-
: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.
|
|
4299
|
+
: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.
|
|
4299
4300
|
: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.
|
|
4300
4301
|
|
|
4301
4302
|
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": {
|
|
@@ -4329,8 +4330,8 @@ class ValidatingWebhookPatchArgs:
|
|
|
4329
4330
|
Default to the empty LabelSelector, which matches everything.
|
|
4330
4331
|
: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.
|
|
4331
4332
|
: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.
|
|
4332
|
-
:param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4333
|
-
: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 10 seconds.
|
|
4333
|
+
:param pulumi.Input[builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4334
|
+
: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 10 seconds.
|
|
4334
4335
|
"""
|
|
4335
4336
|
if admission_review_versions is not None:
|
|
4336
4337
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -4357,14 +4358,14 @@ class ValidatingWebhookPatchArgs:
|
|
|
4357
4358
|
|
|
4358
4359
|
@property
|
|
4359
4360
|
@pulumi.getter(name="admissionReviewVersions")
|
|
4360
|
-
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
4361
|
+
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
4361
4362
|
"""
|
|
4362
4363
|
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.
|
|
4363
4364
|
"""
|
|
4364
4365
|
return pulumi.get(self, "admission_review_versions")
|
|
4365
4366
|
|
|
4366
4367
|
@admission_review_versions.setter
|
|
4367
|
-
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
4368
|
+
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
4368
4369
|
pulumi.set(self, "admission_review_versions", value)
|
|
4369
4370
|
|
|
4370
4371
|
@property
|
|
@@ -4381,14 +4382,14 @@ class ValidatingWebhookPatchArgs:
|
|
|
4381
4382
|
|
|
4382
4383
|
@property
|
|
4383
4384
|
@pulumi.getter(name="failurePolicy")
|
|
4384
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
4385
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4385
4386
|
"""
|
|
4386
4387
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
4387
4388
|
"""
|
|
4388
4389
|
return pulumi.get(self, "failure_policy")
|
|
4389
4390
|
|
|
4390
4391
|
@failure_policy.setter
|
|
4391
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
4392
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4392
4393
|
pulumi.set(self, "failure_policy", value)
|
|
4393
4394
|
|
|
4394
4395
|
@property
|
|
@@ -4412,7 +4413,7 @@ class ValidatingWebhookPatchArgs:
|
|
|
4412
4413
|
|
|
4413
4414
|
@property
|
|
4414
4415
|
@pulumi.getter(name="matchPolicy")
|
|
4415
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
4416
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4416
4417
|
"""
|
|
4417
4418
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4418
4419
|
|
|
@@ -4425,19 +4426,19 @@ class ValidatingWebhookPatchArgs:
|
|
|
4425
4426
|
return pulumi.get(self, "match_policy")
|
|
4426
4427
|
|
|
4427
4428
|
@match_policy.setter
|
|
4428
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
4429
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4429
4430
|
pulumi.set(self, "match_policy", value)
|
|
4430
4431
|
|
|
4431
4432
|
@property
|
|
4432
4433
|
@pulumi.getter
|
|
4433
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
4434
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4434
4435
|
"""
|
|
4435
4436
|
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.
|
|
4436
4437
|
"""
|
|
4437
4438
|
return pulumi.get(self, "name")
|
|
4438
4439
|
|
|
4439
4440
|
@name.setter
|
|
4440
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
4441
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4441
4442
|
pulumi.set(self, "name", value)
|
|
4442
4443
|
|
|
4443
4444
|
@property
|
|
@@ -4508,26 +4509,26 @@ class ValidatingWebhookPatchArgs:
|
|
|
4508
4509
|
|
|
4509
4510
|
@property
|
|
4510
4511
|
@pulumi.getter(name="sideEffects")
|
|
4511
|
-
def side_effects(self) -> Optional[pulumi.Input[str]]:
|
|
4512
|
+
def side_effects(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4512
4513
|
"""
|
|
4513
4514
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4514
4515
|
"""
|
|
4515
4516
|
return pulumi.get(self, "side_effects")
|
|
4516
4517
|
|
|
4517
4518
|
@side_effects.setter
|
|
4518
|
-
def side_effects(self, value: Optional[pulumi.Input[str]]):
|
|
4519
|
+
def side_effects(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4519
4520
|
pulumi.set(self, "side_effects", value)
|
|
4520
4521
|
|
|
4521
4522
|
@property
|
|
4522
4523
|
@pulumi.getter(name="timeoutSeconds")
|
|
4523
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
4524
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
4524
4525
|
"""
|
|
4525
4526
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
4526
4527
|
"""
|
|
4527
4528
|
return pulumi.get(self, "timeout_seconds")
|
|
4528
4529
|
|
|
4529
4530
|
@timeout_seconds.setter
|
|
4530
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
4531
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
4531
4532
|
pulumi.set(self, "timeout_seconds", value)
|
|
4532
4533
|
|
|
4533
4534
|
|
|
@@ -4536,7 +4537,7 @@ if not MYPY:
|
|
|
4536
4537
|
"""
|
|
4537
4538
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
4538
4539
|
"""
|
|
4539
|
-
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
4540
|
+
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
|
|
4540
4541
|
"""
|
|
4541
4542
|
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.
|
|
4542
4543
|
"""
|
|
@@ -4544,15 +4545,15 @@ if not MYPY:
|
|
|
4544
4545
|
"""
|
|
4545
4546
|
ClientConfig defines how to communicate with the hook. Required
|
|
4546
4547
|
"""
|
|
4547
|
-
name: pulumi.Input[str]
|
|
4548
|
+
name: pulumi.Input[builtins.str]
|
|
4548
4549
|
"""
|
|
4549
4550
|
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.
|
|
4550
4551
|
"""
|
|
4551
|
-
side_effects: pulumi.Input[str]
|
|
4552
|
+
side_effects: pulumi.Input[builtins.str]
|
|
4552
4553
|
"""
|
|
4553
4554
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4554
4555
|
"""
|
|
4555
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
4556
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
4556
4557
|
"""
|
|
4557
4558
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
4558
4559
|
"""
|
|
@@ -4567,7 +4568,7 @@ if not MYPY:
|
|
|
4567
4568
|
- If failurePolicy=Fail, reject the request
|
|
4568
4569
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
4569
4570
|
"""
|
|
4570
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
4571
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
4571
4572
|
"""
|
|
4572
4573
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4573
4574
|
|
|
@@ -4619,7 +4620,7 @@ if not MYPY:
|
|
|
4619
4620
|
"""
|
|
4620
4621
|
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.
|
|
4621
4622
|
"""
|
|
4622
|
-
timeout_seconds: NotRequired[pulumi.Input[int]]
|
|
4623
|
+
timeout_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
4623
4624
|
"""
|
|
4624
4625
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
4625
4626
|
"""
|
|
@@ -4629,24 +4630,24 @@ elif False:
|
|
|
4629
4630
|
@pulumi.input_type
|
|
4630
4631
|
class ValidatingWebhookArgs:
|
|
4631
4632
|
def __init__(__self__, *,
|
|
4632
|
-
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
4633
|
+
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
4633
4634
|
client_config: pulumi.Input['WebhookClientConfigArgs'],
|
|
4634
|
-
name: pulumi.Input[str],
|
|
4635
|
-
side_effects: pulumi.Input[str],
|
|
4636
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
4635
|
+
name: pulumi.Input[builtins.str],
|
|
4636
|
+
side_effects: pulumi.Input[builtins.str],
|
|
4637
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
4637
4638
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
|
|
4638
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
4639
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
4639
4640
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
4640
4641
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
4641
4642
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]] = None,
|
|
4642
|
-
timeout_seconds: Optional[pulumi.Input[int]] = None):
|
|
4643
|
+
timeout_seconds: Optional[pulumi.Input[builtins.int]] = None):
|
|
4643
4644
|
"""
|
|
4644
4645
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
4645
|
-
: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.
|
|
4646
|
+
: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.
|
|
4646
4647
|
:param pulumi.Input['WebhookClientConfigArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
4647
|
-
: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.
|
|
4648
|
-
:param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4649
|
-
: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 Fail.
|
|
4648
|
+
: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.
|
|
4649
|
+
:param pulumi.Input[builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4650
|
+
: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 Fail.
|
|
4650
4651
|
:param pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
4651
4652
|
|
|
4652
4653
|
The exact matching logic is (in order):
|
|
@@ -4655,7 +4656,7 @@ class ValidatingWebhookArgs:
|
|
|
4655
4656
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
4656
4657
|
- If failurePolicy=Fail, reject the request
|
|
4657
4658
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
4658
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4659
|
+
: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".
|
|
4659
4660
|
|
|
4660
4661
|
- 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.
|
|
4661
4662
|
|
|
@@ -4695,7 +4696,7 @@ class ValidatingWebhookArgs:
|
|
|
4695
4696
|
Default to the empty LabelSelector, which matches everything.
|
|
4696
4697
|
: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.
|
|
4697
4698
|
: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.
|
|
4698
|
-
: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 10 seconds.
|
|
4699
|
+
: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 10 seconds.
|
|
4699
4700
|
"""
|
|
4700
4701
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
4701
4702
|
pulumi.set(__self__, "client_config", client_config)
|
|
@@ -4718,14 +4719,14 @@ class ValidatingWebhookArgs:
|
|
|
4718
4719
|
|
|
4719
4720
|
@property
|
|
4720
4721
|
@pulumi.getter(name="admissionReviewVersions")
|
|
4721
|
-
def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
4722
|
+
def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
4722
4723
|
"""
|
|
4723
4724
|
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.
|
|
4724
4725
|
"""
|
|
4725
4726
|
return pulumi.get(self, "admission_review_versions")
|
|
4726
4727
|
|
|
4727
4728
|
@admission_review_versions.setter
|
|
4728
|
-
def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
4729
|
+
def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
4729
4730
|
pulumi.set(self, "admission_review_versions", value)
|
|
4730
4731
|
|
|
4731
4732
|
@property
|
|
@@ -4742,38 +4743,38 @@ class ValidatingWebhookArgs:
|
|
|
4742
4743
|
|
|
4743
4744
|
@property
|
|
4744
4745
|
@pulumi.getter
|
|
4745
|
-
def name(self) -> pulumi.Input[str]:
|
|
4746
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
4746
4747
|
"""
|
|
4747
4748
|
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.
|
|
4748
4749
|
"""
|
|
4749
4750
|
return pulumi.get(self, "name")
|
|
4750
4751
|
|
|
4751
4752
|
@name.setter
|
|
4752
|
-
def name(self, value: pulumi.Input[str]):
|
|
4753
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
4753
4754
|
pulumi.set(self, "name", value)
|
|
4754
4755
|
|
|
4755
4756
|
@property
|
|
4756
4757
|
@pulumi.getter(name="sideEffects")
|
|
4757
|
-
def side_effects(self) -> pulumi.Input[str]:
|
|
4758
|
+
def side_effects(self) -> pulumi.Input[builtins.str]:
|
|
4758
4759
|
"""
|
|
4759
4760
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4760
4761
|
"""
|
|
4761
4762
|
return pulumi.get(self, "side_effects")
|
|
4762
4763
|
|
|
4763
4764
|
@side_effects.setter
|
|
4764
|
-
def side_effects(self, value: pulumi.Input[str]):
|
|
4765
|
+
def side_effects(self, value: pulumi.Input[builtins.str]):
|
|
4765
4766
|
pulumi.set(self, "side_effects", value)
|
|
4766
4767
|
|
|
4767
4768
|
@property
|
|
4768
4769
|
@pulumi.getter(name="failurePolicy")
|
|
4769
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
4770
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4770
4771
|
"""
|
|
4771
4772
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
4772
4773
|
"""
|
|
4773
4774
|
return pulumi.get(self, "failure_policy")
|
|
4774
4775
|
|
|
4775
4776
|
@failure_policy.setter
|
|
4776
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
4777
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4777
4778
|
pulumi.set(self, "failure_policy", value)
|
|
4778
4779
|
|
|
4779
4780
|
@property
|
|
@@ -4797,7 +4798,7 @@ class ValidatingWebhookArgs:
|
|
|
4797
4798
|
|
|
4798
4799
|
@property
|
|
4799
4800
|
@pulumi.getter(name="matchPolicy")
|
|
4800
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
4801
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4801
4802
|
"""
|
|
4802
4803
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4803
4804
|
|
|
@@ -4810,7 +4811,7 @@ class ValidatingWebhookArgs:
|
|
|
4810
4811
|
return pulumi.get(self, "match_policy")
|
|
4811
4812
|
|
|
4812
4813
|
@match_policy.setter
|
|
4813
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
4814
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4814
4815
|
pulumi.set(self, "match_policy", value)
|
|
4815
4816
|
|
|
4816
4817
|
@property
|
|
@@ -4881,14 +4882,14 @@ class ValidatingWebhookArgs:
|
|
|
4881
4882
|
|
|
4882
4883
|
@property
|
|
4883
4884
|
@pulumi.getter(name="timeoutSeconds")
|
|
4884
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
4885
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
4885
4886
|
"""
|
|
4886
4887
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
4887
4888
|
"""
|
|
4888
4889
|
return pulumi.get(self, "timeout_seconds")
|
|
4889
4890
|
|
|
4890
4891
|
@timeout_seconds.setter
|
|
4891
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
4892
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
4892
4893
|
pulumi.set(self, "timeout_seconds", value)
|
|
4893
4894
|
|
|
4894
4895
|
|
|
@@ -4897,7 +4898,7 @@ if not MYPY:
|
|
|
4897
4898
|
"""
|
|
4898
4899
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4899
4900
|
"""
|
|
4900
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
4901
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
4901
4902
|
"""
|
|
4902
4903
|
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:
|
|
4903
4904
|
|
|
@@ -4926,15 +4927,15 @@ if not MYPY:
|
|
|
4926
4927
|
non-intersecting keys are appended, retaining their partial order.
|
|
4927
4928
|
Required.
|
|
4928
4929
|
"""
|
|
4929
|
-
message: NotRequired[pulumi.Input[str]]
|
|
4930
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
4930
4931
|
"""
|
|
4931
4932
|
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}".
|
|
4932
4933
|
"""
|
|
4933
|
-
message_expression: NotRequired[pulumi.Input[str]]
|
|
4934
|
+
message_expression: NotRequired[pulumi.Input[builtins.str]]
|
|
4934
4935
|
"""
|
|
4935
4936
|
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)+")"
|
|
4936
4937
|
"""
|
|
4937
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
4938
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
4938
4939
|
"""
|
|
4939
4940
|
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.
|
|
4940
4941
|
"""
|
|
@@ -4944,13 +4945,13 @@ elif False:
|
|
|
4944
4945
|
@pulumi.input_type
|
|
4945
4946
|
class ValidationPatchArgs:
|
|
4946
4947
|
def __init__(__self__, *,
|
|
4947
|
-
expression: Optional[pulumi.Input[str]] = None,
|
|
4948
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
4949
|
-
message_expression: Optional[pulumi.Input[str]] = None,
|
|
4950
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
4948
|
+
expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
4949
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
4950
|
+
message_expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
4951
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
4951
4952
|
"""
|
|
4952
4953
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4953
|
-
: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:
|
|
4954
|
+
: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:
|
|
4954
4955
|
|
|
4955
4956
|
- '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.
|
|
4956
4957
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -4976,9 +4977,9 @@ class ValidationPatchArgs:
|
|
|
4976
4977
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
4977
4978
|
non-intersecting keys are appended, retaining their partial order.
|
|
4978
4979
|
Required.
|
|
4979
|
-
: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}".
|
|
4980
|
-
: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)+")"
|
|
4981
|
-
: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.
|
|
4980
|
+
: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}".
|
|
4981
|
+
: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)+")"
|
|
4982
|
+
: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.
|
|
4982
4983
|
"""
|
|
4983
4984
|
if expression is not None:
|
|
4984
4985
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -4991,7 +4992,7 @@ class ValidationPatchArgs:
|
|
|
4991
4992
|
|
|
4992
4993
|
@property
|
|
4993
4994
|
@pulumi.getter
|
|
4994
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
4995
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4995
4996
|
"""
|
|
4996
4997
|
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:
|
|
4997
4998
|
|
|
@@ -5023,43 +5024,43 @@ class ValidationPatchArgs:
|
|
|
5023
5024
|
return pulumi.get(self, "expression")
|
|
5024
5025
|
|
|
5025
5026
|
@expression.setter
|
|
5026
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
5027
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5027
5028
|
pulumi.set(self, "expression", value)
|
|
5028
5029
|
|
|
5029
5030
|
@property
|
|
5030
5031
|
@pulumi.getter
|
|
5031
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
5032
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5032
5033
|
"""
|
|
5033
5034
|
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}".
|
|
5034
5035
|
"""
|
|
5035
5036
|
return pulumi.get(self, "message")
|
|
5036
5037
|
|
|
5037
5038
|
@message.setter
|
|
5038
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
5039
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5039
5040
|
pulumi.set(self, "message", value)
|
|
5040
5041
|
|
|
5041
5042
|
@property
|
|
5042
5043
|
@pulumi.getter(name="messageExpression")
|
|
5043
|
-
def message_expression(self) -> Optional[pulumi.Input[str]]:
|
|
5044
|
+
def message_expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5044
5045
|
"""
|
|
5045
5046
|
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)+")"
|
|
5046
5047
|
"""
|
|
5047
5048
|
return pulumi.get(self, "message_expression")
|
|
5048
5049
|
|
|
5049
5050
|
@message_expression.setter
|
|
5050
|
-
def message_expression(self, value: Optional[pulumi.Input[str]]):
|
|
5051
|
+
def message_expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5051
5052
|
pulumi.set(self, "message_expression", value)
|
|
5052
5053
|
|
|
5053
5054
|
@property
|
|
5054
5055
|
@pulumi.getter
|
|
5055
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
5056
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5056
5057
|
"""
|
|
5057
5058
|
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.
|
|
5058
5059
|
"""
|
|
5059
5060
|
return pulumi.get(self, "reason")
|
|
5060
5061
|
|
|
5061
5062
|
@reason.setter
|
|
5062
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
5063
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5063
5064
|
pulumi.set(self, "reason", value)
|
|
5064
5065
|
|
|
5065
5066
|
|
|
@@ -5068,7 +5069,7 @@ if not MYPY:
|
|
|
5068
5069
|
"""
|
|
5069
5070
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
5070
5071
|
"""
|
|
5071
|
-
expression: pulumi.Input[str]
|
|
5072
|
+
expression: pulumi.Input[builtins.str]
|
|
5072
5073
|
"""
|
|
5073
5074
|
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:
|
|
5074
5075
|
|
|
@@ -5097,15 +5098,15 @@ if not MYPY:
|
|
|
5097
5098
|
non-intersecting keys are appended, retaining their partial order.
|
|
5098
5099
|
Required.
|
|
5099
5100
|
"""
|
|
5100
|
-
message: NotRequired[pulumi.Input[str]]
|
|
5101
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
5101
5102
|
"""
|
|
5102
5103
|
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}".
|
|
5103
5104
|
"""
|
|
5104
|
-
message_expression: NotRequired[pulumi.Input[str]]
|
|
5105
|
+
message_expression: NotRequired[pulumi.Input[builtins.str]]
|
|
5105
5106
|
"""
|
|
5106
5107
|
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)+")"
|
|
5107
5108
|
"""
|
|
5108
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
5109
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
5109
5110
|
"""
|
|
5110
5111
|
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.
|
|
5111
5112
|
"""
|
|
@@ -5115,13 +5116,13 @@ elif False:
|
|
|
5115
5116
|
@pulumi.input_type
|
|
5116
5117
|
class ValidationArgs:
|
|
5117
5118
|
def __init__(__self__, *,
|
|
5118
|
-
expression: pulumi.Input[str],
|
|
5119
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
5120
|
-
message_expression: Optional[pulumi.Input[str]] = None,
|
|
5121
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
5119
|
+
expression: pulumi.Input[builtins.str],
|
|
5120
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
5121
|
+
message_expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
5122
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
5122
5123
|
"""
|
|
5123
5124
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
5124
|
-
: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:
|
|
5125
|
+
: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:
|
|
5125
5126
|
|
|
5126
5127
|
- '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.
|
|
5127
5128
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -5147,9 +5148,9 @@ class ValidationArgs:
|
|
|
5147
5148
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
5148
5149
|
non-intersecting keys are appended, retaining their partial order.
|
|
5149
5150
|
Required.
|
|
5150
|
-
: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}".
|
|
5151
|
-
: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)+")"
|
|
5152
|
-
: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.
|
|
5151
|
+
: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}".
|
|
5152
|
+
: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)+")"
|
|
5153
|
+
: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.
|
|
5153
5154
|
"""
|
|
5154
5155
|
pulumi.set(__self__, "expression", expression)
|
|
5155
5156
|
if message is not None:
|
|
@@ -5161,7 +5162,7 @@ class ValidationArgs:
|
|
|
5161
5162
|
|
|
5162
5163
|
@property
|
|
5163
5164
|
@pulumi.getter
|
|
5164
|
-
def expression(self) -> pulumi.Input[str]:
|
|
5165
|
+
def expression(self) -> pulumi.Input[builtins.str]:
|
|
5165
5166
|
"""
|
|
5166
5167
|
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:
|
|
5167
5168
|
|
|
@@ -5193,43 +5194,43 @@ class ValidationArgs:
|
|
|
5193
5194
|
return pulumi.get(self, "expression")
|
|
5194
5195
|
|
|
5195
5196
|
@expression.setter
|
|
5196
|
-
def expression(self, value: pulumi.Input[str]):
|
|
5197
|
+
def expression(self, value: pulumi.Input[builtins.str]):
|
|
5197
5198
|
pulumi.set(self, "expression", value)
|
|
5198
5199
|
|
|
5199
5200
|
@property
|
|
5200
5201
|
@pulumi.getter
|
|
5201
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
5202
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5202
5203
|
"""
|
|
5203
5204
|
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}".
|
|
5204
5205
|
"""
|
|
5205
5206
|
return pulumi.get(self, "message")
|
|
5206
5207
|
|
|
5207
5208
|
@message.setter
|
|
5208
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
5209
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5209
5210
|
pulumi.set(self, "message", value)
|
|
5210
5211
|
|
|
5211
5212
|
@property
|
|
5212
5213
|
@pulumi.getter(name="messageExpression")
|
|
5213
|
-
def message_expression(self) -> Optional[pulumi.Input[str]]:
|
|
5214
|
+
def message_expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5214
5215
|
"""
|
|
5215
5216
|
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)+")"
|
|
5216
5217
|
"""
|
|
5217
5218
|
return pulumi.get(self, "message_expression")
|
|
5218
5219
|
|
|
5219
5220
|
@message_expression.setter
|
|
5220
|
-
def message_expression(self, value: Optional[pulumi.Input[str]]):
|
|
5221
|
+
def message_expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5221
5222
|
pulumi.set(self, "message_expression", value)
|
|
5222
5223
|
|
|
5223
5224
|
@property
|
|
5224
5225
|
@pulumi.getter
|
|
5225
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
5226
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5226
5227
|
"""
|
|
5227
5228
|
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.
|
|
5228
5229
|
"""
|
|
5229
5230
|
return pulumi.get(self, "reason")
|
|
5230
5231
|
|
|
5231
5232
|
@reason.setter
|
|
5232
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
5233
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5233
5234
|
pulumi.set(self, "reason", value)
|
|
5234
5235
|
|
|
5235
5236
|
|
|
@@ -5238,11 +5239,11 @@ if not MYPY:
|
|
|
5238
5239
|
"""
|
|
5239
5240
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5240
5241
|
"""
|
|
5241
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
5242
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
5242
5243
|
"""
|
|
5243
5244
|
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.
|
|
5244
5245
|
"""
|
|
5245
|
-
name: NotRequired[pulumi.Input[str]]
|
|
5246
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
5246
5247
|
"""
|
|
5247
5248
|
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`
|
|
5248
5249
|
"""
|
|
@@ -5252,12 +5253,12 @@ elif False:
|
|
|
5252
5253
|
@pulumi.input_type
|
|
5253
5254
|
class VariablePatchArgs:
|
|
5254
5255
|
def __init__(__self__, *,
|
|
5255
|
-
expression: Optional[pulumi.Input[str]] = None,
|
|
5256
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
5256
|
+
expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
5257
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
5257
5258
|
"""
|
|
5258
5259
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5259
|
-
: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.
|
|
5260
|
-
: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`
|
|
5260
|
+
: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.
|
|
5261
|
+
: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`
|
|
5261
5262
|
"""
|
|
5262
5263
|
if expression is not None:
|
|
5263
5264
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -5266,26 +5267,26 @@ class VariablePatchArgs:
|
|
|
5266
5267
|
|
|
5267
5268
|
@property
|
|
5268
5269
|
@pulumi.getter
|
|
5269
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
5270
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5270
5271
|
"""
|
|
5271
5272
|
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.
|
|
5272
5273
|
"""
|
|
5273
5274
|
return pulumi.get(self, "expression")
|
|
5274
5275
|
|
|
5275
5276
|
@expression.setter
|
|
5276
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
5277
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5277
5278
|
pulumi.set(self, "expression", value)
|
|
5278
5279
|
|
|
5279
5280
|
@property
|
|
5280
5281
|
@pulumi.getter
|
|
5281
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
5282
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5282
5283
|
"""
|
|
5283
5284
|
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`
|
|
5284
5285
|
"""
|
|
5285
5286
|
return pulumi.get(self, "name")
|
|
5286
5287
|
|
|
5287
5288
|
@name.setter
|
|
5288
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
5289
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5289
5290
|
pulumi.set(self, "name", value)
|
|
5290
5291
|
|
|
5291
5292
|
|
|
@@ -5294,11 +5295,11 @@ if not MYPY:
|
|
|
5294
5295
|
"""
|
|
5295
5296
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5296
5297
|
"""
|
|
5297
|
-
expression: pulumi.Input[str]
|
|
5298
|
+
expression: pulumi.Input[builtins.str]
|
|
5298
5299
|
"""
|
|
5299
5300
|
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.
|
|
5300
5301
|
"""
|
|
5301
|
-
name: pulumi.Input[str]
|
|
5302
|
+
name: pulumi.Input[builtins.str]
|
|
5302
5303
|
"""
|
|
5303
5304
|
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`
|
|
5304
5305
|
"""
|
|
@@ -5308,38 +5309,38 @@ elif False:
|
|
|
5308
5309
|
@pulumi.input_type
|
|
5309
5310
|
class VariableArgs:
|
|
5310
5311
|
def __init__(__self__, *,
|
|
5311
|
-
expression: pulumi.Input[str],
|
|
5312
|
-
name: pulumi.Input[str]):
|
|
5312
|
+
expression: pulumi.Input[builtins.str],
|
|
5313
|
+
name: pulumi.Input[builtins.str]):
|
|
5313
5314
|
"""
|
|
5314
5315
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5315
|
-
: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.
|
|
5316
|
-
: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`
|
|
5316
|
+
: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.
|
|
5317
|
+
: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`
|
|
5317
5318
|
"""
|
|
5318
5319
|
pulumi.set(__self__, "expression", expression)
|
|
5319
5320
|
pulumi.set(__self__, "name", name)
|
|
5320
5321
|
|
|
5321
5322
|
@property
|
|
5322
5323
|
@pulumi.getter
|
|
5323
|
-
def expression(self) -> pulumi.Input[str]:
|
|
5324
|
+
def expression(self) -> pulumi.Input[builtins.str]:
|
|
5324
5325
|
"""
|
|
5325
5326
|
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.
|
|
5326
5327
|
"""
|
|
5327
5328
|
return pulumi.get(self, "expression")
|
|
5328
5329
|
|
|
5329
5330
|
@expression.setter
|
|
5330
|
-
def expression(self, value: pulumi.Input[str]):
|
|
5331
|
+
def expression(self, value: pulumi.Input[builtins.str]):
|
|
5331
5332
|
pulumi.set(self, "expression", value)
|
|
5332
5333
|
|
|
5333
5334
|
@property
|
|
5334
5335
|
@pulumi.getter
|
|
5335
|
-
def name(self) -> pulumi.Input[str]:
|
|
5336
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
5336
5337
|
"""
|
|
5337
5338
|
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`
|
|
5338
5339
|
"""
|
|
5339
5340
|
return pulumi.get(self, "name")
|
|
5340
5341
|
|
|
5341
5342
|
@name.setter
|
|
5342
|
-
def name(self, value: pulumi.Input[str]):
|
|
5343
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
5343
5344
|
pulumi.set(self, "name", value)
|
|
5344
5345
|
|
|
5345
5346
|
|
|
@@ -5348,7 +5349,7 @@ if not MYPY:
|
|
|
5348
5349
|
"""
|
|
5349
5350
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5350
5351
|
"""
|
|
5351
|
-
ca_bundle: NotRequired[pulumi.Input[str]]
|
|
5352
|
+
ca_bundle: NotRequired[pulumi.Input[builtins.str]]
|
|
5352
5353
|
"""
|
|
5353
5354
|
`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.
|
|
5354
5355
|
"""
|
|
@@ -5358,7 +5359,7 @@ if not MYPY:
|
|
|
5358
5359
|
|
|
5359
5360
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5360
5361
|
"""
|
|
5361
|
-
url: NotRequired[pulumi.Input[str]]
|
|
5362
|
+
url: NotRequired[pulumi.Input[builtins.str]]
|
|
5362
5363
|
"""
|
|
5363
5364
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5364
5365
|
|
|
@@ -5378,16 +5379,16 @@ elif False:
|
|
|
5378
5379
|
@pulumi.input_type
|
|
5379
5380
|
class WebhookClientConfigPatchArgs:
|
|
5380
5381
|
def __init__(__self__, *,
|
|
5381
|
-
ca_bundle: Optional[pulumi.Input[str]] = None,
|
|
5382
|
+
ca_bundle: Optional[pulumi.Input[builtins.str]] = None,
|
|
5382
5383
|
service: Optional[pulumi.Input['ServiceReferencePatchArgs']] = None,
|
|
5383
|
-
url: Optional[pulumi.Input[str]] = None):
|
|
5384
|
+
url: Optional[pulumi.Input[builtins.str]] = None):
|
|
5384
5385
|
"""
|
|
5385
5386
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5386
|
-
: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.
|
|
5387
|
+
: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.
|
|
5387
5388
|
:param pulumi.Input['ServiceReferencePatchArgs'] service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
5388
5389
|
|
|
5389
5390
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5390
|
-
: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.
|
|
5391
|
+
: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.
|
|
5391
5392
|
|
|
5392
5393
|
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.
|
|
5393
5394
|
|
|
@@ -5408,14 +5409,14 @@ class WebhookClientConfigPatchArgs:
|
|
|
5408
5409
|
|
|
5409
5410
|
@property
|
|
5410
5411
|
@pulumi.getter(name="caBundle")
|
|
5411
|
-
def ca_bundle(self) -> Optional[pulumi.Input[str]]:
|
|
5412
|
+
def ca_bundle(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5412
5413
|
"""
|
|
5413
5414
|
`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.
|
|
5414
5415
|
"""
|
|
5415
5416
|
return pulumi.get(self, "ca_bundle")
|
|
5416
5417
|
|
|
5417
5418
|
@ca_bundle.setter
|
|
5418
|
-
def ca_bundle(self, value: Optional[pulumi.Input[str]]):
|
|
5419
|
+
def ca_bundle(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5419
5420
|
pulumi.set(self, "ca_bundle", value)
|
|
5420
5421
|
|
|
5421
5422
|
@property
|
|
@@ -5434,7 +5435,7 @@ class WebhookClientConfigPatchArgs:
|
|
|
5434
5435
|
|
|
5435
5436
|
@property
|
|
5436
5437
|
@pulumi.getter
|
|
5437
|
-
def url(self) -> Optional[pulumi.Input[str]]:
|
|
5438
|
+
def url(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5438
5439
|
"""
|
|
5439
5440
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5440
5441
|
|
|
@@ -5451,7 +5452,7 @@ class WebhookClientConfigPatchArgs:
|
|
|
5451
5452
|
return pulumi.get(self, "url")
|
|
5452
5453
|
|
|
5453
5454
|
@url.setter
|
|
5454
|
-
def url(self, value: Optional[pulumi.Input[str]]):
|
|
5455
|
+
def url(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5455
5456
|
pulumi.set(self, "url", value)
|
|
5456
5457
|
|
|
5457
5458
|
|
|
@@ -5460,7 +5461,7 @@ if not MYPY:
|
|
|
5460
5461
|
"""
|
|
5461
5462
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5462
5463
|
"""
|
|
5463
|
-
ca_bundle: NotRequired[pulumi.Input[str]]
|
|
5464
|
+
ca_bundle: NotRequired[pulumi.Input[builtins.str]]
|
|
5464
5465
|
"""
|
|
5465
5466
|
`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.
|
|
5466
5467
|
"""
|
|
@@ -5470,7 +5471,7 @@ if not MYPY:
|
|
|
5470
5471
|
|
|
5471
5472
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5472
5473
|
"""
|
|
5473
|
-
url: NotRequired[pulumi.Input[str]]
|
|
5474
|
+
url: NotRequired[pulumi.Input[builtins.str]]
|
|
5474
5475
|
"""
|
|
5475
5476
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5476
5477
|
|
|
@@ -5490,16 +5491,16 @@ elif False:
|
|
|
5490
5491
|
@pulumi.input_type
|
|
5491
5492
|
class WebhookClientConfigArgs:
|
|
5492
5493
|
def __init__(__self__, *,
|
|
5493
|
-
ca_bundle: Optional[pulumi.Input[str]] = None,
|
|
5494
|
+
ca_bundle: Optional[pulumi.Input[builtins.str]] = None,
|
|
5494
5495
|
service: Optional[pulumi.Input['ServiceReferenceArgs']] = None,
|
|
5495
|
-
url: Optional[pulumi.Input[str]] = None):
|
|
5496
|
+
url: Optional[pulumi.Input[builtins.str]] = None):
|
|
5496
5497
|
"""
|
|
5497
5498
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5498
|
-
: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.
|
|
5499
|
+
: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.
|
|
5499
5500
|
:param pulumi.Input['ServiceReferenceArgs'] service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
5500
5501
|
|
|
5501
5502
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5502
|
-
: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.
|
|
5503
|
+
: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.
|
|
5503
5504
|
|
|
5504
5505
|
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.
|
|
5505
5506
|
|
|
@@ -5520,14 +5521,14 @@ class WebhookClientConfigArgs:
|
|
|
5520
5521
|
|
|
5521
5522
|
@property
|
|
5522
5523
|
@pulumi.getter(name="caBundle")
|
|
5523
|
-
def ca_bundle(self) -> Optional[pulumi.Input[str]]:
|
|
5524
|
+
def ca_bundle(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5524
5525
|
"""
|
|
5525
5526
|
`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.
|
|
5526
5527
|
"""
|
|
5527
5528
|
return pulumi.get(self, "ca_bundle")
|
|
5528
5529
|
|
|
5529
5530
|
@ca_bundle.setter
|
|
5530
|
-
def ca_bundle(self, value: Optional[pulumi.Input[str]]):
|
|
5531
|
+
def ca_bundle(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5531
5532
|
pulumi.set(self, "ca_bundle", value)
|
|
5532
5533
|
|
|
5533
5534
|
@property
|
|
@@ -5546,7 +5547,7 @@ class WebhookClientConfigArgs:
|
|
|
5546
5547
|
|
|
5547
5548
|
@property
|
|
5548
5549
|
@pulumi.getter
|
|
5549
|
-
def url(self) -> Optional[pulumi.Input[str]]:
|
|
5550
|
+
def url(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5550
5551
|
"""
|
|
5551
5552
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5552
5553
|
|
|
@@ -5563,7 +5564,7 @@ class WebhookClientConfigArgs:
|
|
|
5563
5564
|
return pulumi.get(self, "url")
|
|
5564
5565
|
|
|
5565
5566
|
@url.setter
|
|
5566
|
-
def url(self, value: Optional[pulumi.Input[str]]):
|
|
5567
|
+
def url(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5567
5568
|
pulumi.set(self, "url", value)
|
|
5568
5569
|
|
|
5569
5570
|
|