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