pulumi-kubernetes 4.24.0a1752908431__py3-none-any.whl → 4.24.0a1753121506__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.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.24.0a1753121506.dist-info/RECORD +709 -0
- pulumi_kubernetes-4.24.0a1752908431.dist-info/RECORD +0 -709
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.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 by 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 by 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 by 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 by 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.
|
|
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.
|
|
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.
|
|
1044
1043
|
"""
|
|
@@ -1046,7 +1045,7 @@ 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 Fail.
|
|
1052
1051
|
"""
|
|
@@ -1061,7 +1060,7 @@ if not MYPY:
|
|
|
1061
1060
|
- If failurePolicy=Fail, reject the request
|
|
1062
1061
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
1063
1062
|
"""
|
|
1064
|
-
match_policy: NotRequired[pulumi.Input[
|
|
1063
|
+
match_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1065
1064
|
"""
|
|
1066
1065
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1067
1066
|
|
|
@@ -1071,7 +1070,7 @@ if not MYPY:
|
|
|
1071
1070
|
|
|
1072
1071
|
Defaults to "Equivalent"
|
|
1073
1072
|
"""
|
|
1074
|
-
name: NotRequired[pulumi.Input[
|
|
1073
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1075
1074
|
"""
|
|
1076
1075
|
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.
|
|
1077
1076
|
"""
|
|
@@ -1113,7 +1112,7 @@ if not MYPY:
|
|
|
1113
1112
|
"""
|
|
1114
1113
|
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.
|
|
1115
1114
|
"""
|
|
1116
|
-
reinvocation_policy: NotRequired[pulumi.Input[
|
|
1115
|
+
reinvocation_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1117
1116
|
"""
|
|
1118
1117
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1119
1118
|
|
|
@@ -1127,11 +1126,11 @@ if not MYPY:
|
|
|
1127
1126
|
"""
|
|
1128
1127
|
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.
|
|
1129
1128
|
"""
|
|
1130
|
-
side_effects: NotRequired[pulumi.Input[
|
|
1129
|
+
side_effects: NotRequired[pulumi.Input[_builtins.str]]
|
|
1131
1130
|
"""
|
|
1132
1131
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1133
1132
|
"""
|
|
1134
|
-
timeout_seconds: NotRequired[pulumi.Input[
|
|
1133
|
+
timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1135
1134
|
"""
|
|
1136
1135
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
1137
1136
|
"""
|
|
@@ -1141,23 +1140,23 @@ elif False:
|
|
|
1141
1140
|
@pulumi.input_type
|
|
1142
1141
|
class MutatingWebhookPatchArgs:
|
|
1143
1142
|
def __init__(__self__, *,
|
|
1144
|
-
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1143
|
+
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1145
1144
|
client_config: Optional[pulumi.Input['WebhookClientConfigPatchArgs']] = None,
|
|
1146
|
-
failure_policy: Optional[pulumi.Input[
|
|
1145
|
+
failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1147
1146
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
|
|
1148
|
-
match_policy: Optional[pulumi.Input[
|
|
1149
|
-
name: Optional[pulumi.Input[
|
|
1147
|
+
match_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1148
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1150
1149
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1151
1150
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1152
|
-
reinvocation_policy: Optional[pulumi.Input[
|
|
1151
|
+
reinvocation_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1153
1152
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]] = None,
|
|
1154
|
-
side_effects: Optional[pulumi.Input[
|
|
1155
|
-
timeout_seconds: Optional[pulumi.Input[
|
|
1153
|
+
side_effects: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1154
|
+
timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1156
1155
|
"""
|
|
1157
1156
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1158
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1157
|
+
: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.
|
|
1159
1158
|
:param pulumi.Input['WebhookClientConfigPatchArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
1160
|
-
:param pulumi.Input[
|
|
1159
|
+
:param pulumi.Input[_builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1161
1160
|
:param pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
1162
1161
|
|
|
1163
1162
|
The exact matching logic is (in order):
|
|
@@ -1166,14 +1165,14 @@ class MutatingWebhookPatchArgs:
|
|
|
1166
1165
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
1167
1166
|
- If failurePolicy=Fail, reject the request
|
|
1168
1167
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
1169
|
-
:param pulumi.Input[
|
|
1168
|
+
: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".
|
|
1170
1169
|
|
|
1171
1170
|
- 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.
|
|
1172
1171
|
|
|
1173
1172
|
- 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.
|
|
1174
1173
|
|
|
1175
1174
|
Defaults to "Equivalent"
|
|
1176
|
-
:param pulumi.Input[
|
|
1175
|
+
: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.
|
|
1177
1176
|
: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.
|
|
1178
1177
|
|
|
1179
1178
|
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": {
|
|
@@ -1206,7 +1205,7 @@ class MutatingWebhookPatchArgs:
|
|
|
1206
1205
|
|
|
1207
1206
|
Default to the empty LabelSelector, which matches everything.
|
|
1208
1207
|
: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.
|
|
1209
|
-
:param pulumi.Input[
|
|
1208
|
+
: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".
|
|
1210
1209
|
|
|
1211
1210
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
1212
1211
|
|
|
@@ -1214,8 +1213,8 @@ class MutatingWebhookPatchArgs:
|
|
|
1214
1213
|
|
|
1215
1214
|
Defaults to "Never".
|
|
1216
1215
|
: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.
|
|
1217
|
-
:param pulumi.Input[
|
|
1218
|
-
:param pulumi.Input[
|
|
1216
|
+
:param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1217
|
+
:param pulumi.Input[_builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
1219
1218
|
"""
|
|
1220
1219
|
if admission_review_versions is not None:
|
|
1221
1220
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -1242,19 +1241,19 @@ class MutatingWebhookPatchArgs:
|
|
|
1242
1241
|
if timeout_seconds is not None:
|
|
1243
1242
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
1244
1243
|
|
|
1245
|
-
@property
|
|
1244
|
+
@_builtins.property
|
|
1246
1245
|
@pulumi.getter(name="admissionReviewVersions")
|
|
1247
|
-
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1246
|
+
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1248
1247
|
"""
|
|
1249
1248
|
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.
|
|
1250
1249
|
"""
|
|
1251
1250
|
return pulumi.get(self, "admission_review_versions")
|
|
1252
1251
|
|
|
1253
1252
|
@admission_review_versions.setter
|
|
1254
|
-
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1253
|
+
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1255
1254
|
pulumi.set(self, "admission_review_versions", value)
|
|
1256
1255
|
|
|
1257
|
-
@property
|
|
1256
|
+
@_builtins.property
|
|
1258
1257
|
@pulumi.getter(name="clientConfig")
|
|
1259
1258
|
def client_config(self) -> Optional[pulumi.Input['WebhookClientConfigPatchArgs']]:
|
|
1260
1259
|
"""
|
|
@@ -1266,19 +1265,19 @@ class MutatingWebhookPatchArgs:
|
|
|
1266
1265
|
def client_config(self, value: Optional[pulumi.Input['WebhookClientConfigPatchArgs']]):
|
|
1267
1266
|
pulumi.set(self, "client_config", value)
|
|
1268
1267
|
|
|
1269
|
-
@property
|
|
1268
|
+
@_builtins.property
|
|
1270
1269
|
@pulumi.getter(name="failurePolicy")
|
|
1271
|
-
def failure_policy(self) -> Optional[pulumi.Input[
|
|
1270
|
+
def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1272
1271
|
"""
|
|
1273
1272
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1274
1273
|
"""
|
|
1275
1274
|
return pulumi.get(self, "failure_policy")
|
|
1276
1275
|
|
|
1277
1276
|
@failure_policy.setter
|
|
1278
|
-
def failure_policy(self, value: Optional[pulumi.Input[
|
|
1277
|
+
def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1279
1278
|
pulumi.set(self, "failure_policy", value)
|
|
1280
1279
|
|
|
1281
|
-
@property
|
|
1280
|
+
@_builtins.property
|
|
1282
1281
|
@pulumi.getter(name="matchConditions")
|
|
1283
1282
|
def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]:
|
|
1284
1283
|
"""
|
|
@@ -1297,9 +1296,9 @@ class MutatingWebhookPatchArgs:
|
|
|
1297
1296
|
def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]):
|
|
1298
1297
|
pulumi.set(self, "match_conditions", value)
|
|
1299
1298
|
|
|
1300
|
-
@property
|
|
1299
|
+
@_builtins.property
|
|
1301
1300
|
@pulumi.getter(name="matchPolicy")
|
|
1302
|
-
def match_policy(self) -> Optional[pulumi.Input[
|
|
1301
|
+
def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1303
1302
|
"""
|
|
1304
1303
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1305
1304
|
|
|
@@ -1312,22 +1311,22 @@ class MutatingWebhookPatchArgs:
|
|
|
1312
1311
|
return pulumi.get(self, "match_policy")
|
|
1313
1312
|
|
|
1314
1313
|
@match_policy.setter
|
|
1315
|
-
def match_policy(self, value: Optional[pulumi.Input[
|
|
1314
|
+
def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1316
1315
|
pulumi.set(self, "match_policy", value)
|
|
1317
1316
|
|
|
1318
|
-
@property
|
|
1317
|
+
@_builtins.property
|
|
1319
1318
|
@pulumi.getter
|
|
1320
|
-
def name(self) -> Optional[pulumi.Input[
|
|
1319
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1321
1320
|
"""
|
|
1322
1321
|
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.
|
|
1323
1322
|
"""
|
|
1324
1323
|
return pulumi.get(self, "name")
|
|
1325
1324
|
|
|
1326
1325
|
@name.setter
|
|
1327
|
-
def name(self, value: Optional[pulumi.Input[
|
|
1326
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1328
1327
|
pulumi.set(self, "name", value)
|
|
1329
1328
|
|
|
1330
|
-
@property
|
|
1329
|
+
@_builtins.property
|
|
1331
1330
|
@pulumi.getter(name="namespaceSelector")
|
|
1332
1331
|
def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
1333
1332
|
"""
|
|
@@ -1369,7 +1368,7 @@ class MutatingWebhookPatchArgs:
|
|
|
1369
1368
|
def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
1370
1369
|
pulumi.set(self, "namespace_selector", value)
|
|
1371
1370
|
|
|
1372
|
-
@property
|
|
1371
|
+
@_builtins.property
|
|
1373
1372
|
@pulumi.getter(name="objectSelector")
|
|
1374
1373
|
def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
1375
1374
|
"""
|
|
@@ -1381,9 +1380,9 @@ class MutatingWebhookPatchArgs:
|
|
|
1381
1380
|
def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
1382
1381
|
pulumi.set(self, "object_selector", value)
|
|
1383
1382
|
|
|
1384
|
-
@property
|
|
1383
|
+
@_builtins.property
|
|
1385
1384
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1386
|
-
def reinvocation_policy(self) -> Optional[pulumi.Input[
|
|
1385
|
+
def reinvocation_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1387
1386
|
"""
|
|
1388
1387
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1389
1388
|
|
|
@@ -1396,10 +1395,10 @@ class MutatingWebhookPatchArgs:
|
|
|
1396
1395
|
return pulumi.get(self, "reinvocation_policy")
|
|
1397
1396
|
|
|
1398
1397
|
@reinvocation_policy.setter
|
|
1399
|
-
def reinvocation_policy(self, value: Optional[pulumi.Input[
|
|
1398
|
+
def reinvocation_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1400
1399
|
pulumi.set(self, "reinvocation_policy", value)
|
|
1401
1400
|
|
|
1402
|
-
@property
|
|
1401
|
+
@_builtins.property
|
|
1403
1402
|
@pulumi.getter
|
|
1404
1403
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]:
|
|
1405
1404
|
"""
|
|
@@ -1411,28 +1410,28 @@ class MutatingWebhookPatchArgs:
|
|
|
1411
1410
|
def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]):
|
|
1412
1411
|
pulumi.set(self, "rules", value)
|
|
1413
1412
|
|
|
1414
|
-
@property
|
|
1413
|
+
@_builtins.property
|
|
1415
1414
|
@pulumi.getter(name="sideEffects")
|
|
1416
|
-
def side_effects(self) -> Optional[pulumi.Input[
|
|
1415
|
+
def side_effects(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1417
1416
|
"""
|
|
1418
1417
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1419
1418
|
"""
|
|
1420
1419
|
return pulumi.get(self, "side_effects")
|
|
1421
1420
|
|
|
1422
1421
|
@side_effects.setter
|
|
1423
|
-
def side_effects(self, value: Optional[pulumi.Input[
|
|
1422
|
+
def side_effects(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1424
1423
|
pulumi.set(self, "side_effects", value)
|
|
1425
1424
|
|
|
1426
|
-
@property
|
|
1425
|
+
@_builtins.property
|
|
1427
1426
|
@pulumi.getter(name="timeoutSeconds")
|
|
1428
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[
|
|
1427
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1429
1428
|
"""
|
|
1430
1429
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
1431
1430
|
"""
|
|
1432
1431
|
return pulumi.get(self, "timeout_seconds")
|
|
1433
1432
|
|
|
1434
1433
|
@timeout_seconds.setter
|
|
1435
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[
|
|
1434
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1436
1435
|
pulumi.set(self, "timeout_seconds", value)
|
|
1437
1436
|
|
|
1438
1437
|
|
|
@@ -1441,7 +1440,7 @@ if not MYPY:
|
|
|
1441
1440
|
"""
|
|
1442
1441
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1443
1442
|
"""
|
|
1444
|
-
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[
|
|
1443
|
+
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
1445
1444
|
"""
|
|
1446
1445
|
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.
|
|
1447
1446
|
"""
|
|
@@ -1449,15 +1448,15 @@ if not MYPY:
|
|
|
1449
1448
|
"""
|
|
1450
1449
|
ClientConfig defines how to communicate with the hook. Required
|
|
1451
1450
|
"""
|
|
1452
|
-
name: pulumi.Input[
|
|
1451
|
+
name: pulumi.Input[_builtins.str]
|
|
1453
1452
|
"""
|
|
1454
1453
|
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.
|
|
1455
1454
|
"""
|
|
1456
|
-
side_effects: pulumi.Input[
|
|
1455
|
+
side_effects: pulumi.Input[_builtins.str]
|
|
1457
1456
|
"""
|
|
1458
1457
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1459
1458
|
"""
|
|
1460
|
-
failure_policy: NotRequired[pulumi.Input[
|
|
1459
|
+
failure_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1461
1460
|
"""
|
|
1462
1461
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1463
1462
|
"""
|
|
@@ -1472,7 +1471,7 @@ if not MYPY:
|
|
|
1472
1471
|
- If failurePolicy=Fail, reject the request
|
|
1473
1472
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
1474
1473
|
"""
|
|
1475
|
-
match_policy: NotRequired[pulumi.Input[
|
|
1474
|
+
match_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1476
1475
|
"""
|
|
1477
1476
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1478
1477
|
|
|
@@ -1520,7 +1519,7 @@ if not MYPY:
|
|
|
1520
1519
|
"""
|
|
1521
1520
|
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.
|
|
1522
1521
|
"""
|
|
1523
|
-
reinvocation_policy: NotRequired[pulumi.Input[
|
|
1522
|
+
reinvocation_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1524
1523
|
"""
|
|
1525
1524
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1526
1525
|
|
|
@@ -1534,7 +1533,7 @@ if not MYPY:
|
|
|
1534
1533
|
"""
|
|
1535
1534
|
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.
|
|
1536
1535
|
"""
|
|
1537
|
-
timeout_seconds: NotRequired[pulumi.Input[
|
|
1536
|
+
timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1538
1537
|
"""
|
|
1539
1538
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
1540
1539
|
"""
|
|
@@ -1544,25 +1543,25 @@ elif False:
|
|
|
1544
1543
|
@pulumi.input_type
|
|
1545
1544
|
class MutatingWebhookArgs:
|
|
1546
1545
|
def __init__(__self__, *,
|
|
1547
|
-
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[
|
|
1546
|
+
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
1548
1547
|
client_config: pulumi.Input['WebhookClientConfigArgs'],
|
|
1549
|
-
name: pulumi.Input[
|
|
1550
|
-
side_effects: pulumi.Input[
|
|
1551
|
-
failure_policy: Optional[pulumi.Input[
|
|
1548
|
+
name: pulumi.Input[_builtins.str],
|
|
1549
|
+
side_effects: pulumi.Input[_builtins.str],
|
|
1550
|
+
failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1552
1551
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
|
|
1553
|
-
match_policy: Optional[pulumi.Input[
|
|
1552
|
+
match_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1554
1553
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1555
1554
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1556
|
-
reinvocation_policy: Optional[pulumi.Input[
|
|
1555
|
+
reinvocation_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1557
1556
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]] = None,
|
|
1558
|
-
timeout_seconds: Optional[pulumi.Input[
|
|
1557
|
+
timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1559
1558
|
"""
|
|
1560
1559
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1561
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1560
|
+
: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.
|
|
1562
1561
|
:param pulumi.Input['WebhookClientConfigArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
1563
|
-
:param pulumi.Input[
|
|
1564
|
-
:param pulumi.Input[
|
|
1565
|
-
:param pulumi.Input[
|
|
1562
|
+
: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.
|
|
1563
|
+
:param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1564
|
+
:param pulumi.Input[_builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1566
1565
|
:param pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
1567
1566
|
|
|
1568
1567
|
The exact matching logic is (in order):
|
|
@@ -1571,7 +1570,7 @@ class MutatingWebhookArgs:
|
|
|
1571
1570
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
1572
1571
|
- If failurePolicy=Fail, reject the request
|
|
1573
1572
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
1574
|
-
:param pulumi.Input[
|
|
1573
|
+
: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".
|
|
1575
1574
|
|
|
1576
1575
|
- 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.
|
|
1577
1576
|
|
|
@@ -1610,7 +1609,7 @@ class MutatingWebhookArgs:
|
|
|
1610
1609
|
|
|
1611
1610
|
Default to the empty LabelSelector, which matches everything.
|
|
1612
1611
|
: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.
|
|
1613
|
-
:param pulumi.Input[
|
|
1612
|
+
: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".
|
|
1614
1613
|
|
|
1615
1614
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
1616
1615
|
|
|
@@ -1618,7 +1617,7 @@ class MutatingWebhookArgs:
|
|
|
1618
1617
|
|
|
1619
1618
|
Defaults to "Never".
|
|
1620
1619
|
: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.
|
|
1621
|
-
:param pulumi.Input[
|
|
1620
|
+
:param pulumi.Input[_builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
1622
1621
|
"""
|
|
1623
1622
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
1624
1623
|
pulumi.set(__self__, "client_config", client_config)
|
|
@@ -1641,19 +1640,19 @@ class MutatingWebhookArgs:
|
|
|
1641
1640
|
if timeout_seconds is not None:
|
|
1642
1641
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
1643
1642
|
|
|
1644
|
-
@property
|
|
1643
|
+
@_builtins.property
|
|
1645
1644
|
@pulumi.getter(name="admissionReviewVersions")
|
|
1646
|
-
def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
1645
|
+
def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
1647
1646
|
"""
|
|
1648
1647
|
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.
|
|
1649
1648
|
"""
|
|
1650
1649
|
return pulumi.get(self, "admission_review_versions")
|
|
1651
1650
|
|
|
1652
1651
|
@admission_review_versions.setter
|
|
1653
|
-
def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
1652
|
+
def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
1654
1653
|
pulumi.set(self, "admission_review_versions", value)
|
|
1655
1654
|
|
|
1656
|
-
@property
|
|
1655
|
+
@_builtins.property
|
|
1657
1656
|
@pulumi.getter(name="clientConfig")
|
|
1658
1657
|
def client_config(self) -> pulumi.Input['WebhookClientConfigArgs']:
|
|
1659
1658
|
"""
|
|
@@ -1665,43 +1664,43 @@ class MutatingWebhookArgs:
|
|
|
1665
1664
|
def client_config(self, value: pulumi.Input['WebhookClientConfigArgs']):
|
|
1666
1665
|
pulumi.set(self, "client_config", value)
|
|
1667
1666
|
|
|
1668
|
-
@property
|
|
1667
|
+
@_builtins.property
|
|
1669
1668
|
@pulumi.getter
|
|
1670
|
-
def name(self) -> pulumi.Input[
|
|
1669
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
1671
1670
|
"""
|
|
1672
1671
|
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.
|
|
1673
1672
|
"""
|
|
1674
1673
|
return pulumi.get(self, "name")
|
|
1675
1674
|
|
|
1676
1675
|
@name.setter
|
|
1677
|
-
def name(self, value: pulumi.Input[
|
|
1676
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
1678
1677
|
pulumi.set(self, "name", value)
|
|
1679
1678
|
|
|
1680
|
-
@property
|
|
1679
|
+
@_builtins.property
|
|
1681
1680
|
@pulumi.getter(name="sideEffects")
|
|
1682
|
-
def side_effects(self) -> pulumi.Input[
|
|
1681
|
+
def side_effects(self) -> pulumi.Input[_builtins.str]:
|
|
1683
1682
|
"""
|
|
1684
1683
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1685
1684
|
"""
|
|
1686
1685
|
return pulumi.get(self, "side_effects")
|
|
1687
1686
|
|
|
1688
1687
|
@side_effects.setter
|
|
1689
|
-
def side_effects(self, value: pulumi.Input[
|
|
1688
|
+
def side_effects(self, value: pulumi.Input[_builtins.str]):
|
|
1690
1689
|
pulumi.set(self, "side_effects", value)
|
|
1691
1690
|
|
|
1692
|
-
@property
|
|
1691
|
+
@_builtins.property
|
|
1693
1692
|
@pulumi.getter(name="failurePolicy")
|
|
1694
|
-
def failure_policy(self) -> Optional[pulumi.Input[
|
|
1693
|
+
def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1695
1694
|
"""
|
|
1696
1695
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1697
1696
|
"""
|
|
1698
1697
|
return pulumi.get(self, "failure_policy")
|
|
1699
1698
|
|
|
1700
1699
|
@failure_policy.setter
|
|
1701
|
-
def failure_policy(self, value: Optional[pulumi.Input[
|
|
1700
|
+
def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1702
1701
|
pulumi.set(self, "failure_policy", value)
|
|
1703
1702
|
|
|
1704
|
-
@property
|
|
1703
|
+
@_builtins.property
|
|
1705
1704
|
@pulumi.getter(name="matchConditions")
|
|
1706
1705
|
def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]:
|
|
1707
1706
|
"""
|
|
@@ -1720,9 +1719,9 @@ class MutatingWebhookArgs:
|
|
|
1720
1719
|
def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]):
|
|
1721
1720
|
pulumi.set(self, "match_conditions", value)
|
|
1722
1721
|
|
|
1723
|
-
@property
|
|
1722
|
+
@_builtins.property
|
|
1724
1723
|
@pulumi.getter(name="matchPolicy")
|
|
1725
|
-
def match_policy(self) -> Optional[pulumi.Input[
|
|
1724
|
+
def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1726
1725
|
"""
|
|
1727
1726
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1728
1727
|
|
|
@@ -1735,10 +1734,10 @@ class MutatingWebhookArgs:
|
|
|
1735
1734
|
return pulumi.get(self, "match_policy")
|
|
1736
1735
|
|
|
1737
1736
|
@match_policy.setter
|
|
1738
|
-
def match_policy(self, value: Optional[pulumi.Input[
|
|
1737
|
+
def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1739
1738
|
pulumi.set(self, "match_policy", value)
|
|
1740
1739
|
|
|
1741
|
-
@property
|
|
1740
|
+
@_builtins.property
|
|
1742
1741
|
@pulumi.getter(name="namespaceSelector")
|
|
1743
1742
|
def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1744
1743
|
"""
|
|
@@ -1780,7 +1779,7 @@ class MutatingWebhookArgs:
|
|
|
1780
1779
|
def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
|
|
1781
1780
|
pulumi.set(self, "namespace_selector", value)
|
|
1782
1781
|
|
|
1783
|
-
@property
|
|
1782
|
+
@_builtins.property
|
|
1784
1783
|
@pulumi.getter(name="objectSelector")
|
|
1785
1784
|
def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1786
1785
|
"""
|
|
@@ -1792,9 +1791,9 @@ class MutatingWebhookArgs:
|
|
|
1792
1791
|
def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
|
|
1793
1792
|
pulumi.set(self, "object_selector", value)
|
|
1794
1793
|
|
|
1795
|
-
@property
|
|
1794
|
+
@_builtins.property
|
|
1796
1795
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1797
|
-
def reinvocation_policy(self) -> Optional[pulumi.Input[
|
|
1796
|
+
def reinvocation_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1798
1797
|
"""
|
|
1799
1798
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1800
1799
|
|
|
@@ -1807,10 +1806,10 @@ class MutatingWebhookArgs:
|
|
|
1807
1806
|
return pulumi.get(self, "reinvocation_policy")
|
|
1808
1807
|
|
|
1809
1808
|
@reinvocation_policy.setter
|
|
1810
|
-
def reinvocation_policy(self, value: Optional[pulumi.Input[
|
|
1809
|
+
def reinvocation_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1811
1810
|
pulumi.set(self, "reinvocation_policy", value)
|
|
1812
1811
|
|
|
1813
|
-
@property
|
|
1812
|
+
@_builtins.property
|
|
1814
1813
|
@pulumi.getter
|
|
1815
1814
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]:
|
|
1816
1815
|
"""
|
|
@@ -1822,16 +1821,16 @@ class MutatingWebhookArgs:
|
|
|
1822
1821
|
def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]):
|
|
1823
1822
|
pulumi.set(self, "rules", value)
|
|
1824
1823
|
|
|
1825
|
-
@property
|
|
1824
|
+
@_builtins.property
|
|
1826
1825
|
@pulumi.getter(name="timeoutSeconds")
|
|
1827
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[
|
|
1826
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1828
1827
|
"""
|
|
1829
1828
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
1830
1829
|
"""
|
|
1831
1830
|
return pulumi.get(self, "timeout_seconds")
|
|
1832
1831
|
|
|
1833
1832
|
@timeout_seconds.setter
|
|
1834
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[
|
|
1833
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1835
1834
|
pulumi.set(self, "timeout_seconds", value)
|
|
1836
1835
|
|
|
1837
1836
|
|
|
@@ -1840,23 +1839,23 @@ if not MYPY:
|
|
|
1840
1839
|
"""
|
|
1841
1840
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1842
1841
|
"""
|
|
1843
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
1842
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1844
1843
|
"""
|
|
1845
1844
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1846
1845
|
"""
|
|
1847
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
1846
|
+
api_versions: NotRequired[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
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
1850
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1852
1851
|
"""
|
|
1853
1852
|
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.
|
|
1854
1853
|
"""
|
|
1855
|
-
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
1854
|
+
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1856
1855
|
"""
|
|
1857
1856
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1858
1857
|
"""
|
|
1859
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
1858
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1860
1859
|
"""
|
|
1861
1860
|
Resources is a list of resources this rule applies to.
|
|
1862
1861
|
|
|
@@ -1866,7 +1865,7 @@ if not MYPY:
|
|
|
1866
1865
|
|
|
1867
1866
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1868
1867
|
"""
|
|
1869
|
-
scope: NotRequired[pulumi.Input[
|
|
1868
|
+
scope: NotRequired[pulumi.Input[_builtins.str]]
|
|
1870
1869
|
"""
|
|
1871
1870
|
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 "*".
|
|
1872
1871
|
"""
|
|
@@ -1876,26 +1875,26 @@ elif False:
|
|
|
1876
1875
|
@pulumi.input_type
|
|
1877
1876
|
class NamedRuleWithOperationsPatchArgs:
|
|
1878
1877
|
def __init__(__self__, *,
|
|
1879
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1880
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1881
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1882
|
-
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1883
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1884
|
-
scope: Optional[pulumi.Input[
|
|
1878
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1879
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1880
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1881
|
+
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1882
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1883
|
+
scope: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1885
1884
|
"""
|
|
1886
1885
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1887
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1888
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1889
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1890
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1891
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1886
|
+
: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.
|
|
1887
|
+
: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.
|
|
1888
|
+
: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.
|
|
1889
|
+
: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.
|
|
1890
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
1892
1891
|
|
|
1893
1892
|
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.
|
|
1894
1893
|
|
|
1895
1894
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1896
1895
|
|
|
1897
1896
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1898
|
-
:param pulumi.Input[
|
|
1897
|
+
: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 "*".
|
|
1899
1898
|
"""
|
|
1900
1899
|
if api_groups is not None:
|
|
1901
1900
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1910,57 +1909,57 @@ class NamedRuleWithOperationsPatchArgs:
|
|
|
1910
1909
|
if scope is not None:
|
|
1911
1910
|
pulumi.set(__self__, "scope", scope)
|
|
1912
1911
|
|
|
1913
|
-
@property
|
|
1912
|
+
@_builtins.property
|
|
1914
1913
|
@pulumi.getter(name="apiGroups")
|
|
1915
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1914
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1916
1915
|
"""
|
|
1917
1916
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1918
1917
|
"""
|
|
1919
1918
|
return pulumi.get(self, "api_groups")
|
|
1920
1919
|
|
|
1921
1920
|
@api_groups.setter
|
|
1922
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1921
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1923
1922
|
pulumi.set(self, "api_groups", value)
|
|
1924
1923
|
|
|
1925
|
-
@property
|
|
1924
|
+
@_builtins.property
|
|
1926
1925
|
@pulumi.getter(name="apiVersions")
|
|
1927
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1926
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1928
1927
|
"""
|
|
1929
1928
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1930
1929
|
"""
|
|
1931
1930
|
return pulumi.get(self, "api_versions")
|
|
1932
1931
|
|
|
1933
1932
|
@api_versions.setter
|
|
1934
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1933
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1935
1934
|
pulumi.set(self, "api_versions", value)
|
|
1936
1935
|
|
|
1937
|
-
@property
|
|
1936
|
+
@_builtins.property
|
|
1938
1937
|
@pulumi.getter
|
|
1939
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1938
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1940
1939
|
"""
|
|
1941
1940
|
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.
|
|
1942
1941
|
"""
|
|
1943
1942
|
return pulumi.get(self, "operations")
|
|
1944
1943
|
|
|
1945
1944
|
@operations.setter
|
|
1946
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1945
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1947
1946
|
pulumi.set(self, "operations", value)
|
|
1948
1947
|
|
|
1949
|
-
@property
|
|
1948
|
+
@_builtins.property
|
|
1950
1949
|
@pulumi.getter(name="resourceNames")
|
|
1951
|
-
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1950
|
+
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1952
1951
|
"""
|
|
1953
1952
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1954
1953
|
"""
|
|
1955
1954
|
return pulumi.get(self, "resource_names")
|
|
1956
1955
|
|
|
1957
1956
|
@resource_names.setter
|
|
1958
|
-
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1957
|
+
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1959
1958
|
pulumi.set(self, "resource_names", value)
|
|
1960
1959
|
|
|
1961
|
-
@property
|
|
1960
|
+
@_builtins.property
|
|
1962
1961
|
@pulumi.getter
|
|
1963
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1962
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1964
1963
|
"""
|
|
1965
1964
|
Resources is a list of resources this rule applies to.
|
|
1966
1965
|
|
|
@@ -1973,19 +1972,19 @@ class NamedRuleWithOperationsPatchArgs:
|
|
|
1973
1972
|
return pulumi.get(self, "resources")
|
|
1974
1973
|
|
|
1975
1974
|
@resources.setter
|
|
1976
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1975
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1977
1976
|
pulumi.set(self, "resources", value)
|
|
1978
1977
|
|
|
1979
|
-
@property
|
|
1978
|
+
@_builtins.property
|
|
1980
1979
|
@pulumi.getter
|
|
1981
|
-
def scope(self) -> Optional[pulumi.Input[
|
|
1980
|
+
def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1982
1981
|
"""
|
|
1983
1982
|
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 "*".
|
|
1984
1983
|
"""
|
|
1985
1984
|
return pulumi.get(self, "scope")
|
|
1986
1985
|
|
|
1987
1986
|
@scope.setter
|
|
1988
|
-
def scope(self, value: Optional[pulumi.Input[
|
|
1987
|
+
def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1989
1988
|
pulumi.set(self, "scope", value)
|
|
1990
1989
|
|
|
1991
1990
|
|
|
@@ -1994,23 +1993,23 @@ if not MYPY:
|
|
|
1994
1993
|
"""
|
|
1995
1994
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1996
1995
|
"""
|
|
1997
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
1996
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1998
1997
|
"""
|
|
1999
1998
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2000
1999
|
"""
|
|
2001
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2000
|
+
api_versions: NotRequired[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
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2004
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2006
2005
|
"""
|
|
2007
2006
|
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.
|
|
2008
2007
|
"""
|
|
2009
|
-
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2008
|
+
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2010
2009
|
"""
|
|
2011
2010
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2012
2011
|
"""
|
|
2013
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2012
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2014
2013
|
"""
|
|
2015
2014
|
Resources is a list of resources this rule applies to.
|
|
2016
2015
|
|
|
@@ -2020,7 +2019,7 @@ if not MYPY:
|
|
|
2020
2019
|
|
|
2021
2020
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2022
2021
|
"""
|
|
2023
|
-
scope: NotRequired[pulumi.Input[
|
|
2022
|
+
scope: NotRequired[pulumi.Input[_builtins.str]]
|
|
2024
2023
|
"""
|
|
2025
2024
|
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 "*".
|
|
2026
2025
|
"""
|
|
@@ -2030,26 +2029,26 @@ elif False:
|
|
|
2030
2029
|
@pulumi.input_type
|
|
2031
2030
|
class NamedRuleWithOperationsArgs:
|
|
2032
2031
|
def __init__(__self__, *,
|
|
2033
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2034
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2035
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2036
|
-
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2037
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2038
|
-
scope: Optional[pulumi.Input[
|
|
2032
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2033
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2034
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2035
|
+
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2036
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2037
|
+
scope: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2039
2038
|
"""
|
|
2040
2039
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
2041
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2042
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2043
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2044
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2045
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2040
|
+
: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.
|
|
2041
|
+
: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.
|
|
2042
|
+
: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.
|
|
2043
|
+
: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.
|
|
2044
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2046
2045
|
|
|
2047
2046
|
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.
|
|
2048
2047
|
|
|
2049
2048
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2050
2049
|
|
|
2051
2050
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2052
|
-
:param pulumi.Input[
|
|
2051
|
+
: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 "*".
|
|
2053
2052
|
"""
|
|
2054
2053
|
if api_groups is not None:
|
|
2055
2054
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2064,57 +2063,57 @@ class NamedRuleWithOperationsArgs:
|
|
|
2064
2063
|
if scope is not None:
|
|
2065
2064
|
pulumi.set(__self__, "scope", scope)
|
|
2066
2065
|
|
|
2067
|
-
@property
|
|
2066
|
+
@_builtins.property
|
|
2068
2067
|
@pulumi.getter(name="apiGroups")
|
|
2069
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2068
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2070
2069
|
"""
|
|
2071
2070
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2072
2071
|
"""
|
|
2073
2072
|
return pulumi.get(self, "api_groups")
|
|
2074
2073
|
|
|
2075
2074
|
@api_groups.setter
|
|
2076
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2075
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2077
2076
|
pulumi.set(self, "api_groups", value)
|
|
2078
2077
|
|
|
2079
|
-
@property
|
|
2078
|
+
@_builtins.property
|
|
2080
2079
|
@pulumi.getter(name="apiVersions")
|
|
2081
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2080
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2082
2081
|
"""
|
|
2083
2082
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2084
2083
|
"""
|
|
2085
2084
|
return pulumi.get(self, "api_versions")
|
|
2086
2085
|
|
|
2087
2086
|
@api_versions.setter
|
|
2088
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2087
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2089
2088
|
pulumi.set(self, "api_versions", value)
|
|
2090
2089
|
|
|
2091
|
-
@property
|
|
2090
|
+
@_builtins.property
|
|
2092
2091
|
@pulumi.getter
|
|
2093
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2092
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2094
2093
|
"""
|
|
2095
2094
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
2096
2095
|
"""
|
|
2097
2096
|
return pulumi.get(self, "operations")
|
|
2098
2097
|
|
|
2099
2098
|
@operations.setter
|
|
2100
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2099
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2101
2100
|
pulumi.set(self, "operations", value)
|
|
2102
2101
|
|
|
2103
|
-
@property
|
|
2102
|
+
@_builtins.property
|
|
2104
2103
|
@pulumi.getter(name="resourceNames")
|
|
2105
|
-
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2104
|
+
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2106
2105
|
"""
|
|
2107
2106
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2108
2107
|
"""
|
|
2109
2108
|
return pulumi.get(self, "resource_names")
|
|
2110
2109
|
|
|
2111
2110
|
@resource_names.setter
|
|
2112
|
-
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2111
|
+
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2113
2112
|
pulumi.set(self, "resource_names", value)
|
|
2114
2113
|
|
|
2115
|
-
@property
|
|
2114
|
+
@_builtins.property
|
|
2116
2115
|
@pulumi.getter
|
|
2117
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2116
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2118
2117
|
"""
|
|
2119
2118
|
Resources is a list of resources this rule applies to.
|
|
2120
2119
|
|
|
@@ -2127,19 +2126,19 @@ class NamedRuleWithOperationsArgs:
|
|
|
2127
2126
|
return pulumi.get(self, "resources")
|
|
2128
2127
|
|
|
2129
2128
|
@resources.setter
|
|
2130
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2129
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2131
2130
|
pulumi.set(self, "resources", value)
|
|
2132
2131
|
|
|
2133
|
-
@property
|
|
2132
|
+
@_builtins.property
|
|
2134
2133
|
@pulumi.getter
|
|
2135
|
-
def scope(self) -> Optional[pulumi.Input[
|
|
2134
|
+
def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2136
2135
|
"""
|
|
2137
2136
|
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 "*".
|
|
2138
2137
|
"""
|
|
2139
2138
|
return pulumi.get(self, "scope")
|
|
2140
2139
|
|
|
2141
2140
|
@scope.setter
|
|
2142
|
-
def scope(self, value: Optional[pulumi.Input[
|
|
2141
|
+
def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2143
2142
|
pulumi.set(self, "scope", value)
|
|
2144
2143
|
|
|
2145
2144
|
|
|
@@ -2148,11 +2147,11 @@ if not MYPY:
|
|
|
2148
2147
|
"""
|
|
2149
2148
|
ParamKind is a tuple of Group Kind and Version.
|
|
2150
2149
|
"""
|
|
2151
|
-
api_version: NotRequired[pulumi.Input[
|
|
2150
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
2152
2151
|
"""
|
|
2153
2152
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2154
2153
|
"""
|
|
2155
|
-
kind: NotRequired[pulumi.Input[
|
|
2154
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
2156
2155
|
"""
|
|
2157
2156
|
Kind is the API kind the resources belong to. Required.
|
|
2158
2157
|
"""
|
|
@@ -2162,40 +2161,40 @@ elif False:
|
|
|
2162
2161
|
@pulumi.input_type
|
|
2163
2162
|
class ParamKindPatchArgs:
|
|
2164
2163
|
def __init__(__self__, *,
|
|
2165
|
-
api_version: Optional[pulumi.Input[
|
|
2166
|
-
kind: Optional[pulumi.Input[
|
|
2164
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2165
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2167
2166
|
"""
|
|
2168
2167
|
ParamKind is a tuple of Group Kind and Version.
|
|
2169
|
-
:param pulumi.Input[
|
|
2170
|
-
:param pulumi.Input[
|
|
2168
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2169
|
+
:param pulumi.Input[_builtins.str] kind: Kind is the API kind the resources belong to. Required.
|
|
2171
2170
|
"""
|
|
2172
2171
|
if api_version is not None:
|
|
2173
2172
|
pulumi.set(__self__, "api_version", api_version)
|
|
2174
2173
|
if kind is not None:
|
|
2175
2174
|
pulumi.set(__self__, "kind", kind)
|
|
2176
2175
|
|
|
2177
|
-
@property
|
|
2176
|
+
@_builtins.property
|
|
2178
2177
|
@pulumi.getter(name="apiVersion")
|
|
2179
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
2178
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2180
2179
|
"""
|
|
2181
2180
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2182
2181
|
"""
|
|
2183
2182
|
return pulumi.get(self, "api_version")
|
|
2184
2183
|
|
|
2185
2184
|
@api_version.setter
|
|
2186
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
2185
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2187
2186
|
pulumi.set(self, "api_version", value)
|
|
2188
2187
|
|
|
2189
|
-
@property
|
|
2188
|
+
@_builtins.property
|
|
2190
2189
|
@pulumi.getter
|
|
2191
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
2190
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2192
2191
|
"""
|
|
2193
2192
|
Kind is the API kind the resources belong to. Required.
|
|
2194
2193
|
"""
|
|
2195
2194
|
return pulumi.get(self, "kind")
|
|
2196
2195
|
|
|
2197
2196
|
@kind.setter
|
|
2198
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
2197
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2199
2198
|
pulumi.set(self, "kind", value)
|
|
2200
2199
|
|
|
2201
2200
|
|
|
@@ -2204,11 +2203,11 @@ if not MYPY:
|
|
|
2204
2203
|
"""
|
|
2205
2204
|
ParamKind is a tuple of Group Kind and Version.
|
|
2206
2205
|
"""
|
|
2207
|
-
api_version: NotRequired[pulumi.Input[
|
|
2206
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
2208
2207
|
"""
|
|
2209
2208
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2210
2209
|
"""
|
|
2211
|
-
kind: NotRequired[pulumi.Input[
|
|
2210
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
2212
2211
|
"""
|
|
2213
2212
|
Kind is the API kind the resources belong to. Required.
|
|
2214
2213
|
"""
|
|
@@ -2218,40 +2217,40 @@ elif False:
|
|
|
2218
2217
|
@pulumi.input_type
|
|
2219
2218
|
class ParamKindArgs:
|
|
2220
2219
|
def __init__(__self__, *,
|
|
2221
|
-
api_version: Optional[pulumi.Input[
|
|
2222
|
-
kind: Optional[pulumi.Input[
|
|
2220
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2221
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2223
2222
|
"""
|
|
2224
2223
|
ParamKind is a tuple of Group Kind and Version.
|
|
2225
|
-
:param pulumi.Input[
|
|
2226
|
-
:param pulumi.Input[
|
|
2224
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2225
|
+
:param pulumi.Input[_builtins.str] kind: Kind is the API kind the resources belong to. Required.
|
|
2227
2226
|
"""
|
|
2228
2227
|
if api_version is not None:
|
|
2229
2228
|
pulumi.set(__self__, "api_version", api_version)
|
|
2230
2229
|
if kind is not None:
|
|
2231
2230
|
pulumi.set(__self__, "kind", kind)
|
|
2232
2231
|
|
|
2233
|
-
@property
|
|
2232
|
+
@_builtins.property
|
|
2234
2233
|
@pulumi.getter(name="apiVersion")
|
|
2235
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
2234
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2236
2235
|
"""
|
|
2237
2236
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2238
2237
|
"""
|
|
2239
2238
|
return pulumi.get(self, "api_version")
|
|
2240
2239
|
|
|
2241
2240
|
@api_version.setter
|
|
2242
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
2241
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2243
2242
|
pulumi.set(self, "api_version", value)
|
|
2244
2243
|
|
|
2245
|
-
@property
|
|
2244
|
+
@_builtins.property
|
|
2246
2245
|
@pulumi.getter
|
|
2247
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
2246
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2248
2247
|
"""
|
|
2249
2248
|
Kind is the API kind the resources belong to. Required.
|
|
2250
2249
|
"""
|
|
2251
2250
|
return pulumi.get(self, "kind")
|
|
2252
2251
|
|
|
2253
2252
|
@kind.setter
|
|
2254
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
2253
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2255
2254
|
pulumi.set(self, "kind", value)
|
|
2256
2255
|
|
|
2257
2256
|
|
|
@@ -2260,7 +2259,7 @@ if not MYPY:
|
|
|
2260
2259
|
"""
|
|
2261
2260
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2262
2261
|
"""
|
|
2263
|
-
name: NotRequired[pulumi.Input[
|
|
2262
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2264
2263
|
"""
|
|
2265
2264
|
name is the name of the resource being referenced.
|
|
2266
2265
|
|
|
@@ -2268,7 +2267,7 @@ if not MYPY:
|
|
|
2268
2267
|
|
|
2269
2268
|
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.
|
|
2270
2269
|
"""
|
|
2271
|
-
namespace: NotRequired[pulumi.Input[
|
|
2270
|
+
namespace: NotRequired[pulumi.Input[_builtins.str]]
|
|
2272
2271
|
"""
|
|
2273
2272
|
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.
|
|
2274
2273
|
|
|
@@ -2278,7 +2277,7 @@ if not MYPY:
|
|
|
2278
2277
|
|
|
2279
2278
|
- 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.
|
|
2280
2279
|
"""
|
|
2281
|
-
parameter_not_found_action: NotRequired[pulumi.Input[
|
|
2280
|
+
parameter_not_found_action: NotRequired[pulumi.Input[_builtins.str]]
|
|
2282
2281
|
"""
|
|
2283
2282
|
`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.
|
|
2284
2283
|
|
|
@@ -2300,25 +2299,25 @@ elif False:
|
|
|
2300
2299
|
@pulumi.input_type
|
|
2301
2300
|
class ParamRefPatchArgs:
|
|
2302
2301
|
def __init__(__self__, *,
|
|
2303
|
-
name: Optional[pulumi.Input[
|
|
2304
|
-
namespace: Optional[pulumi.Input[
|
|
2305
|
-
parameter_not_found_action: Optional[pulumi.Input[
|
|
2302
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2303
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2304
|
+
parameter_not_found_action: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2306
2305
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
|
|
2307
2306
|
"""
|
|
2308
2307
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2309
|
-
:param pulumi.Input[
|
|
2308
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource being referenced.
|
|
2310
2309
|
|
|
2311
2310
|
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.
|
|
2312
2311
|
|
|
2313
2312
|
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.
|
|
2314
|
-
:param pulumi.Input[
|
|
2313
|
+
: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.
|
|
2315
2314
|
|
|
2316
2315
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
2317
2316
|
|
|
2318
2317
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
2319
2318
|
|
|
2320
2319
|
- 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.
|
|
2321
|
-
:param pulumi.Input[
|
|
2320
|
+
: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.
|
|
2322
2321
|
|
|
2323
2322
|
Allowed values are `Allow` or `Deny`
|
|
2324
2323
|
|
|
@@ -2338,9 +2337,9 @@ class ParamRefPatchArgs:
|
|
|
2338
2337
|
if selector is not None:
|
|
2339
2338
|
pulumi.set(__self__, "selector", selector)
|
|
2340
2339
|
|
|
2341
|
-
@property
|
|
2340
|
+
@_builtins.property
|
|
2342
2341
|
@pulumi.getter
|
|
2343
|
-
def name(self) -> Optional[pulumi.Input[
|
|
2342
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2344
2343
|
"""
|
|
2345
2344
|
name is the name of the resource being referenced.
|
|
2346
2345
|
|
|
@@ -2351,12 +2350,12 @@ class ParamRefPatchArgs:
|
|
|
2351
2350
|
return pulumi.get(self, "name")
|
|
2352
2351
|
|
|
2353
2352
|
@name.setter
|
|
2354
|
-
def name(self, value: Optional[pulumi.Input[
|
|
2353
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2355
2354
|
pulumi.set(self, "name", value)
|
|
2356
2355
|
|
|
2357
|
-
@property
|
|
2356
|
+
@_builtins.property
|
|
2358
2357
|
@pulumi.getter
|
|
2359
|
-
def namespace(self) -> Optional[pulumi.Input[
|
|
2358
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2360
2359
|
"""
|
|
2361
2360
|
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.
|
|
2362
2361
|
|
|
@@ -2369,12 +2368,12 @@ class ParamRefPatchArgs:
|
|
|
2369
2368
|
return pulumi.get(self, "namespace")
|
|
2370
2369
|
|
|
2371
2370
|
@namespace.setter
|
|
2372
|
-
def namespace(self, value: Optional[pulumi.Input[
|
|
2371
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2373
2372
|
pulumi.set(self, "namespace", value)
|
|
2374
2373
|
|
|
2375
|
-
@property
|
|
2374
|
+
@_builtins.property
|
|
2376
2375
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
2377
|
-
def parameter_not_found_action(self) -> Optional[pulumi.Input[
|
|
2376
|
+
def parameter_not_found_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2378
2377
|
"""
|
|
2379
2378
|
`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.
|
|
2380
2379
|
|
|
@@ -2385,10 +2384,10 @@ class ParamRefPatchArgs:
|
|
|
2385
2384
|
return pulumi.get(self, "parameter_not_found_action")
|
|
2386
2385
|
|
|
2387
2386
|
@parameter_not_found_action.setter
|
|
2388
|
-
def parameter_not_found_action(self, value: Optional[pulumi.Input[
|
|
2387
|
+
def parameter_not_found_action(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2389
2388
|
pulumi.set(self, "parameter_not_found_action", value)
|
|
2390
2389
|
|
|
2391
|
-
@property
|
|
2390
|
+
@_builtins.property
|
|
2392
2391
|
@pulumi.getter
|
|
2393
2392
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
2394
2393
|
"""
|
|
@@ -2410,7 +2409,7 @@ if not MYPY:
|
|
|
2410
2409
|
"""
|
|
2411
2410
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2412
2411
|
"""
|
|
2413
|
-
name: NotRequired[pulumi.Input[
|
|
2412
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2414
2413
|
"""
|
|
2415
2414
|
name is the name of the resource being referenced.
|
|
2416
2415
|
|
|
@@ -2418,7 +2417,7 @@ if not MYPY:
|
|
|
2418
2417
|
|
|
2419
2418
|
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.
|
|
2420
2419
|
"""
|
|
2421
|
-
namespace: NotRequired[pulumi.Input[
|
|
2420
|
+
namespace: NotRequired[pulumi.Input[_builtins.str]]
|
|
2422
2421
|
"""
|
|
2423
2422
|
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.
|
|
2424
2423
|
|
|
@@ -2428,7 +2427,7 @@ if not MYPY:
|
|
|
2428
2427
|
|
|
2429
2428
|
- 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.
|
|
2430
2429
|
"""
|
|
2431
|
-
parameter_not_found_action: NotRequired[pulumi.Input[
|
|
2430
|
+
parameter_not_found_action: NotRequired[pulumi.Input[_builtins.str]]
|
|
2432
2431
|
"""
|
|
2433
2432
|
`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.
|
|
2434
2433
|
|
|
@@ -2450,25 +2449,25 @@ elif False:
|
|
|
2450
2449
|
@pulumi.input_type
|
|
2451
2450
|
class ParamRefArgs:
|
|
2452
2451
|
def __init__(__self__, *,
|
|
2453
|
-
name: Optional[pulumi.Input[
|
|
2454
|
-
namespace: Optional[pulumi.Input[
|
|
2455
|
-
parameter_not_found_action: Optional[pulumi.Input[
|
|
2452
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2453
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2454
|
+
parameter_not_found_action: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2456
2455
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
2457
2456
|
"""
|
|
2458
2457
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2459
|
-
:param pulumi.Input[
|
|
2458
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource being referenced.
|
|
2460
2459
|
|
|
2461
2460
|
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.
|
|
2462
2461
|
|
|
2463
2462
|
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.
|
|
2464
|
-
:param pulumi.Input[
|
|
2463
|
+
: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.
|
|
2465
2464
|
|
|
2466
2465
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
2467
2466
|
|
|
2468
2467
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
2469
2468
|
|
|
2470
2469
|
- 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.
|
|
2471
|
-
:param pulumi.Input[
|
|
2470
|
+
: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.
|
|
2472
2471
|
|
|
2473
2472
|
Allowed values are `Allow` or `Deny`
|
|
2474
2473
|
|
|
@@ -2488,9 +2487,9 @@ class ParamRefArgs:
|
|
|
2488
2487
|
if selector is not None:
|
|
2489
2488
|
pulumi.set(__self__, "selector", selector)
|
|
2490
2489
|
|
|
2491
|
-
@property
|
|
2490
|
+
@_builtins.property
|
|
2492
2491
|
@pulumi.getter
|
|
2493
|
-
def name(self) -> Optional[pulumi.Input[
|
|
2492
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2494
2493
|
"""
|
|
2495
2494
|
name is the name of the resource being referenced.
|
|
2496
2495
|
|
|
@@ -2501,12 +2500,12 @@ class ParamRefArgs:
|
|
|
2501
2500
|
return pulumi.get(self, "name")
|
|
2502
2501
|
|
|
2503
2502
|
@name.setter
|
|
2504
|
-
def name(self, value: Optional[pulumi.Input[
|
|
2503
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2505
2504
|
pulumi.set(self, "name", value)
|
|
2506
2505
|
|
|
2507
|
-
@property
|
|
2506
|
+
@_builtins.property
|
|
2508
2507
|
@pulumi.getter
|
|
2509
|
-
def namespace(self) -> Optional[pulumi.Input[
|
|
2508
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2510
2509
|
"""
|
|
2511
2510
|
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.
|
|
2512
2511
|
|
|
@@ -2519,12 +2518,12 @@ class ParamRefArgs:
|
|
|
2519
2518
|
return pulumi.get(self, "namespace")
|
|
2520
2519
|
|
|
2521
2520
|
@namespace.setter
|
|
2522
|
-
def namespace(self, value: Optional[pulumi.Input[
|
|
2521
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2523
2522
|
pulumi.set(self, "namespace", value)
|
|
2524
2523
|
|
|
2525
|
-
@property
|
|
2524
|
+
@_builtins.property
|
|
2526
2525
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
2527
|
-
def parameter_not_found_action(self) -> Optional[pulumi.Input[
|
|
2526
|
+
def parameter_not_found_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2528
2527
|
"""
|
|
2529
2528
|
`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.
|
|
2530
2529
|
|
|
@@ -2535,10 +2534,10 @@ class ParamRefArgs:
|
|
|
2535
2534
|
return pulumi.get(self, "parameter_not_found_action")
|
|
2536
2535
|
|
|
2537
2536
|
@parameter_not_found_action.setter
|
|
2538
|
-
def parameter_not_found_action(self, value: Optional[pulumi.Input[
|
|
2537
|
+
def parameter_not_found_action(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2539
2538
|
pulumi.set(self, "parameter_not_found_action", value)
|
|
2540
2539
|
|
|
2541
|
-
@property
|
|
2540
|
+
@_builtins.property
|
|
2542
2541
|
@pulumi.getter
|
|
2543
2542
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
2544
2543
|
"""
|
|
@@ -2560,19 +2559,19 @@ if not MYPY:
|
|
|
2560
2559
|
"""
|
|
2561
2560
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2562
2561
|
"""
|
|
2563
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2562
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2564
2563
|
"""
|
|
2565
2564
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2566
2565
|
"""
|
|
2567
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2566
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2568
2567
|
"""
|
|
2569
2568
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2570
2569
|
"""
|
|
2571
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2570
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2572
2571
|
"""
|
|
2573
2572
|
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.
|
|
2574
2573
|
"""
|
|
2575
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2574
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2576
2575
|
"""
|
|
2577
2576
|
Resources is a list of resources this rule applies to.
|
|
2578
2577
|
|
|
@@ -2582,7 +2581,7 @@ if not MYPY:
|
|
|
2582
2581
|
|
|
2583
2582
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2584
2583
|
"""
|
|
2585
|
-
scope: NotRequired[pulumi.Input[
|
|
2584
|
+
scope: NotRequired[pulumi.Input[_builtins.str]]
|
|
2586
2585
|
"""
|
|
2587
2586
|
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 "*".
|
|
2588
2587
|
"""
|
|
@@ -2592,24 +2591,24 @@ elif False:
|
|
|
2592
2591
|
@pulumi.input_type
|
|
2593
2592
|
class RuleWithOperationsPatchArgs:
|
|
2594
2593
|
def __init__(__self__, *,
|
|
2595
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2596
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2597
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2598
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2599
|
-
scope: Optional[pulumi.Input[
|
|
2594
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2595
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2596
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2597
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2598
|
+
scope: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2600
2599
|
"""
|
|
2601
2600
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2602
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2603
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2604
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2605
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2601
|
+
: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.
|
|
2602
|
+
: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.
|
|
2603
|
+
: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.
|
|
2604
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2606
2605
|
|
|
2607
2606
|
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.
|
|
2608
2607
|
|
|
2609
2608
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2610
2609
|
|
|
2611
2610
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2612
|
-
:param pulumi.Input[
|
|
2611
|
+
: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 "*".
|
|
2613
2612
|
"""
|
|
2614
2613
|
if api_groups is not None:
|
|
2615
2614
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2622,45 +2621,45 @@ class RuleWithOperationsPatchArgs:
|
|
|
2622
2621
|
if scope is not None:
|
|
2623
2622
|
pulumi.set(__self__, "scope", scope)
|
|
2624
2623
|
|
|
2625
|
-
@property
|
|
2624
|
+
@_builtins.property
|
|
2626
2625
|
@pulumi.getter(name="apiGroups")
|
|
2627
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2626
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2628
2627
|
"""
|
|
2629
2628
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2630
2629
|
"""
|
|
2631
2630
|
return pulumi.get(self, "api_groups")
|
|
2632
2631
|
|
|
2633
2632
|
@api_groups.setter
|
|
2634
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2633
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2635
2634
|
pulumi.set(self, "api_groups", value)
|
|
2636
2635
|
|
|
2637
|
-
@property
|
|
2636
|
+
@_builtins.property
|
|
2638
2637
|
@pulumi.getter(name="apiVersions")
|
|
2639
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2638
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2640
2639
|
"""
|
|
2641
2640
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2642
2641
|
"""
|
|
2643
2642
|
return pulumi.get(self, "api_versions")
|
|
2644
2643
|
|
|
2645
2644
|
@api_versions.setter
|
|
2646
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2645
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2647
2646
|
pulumi.set(self, "api_versions", value)
|
|
2648
2647
|
|
|
2649
|
-
@property
|
|
2648
|
+
@_builtins.property
|
|
2650
2649
|
@pulumi.getter
|
|
2651
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2650
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2652
2651
|
"""
|
|
2653
2652
|
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.
|
|
2654
2653
|
"""
|
|
2655
2654
|
return pulumi.get(self, "operations")
|
|
2656
2655
|
|
|
2657
2656
|
@operations.setter
|
|
2658
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2657
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2659
2658
|
pulumi.set(self, "operations", value)
|
|
2660
2659
|
|
|
2661
|
-
@property
|
|
2660
|
+
@_builtins.property
|
|
2662
2661
|
@pulumi.getter
|
|
2663
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2662
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2664
2663
|
"""
|
|
2665
2664
|
Resources is a list of resources this rule applies to.
|
|
2666
2665
|
|
|
@@ -2673,19 +2672,19 @@ class RuleWithOperationsPatchArgs:
|
|
|
2673
2672
|
return pulumi.get(self, "resources")
|
|
2674
2673
|
|
|
2675
2674
|
@resources.setter
|
|
2676
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2675
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2677
2676
|
pulumi.set(self, "resources", value)
|
|
2678
2677
|
|
|
2679
|
-
@property
|
|
2678
|
+
@_builtins.property
|
|
2680
2679
|
@pulumi.getter
|
|
2681
|
-
def scope(self) -> Optional[pulumi.Input[
|
|
2680
|
+
def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2682
2681
|
"""
|
|
2683
2682
|
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 "*".
|
|
2684
2683
|
"""
|
|
2685
2684
|
return pulumi.get(self, "scope")
|
|
2686
2685
|
|
|
2687
2686
|
@scope.setter
|
|
2688
|
-
def scope(self, value: Optional[pulumi.Input[
|
|
2687
|
+
def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2689
2688
|
pulumi.set(self, "scope", value)
|
|
2690
2689
|
|
|
2691
2690
|
|
|
@@ -2694,19 +2693,19 @@ if not MYPY:
|
|
|
2694
2693
|
"""
|
|
2695
2694
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2696
2695
|
"""
|
|
2697
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2696
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2698
2697
|
"""
|
|
2699
2698
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2700
2699
|
"""
|
|
2701
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2700
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2702
2701
|
"""
|
|
2703
2702
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2704
2703
|
"""
|
|
2705
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2704
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2706
2705
|
"""
|
|
2707
2706
|
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.
|
|
2708
2707
|
"""
|
|
2709
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2708
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2710
2709
|
"""
|
|
2711
2710
|
Resources is a list of resources this rule applies to.
|
|
2712
2711
|
|
|
@@ -2716,7 +2715,7 @@ if not MYPY:
|
|
|
2716
2715
|
|
|
2717
2716
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2718
2717
|
"""
|
|
2719
|
-
scope: NotRequired[pulumi.Input[
|
|
2718
|
+
scope: NotRequired[pulumi.Input[_builtins.str]]
|
|
2720
2719
|
"""
|
|
2721
2720
|
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 "*".
|
|
2722
2721
|
"""
|
|
@@ -2726,24 +2725,24 @@ elif False:
|
|
|
2726
2725
|
@pulumi.input_type
|
|
2727
2726
|
class RuleWithOperationsArgs:
|
|
2728
2727
|
def __init__(__self__, *,
|
|
2729
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2730
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2731
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2732
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2733
|
-
scope: Optional[pulumi.Input[
|
|
2728
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2729
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2730
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2731
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2732
|
+
scope: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2734
2733
|
"""
|
|
2735
2734
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2736
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2737
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2738
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2739
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2735
|
+
: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.
|
|
2736
|
+
: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.
|
|
2737
|
+
: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.
|
|
2738
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2740
2739
|
|
|
2741
2740
|
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.
|
|
2742
2741
|
|
|
2743
2742
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2744
2743
|
|
|
2745
2744
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2746
|
-
:param pulumi.Input[
|
|
2745
|
+
: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 "*".
|
|
2747
2746
|
"""
|
|
2748
2747
|
if api_groups is not None:
|
|
2749
2748
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2756,45 +2755,45 @@ class RuleWithOperationsArgs:
|
|
|
2756
2755
|
if scope is not None:
|
|
2757
2756
|
pulumi.set(__self__, "scope", scope)
|
|
2758
2757
|
|
|
2759
|
-
@property
|
|
2758
|
+
@_builtins.property
|
|
2760
2759
|
@pulumi.getter(name="apiGroups")
|
|
2761
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2760
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2762
2761
|
"""
|
|
2763
2762
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2764
2763
|
"""
|
|
2765
2764
|
return pulumi.get(self, "api_groups")
|
|
2766
2765
|
|
|
2767
2766
|
@api_groups.setter
|
|
2768
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2767
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2769
2768
|
pulumi.set(self, "api_groups", value)
|
|
2770
2769
|
|
|
2771
|
-
@property
|
|
2770
|
+
@_builtins.property
|
|
2772
2771
|
@pulumi.getter(name="apiVersions")
|
|
2773
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2772
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2774
2773
|
"""
|
|
2775
2774
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2776
2775
|
"""
|
|
2777
2776
|
return pulumi.get(self, "api_versions")
|
|
2778
2777
|
|
|
2779
2778
|
@api_versions.setter
|
|
2780
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2779
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2781
2780
|
pulumi.set(self, "api_versions", value)
|
|
2782
2781
|
|
|
2783
|
-
@property
|
|
2782
|
+
@_builtins.property
|
|
2784
2783
|
@pulumi.getter
|
|
2785
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2784
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2786
2785
|
"""
|
|
2787
2786
|
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.
|
|
2788
2787
|
"""
|
|
2789
2788
|
return pulumi.get(self, "operations")
|
|
2790
2789
|
|
|
2791
2790
|
@operations.setter
|
|
2792
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2791
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2793
2792
|
pulumi.set(self, "operations", value)
|
|
2794
2793
|
|
|
2795
|
-
@property
|
|
2794
|
+
@_builtins.property
|
|
2796
2795
|
@pulumi.getter
|
|
2797
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2796
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2798
2797
|
"""
|
|
2799
2798
|
Resources is a list of resources this rule applies to.
|
|
2800
2799
|
|
|
@@ -2807,19 +2806,19 @@ class RuleWithOperationsArgs:
|
|
|
2807
2806
|
return pulumi.get(self, "resources")
|
|
2808
2807
|
|
|
2809
2808
|
@resources.setter
|
|
2810
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2809
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2811
2810
|
pulumi.set(self, "resources", value)
|
|
2812
2811
|
|
|
2813
|
-
@property
|
|
2812
|
+
@_builtins.property
|
|
2814
2813
|
@pulumi.getter
|
|
2815
|
-
def scope(self) -> Optional[pulumi.Input[
|
|
2814
|
+
def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2816
2815
|
"""
|
|
2817
2816
|
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 "*".
|
|
2818
2817
|
"""
|
|
2819
2818
|
return pulumi.get(self, "scope")
|
|
2820
2819
|
|
|
2821
2820
|
@scope.setter
|
|
2822
|
-
def scope(self, value: Optional[pulumi.Input[
|
|
2821
|
+
def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2823
2822
|
pulumi.set(self, "scope", value)
|
|
2824
2823
|
|
|
2825
2824
|
|
|
@@ -2828,19 +2827,19 @@ if not MYPY:
|
|
|
2828
2827
|
"""
|
|
2829
2828
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2830
2829
|
"""
|
|
2831
|
-
name: NotRequired[pulumi.Input[
|
|
2830
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2832
2831
|
"""
|
|
2833
2832
|
`name` is the name of the service. Required
|
|
2834
2833
|
"""
|
|
2835
|
-
namespace: NotRequired[pulumi.Input[
|
|
2834
|
+
namespace: NotRequired[pulumi.Input[_builtins.str]]
|
|
2836
2835
|
"""
|
|
2837
2836
|
`namespace` is the namespace of the service. Required
|
|
2838
2837
|
"""
|
|
2839
|
-
path: NotRequired[pulumi.Input[
|
|
2838
|
+
path: NotRequired[pulumi.Input[_builtins.str]]
|
|
2840
2839
|
"""
|
|
2841
2840
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2842
2841
|
"""
|
|
2843
|
-
port: NotRequired[pulumi.Input[
|
|
2842
|
+
port: NotRequired[pulumi.Input[_builtins.int]]
|
|
2844
2843
|
"""
|
|
2845
2844
|
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).
|
|
2846
2845
|
"""
|
|
@@ -2850,16 +2849,16 @@ elif False:
|
|
|
2850
2849
|
@pulumi.input_type
|
|
2851
2850
|
class ServiceReferencePatchArgs:
|
|
2852
2851
|
def __init__(__self__, *,
|
|
2853
|
-
name: Optional[pulumi.Input[
|
|
2854
|
-
namespace: Optional[pulumi.Input[
|
|
2855
|
-
path: Optional[pulumi.Input[
|
|
2856
|
-
port: Optional[pulumi.Input[
|
|
2852
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2853
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2854
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2855
|
+
port: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2857
2856
|
"""
|
|
2858
2857
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2859
|
-
:param pulumi.Input[
|
|
2860
|
-
:param pulumi.Input[
|
|
2861
|
-
:param pulumi.Input[
|
|
2862
|
-
:param pulumi.Input[
|
|
2858
|
+
:param pulumi.Input[_builtins.str] name: `name` is the name of the service. Required
|
|
2859
|
+
:param pulumi.Input[_builtins.str] namespace: `namespace` is the namespace of the service. Required
|
|
2860
|
+
:param pulumi.Input[_builtins.str] path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2861
|
+
: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).
|
|
2863
2862
|
"""
|
|
2864
2863
|
if name is not None:
|
|
2865
2864
|
pulumi.set(__self__, "name", name)
|
|
@@ -2870,52 +2869,52 @@ class ServiceReferencePatchArgs:
|
|
|
2870
2869
|
if port is not None:
|
|
2871
2870
|
pulumi.set(__self__, "port", port)
|
|
2872
2871
|
|
|
2873
|
-
@property
|
|
2872
|
+
@_builtins.property
|
|
2874
2873
|
@pulumi.getter
|
|
2875
|
-
def name(self) -> Optional[pulumi.Input[
|
|
2874
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2876
2875
|
"""
|
|
2877
2876
|
`name` is the name of the service. Required
|
|
2878
2877
|
"""
|
|
2879
2878
|
return pulumi.get(self, "name")
|
|
2880
2879
|
|
|
2881
2880
|
@name.setter
|
|
2882
|
-
def name(self, value: Optional[pulumi.Input[
|
|
2881
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2883
2882
|
pulumi.set(self, "name", value)
|
|
2884
2883
|
|
|
2885
|
-
@property
|
|
2884
|
+
@_builtins.property
|
|
2886
2885
|
@pulumi.getter
|
|
2887
|
-
def namespace(self) -> Optional[pulumi.Input[
|
|
2886
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2888
2887
|
"""
|
|
2889
2888
|
`namespace` is the namespace of the service. Required
|
|
2890
2889
|
"""
|
|
2891
2890
|
return pulumi.get(self, "namespace")
|
|
2892
2891
|
|
|
2893
2892
|
@namespace.setter
|
|
2894
|
-
def namespace(self, value: Optional[pulumi.Input[
|
|
2893
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2895
2894
|
pulumi.set(self, "namespace", value)
|
|
2896
2895
|
|
|
2897
|
-
@property
|
|
2896
|
+
@_builtins.property
|
|
2898
2897
|
@pulumi.getter
|
|
2899
|
-
def path(self) -> Optional[pulumi.Input[
|
|
2898
|
+
def path(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2900
2899
|
"""
|
|
2901
2900
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2902
2901
|
"""
|
|
2903
2902
|
return pulumi.get(self, "path")
|
|
2904
2903
|
|
|
2905
2904
|
@path.setter
|
|
2906
|
-
def path(self, value: Optional[pulumi.Input[
|
|
2905
|
+
def path(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2907
2906
|
pulumi.set(self, "path", value)
|
|
2908
2907
|
|
|
2909
|
-
@property
|
|
2908
|
+
@_builtins.property
|
|
2910
2909
|
@pulumi.getter
|
|
2911
|
-
def port(self) -> Optional[pulumi.Input[
|
|
2910
|
+
def port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2912
2911
|
"""
|
|
2913
2912
|
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).
|
|
2914
2913
|
"""
|
|
2915
2914
|
return pulumi.get(self, "port")
|
|
2916
2915
|
|
|
2917
2916
|
@port.setter
|
|
2918
|
-
def port(self, value: Optional[pulumi.Input[
|
|
2917
|
+
def port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2919
2918
|
pulumi.set(self, "port", value)
|
|
2920
2919
|
|
|
2921
2920
|
|
|
@@ -2924,19 +2923,19 @@ if not MYPY:
|
|
|
2924
2923
|
"""
|
|
2925
2924
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2926
2925
|
"""
|
|
2927
|
-
name: pulumi.Input[
|
|
2926
|
+
name: pulumi.Input[_builtins.str]
|
|
2928
2927
|
"""
|
|
2929
2928
|
`name` is the name of the service. Required
|
|
2930
2929
|
"""
|
|
2931
|
-
namespace: pulumi.Input[
|
|
2930
|
+
namespace: pulumi.Input[_builtins.str]
|
|
2932
2931
|
"""
|
|
2933
2932
|
`namespace` is the namespace of the service. Required
|
|
2934
2933
|
"""
|
|
2935
|
-
path: NotRequired[pulumi.Input[
|
|
2934
|
+
path: NotRequired[pulumi.Input[_builtins.str]]
|
|
2936
2935
|
"""
|
|
2937
2936
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2938
2937
|
"""
|
|
2939
|
-
port: NotRequired[pulumi.Input[
|
|
2938
|
+
port: NotRequired[pulumi.Input[_builtins.int]]
|
|
2940
2939
|
"""
|
|
2941
2940
|
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).
|
|
2942
2941
|
"""
|
|
@@ -2946,16 +2945,16 @@ elif False:
|
|
|
2946
2945
|
@pulumi.input_type
|
|
2947
2946
|
class ServiceReferenceArgs:
|
|
2948
2947
|
def __init__(__self__, *,
|
|
2949
|
-
name: pulumi.Input[
|
|
2950
|
-
namespace: pulumi.Input[
|
|
2951
|
-
path: Optional[pulumi.Input[
|
|
2952
|
-
port: Optional[pulumi.Input[
|
|
2948
|
+
name: pulumi.Input[_builtins.str],
|
|
2949
|
+
namespace: pulumi.Input[_builtins.str],
|
|
2950
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2951
|
+
port: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2953
2952
|
"""
|
|
2954
2953
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2955
|
-
:param pulumi.Input[
|
|
2956
|
-
:param pulumi.Input[
|
|
2957
|
-
:param pulumi.Input[
|
|
2958
|
-
:param pulumi.Input[
|
|
2954
|
+
:param pulumi.Input[_builtins.str] name: `name` is the name of the service. Required
|
|
2955
|
+
:param pulumi.Input[_builtins.str] namespace: `namespace` is the namespace of the service. Required
|
|
2956
|
+
:param pulumi.Input[_builtins.str] path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2957
|
+
: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).
|
|
2959
2958
|
"""
|
|
2960
2959
|
pulumi.set(__self__, "name", name)
|
|
2961
2960
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -2964,52 +2963,52 @@ class ServiceReferenceArgs:
|
|
|
2964
2963
|
if port is not None:
|
|
2965
2964
|
pulumi.set(__self__, "port", port)
|
|
2966
2965
|
|
|
2967
|
-
@property
|
|
2966
|
+
@_builtins.property
|
|
2968
2967
|
@pulumi.getter
|
|
2969
|
-
def name(self) -> pulumi.Input[
|
|
2968
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
2970
2969
|
"""
|
|
2971
2970
|
`name` is the name of the service. Required
|
|
2972
2971
|
"""
|
|
2973
2972
|
return pulumi.get(self, "name")
|
|
2974
2973
|
|
|
2975
2974
|
@name.setter
|
|
2976
|
-
def name(self, value: pulumi.Input[
|
|
2975
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
2977
2976
|
pulumi.set(self, "name", value)
|
|
2978
2977
|
|
|
2979
|
-
@property
|
|
2978
|
+
@_builtins.property
|
|
2980
2979
|
@pulumi.getter
|
|
2981
|
-
def namespace(self) -> pulumi.Input[
|
|
2980
|
+
def namespace(self) -> pulumi.Input[_builtins.str]:
|
|
2982
2981
|
"""
|
|
2983
2982
|
`namespace` is the namespace of the service. Required
|
|
2984
2983
|
"""
|
|
2985
2984
|
return pulumi.get(self, "namespace")
|
|
2986
2985
|
|
|
2987
2986
|
@namespace.setter
|
|
2988
|
-
def namespace(self, value: pulumi.Input[
|
|
2987
|
+
def namespace(self, value: pulumi.Input[_builtins.str]):
|
|
2989
2988
|
pulumi.set(self, "namespace", value)
|
|
2990
2989
|
|
|
2991
|
-
@property
|
|
2990
|
+
@_builtins.property
|
|
2992
2991
|
@pulumi.getter
|
|
2993
|
-
def path(self) -> Optional[pulumi.Input[
|
|
2992
|
+
def path(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2994
2993
|
"""
|
|
2995
2994
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2996
2995
|
"""
|
|
2997
2996
|
return pulumi.get(self, "path")
|
|
2998
2997
|
|
|
2999
2998
|
@path.setter
|
|
3000
|
-
def path(self, value: Optional[pulumi.Input[
|
|
2999
|
+
def path(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3001
3000
|
pulumi.set(self, "path", value)
|
|
3002
3001
|
|
|
3003
|
-
@property
|
|
3002
|
+
@_builtins.property
|
|
3004
3003
|
@pulumi.getter
|
|
3005
|
-
def port(self) -> Optional[pulumi.Input[
|
|
3004
|
+
def port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3006
3005
|
"""
|
|
3007
3006
|
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).
|
|
3008
3007
|
"""
|
|
3009
3008
|
return pulumi.get(self, "port")
|
|
3010
3009
|
|
|
3011
3010
|
@port.setter
|
|
3012
|
-
def port(self, value: Optional[pulumi.Input[
|
|
3011
|
+
def port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3013
3012
|
pulumi.set(self, "port", value)
|
|
3014
3013
|
|
|
3015
3014
|
|
|
@@ -3036,7 +3035,7 @@ class TypeCheckingArgs:
|
|
|
3036
3035
|
if expression_warnings is not None:
|
|
3037
3036
|
pulumi.set(__self__, "expression_warnings", expression_warnings)
|
|
3038
3037
|
|
|
3039
|
-
@property
|
|
3038
|
+
@_builtins.property
|
|
3040
3039
|
@pulumi.getter(name="expressionWarnings")
|
|
3041
3040
|
def expression_warnings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ExpressionWarningArgs']]]]:
|
|
3042
3041
|
"""
|
|
@@ -3062,11 +3061,11 @@ if not MYPY:
|
|
|
3062
3061
|
"""
|
|
3063
3062
|
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.
|
|
3064
3063
|
"""
|
|
3065
|
-
policy_name: NotRequired[pulumi.Input[
|
|
3064
|
+
policy_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
3066
3065
|
"""
|
|
3067
3066
|
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.
|
|
3068
3067
|
"""
|
|
3069
|
-
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
3068
|
+
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
3070
3069
|
"""
|
|
3071
3070
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3072
3071
|
|
|
@@ -3096,14 +3095,14 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3096
3095
|
def __init__(__self__, *,
|
|
3097
3096
|
match_resources: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
3098
3097
|
param_ref: Optional[pulumi.Input['ParamRefPatchArgs']] = None,
|
|
3099
|
-
policy_name: Optional[pulumi.Input[
|
|
3100
|
-
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3098
|
+
policy_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3099
|
+
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
3101
3100
|
"""
|
|
3102
3101
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
3103
3102
|
: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.
|
|
3104
3103
|
: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.
|
|
3105
|
-
:param pulumi.Input[
|
|
3106
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3104
|
+
: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.
|
|
3105
|
+
: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.
|
|
3107
3106
|
|
|
3108
3107
|
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.
|
|
3109
3108
|
|
|
@@ -3132,7 +3131,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3132
3131
|
if validation_actions is not None:
|
|
3133
3132
|
pulumi.set(__self__, "validation_actions", validation_actions)
|
|
3134
3133
|
|
|
3135
|
-
@property
|
|
3134
|
+
@_builtins.property
|
|
3136
3135
|
@pulumi.getter(name="matchResources")
|
|
3137
3136
|
def match_resources(self) -> Optional[pulumi.Input['MatchResourcesPatchArgs']]:
|
|
3138
3137
|
"""
|
|
@@ -3144,7 +3143,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3144
3143
|
def match_resources(self, value: Optional[pulumi.Input['MatchResourcesPatchArgs']]):
|
|
3145
3144
|
pulumi.set(self, "match_resources", value)
|
|
3146
3145
|
|
|
3147
|
-
@property
|
|
3146
|
+
@_builtins.property
|
|
3148
3147
|
@pulumi.getter(name="paramRef")
|
|
3149
3148
|
def param_ref(self) -> Optional[pulumi.Input['ParamRefPatchArgs']]:
|
|
3150
3149
|
"""
|
|
@@ -3156,21 +3155,21 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3156
3155
|
def param_ref(self, value: Optional[pulumi.Input['ParamRefPatchArgs']]):
|
|
3157
3156
|
pulumi.set(self, "param_ref", value)
|
|
3158
3157
|
|
|
3159
|
-
@property
|
|
3158
|
+
@_builtins.property
|
|
3160
3159
|
@pulumi.getter(name="policyName")
|
|
3161
|
-
def policy_name(self) -> Optional[pulumi.Input[
|
|
3160
|
+
def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3162
3161
|
"""
|
|
3163
3162
|
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.
|
|
3164
3163
|
"""
|
|
3165
3164
|
return pulumi.get(self, "policy_name")
|
|
3166
3165
|
|
|
3167
3166
|
@policy_name.setter
|
|
3168
|
-
def policy_name(self, value: Optional[pulumi.Input[
|
|
3167
|
+
def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3169
3168
|
pulumi.set(self, "policy_name", value)
|
|
3170
3169
|
|
|
3171
|
-
@property
|
|
3170
|
+
@_builtins.property
|
|
3172
3171
|
@pulumi.getter(name="validationActions")
|
|
3173
|
-
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3172
|
+
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
3174
3173
|
"""
|
|
3175
3174
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3176
3175
|
|
|
@@ -3195,7 +3194,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3195
3194
|
return pulumi.get(self, "validation_actions")
|
|
3196
3195
|
|
|
3197
3196
|
@validation_actions.setter
|
|
3198
|
-
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3197
|
+
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
3199
3198
|
pulumi.set(self, "validation_actions", value)
|
|
3200
3199
|
|
|
3201
3200
|
|
|
@@ -3212,11 +3211,11 @@ if not MYPY:
|
|
|
3212
3211
|
"""
|
|
3213
3212
|
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.
|
|
3214
3213
|
"""
|
|
3215
|
-
policy_name: NotRequired[pulumi.Input[
|
|
3214
|
+
policy_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
3216
3215
|
"""
|
|
3217
3216
|
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.
|
|
3218
3217
|
"""
|
|
3219
|
-
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
3218
|
+
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
3220
3219
|
"""
|
|
3221
3220
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3222
3221
|
|
|
@@ -3246,14 +3245,14 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3246
3245
|
def __init__(__self__, *,
|
|
3247
3246
|
match_resources: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
3248
3247
|
param_ref: Optional[pulumi.Input['ParamRefArgs']] = None,
|
|
3249
|
-
policy_name: Optional[pulumi.Input[
|
|
3250
|
-
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3248
|
+
policy_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3249
|
+
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
3251
3250
|
"""
|
|
3252
3251
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
3253
3252
|
: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.
|
|
3254
3253
|
: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.
|
|
3255
|
-
:param pulumi.Input[
|
|
3256
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3254
|
+
: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.
|
|
3255
|
+
: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.
|
|
3257
3256
|
|
|
3258
3257
|
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.
|
|
3259
3258
|
|
|
@@ -3282,7 +3281,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3282
3281
|
if validation_actions is not None:
|
|
3283
3282
|
pulumi.set(__self__, "validation_actions", validation_actions)
|
|
3284
3283
|
|
|
3285
|
-
@property
|
|
3284
|
+
@_builtins.property
|
|
3286
3285
|
@pulumi.getter(name="matchResources")
|
|
3287
3286
|
def match_resources(self) -> Optional[pulumi.Input['MatchResourcesArgs']]:
|
|
3288
3287
|
"""
|
|
@@ -3294,7 +3293,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3294
3293
|
def match_resources(self, value: Optional[pulumi.Input['MatchResourcesArgs']]):
|
|
3295
3294
|
pulumi.set(self, "match_resources", value)
|
|
3296
3295
|
|
|
3297
|
-
@property
|
|
3296
|
+
@_builtins.property
|
|
3298
3297
|
@pulumi.getter(name="paramRef")
|
|
3299
3298
|
def param_ref(self) -> Optional[pulumi.Input['ParamRefArgs']]:
|
|
3300
3299
|
"""
|
|
@@ -3306,21 +3305,21 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3306
3305
|
def param_ref(self, value: Optional[pulumi.Input['ParamRefArgs']]):
|
|
3307
3306
|
pulumi.set(self, "param_ref", value)
|
|
3308
3307
|
|
|
3309
|
-
@property
|
|
3308
|
+
@_builtins.property
|
|
3310
3309
|
@pulumi.getter(name="policyName")
|
|
3311
|
-
def policy_name(self) -> Optional[pulumi.Input[
|
|
3310
|
+
def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3312
3311
|
"""
|
|
3313
3312
|
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.
|
|
3314
3313
|
"""
|
|
3315
3314
|
return pulumi.get(self, "policy_name")
|
|
3316
3315
|
|
|
3317
3316
|
@policy_name.setter
|
|
3318
|
-
def policy_name(self, value: Optional[pulumi.Input[
|
|
3317
|
+
def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3319
3318
|
pulumi.set(self, "policy_name", value)
|
|
3320
3319
|
|
|
3321
|
-
@property
|
|
3320
|
+
@_builtins.property
|
|
3322
3321
|
@pulumi.getter(name="validationActions")
|
|
3323
|
-
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3322
|
+
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
3324
3323
|
"""
|
|
3325
3324
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3326
3325
|
|
|
@@ -3345,7 +3344,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3345
3344
|
return pulumi.get(self, "validation_actions")
|
|
3346
3345
|
|
|
3347
3346
|
@validation_actions.setter
|
|
3348
|
-
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3347
|
+
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
3349
3348
|
pulumi.set(self, "validation_actions", value)
|
|
3350
3349
|
|
|
3351
3350
|
|
|
@@ -3358,11 +3357,11 @@ if not MYPY:
|
|
|
3358
3357
|
|
|
3359
3358
|
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.
|
|
3360
3359
|
"""
|
|
3361
|
-
api_version: NotRequired[pulumi.Input[
|
|
3360
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
3362
3361
|
"""
|
|
3363
3362
|
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
|
|
3364
3363
|
"""
|
|
3365
|
-
kind: NotRequired[pulumi.Input[
|
|
3364
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
3366
3365
|
"""
|
|
3367
3366
|
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
|
|
3368
3367
|
"""
|
|
@@ -3380,8 +3379,8 @@ elif False:
|
|
|
3380
3379
|
@pulumi.input_type
|
|
3381
3380
|
class ValidatingAdmissionPolicyBindingArgs:
|
|
3382
3381
|
def __init__(__self__, *,
|
|
3383
|
-
api_version: Optional[pulumi.Input[
|
|
3384
|
-
kind: Optional[pulumi.Input[
|
|
3382
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3383
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3385
3384
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
3386
3385
|
spec: Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']] = None):
|
|
3387
3386
|
"""
|
|
@@ -3390,8 +3389,8 @@ class ValidatingAdmissionPolicyBindingArgs:
|
|
|
3390
3389
|
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.
|
|
3391
3390
|
|
|
3392
3391
|
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.
|
|
3393
|
-
:param pulumi.Input[
|
|
3394
|
-
:param pulumi.Input[
|
|
3392
|
+
: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
|
|
3393
|
+
: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
|
|
3395
3394
|
: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.
|
|
3396
3395
|
:param pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
3397
3396
|
"""
|
|
@@ -3404,31 +3403,31 @@ class ValidatingAdmissionPolicyBindingArgs:
|
|
|
3404
3403
|
if spec is not None:
|
|
3405
3404
|
pulumi.set(__self__, "spec", spec)
|
|
3406
3405
|
|
|
3407
|
-
@property
|
|
3406
|
+
@_builtins.property
|
|
3408
3407
|
@pulumi.getter(name="apiVersion")
|
|
3409
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
3408
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3410
3409
|
"""
|
|
3411
3410
|
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
|
|
3412
3411
|
"""
|
|
3413
3412
|
return pulumi.get(self, "api_version")
|
|
3414
3413
|
|
|
3415
3414
|
@api_version.setter
|
|
3416
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
3415
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3417
3416
|
pulumi.set(self, "api_version", value)
|
|
3418
3417
|
|
|
3419
|
-
@property
|
|
3418
|
+
@_builtins.property
|
|
3420
3419
|
@pulumi.getter
|
|
3421
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
3420
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3422
3421
|
"""
|
|
3423
3422
|
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
|
|
3424
3423
|
"""
|
|
3425
3424
|
return pulumi.get(self, "kind")
|
|
3426
3425
|
|
|
3427
3426
|
@kind.setter
|
|
3428
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
3427
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3429
3428
|
pulumi.set(self, "kind", value)
|
|
3430
3429
|
|
|
3431
|
-
@property
|
|
3430
|
+
@_builtins.property
|
|
3432
3431
|
@pulumi.getter
|
|
3433
3432
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
3434
3433
|
"""
|
|
@@ -3440,7 +3439,7 @@ class ValidatingAdmissionPolicyBindingArgs:
|
|
|
3440
3439
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
3441
3440
|
pulumi.set(self, "metadata", value)
|
|
3442
3441
|
|
|
3443
|
-
@property
|
|
3442
|
+
@_builtins.property
|
|
3444
3443
|
@pulumi.getter
|
|
3445
3444
|
def spec(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']]:
|
|
3446
3445
|
"""
|
|
@@ -3462,7 +3461,7 @@ if not MYPY:
|
|
|
3462
3461
|
"""
|
|
3463
3462
|
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.
|
|
3464
3463
|
"""
|
|
3465
|
-
failure_policy: NotRequired[pulumi.Input[
|
|
3464
|
+
failure_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
3466
3465
|
"""
|
|
3467
3466
|
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.
|
|
3468
3467
|
|
|
@@ -3512,7 +3511,7 @@ elif False:
|
|
|
3512
3511
|
class ValidatingAdmissionPolicySpecPatchArgs:
|
|
3513
3512
|
def __init__(__self__, *,
|
|
3514
3513
|
audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]] = None,
|
|
3515
|
-
failure_policy: Optional[pulumi.Input[
|
|
3514
|
+
failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3516
3515
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
|
|
3517
3516
|
match_constraints: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
3518
3517
|
param_kind: Optional[pulumi.Input['ParamKindPatchArgs']] = None,
|
|
@@ -3521,7 +3520,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3521
3520
|
"""
|
|
3522
3521
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
3523
3522
|
: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.
|
|
3524
|
-
:param pulumi.Input[
|
|
3523
|
+
: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.
|
|
3525
3524
|
|
|
3526
3525
|
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.
|
|
3527
3526
|
|
|
@@ -3562,7 +3561,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3562
3561
|
if variables is not None:
|
|
3563
3562
|
pulumi.set(__self__, "variables", variables)
|
|
3564
3563
|
|
|
3565
|
-
@property
|
|
3564
|
+
@_builtins.property
|
|
3566
3565
|
@pulumi.getter(name="auditAnnotations")
|
|
3567
3566
|
def audit_annotations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]]:
|
|
3568
3567
|
"""
|
|
@@ -3574,9 +3573,9 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3574
3573
|
def audit_annotations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]]):
|
|
3575
3574
|
pulumi.set(self, "audit_annotations", value)
|
|
3576
3575
|
|
|
3577
|
-
@property
|
|
3576
|
+
@_builtins.property
|
|
3578
3577
|
@pulumi.getter(name="failurePolicy")
|
|
3579
|
-
def failure_policy(self) -> Optional[pulumi.Input[
|
|
3578
|
+
def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3580
3579
|
"""
|
|
3581
3580
|
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.
|
|
3582
3581
|
|
|
@@ -3591,10 +3590,10 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3591
3590
|
return pulumi.get(self, "failure_policy")
|
|
3592
3591
|
|
|
3593
3592
|
@failure_policy.setter
|
|
3594
|
-
def failure_policy(self, value: Optional[pulumi.Input[
|
|
3593
|
+
def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3595
3594
|
pulumi.set(self, "failure_policy", value)
|
|
3596
3595
|
|
|
3597
|
-
@property
|
|
3596
|
+
@_builtins.property
|
|
3598
3597
|
@pulumi.getter(name="matchConditions")
|
|
3599
3598
|
def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]:
|
|
3600
3599
|
"""
|
|
@@ -3615,7 +3614,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3615
3614
|
def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]):
|
|
3616
3615
|
pulumi.set(self, "match_conditions", value)
|
|
3617
3616
|
|
|
3618
|
-
@property
|
|
3617
|
+
@_builtins.property
|
|
3619
3618
|
@pulumi.getter(name="matchConstraints")
|
|
3620
3619
|
def match_constraints(self) -> Optional[pulumi.Input['MatchResourcesPatchArgs']]:
|
|
3621
3620
|
"""
|
|
@@ -3627,7 +3626,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3627
3626
|
def match_constraints(self, value: Optional[pulumi.Input['MatchResourcesPatchArgs']]):
|
|
3628
3627
|
pulumi.set(self, "match_constraints", value)
|
|
3629
3628
|
|
|
3630
|
-
@property
|
|
3629
|
+
@_builtins.property
|
|
3631
3630
|
@pulumi.getter(name="paramKind")
|
|
3632
3631
|
def param_kind(self) -> Optional[pulumi.Input['ParamKindPatchArgs']]:
|
|
3633
3632
|
"""
|
|
@@ -3639,7 +3638,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3639
3638
|
def param_kind(self, value: Optional[pulumi.Input['ParamKindPatchArgs']]):
|
|
3640
3639
|
pulumi.set(self, "param_kind", value)
|
|
3641
3640
|
|
|
3642
|
-
@property
|
|
3641
|
+
@_builtins.property
|
|
3643
3642
|
@pulumi.getter
|
|
3644
3643
|
def validations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidationPatchArgs']]]]:
|
|
3645
3644
|
"""
|
|
@@ -3651,7 +3650,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3651
3650
|
def validations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValidationPatchArgs']]]]):
|
|
3652
3651
|
pulumi.set(self, "validations", value)
|
|
3653
3652
|
|
|
3654
|
-
@property
|
|
3653
|
+
@_builtins.property
|
|
3655
3654
|
@pulumi.getter
|
|
3656
3655
|
def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VariablePatchArgs']]]]:
|
|
3657
3656
|
"""
|
|
@@ -3675,7 +3674,7 @@ if not MYPY:
|
|
|
3675
3674
|
"""
|
|
3676
3675
|
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.
|
|
3677
3676
|
"""
|
|
3678
|
-
failure_policy: NotRequired[pulumi.Input[
|
|
3677
|
+
failure_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
3679
3678
|
"""
|
|
3680
3679
|
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.
|
|
3681
3680
|
|
|
@@ -3725,7 +3724,7 @@ elif False:
|
|
|
3725
3724
|
class ValidatingAdmissionPolicySpecArgs:
|
|
3726
3725
|
def __init__(__self__, *,
|
|
3727
3726
|
audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]] = None,
|
|
3728
|
-
failure_policy: Optional[pulumi.Input[
|
|
3727
|
+
failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3729
3728
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
|
|
3730
3729
|
match_constraints: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
3731
3730
|
param_kind: Optional[pulumi.Input['ParamKindArgs']] = None,
|
|
@@ -3734,7 +3733,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3734
3733
|
"""
|
|
3735
3734
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
3736
3735
|
: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.
|
|
3737
|
-
:param pulumi.Input[
|
|
3736
|
+
: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.
|
|
3738
3737
|
|
|
3739
3738
|
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.
|
|
3740
3739
|
|
|
@@ -3775,7 +3774,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3775
3774
|
if variables is not None:
|
|
3776
3775
|
pulumi.set(__self__, "variables", variables)
|
|
3777
3776
|
|
|
3778
|
-
@property
|
|
3777
|
+
@_builtins.property
|
|
3779
3778
|
@pulumi.getter(name="auditAnnotations")
|
|
3780
3779
|
def audit_annotations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]]:
|
|
3781
3780
|
"""
|
|
@@ -3787,9 +3786,9 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3787
3786
|
def audit_annotations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]]):
|
|
3788
3787
|
pulumi.set(self, "audit_annotations", value)
|
|
3789
3788
|
|
|
3790
|
-
@property
|
|
3789
|
+
@_builtins.property
|
|
3791
3790
|
@pulumi.getter(name="failurePolicy")
|
|
3792
|
-
def failure_policy(self) -> Optional[pulumi.Input[
|
|
3791
|
+
def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3793
3792
|
"""
|
|
3794
3793
|
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.
|
|
3795
3794
|
|
|
@@ -3804,10 +3803,10 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3804
3803
|
return pulumi.get(self, "failure_policy")
|
|
3805
3804
|
|
|
3806
3805
|
@failure_policy.setter
|
|
3807
|
-
def failure_policy(self, value: Optional[pulumi.Input[
|
|
3806
|
+
def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3808
3807
|
pulumi.set(self, "failure_policy", value)
|
|
3809
3808
|
|
|
3810
|
-
@property
|
|
3809
|
+
@_builtins.property
|
|
3811
3810
|
@pulumi.getter(name="matchConditions")
|
|
3812
3811
|
def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]:
|
|
3813
3812
|
"""
|
|
@@ -3828,7 +3827,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3828
3827
|
def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]):
|
|
3829
3828
|
pulumi.set(self, "match_conditions", value)
|
|
3830
3829
|
|
|
3831
|
-
@property
|
|
3830
|
+
@_builtins.property
|
|
3832
3831
|
@pulumi.getter(name="matchConstraints")
|
|
3833
3832
|
def match_constraints(self) -> Optional[pulumi.Input['MatchResourcesArgs']]:
|
|
3834
3833
|
"""
|
|
@@ -3840,7 +3839,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3840
3839
|
def match_constraints(self, value: Optional[pulumi.Input['MatchResourcesArgs']]):
|
|
3841
3840
|
pulumi.set(self, "match_constraints", value)
|
|
3842
3841
|
|
|
3843
|
-
@property
|
|
3842
|
+
@_builtins.property
|
|
3844
3843
|
@pulumi.getter(name="paramKind")
|
|
3845
3844
|
def param_kind(self) -> Optional[pulumi.Input['ParamKindArgs']]:
|
|
3846
3845
|
"""
|
|
@@ -3852,7 +3851,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3852
3851
|
def param_kind(self, value: Optional[pulumi.Input['ParamKindArgs']]):
|
|
3853
3852
|
pulumi.set(self, "param_kind", value)
|
|
3854
3853
|
|
|
3855
|
-
@property
|
|
3854
|
+
@_builtins.property
|
|
3856
3855
|
@pulumi.getter
|
|
3857
3856
|
def validations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidationArgs']]]]:
|
|
3858
3857
|
"""
|
|
@@ -3864,7 +3863,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3864
3863
|
def validations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValidationArgs']]]]):
|
|
3865
3864
|
pulumi.set(self, "validations", value)
|
|
3866
3865
|
|
|
3867
|
-
@property
|
|
3866
|
+
@_builtins.property
|
|
3868
3867
|
@pulumi.getter
|
|
3869
3868
|
def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VariableArgs']]]]:
|
|
3870
3869
|
"""
|
|
@@ -3888,7 +3887,7 @@ if not MYPY:
|
|
|
3888
3887
|
"""
|
|
3889
3888
|
The conditions represent the latest available observations of a policy's current state.
|
|
3890
3889
|
"""
|
|
3891
|
-
observed_generation: NotRequired[pulumi.Input[
|
|
3890
|
+
observed_generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
3892
3891
|
"""
|
|
3893
3892
|
The generation observed by the controller.
|
|
3894
3893
|
"""
|
|
@@ -3903,12 +3902,12 @@ elif False:
|
|
|
3903
3902
|
class ValidatingAdmissionPolicyStatusArgs:
|
|
3904
3903
|
def __init__(__self__, *,
|
|
3905
3904
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]] = None,
|
|
3906
|
-
observed_generation: Optional[pulumi.Input[
|
|
3905
|
+
observed_generation: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3907
3906
|
type_checking: Optional[pulumi.Input['TypeCheckingArgs']] = None):
|
|
3908
3907
|
"""
|
|
3909
3908
|
ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
|
|
3910
3909
|
:param pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3911
|
-
:param pulumi.Input[
|
|
3910
|
+
:param pulumi.Input[_builtins.int] observed_generation: The generation observed by the controller.
|
|
3912
3911
|
: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.
|
|
3913
3912
|
"""
|
|
3914
3913
|
if conditions is not None:
|
|
@@ -3918,7 +3917,7 @@ class ValidatingAdmissionPolicyStatusArgs:
|
|
|
3918
3917
|
if type_checking is not None:
|
|
3919
3918
|
pulumi.set(__self__, "type_checking", type_checking)
|
|
3920
3919
|
|
|
3921
|
-
@property
|
|
3920
|
+
@_builtins.property
|
|
3922
3921
|
@pulumi.getter
|
|
3923
3922
|
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]]:
|
|
3924
3923
|
"""
|
|
@@ -3930,19 +3929,19 @@ class ValidatingAdmissionPolicyStatusArgs:
|
|
|
3930
3929
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]]):
|
|
3931
3930
|
pulumi.set(self, "conditions", value)
|
|
3932
3931
|
|
|
3933
|
-
@property
|
|
3932
|
+
@_builtins.property
|
|
3934
3933
|
@pulumi.getter(name="observedGeneration")
|
|
3935
|
-
def observed_generation(self) -> Optional[pulumi.Input[
|
|
3934
|
+
def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3936
3935
|
"""
|
|
3937
3936
|
The generation observed by the controller.
|
|
3938
3937
|
"""
|
|
3939
3938
|
return pulumi.get(self, "observed_generation")
|
|
3940
3939
|
|
|
3941
3940
|
@observed_generation.setter
|
|
3942
|
-
def observed_generation(self, value: Optional[pulumi.Input[
|
|
3941
|
+
def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3943
3942
|
pulumi.set(self, "observed_generation", value)
|
|
3944
3943
|
|
|
3945
|
-
@property
|
|
3944
|
+
@_builtins.property
|
|
3946
3945
|
@pulumi.getter(name="typeChecking")
|
|
3947
3946
|
def type_checking(self) -> Optional[pulumi.Input['TypeCheckingArgs']]:
|
|
3948
3947
|
"""
|
|
@@ -3960,11 +3959,11 @@ if not MYPY:
|
|
|
3960
3959
|
"""
|
|
3961
3960
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
3962
3961
|
"""
|
|
3963
|
-
api_version: NotRequired[pulumi.Input[
|
|
3962
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
3964
3963
|
"""
|
|
3965
3964
|
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
|
|
3966
3965
|
"""
|
|
3967
|
-
kind: NotRequired[pulumi.Input[
|
|
3966
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
3968
3967
|
"""
|
|
3969
3968
|
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
|
|
3970
3969
|
"""
|
|
@@ -3986,15 +3985,15 @@ elif False:
|
|
|
3986
3985
|
@pulumi.input_type
|
|
3987
3986
|
class ValidatingAdmissionPolicyArgs:
|
|
3988
3987
|
def __init__(__self__, *,
|
|
3989
|
-
api_version: Optional[pulumi.Input[
|
|
3990
|
-
kind: Optional[pulumi.Input[
|
|
3988
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3989
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3991
3990
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
3992
3991
|
spec: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']] = None,
|
|
3993
3992
|
status: Optional[pulumi.Input['ValidatingAdmissionPolicyStatusArgs']] = None):
|
|
3994
3993
|
"""
|
|
3995
3994
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
3996
|
-
:param pulumi.Input[
|
|
3997
|
-
:param pulumi.Input[
|
|
3995
|
+
: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
|
|
3996
|
+
: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
|
|
3998
3997
|
: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.
|
|
3999
3998
|
:param pulumi.Input['ValidatingAdmissionPolicySpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
4000
3999
|
: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.
|
|
@@ -4010,31 +4009,31 @@ class ValidatingAdmissionPolicyArgs:
|
|
|
4010
4009
|
if status is not None:
|
|
4011
4010
|
pulumi.set(__self__, "status", status)
|
|
4012
4011
|
|
|
4013
|
-
@property
|
|
4012
|
+
@_builtins.property
|
|
4014
4013
|
@pulumi.getter(name="apiVersion")
|
|
4015
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
4014
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4016
4015
|
"""
|
|
4017
4016
|
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
|
|
4018
4017
|
"""
|
|
4019
4018
|
return pulumi.get(self, "api_version")
|
|
4020
4019
|
|
|
4021
4020
|
@api_version.setter
|
|
4022
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
4021
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4023
4022
|
pulumi.set(self, "api_version", value)
|
|
4024
4023
|
|
|
4025
|
-
@property
|
|
4024
|
+
@_builtins.property
|
|
4026
4025
|
@pulumi.getter
|
|
4027
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
4026
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4028
4027
|
"""
|
|
4029
4028
|
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
|
|
4030
4029
|
"""
|
|
4031
4030
|
return pulumi.get(self, "kind")
|
|
4032
4031
|
|
|
4033
4032
|
@kind.setter
|
|
4034
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
4033
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4035
4034
|
pulumi.set(self, "kind", value)
|
|
4036
4035
|
|
|
4037
|
-
@property
|
|
4036
|
+
@_builtins.property
|
|
4038
4037
|
@pulumi.getter
|
|
4039
4038
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
4040
4039
|
"""
|
|
@@ -4046,7 +4045,7 @@ class ValidatingAdmissionPolicyArgs:
|
|
|
4046
4045
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
4047
4046
|
pulumi.set(self, "metadata", value)
|
|
4048
4047
|
|
|
4049
|
-
@property
|
|
4048
|
+
@_builtins.property
|
|
4050
4049
|
@pulumi.getter
|
|
4051
4050
|
def spec(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']]:
|
|
4052
4051
|
"""
|
|
@@ -4058,7 +4057,7 @@ class ValidatingAdmissionPolicyArgs:
|
|
|
4058
4057
|
def spec(self, value: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']]):
|
|
4059
4058
|
pulumi.set(self, "spec", value)
|
|
4060
4059
|
|
|
4061
|
-
@property
|
|
4060
|
+
@_builtins.property
|
|
4062
4061
|
@pulumi.getter
|
|
4063
4062
|
def status(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicyStatusArgs']]:
|
|
4064
4063
|
"""
|
|
@@ -4076,11 +4075,11 @@ if not MYPY:
|
|
|
4076
4075
|
"""
|
|
4077
4076
|
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
|
|
4078
4077
|
"""
|
|
4079
|
-
api_version: NotRequired[pulumi.Input[
|
|
4078
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
4080
4079
|
"""
|
|
4081
4080
|
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
|
|
4082
4081
|
"""
|
|
4083
|
-
kind: NotRequired[pulumi.Input[
|
|
4082
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
4084
4083
|
"""
|
|
4085
4084
|
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
|
|
4086
4085
|
"""
|
|
@@ -4098,14 +4097,14 @@ elif False:
|
|
|
4098
4097
|
@pulumi.input_type
|
|
4099
4098
|
class ValidatingWebhookConfigurationArgs:
|
|
4100
4099
|
def __init__(__self__, *,
|
|
4101
|
-
api_version: Optional[pulumi.Input[
|
|
4102
|
-
kind: Optional[pulumi.Input[
|
|
4100
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4101
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4103
4102
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
4104
4103
|
webhooks: Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]] = None):
|
|
4105
4104
|
"""
|
|
4106
4105
|
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
|
|
4107
|
-
:param pulumi.Input[
|
|
4108
|
-
:param pulumi.Input[
|
|
4106
|
+
: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
|
|
4107
|
+
: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
|
|
4109
4108
|
: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.
|
|
4110
4109
|
:param pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
4111
4110
|
"""
|
|
@@ -4118,31 +4117,31 @@ class ValidatingWebhookConfigurationArgs:
|
|
|
4118
4117
|
if webhooks is not None:
|
|
4119
4118
|
pulumi.set(__self__, "webhooks", webhooks)
|
|
4120
4119
|
|
|
4121
|
-
@property
|
|
4120
|
+
@_builtins.property
|
|
4122
4121
|
@pulumi.getter(name="apiVersion")
|
|
4123
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
4122
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4124
4123
|
"""
|
|
4125
4124
|
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
|
|
4126
4125
|
"""
|
|
4127
4126
|
return pulumi.get(self, "api_version")
|
|
4128
4127
|
|
|
4129
4128
|
@api_version.setter
|
|
4130
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
4129
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4131
4130
|
pulumi.set(self, "api_version", value)
|
|
4132
4131
|
|
|
4133
|
-
@property
|
|
4132
|
+
@_builtins.property
|
|
4134
4133
|
@pulumi.getter
|
|
4135
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
4134
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4136
4135
|
"""
|
|
4137
4136
|
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
|
|
4138
4137
|
"""
|
|
4139
4138
|
return pulumi.get(self, "kind")
|
|
4140
4139
|
|
|
4141
4140
|
@kind.setter
|
|
4142
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
4141
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4143
4142
|
pulumi.set(self, "kind", value)
|
|
4144
4143
|
|
|
4145
|
-
@property
|
|
4144
|
+
@_builtins.property
|
|
4146
4145
|
@pulumi.getter
|
|
4147
4146
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
4148
4147
|
"""
|
|
@@ -4154,7 +4153,7 @@ class ValidatingWebhookConfigurationArgs:
|
|
|
4154
4153
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
4155
4154
|
pulumi.set(self, "metadata", value)
|
|
4156
4155
|
|
|
4157
|
-
@property
|
|
4156
|
+
@_builtins.property
|
|
4158
4157
|
@pulumi.getter
|
|
4159
4158
|
def webhooks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]]:
|
|
4160
4159
|
"""
|
|
@@ -4172,7 +4171,7 @@ if not MYPY:
|
|
|
4172
4171
|
"""
|
|
4173
4172
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
4174
4173
|
"""
|
|
4175
|
-
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
4174
|
+
admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
4176
4175
|
"""
|
|
4177
4176
|
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.
|
|
4178
4177
|
"""
|
|
@@ -4180,7 +4179,7 @@ if not MYPY:
|
|
|
4180
4179
|
"""
|
|
4181
4180
|
ClientConfig defines how to communicate with the hook. Required
|
|
4182
4181
|
"""
|
|
4183
|
-
failure_policy: NotRequired[pulumi.Input[
|
|
4182
|
+
failure_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
4184
4183
|
"""
|
|
4185
4184
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
4186
4185
|
"""
|
|
@@ -4195,7 +4194,7 @@ if not MYPY:
|
|
|
4195
4194
|
- If failurePolicy=Fail, reject the request
|
|
4196
4195
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
4197
4196
|
"""
|
|
4198
|
-
match_policy: NotRequired[pulumi.Input[
|
|
4197
|
+
match_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
4199
4198
|
"""
|
|
4200
4199
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4201
4200
|
|
|
@@ -4205,7 +4204,7 @@ if not MYPY:
|
|
|
4205
4204
|
|
|
4206
4205
|
Defaults to "Equivalent"
|
|
4207
4206
|
"""
|
|
4208
|
-
name: NotRequired[pulumi.Input[
|
|
4207
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
4209
4208
|
"""
|
|
4210
4209
|
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.
|
|
4211
4210
|
"""
|
|
@@ -4251,11 +4250,11 @@ if not MYPY:
|
|
|
4251
4250
|
"""
|
|
4252
4251
|
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.
|
|
4253
4252
|
"""
|
|
4254
|
-
side_effects: NotRequired[pulumi.Input[
|
|
4253
|
+
side_effects: NotRequired[pulumi.Input[_builtins.str]]
|
|
4255
4254
|
"""
|
|
4256
4255
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4257
4256
|
"""
|
|
4258
|
-
timeout_seconds: NotRequired[pulumi.Input[
|
|
4257
|
+
timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
4259
4258
|
"""
|
|
4260
4259
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
4261
4260
|
"""
|
|
@@ -4265,22 +4264,22 @@ elif False:
|
|
|
4265
4264
|
@pulumi.input_type
|
|
4266
4265
|
class ValidatingWebhookPatchArgs:
|
|
4267
4266
|
def __init__(__self__, *,
|
|
4268
|
-
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
4267
|
+
admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
4269
4268
|
client_config: Optional[pulumi.Input['WebhookClientConfigPatchArgs']] = None,
|
|
4270
|
-
failure_policy: Optional[pulumi.Input[
|
|
4269
|
+
failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4271
4270
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
|
|
4272
|
-
match_policy: Optional[pulumi.Input[
|
|
4273
|
-
name: Optional[pulumi.Input[
|
|
4271
|
+
match_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4272
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4274
4273
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
4275
4274
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
4276
4275
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]] = None,
|
|
4277
|
-
side_effects: Optional[pulumi.Input[
|
|
4278
|
-
timeout_seconds: Optional[pulumi.Input[
|
|
4276
|
+
side_effects: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4277
|
+
timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
4279
4278
|
"""
|
|
4280
4279
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
4281
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
4280
|
+
: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.
|
|
4282
4281
|
:param pulumi.Input['WebhookClientConfigPatchArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
4283
|
-
:param pulumi.Input[
|
|
4282
|
+
:param pulumi.Input[_builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
4284
4283
|
:param pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
4285
4284
|
|
|
4286
4285
|
The exact matching logic is (in order):
|
|
@@ -4289,14 +4288,14 @@ class ValidatingWebhookPatchArgs:
|
|
|
4289
4288
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
4290
4289
|
- If failurePolicy=Fail, reject the request
|
|
4291
4290
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
4292
|
-
:param pulumi.Input[
|
|
4291
|
+
: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".
|
|
4293
4292
|
|
|
4294
4293
|
- 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.
|
|
4295
4294
|
|
|
4296
4295
|
- 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.
|
|
4297
4296
|
|
|
4298
4297
|
Defaults to "Equivalent"
|
|
4299
|
-
:param pulumi.Input[
|
|
4298
|
+
: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.
|
|
4300
4299
|
: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.
|
|
4301
4300
|
|
|
4302
4301
|
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": {
|
|
@@ -4330,8 +4329,8 @@ class ValidatingWebhookPatchArgs:
|
|
|
4330
4329
|
Default to the empty LabelSelector, which matches everything.
|
|
4331
4330
|
: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.
|
|
4332
4331
|
: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.
|
|
4333
|
-
:param pulumi.Input[
|
|
4334
|
-
:param pulumi.Input[
|
|
4332
|
+
:param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4333
|
+
:param pulumi.Input[_builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
4335
4334
|
"""
|
|
4336
4335
|
if admission_review_versions is not None:
|
|
4337
4336
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -4356,19 +4355,19 @@ class ValidatingWebhookPatchArgs:
|
|
|
4356
4355
|
if timeout_seconds is not None:
|
|
4357
4356
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
4358
4357
|
|
|
4359
|
-
@property
|
|
4358
|
+
@_builtins.property
|
|
4360
4359
|
@pulumi.getter(name="admissionReviewVersions")
|
|
4361
|
-
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
4360
|
+
def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
4362
4361
|
"""
|
|
4363
4362
|
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.
|
|
4364
4363
|
"""
|
|
4365
4364
|
return pulumi.get(self, "admission_review_versions")
|
|
4366
4365
|
|
|
4367
4366
|
@admission_review_versions.setter
|
|
4368
|
-
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
4367
|
+
def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
4369
4368
|
pulumi.set(self, "admission_review_versions", value)
|
|
4370
4369
|
|
|
4371
|
-
@property
|
|
4370
|
+
@_builtins.property
|
|
4372
4371
|
@pulumi.getter(name="clientConfig")
|
|
4373
4372
|
def client_config(self) -> Optional[pulumi.Input['WebhookClientConfigPatchArgs']]:
|
|
4374
4373
|
"""
|
|
@@ -4380,19 +4379,19 @@ class ValidatingWebhookPatchArgs:
|
|
|
4380
4379
|
def client_config(self, value: Optional[pulumi.Input['WebhookClientConfigPatchArgs']]):
|
|
4381
4380
|
pulumi.set(self, "client_config", value)
|
|
4382
4381
|
|
|
4383
|
-
@property
|
|
4382
|
+
@_builtins.property
|
|
4384
4383
|
@pulumi.getter(name="failurePolicy")
|
|
4385
|
-
def failure_policy(self) -> Optional[pulumi.Input[
|
|
4384
|
+
def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4386
4385
|
"""
|
|
4387
4386
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
4388
4387
|
"""
|
|
4389
4388
|
return pulumi.get(self, "failure_policy")
|
|
4390
4389
|
|
|
4391
4390
|
@failure_policy.setter
|
|
4392
|
-
def failure_policy(self, value: Optional[pulumi.Input[
|
|
4391
|
+
def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4393
4392
|
pulumi.set(self, "failure_policy", value)
|
|
4394
4393
|
|
|
4395
|
-
@property
|
|
4394
|
+
@_builtins.property
|
|
4396
4395
|
@pulumi.getter(name="matchConditions")
|
|
4397
4396
|
def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]:
|
|
4398
4397
|
"""
|
|
@@ -4411,9 +4410,9 @@ class ValidatingWebhookPatchArgs:
|
|
|
4411
4410
|
def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]):
|
|
4412
4411
|
pulumi.set(self, "match_conditions", value)
|
|
4413
4412
|
|
|
4414
|
-
@property
|
|
4413
|
+
@_builtins.property
|
|
4415
4414
|
@pulumi.getter(name="matchPolicy")
|
|
4416
|
-
def match_policy(self) -> Optional[pulumi.Input[
|
|
4415
|
+
def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4417
4416
|
"""
|
|
4418
4417
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4419
4418
|
|
|
@@ -4426,22 +4425,22 @@ class ValidatingWebhookPatchArgs:
|
|
|
4426
4425
|
return pulumi.get(self, "match_policy")
|
|
4427
4426
|
|
|
4428
4427
|
@match_policy.setter
|
|
4429
|
-
def match_policy(self, value: Optional[pulumi.Input[
|
|
4428
|
+
def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4430
4429
|
pulumi.set(self, "match_policy", value)
|
|
4431
4430
|
|
|
4432
|
-
@property
|
|
4431
|
+
@_builtins.property
|
|
4433
4432
|
@pulumi.getter
|
|
4434
|
-
def name(self) -> Optional[pulumi.Input[
|
|
4433
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4435
4434
|
"""
|
|
4436
4435
|
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.
|
|
4437
4436
|
"""
|
|
4438
4437
|
return pulumi.get(self, "name")
|
|
4439
4438
|
|
|
4440
4439
|
@name.setter
|
|
4441
|
-
def name(self, value: Optional[pulumi.Input[
|
|
4440
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4442
4441
|
pulumi.set(self, "name", value)
|
|
4443
4442
|
|
|
4444
|
-
@property
|
|
4443
|
+
@_builtins.property
|
|
4445
4444
|
@pulumi.getter(name="namespaceSelector")
|
|
4446
4445
|
def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
4447
4446
|
"""
|
|
@@ -4483,7 +4482,7 @@ class ValidatingWebhookPatchArgs:
|
|
|
4483
4482
|
def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
4484
4483
|
pulumi.set(self, "namespace_selector", value)
|
|
4485
4484
|
|
|
4486
|
-
@property
|
|
4485
|
+
@_builtins.property
|
|
4487
4486
|
@pulumi.getter(name="objectSelector")
|
|
4488
4487
|
def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
4489
4488
|
"""
|
|
@@ -4495,7 +4494,7 @@ class ValidatingWebhookPatchArgs:
|
|
|
4495
4494
|
def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
4496
4495
|
pulumi.set(self, "object_selector", value)
|
|
4497
4496
|
|
|
4498
|
-
@property
|
|
4497
|
+
@_builtins.property
|
|
4499
4498
|
@pulumi.getter
|
|
4500
4499
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]:
|
|
4501
4500
|
"""
|
|
@@ -4507,28 +4506,28 @@ class ValidatingWebhookPatchArgs:
|
|
|
4507
4506
|
def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]):
|
|
4508
4507
|
pulumi.set(self, "rules", value)
|
|
4509
4508
|
|
|
4510
|
-
@property
|
|
4509
|
+
@_builtins.property
|
|
4511
4510
|
@pulumi.getter(name="sideEffects")
|
|
4512
|
-
def side_effects(self) -> Optional[pulumi.Input[
|
|
4511
|
+
def side_effects(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4513
4512
|
"""
|
|
4514
4513
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4515
4514
|
"""
|
|
4516
4515
|
return pulumi.get(self, "side_effects")
|
|
4517
4516
|
|
|
4518
4517
|
@side_effects.setter
|
|
4519
|
-
def side_effects(self, value: Optional[pulumi.Input[
|
|
4518
|
+
def side_effects(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4520
4519
|
pulumi.set(self, "side_effects", value)
|
|
4521
4520
|
|
|
4522
|
-
@property
|
|
4521
|
+
@_builtins.property
|
|
4523
4522
|
@pulumi.getter(name="timeoutSeconds")
|
|
4524
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[
|
|
4523
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
4525
4524
|
"""
|
|
4526
4525
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
4527
4526
|
"""
|
|
4528
4527
|
return pulumi.get(self, "timeout_seconds")
|
|
4529
4528
|
|
|
4530
4529
|
@timeout_seconds.setter
|
|
4531
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[
|
|
4530
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
4532
4531
|
pulumi.set(self, "timeout_seconds", value)
|
|
4533
4532
|
|
|
4534
4533
|
|
|
@@ -4537,7 +4536,7 @@ if not MYPY:
|
|
|
4537
4536
|
"""
|
|
4538
4537
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
4539
4538
|
"""
|
|
4540
|
-
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[
|
|
4539
|
+
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
4541
4540
|
"""
|
|
4542
4541
|
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.
|
|
4543
4542
|
"""
|
|
@@ -4545,15 +4544,15 @@ if not MYPY:
|
|
|
4545
4544
|
"""
|
|
4546
4545
|
ClientConfig defines how to communicate with the hook. Required
|
|
4547
4546
|
"""
|
|
4548
|
-
name: pulumi.Input[
|
|
4547
|
+
name: pulumi.Input[_builtins.str]
|
|
4549
4548
|
"""
|
|
4550
4549
|
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.
|
|
4551
4550
|
"""
|
|
4552
|
-
side_effects: pulumi.Input[
|
|
4551
|
+
side_effects: pulumi.Input[_builtins.str]
|
|
4553
4552
|
"""
|
|
4554
4553
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4555
4554
|
"""
|
|
4556
|
-
failure_policy: NotRequired[pulumi.Input[
|
|
4555
|
+
failure_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
4557
4556
|
"""
|
|
4558
4557
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
4559
4558
|
"""
|
|
@@ -4568,7 +4567,7 @@ if not MYPY:
|
|
|
4568
4567
|
- If failurePolicy=Fail, reject the request
|
|
4569
4568
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
4570
4569
|
"""
|
|
4571
|
-
match_policy: NotRequired[pulumi.Input[
|
|
4570
|
+
match_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
4572
4571
|
"""
|
|
4573
4572
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4574
4573
|
|
|
@@ -4620,7 +4619,7 @@ if not MYPY:
|
|
|
4620
4619
|
"""
|
|
4621
4620
|
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.
|
|
4622
4621
|
"""
|
|
4623
|
-
timeout_seconds: NotRequired[pulumi.Input[
|
|
4622
|
+
timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
4624
4623
|
"""
|
|
4625
4624
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
4626
4625
|
"""
|
|
@@ -4630,24 +4629,24 @@ elif False:
|
|
|
4630
4629
|
@pulumi.input_type
|
|
4631
4630
|
class ValidatingWebhookArgs:
|
|
4632
4631
|
def __init__(__self__, *,
|
|
4633
|
-
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[
|
|
4632
|
+
admission_review_versions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
4634
4633
|
client_config: pulumi.Input['WebhookClientConfigArgs'],
|
|
4635
|
-
name: pulumi.Input[
|
|
4636
|
-
side_effects: pulumi.Input[
|
|
4637
|
-
failure_policy: Optional[pulumi.Input[
|
|
4634
|
+
name: pulumi.Input[_builtins.str],
|
|
4635
|
+
side_effects: pulumi.Input[_builtins.str],
|
|
4636
|
+
failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4638
4637
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
|
|
4639
|
-
match_policy: Optional[pulumi.Input[
|
|
4638
|
+
match_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4640
4639
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
4641
4640
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
4642
4641
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]] = None,
|
|
4643
|
-
timeout_seconds: Optional[pulumi.Input[
|
|
4642
|
+
timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
4644
4643
|
"""
|
|
4645
4644
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
4646
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
4645
|
+
: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.
|
|
4647
4646
|
:param pulumi.Input['WebhookClientConfigArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
|
|
4648
|
-
:param pulumi.Input[
|
|
4649
|
-
:param pulumi.Input[
|
|
4650
|
-
:param pulumi.Input[
|
|
4647
|
+
: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.
|
|
4648
|
+
:param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4649
|
+
:param pulumi.Input[_builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
4651
4650
|
:param pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
4652
4651
|
|
|
4653
4652
|
The exact matching logic is (in order):
|
|
@@ -4656,7 +4655,7 @@ class ValidatingWebhookArgs:
|
|
|
4656
4655
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
4657
4656
|
- If failurePolicy=Fail, reject the request
|
|
4658
4657
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
4659
|
-
:param pulumi.Input[
|
|
4658
|
+
: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".
|
|
4660
4659
|
|
|
4661
4660
|
- 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.
|
|
4662
4661
|
|
|
@@ -4696,7 +4695,7 @@ class ValidatingWebhookArgs:
|
|
|
4696
4695
|
Default to the empty LabelSelector, which matches everything.
|
|
4697
4696
|
: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.
|
|
4698
4697
|
: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.
|
|
4699
|
-
:param pulumi.Input[
|
|
4698
|
+
:param pulumi.Input[_builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
4700
4699
|
"""
|
|
4701
4700
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
4702
4701
|
pulumi.set(__self__, "client_config", client_config)
|
|
@@ -4717,19 +4716,19 @@ class ValidatingWebhookArgs:
|
|
|
4717
4716
|
if timeout_seconds is not None:
|
|
4718
4717
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
4719
4718
|
|
|
4720
|
-
@property
|
|
4719
|
+
@_builtins.property
|
|
4721
4720
|
@pulumi.getter(name="admissionReviewVersions")
|
|
4722
|
-
def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
4721
|
+
def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
4723
4722
|
"""
|
|
4724
4723
|
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.
|
|
4725
4724
|
"""
|
|
4726
4725
|
return pulumi.get(self, "admission_review_versions")
|
|
4727
4726
|
|
|
4728
4727
|
@admission_review_versions.setter
|
|
4729
|
-
def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
4728
|
+
def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
4730
4729
|
pulumi.set(self, "admission_review_versions", value)
|
|
4731
4730
|
|
|
4732
|
-
@property
|
|
4731
|
+
@_builtins.property
|
|
4733
4732
|
@pulumi.getter(name="clientConfig")
|
|
4734
4733
|
def client_config(self) -> pulumi.Input['WebhookClientConfigArgs']:
|
|
4735
4734
|
"""
|
|
@@ -4741,43 +4740,43 @@ class ValidatingWebhookArgs:
|
|
|
4741
4740
|
def client_config(self, value: pulumi.Input['WebhookClientConfigArgs']):
|
|
4742
4741
|
pulumi.set(self, "client_config", value)
|
|
4743
4742
|
|
|
4744
|
-
@property
|
|
4743
|
+
@_builtins.property
|
|
4745
4744
|
@pulumi.getter
|
|
4746
|
-
def name(self) -> pulumi.Input[
|
|
4745
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
4747
4746
|
"""
|
|
4748
4747
|
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.
|
|
4749
4748
|
"""
|
|
4750
4749
|
return pulumi.get(self, "name")
|
|
4751
4750
|
|
|
4752
4751
|
@name.setter
|
|
4753
|
-
def name(self, value: pulumi.Input[
|
|
4752
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
4754
4753
|
pulumi.set(self, "name", value)
|
|
4755
4754
|
|
|
4756
|
-
@property
|
|
4755
|
+
@_builtins.property
|
|
4757
4756
|
@pulumi.getter(name="sideEffects")
|
|
4758
|
-
def side_effects(self) -> pulumi.Input[
|
|
4757
|
+
def side_effects(self) -> pulumi.Input[_builtins.str]:
|
|
4759
4758
|
"""
|
|
4760
4759
|
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
4761
4760
|
"""
|
|
4762
4761
|
return pulumi.get(self, "side_effects")
|
|
4763
4762
|
|
|
4764
4763
|
@side_effects.setter
|
|
4765
|
-
def side_effects(self, value: pulumi.Input[
|
|
4764
|
+
def side_effects(self, value: pulumi.Input[_builtins.str]):
|
|
4766
4765
|
pulumi.set(self, "side_effects", value)
|
|
4767
4766
|
|
|
4768
|
-
@property
|
|
4767
|
+
@_builtins.property
|
|
4769
4768
|
@pulumi.getter(name="failurePolicy")
|
|
4770
|
-
def failure_policy(self) -> Optional[pulumi.Input[
|
|
4769
|
+
def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4771
4770
|
"""
|
|
4772
4771
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
4773
4772
|
"""
|
|
4774
4773
|
return pulumi.get(self, "failure_policy")
|
|
4775
4774
|
|
|
4776
4775
|
@failure_policy.setter
|
|
4777
|
-
def failure_policy(self, value: Optional[pulumi.Input[
|
|
4776
|
+
def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4778
4777
|
pulumi.set(self, "failure_policy", value)
|
|
4779
4778
|
|
|
4780
|
-
@property
|
|
4779
|
+
@_builtins.property
|
|
4781
4780
|
@pulumi.getter(name="matchConditions")
|
|
4782
4781
|
def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]:
|
|
4783
4782
|
"""
|
|
@@ -4796,9 +4795,9 @@ class ValidatingWebhookArgs:
|
|
|
4796
4795
|
def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]):
|
|
4797
4796
|
pulumi.set(self, "match_conditions", value)
|
|
4798
4797
|
|
|
4799
|
-
@property
|
|
4798
|
+
@_builtins.property
|
|
4800
4799
|
@pulumi.getter(name="matchPolicy")
|
|
4801
|
-
def match_policy(self) -> Optional[pulumi.Input[
|
|
4800
|
+
def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4802
4801
|
"""
|
|
4803
4802
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
4804
4803
|
|
|
@@ -4811,10 +4810,10 @@ class ValidatingWebhookArgs:
|
|
|
4811
4810
|
return pulumi.get(self, "match_policy")
|
|
4812
4811
|
|
|
4813
4812
|
@match_policy.setter
|
|
4814
|
-
def match_policy(self, value: Optional[pulumi.Input[
|
|
4813
|
+
def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4815
4814
|
pulumi.set(self, "match_policy", value)
|
|
4816
4815
|
|
|
4817
|
-
@property
|
|
4816
|
+
@_builtins.property
|
|
4818
4817
|
@pulumi.getter(name="namespaceSelector")
|
|
4819
4818
|
def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
4820
4819
|
"""
|
|
@@ -4856,7 +4855,7 @@ class ValidatingWebhookArgs:
|
|
|
4856
4855
|
def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
|
|
4857
4856
|
pulumi.set(self, "namespace_selector", value)
|
|
4858
4857
|
|
|
4859
|
-
@property
|
|
4858
|
+
@_builtins.property
|
|
4860
4859
|
@pulumi.getter(name="objectSelector")
|
|
4861
4860
|
def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
4862
4861
|
"""
|
|
@@ -4868,7 +4867,7 @@ class ValidatingWebhookArgs:
|
|
|
4868
4867
|
def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
|
|
4869
4868
|
pulumi.set(self, "object_selector", value)
|
|
4870
4869
|
|
|
4871
|
-
@property
|
|
4870
|
+
@_builtins.property
|
|
4872
4871
|
@pulumi.getter
|
|
4873
4872
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]:
|
|
4874
4873
|
"""
|
|
@@ -4880,16 +4879,16 @@ class ValidatingWebhookArgs:
|
|
|
4880
4879
|
def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]):
|
|
4881
4880
|
pulumi.set(self, "rules", value)
|
|
4882
4881
|
|
|
4883
|
-
@property
|
|
4882
|
+
@_builtins.property
|
|
4884
4883
|
@pulumi.getter(name="timeoutSeconds")
|
|
4885
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[
|
|
4884
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
4886
4885
|
"""
|
|
4887
4886
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
4888
4887
|
"""
|
|
4889
4888
|
return pulumi.get(self, "timeout_seconds")
|
|
4890
4889
|
|
|
4891
4890
|
@timeout_seconds.setter
|
|
4892
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[
|
|
4891
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
4893
4892
|
pulumi.set(self, "timeout_seconds", value)
|
|
4894
4893
|
|
|
4895
4894
|
|
|
@@ -4898,7 +4897,7 @@ if not MYPY:
|
|
|
4898
4897
|
"""
|
|
4899
4898
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4900
4899
|
"""
|
|
4901
|
-
expression: NotRequired[pulumi.Input[
|
|
4900
|
+
expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
4902
4901
|
"""
|
|
4903
4902
|
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:
|
|
4904
4903
|
|
|
@@ -4927,15 +4926,15 @@ if not MYPY:
|
|
|
4927
4926
|
non-intersecting keys are appended, retaining their partial order.
|
|
4928
4927
|
Required.
|
|
4929
4928
|
"""
|
|
4930
|
-
message: NotRequired[pulumi.Input[
|
|
4929
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
4931
4930
|
"""
|
|
4932
4931
|
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}".
|
|
4933
4932
|
"""
|
|
4934
|
-
message_expression: NotRequired[pulumi.Input[
|
|
4933
|
+
message_expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
4935
4934
|
"""
|
|
4936
4935
|
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)+")"
|
|
4937
4936
|
"""
|
|
4938
|
-
reason: NotRequired[pulumi.Input[
|
|
4937
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
4939
4938
|
"""
|
|
4940
4939
|
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.
|
|
4941
4940
|
"""
|
|
@@ -4945,13 +4944,13 @@ elif False:
|
|
|
4945
4944
|
@pulumi.input_type
|
|
4946
4945
|
class ValidationPatchArgs:
|
|
4947
4946
|
def __init__(__self__, *,
|
|
4948
|
-
expression: Optional[pulumi.Input[
|
|
4949
|
-
message: Optional[pulumi.Input[
|
|
4950
|
-
message_expression: Optional[pulumi.Input[
|
|
4951
|
-
reason: Optional[pulumi.Input[
|
|
4947
|
+
expression: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4948
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4949
|
+
message_expression: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4950
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
4952
4951
|
"""
|
|
4953
4952
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4954
|
-
:param pulumi.Input[
|
|
4953
|
+
: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:
|
|
4955
4954
|
|
|
4956
4955
|
- '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.
|
|
4957
4956
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -4977,9 +4976,9 @@ class ValidationPatchArgs:
|
|
|
4977
4976
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
4978
4977
|
non-intersecting keys are appended, retaining their partial order.
|
|
4979
4978
|
Required.
|
|
4980
|
-
:param pulumi.Input[
|
|
4981
|
-
:param pulumi.Input[
|
|
4982
|
-
:param pulumi.Input[
|
|
4979
|
+
: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}".
|
|
4980
|
+
: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)+")"
|
|
4981
|
+
: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.
|
|
4983
4982
|
"""
|
|
4984
4983
|
if expression is not None:
|
|
4985
4984
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -4990,9 +4989,9 @@ class ValidationPatchArgs:
|
|
|
4990
4989
|
if reason is not None:
|
|
4991
4990
|
pulumi.set(__self__, "reason", reason)
|
|
4992
4991
|
|
|
4993
|
-
@property
|
|
4992
|
+
@_builtins.property
|
|
4994
4993
|
@pulumi.getter
|
|
4995
|
-
def expression(self) -> Optional[pulumi.Input[
|
|
4994
|
+
def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4996
4995
|
"""
|
|
4997
4996
|
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:
|
|
4998
4997
|
|
|
@@ -5024,43 +5023,43 @@ class ValidationPatchArgs:
|
|
|
5024
5023
|
return pulumi.get(self, "expression")
|
|
5025
5024
|
|
|
5026
5025
|
@expression.setter
|
|
5027
|
-
def expression(self, value: Optional[pulumi.Input[
|
|
5026
|
+
def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5028
5027
|
pulumi.set(self, "expression", value)
|
|
5029
5028
|
|
|
5030
|
-
@property
|
|
5029
|
+
@_builtins.property
|
|
5031
5030
|
@pulumi.getter
|
|
5032
|
-
def message(self) -> Optional[pulumi.Input[
|
|
5031
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5033
5032
|
"""
|
|
5034
5033
|
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}".
|
|
5035
5034
|
"""
|
|
5036
5035
|
return pulumi.get(self, "message")
|
|
5037
5036
|
|
|
5038
5037
|
@message.setter
|
|
5039
|
-
def message(self, value: Optional[pulumi.Input[
|
|
5038
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5040
5039
|
pulumi.set(self, "message", value)
|
|
5041
5040
|
|
|
5042
|
-
@property
|
|
5041
|
+
@_builtins.property
|
|
5043
5042
|
@pulumi.getter(name="messageExpression")
|
|
5044
|
-
def message_expression(self) -> Optional[pulumi.Input[
|
|
5043
|
+
def message_expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5045
5044
|
"""
|
|
5046
5045
|
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)+")"
|
|
5047
5046
|
"""
|
|
5048
5047
|
return pulumi.get(self, "message_expression")
|
|
5049
5048
|
|
|
5050
5049
|
@message_expression.setter
|
|
5051
|
-
def message_expression(self, value: Optional[pulumi.Input[
|
|
5050
|
+
def message_expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5052
5051
|
pulumi.set(self, "message_expression", value)
|
|
5053
5052
|
|
|
5054
|
-
@property
|
|
5053
|
+
@_builtins.property
|
|
5055
5054
|
@pulumi.getter
|
|
5056
|
-
def reason(self) -> Optional[pulumi.Input[
|
|
5055
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5057
5056
|
"""
|
|
5058
5057
|
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.
|
|
5059
5058
|
"""
|
|
5060
5059
|
return pulumi.get(self, "reason")
|
|
5061
5060
|
|
|
5062
5061
|
@reason.setter
|
|
5063
|
-
def reason(self, value: Optional[pulumi.Input[
|
|
5062
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5064
5063
|
pulumi.set(self, "reason", value)
|
|
5065
5064
|
|
|
5066
5065
|
|
|
@@ -5069,7 +5068,7 @@ if not MYPY:
|
|
|
5069
5068
|
"""
|
|
5070
5069
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
5071
5070
|
"""
|
|
5072
|
-
expression: pulumi.Input[
|
|
5071
|
+
expression: pulumi.Input[_builtins.str]
|
|
5073
5072
|
"""
|
|
5074
5073
|
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:
|
|
5075
5074
|
|
|
@@ -5098,15 +5097,15 @@ if not MYPY:
|
|
|
5098
5097
|
non-intersecting keys are appended, retaining their partial order.
|
|
5099
5098
|
Required.
|
|
5100
5099
|
"""
|
|
5101
|
-
message: NotRequired[pulumi.Input[
|
|
5100
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
5102
5101
|
"""
|
|
5103
5102
|
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}".
|
|
5104
5103
|
"""
|
|
5105
|
-
message_expression: NotRequired[pulumi.Input[
|
|
5104
|
+
message_expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
5106
5105
|
"""
|
|
5107
5106
|
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)+")"
|
|
5108
5107
|
"""
|
|
5109
|
-
reason: NotRequired[pulumi.Input[
|
|
5108
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
5110
5109
|
"""
|
|
5111
5110
|
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.
|
|
5112
5111
|
"""
|
|
@@ -5116,13 +5115,13 @@ elif False:
|
|
|
5116
5115
|
@pulumi.input_type
|
|
5117
5116
|
class ValidationArgs:
|
|
5118
5117
|
def __init__(__self__, *,
|
|
5119
|
-
expression: pulumi.Input[
|
|
5120
|
-
message: Optional[pulumi.Input[
|
|
5121
|
-
message_expression: Optional[pulumi.Input[
|
|
5122
|
-
reason: Optional[pulumi.Input[
|
|
5118
|
+
expression: pulumi.Input[_builtins.str],
|
|
5119
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
5120
|
+
message_expression: Optional[pulumi.Input[_builtins.str]] = None,
|
|
5121
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
5123
5122
|
"""
|
|
5124
5123
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
5125
|
-
:param pulumi.Input[
|
|
5124
|
+
: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:
|
|
5126
5125
|
|
|
5127
5126
|
- '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.
|
|
5128
5127
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -5148,9 +5147,9 @@ class ValidationArgs:
|
|
|
5148
5147
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
5149
5148
|
non-intersecting keys are appended, retaining their partial order.
|
|
5150
5149
|
Required.
|
|
5151
|
-
:param pulumi.Input[
|
|
5152
|
-
:param pulumi.Input[
|
|
5153
|
-
:param pulumi.Input[
|
|
5150
|
+
: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}".
|
|
5151
|
+
: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)+")"
|
|
5152
|
+
: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.
|
|
5154
5153
|
"""
|
|
5155
5154
|
pulumi.set(__self__, "expression", expression)
|
|
5156
5155
|
if message is not None:
|
|
@@ -5160,9 +5159,9 @@ class ValidationArgs:
|
|
|
5160
5159
|
if reason is not None:
|
|
5161
5160
|
pulumi.set(__self__, "reason", reason)
|
|
5162
5161
|
|
|
5163
|
-
@property
|
|
5162
|
+
@_builtins.property
|
|
5164
5163
|
@pulumi.getter
|
|
5165
|
-
def expression(self) -> pulumi.Input[
|
|
5164
|
+
def expression(self) -> pulumi.Input[_builtins.str]:
|
|
5166
5165
|
"""
|
|
5167
5166
|
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:
|
|
5168
5167
|
|
|
@@ -5194,43 +5193,43 @@ class ValidationArgs:
|
|
|
5194
5193
|
return pulumi.get(self, "expression")
|
|
5195
5194
|
|
|
5196
5195
|
@expression.setter
|
|
5197
|
-
def expression(self, value: pulumi.Input[
|
|
5196
|
+
def expression(self, value: pulumi.Input[_builtins.str]):
|
|
5198
5197
|
pulumi.set(self, "expression", value)
|
|
5199
5198
|
|
|
5200
|
-
@property
|
|
5199
|
+
@_builtins.property
|
|
5201
5200
|
@pulumi.getter
|
|
5202
|
-
def message(self) -> Optional[pulumi.Input[
|
|
5201
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5203
5202
|
"""
|
|
5204
5203
|
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}".
|
|
5205
5204
|
"""
|
|
5206
5205
|
return pulumi.get(self, "message")
|
|
5207
5206
|
|
|
5208
5207
|
@message.setter
|
|
5209
|
-
def message(self, value: Optional[pulumi.Input[
|
|
5208
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5210
5209
|
pulumi.set(self, "message", value)
|
|
5211
5210
|
|
|
5212
|
-
@property
|
|
5211
|
+
@_builtins.property
|
|
5213
5212
|
@pulumi.getter(name="messageExpression")
|
|
5214
|
-
def message_expression(self) -> Optional[pulumi.Input[
|
|
5213
|
+
def message_expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5215
5214
|
"""
|
|
5216
5215
|
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)+")"
|
|
5217
5216
|
"""
|
|
5218
5217
|
return pulumi.get(self, "message_expression")
|
|
5219
5218
|
|
|
5220
5219
|
@message_expression.setter
|
|
5221
|
-
def message_expression(self, value: Optional[pulumi.Input[
|
|
5220
|
+
def message_expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5222
5221
|
pulumi.set(self, "message_expression", value)
|
|
5223
5222
|
|
|
5224
|
-
@property
|
|
5223
|
+
@_builtins.property
|
|
5225
5224
|
@pulumi.getter
|
|
5226
|
-
def reason(self) -> Optional[pulumi.Input[
|
|
5225
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5227
5226
|
"""
|
|
5228
5227
|
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.
|
|
5229
5228
|
"""
|
|
5230
5229
|
return pulumi.get(self, "reason")
|
|
5231
5230
|
|
|
5232
5231
|
@reason.setter
|
|
5233
|
-
def reason(self, value: Optional[pulumi.Input[
|
|
5232
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5234
5233
|
pulumi.set(self, "reason", value)
|
|
5235
5234
|
|
|
5236
5235
|
|
|
@@ -5239,11 +5238,11 @@ if not MYPY:
|
|
|
5239
5238
|
"""
|
|
5240
5239
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5241
5240
|
"""
|
|
5242
|
-
expression: NotRequired[pulumi.Input[
|
|
5241
|
+
expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
5243
5242
|
"""
|
|
5244
5243
|
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.
|
|
5245
5244
|
"""
|
|
5246
|
-
name: NotRequired[pulumi.Input[
|
|
5245
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
5247
5246
|
"""
|
|
5248
5247
|
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`
|
|
5249
5248
|
"""
|
|
@@ -5253,40 +5252,40 @@ elif False:
|
|
|
5253
5252
|
@pulumi.input_type
|
|
5254
5253
|
class VariablePatchArgs:
|
|
5255
5254
|
def __init__(__self__, *,
|
|
5256
|
-
expression: Optional[pulumi.Input[
|
|
5257
|
-
name: Optional[pulumi.Input[
|
|
5255
|
+
expression: Optional[pulumi.Input[_builtins.str]] = None,
|
|
5256
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
5258
5257
|
"""
|
|
5259
5258
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5260
|
-
:param pulumi.Input[
|
|
5261
|
-
:param pulumi.Input[
|
|
5259
|
+
: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.
|
|
5260
|
+
: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`
|
|
5262
5261
|
"""
|
|
5263
5262
|
if expression is not None:
|
|
5264
5263
|
pulumi.set(__self__, "expression", expression)
|
|
5265
5264
|
if name is not None:
|
|
5266
5265
|
pulumi.set(__self__, "name", name)
|
|
5267
5266
|
|
|
5268
|
-
@property
|
|
5267
|
+
@_builtins.property
|
|
5269
5268
|
@pulumi.getter
|
|
5270
|
-
def expression(self) -> Optional[pulumi.Input[
|
|
5269
|
+
def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5271
5270
|
"""
|
|
5272
5271
|
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.
|
|
5273
5272
|
"""
|
|
5274
5273
|
return pulumi.get(self, "expression")
|
|
5275
5274
|
|
|
5276
5275
|
@expression.setter
|
|
5277
|
-
def expression(self, value: Optional[pulumi.Input[
|
|
5276
|
+
def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5278
5277
|
pulumi.set(self, "expression", value)
|
|
5279
5278
|
|
|
5280
|
-
@property
|
|
5279
|
+
@_builtins.property
|
|
5281
5280
|
@pulumi.getter
|
|
5282
|
-
def name(self) -> Optional[pulumi.Input[
|
|
5281
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5283
5282
|
"""
|
|
5284
5283
|
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`
|
|
5285
5284
|
"""
|
|
5286
5285
|
return pulumi.get(self, "name")
|
|
5287
5286
|
|
|
5288
5287
|
@name.setter
|
|
5289
|
-
def name(self, value: Optional[pulumi.Input[
|
|
5288
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5290
5289
|
pulumi.set(self, "name", value)
|
|
5291
5290
|
|
|
5292
5291
|
|
|
@@ -5295,11 +5294,11 @@ if not MYPY:
|
|
|
5295
5294
|
"""
|
|
5296
5295
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5297
5296
|
"""
|
|
5298
|
-
expression: pulumi.Input[
|
|
5297
|
+
expression: pulumi.Input[_builtins.str]
|
|
5299
5298
|
"""
|
|
5300
5299
|
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.
|
|
5301
5300
|
"""
|
|
5302
|
-
name: pulumi.Input[
|
|
5301
|
+
name: pulumi.Input[_builtins.str]
|
|
5303
5302
|
"""
|
|
5304
5303
|
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`
|
|
5305
5304
|
"""
|
|
@@ -5309,38 +5308,38 @@ elif False:
|
|
|
5309
5308
|
@pulumi.input_type
|
|
5310
5309
|
class VariableArgs:
|
|
5311
5310
|
def __init__(__self__, *,
|
|
5312
|
-
expression: pulumi.Input[
|
|
5313
|
-
name: pulumi.Input[
|
|
5311
|
+
expression: pulumi.Input[_builtins.str],
|
|
5312
|
+
name: pulumi.Input[_builtins.str]):
|
|
5314
5313
|
"""
|
|
5315
5314
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
5316
|
-
:param pulumi.Input[
|
|
5317
|
-
:param pulumi.Input[
|
|
5315
|
+
: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.
|
|
5316
|
+
: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`
|
|
5318
5317
|
"""
|
|
5319
5318
|
pulumi.set(__self__, "expression", expression)
|
|
5320
5319
|
pulumi.set(__self__, "name", name)
|
|
5321
5320
|
|
|
5322
|
-
@property
|
|
5321
|
+
@_builtins.property
|
|
5323
5322
|
@pulumi.getter
|
|
5324
|
-
def expression(self) -> pulumi.Input[
|
|
5323
|
+
def expression(self) -> pulumi.Input[_builtins.str]:
|
|
5325
5324
|
"""
|
|
5326
5325
|
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.
|
|
5327
5326
|
"""
|
|
5328
5327
|
return pulumi.get(self, "expression")
|
|
5329
5328
|
|
|
5330
5329
|
@expression.setter
|
|
5331
|
-
def expression(self, value: pulumi.Input[
|
|
5330
|
+
def expression(self, value: pulumi.Input[_builtins.str]):
|
|
5332
5331
|
pulumi.set(self, "expression", value)
|
|
5333
5332
|
|
|
5334
|
-
@property
|
|
5333
|
+
@_builtins.property
|
|
5335
5334
|
@pulumi.getter
|
|
5336
|
-
def name(self) -> pulumi.Input[
|
|
5335
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
5337
5336
|
"""
|
|
5338
5337
|
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`
|
|
5339
5338
|
"""
|
|
5340
5339
|
return pulumi.get(self, "name")
|
|
5341
5340
|
|
|
5342
5341
|
@name.setter
|
|
5343
|
-
def name(self, value: pulumi.Input[
|
|
5342
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
5344
5343
|
pulumi.set(self, "name", value)
|
|
5345
5344
|
|
|
5346
5345
|
|
|
@@ -5349,7 +5348,7 @@ if not MYPY:
|
|
|
5349
5348
|
"""
|
|
5350
5349
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5351
5350
|
"""
|
|
5352
|
-
ca_bundle: NotRequired[pulumi.Input[
|
|
5351
|
+
ca_bundle: NotRequired[pulumi.Input[_builtins.str]]
|
|
5353
5352
|
"""
|
|
5354
5353
|
`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.
|
|
5355
5354
|
"""
|
|
@@ -5359,7 +5358,7 @@ if not MYPY:
|
|
|
5359
5358
|
|
|
5360
5359
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5361
5360
|
"""
|
|
5362
|
-
url: NotRequired[pulumi.Input[
|
|
5361
|
+
url: NotRequired[pulumi.Input[_builtins.str]]
|
|
5363
5362
|
"""
|
|
5364
5363
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5365
5364
|
|
|
@@ -5379,16 +5378,16 @@ elif False:
|
|
|
5379
5378
|
@pulumi.input_type
|
|
5380
5379
|
class WebhookClientConfigPatchArgs:
|
|
5381
5380
|
def __init__(__self__, *,
|
|
5382
|
-
ca_bundle: Optional[pulumi.Input[
|
|
5381
|
+
ca_bundle: Optional[pulumi.Input[_builtins.str]] = None,
|
|
5383
5382
|
service: Optional[pulumi.Input['ServiceReferencePatchArgs']] = None,
|
|
5384
|
-
url: Optional[pulumi.Input[
|
|
5383
|
+
url: Optional[pulumi.Input[_builtins.str]] = None):
|
|
5385
5384
|
"""
|
|
5386
5385
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5387
|
-
:param pulumi.Input[
|
|
5386
|
+
: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.
|
|
5388
5387
|
:param pulumi.Input['ServiceReferencePatchArgs'] service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
5389
5388
|
|
|
5390
5389
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5391
|
-
:param pulumi.Input[
|
|
5390
|
+
: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.
|
|
5392
5391
|
|
|
5393
5392
|
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.
|
|
5394
5393
|
|
|
@@ -5407,19 +5406,19 @@ class WebhookClientConfigPatchArgs:
|
|
|
5407
5406
|
if url is not None:
|
|
5408
5407
|
pulumi.set(__self__, "url", url)
|
|
5409
5408
|
|
|
5410
|
-
@property
|
|
5409
|
+
@_builtins.property
|
|
5411
5410
|
@pulumi.getter(name="caBundle")
|
|
5412
|
-
def ca_bundle(self) -> Optional[pulumi.Input[
|
|
5411
|
+
def ca_bundle(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5413
5412
|
"""
|
|
5414
5413
|
`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.
|
|
5415
5414
|
"""
|
|
5416
5415
|
return pulumi.get(self, "ca_bundle")
|
|
5417
5416
|
|
|
5418
5417
|
@ca_bundle.setter
|
|
5419
|
-
def ca_bundle(self, value: Optional[pulumi.Input[
|
|
5418
|
+
def ca_bundle(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5420
5419
|
pulumi.set(self, "ca_bundle", value)
|
|
5421
5420
|
|
|
5422
|
-
@property
|
|
5421
|
+
@_builtins.property
|
|
5423
5422
|
@pulumi.getter
|
|
5424
5423
|
def service(self) -> Optional[pulumi.Input['ServiceReferencePatchArgs']]:
|
|
5425
5424
|
"""
|
|
@@ -5433,9 +5432,9 @@ class WebhookClientConfigPatchArgs:
|
|
|
5433
5432
|
def service(self, value: Optional[pulumi.Input['ServiceReferencePatchArgs']]):
|
|
5434
5433
|
pulumi.set(self, "service", value)
|
|
5435
5434
|
|
|
5436
|
-
@property
|
|
5435
|
+
@_builtins.property
|
|
5437
5436
|
@pulumi.getter
|
|
5438
|
-
def url(self) -> Optional[pulumi.Input[
|
|
5437
|
+
def url(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5439
5438
|
"""
|
|
5440
5439
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5441
5440
|
|
|
@@ -5452,7 +5451,7 @@ class WebhookClientConfigPatchArgs:
|
|
|
5452
5451
|
return pulumi.get(self, "url")
|
|
5453
5452
|
|
|
5454
5453
|
@url.setter
|
|
5455
|
-
def url(self, value: Optional[pulumi.Input[
|
|
5454
|
+
def url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5456
5455
|
pulumi.set(self, "url", value)
|
|
5457
5456
|
|
|
5458
5457
|
|
|
@@ -5461,7 +5460,7 @@ if not MYPY:
|
|
|
5461
5460
|
"""
|
|
5462
5461
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5463
5462
|
"""
|
|
5464
|
-
ca_bundle: NotRequired[pulumi.Input[
|
|
5463
|
+
ca_bundle: NotRequired[pulumi.Input[_builtins.str]]
|
|
5465
5464
|
"""
|
|
5466
5465
|
`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.
|
|
5467
5466
|
"""
|
|
@@ -5471,7 +5470,7 @@ if not MYPY:
|
|
|
5471
5470
|
|
|
5472
5471
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5473
5472
|
"""
|
|
5474
|
-
url: NotRequired[pulumi.Input[
|
|
5473
|
+
url: NotRequired[pulumi.Input[_builtins.str]]
|
|
5475
5474
|
"""
|
|
5476
5475
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5477
5476
|
|
|
@@ -5491,16 +5490,16 @@ elif False:
|
|
|
5491
5490
|
@pulumi.input_type
|
|
5492
5491
|
class WebhookClientConfigArgs:
|
|
5493
5492
|
def __init__(__self__, *,
|
|
5494
|
-
ca_bundle: Optional[pulumi.Input[
|
|
5493
|
+
ca_bundle: Optional[pulumi.Input[_builtins.str]] = None,
|
|
5495
5494
|
service: Optional[pulumi.Input['ServiceReferenceArgs']] = None,
|
|
5496
|
-
url: Optional[pulumi.Input[
|
|
5495
|
+
url: Optional[pulumi.Input[_builtins.str]] = None):
|
|
5497
5496
|
"""
|
|
5498
5497
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
5499
|
-
:param pulumi.Input[
|
|
5498
|
+
: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.
|
|
5500
5499
|
:param pulumi.Input['ServiceReferenceArgs'] service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
5501
5500
|
|
|
5502
5501
|
If the webhook is running within the cluster, then you should use `service`.
|
|
5503
|
-
:param pulumi.Input[
|
|
5502
|
+
: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.
|
|
5504
5503
|
|
|
5505
5504
|
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.
|
|
5506
5505
|
|
|
@@ -5519,19 +5518,19 @@ class WebhookClientConfigArgs:
|
|
|
5519
5518
|
if url is not None:
|
|
5520
5519
|
pulumi.set(__self__, "url", url)
|
|
5521
5520
|
|
|
5522
|
-
@property
|
|
5521
|
+
@_builtins.property
|
|
5523
5522
|
@pulumi.getter(name="caBundle")
|
|
5524
|
-
def ca_bundle(self) -> Optional[pulumi.Input[
|
|
5523
|
+
def ca_bundle(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5525
5524
|
"""
|
|
5526
5525
|
`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.
|
|
5527
5526
|
"""
|
|
5528
5527
|
return pulumi.get(self, "ca_bundle")
|
|
5529
5528
|
|
|
5530
5529
|
@ca_bundle.setter
|
|
5531
|
-
def ca_bundle(self, value: Optional[pulumi.Input[
|
|
5530
|
+
def ca_bundle(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5532
5531
|
pulumi.set(self, "ca_bundle", value)
|
|
5533
5532
|
|
|
5534
|
-
@property
|
|
5533
|
+
@_builtins.property
|
|
5535
5534
|
@pulumi.getter
|
|
5536
5535
|
def service(self) -> Optional[pulumi.Input['ServiceReferenceArgs']]:
|
|
5537
5536
|
"""
|
|
@@ -5545,9 +5544,9 @@ class WebhookClientConfigArgs:
|
|
|
5545
5544
|
def service(self, value: Optional[pulumi.Input['ServiceReferenceArgs']]):
|
|
5546
5545
|
pulumi.set(self, "service", value)
|
|
5547
5546
|
|
|
5548
|
-
@property
|
|
5547
|
+
@_builtins.property
|
|
5549
5548
|
@pulumi.getter
|
|
5550
|
-
def url(self) -> Optional[pulumi.Input[
|
|
5549
|
+
def url(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5551
5550
|
"""
|
|
5552
5551
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
5553
5552
|
|
|
@@ -5564,7 +5563,7 @@ class WebhookClientConfigArgs:
|
|
|
5564
5563
|
return pulumi.get(self, "url")
|
|
5565
5564
|
|
|
5566
5565
|
@url.setter
|
|
5567
|
-
def url(self, value: Optional[pulumi.Input[
|
|
5566
|
+
def url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5568
5567
|
pulumi.set(self, "url", value)
|
|
5569
5568
|
|
|
5570
5569
|
|