pulumi-kubernetes 4.24.0a1753079574__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.0a1753079574.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.0a1753079574.dist-info/RECORD +0 -709
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1753079574.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
|
|
@@ -83,18 +82,18 @@ class AuditAnnotation(dict):
|
|
|
83
82
|
return super().get(key, default)
|
|
84
83
|
|
|
85
84
|
def __init__(__self__, *,
|
|
86
|
-
key:
|
|
87
|
-
value_expression:
|
|
85
|
+
key: _builtins.str,
|
|
86
|
+
value_expression: _builtins.str):
|
|
88
87
|
"""
|
|
89
88
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
90
|
-
:param
|
|
89
|
+
:param _builtins.str key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
91
90
|
|
|
92
91
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
93
92
|
|
|
94
93
|
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.
|
|
95
94
|
|
|
96
95
|
Required.
|
|
97
|
-
:param
|
|
96
|
+
:param _builtins.str value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
98
97
|
|
|
99
98
|
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.
|
|
100
99
|
|
|
@@ -103,9 +102,9 @@ class AuditAnnotation(dict):
|
|
|
103
102
|
pulumi.set(__self__, "key", key)
|
|
104
103
|
pulumi.set(__self__, "value_expression", value_expression)
|
|
105
104
|
|
|
106
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
107
106
|
@pulumi.getter
|
|
108
|
-
def key(self) ->
|
|
107
|
+
def key(self) -> _builtins.str:
|
|
109
108
|
"""
|
|
110
109
|
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.
|
|
111
110
|
|
|
@@ -117,9 +116,9 @@ class AuditAnnotation(dict):
|
|
|
117
116
|
"""
|
|
118
117
|
return pulumi.get(self, "key")
|
|
119
118
|
|
|
120
|
-
@property
|
|
119
|
+
@_builtins.property
|
|
121
120
|
@pulumi.getter(name="valueExpression")
|
|
122
|
-
def value_expression(self) ->
|
|
121
|
+
def value_expression(self) -> _builtins.str:
|
|
123
122
|
"""
|
|
124
123
|
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.
|
|
125
124
|
|
|
@@ -153,18 +152,18 @@ class AuditAnnotationPatch(dict):
|
|
|
153
152
|
return super().get(key, default)
|
|
154
153
|
|
|
155
154
|
def __init__(__self__, *,
|
|
156
|
-
key: Optional[
|
|
157
|
-
value_expression: Optional[
|
|
155
|
+
key: Optional[_builtins.str] = None,
|
|
156
|
+
value_expression: Optional[_builtins.str] = None):
|
|
158
157
|
"""
|
|
159
158
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
160
|
-
:param
|
|
159
|
+
:param _builtins.str key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
161
160
|
|
|
162
161
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
163
162
|
|
|
164
163
|
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.
|
|
165
164
|
|
|
166
165
|
Required.
|
|
167
|
-
:param
|
|
166
|
+
:param _builtins.str value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
168
167
|
|
|
169
168
|
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.
|
|
170
169
|
|
|
@@ -175,9 +174,9 @@ class AuditAnnotationPatch(dict):
|
|
|
175
174
|
if value_expression is not None:
|
|
176
175
|
pulumi.set(__self__, "value_expression", value_expression)
|
|
177
176
|
|
|
178
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
179
178
|
@pulumi.getter
|
|
180
|
-
def key(self) -> Optional[
|
|
179
|
+
def key(self) -> Optional[_builtins.str]:
|
|
181
180
|
"""
|
|
182
181
|
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.
|
|
183
182
|
|
|
@@ -189,9 +188,9 @@ class AuditAnnotationPatch(dict):
|
|
|
189
188
|
"""
|
|
190
189
|
return pulumi.get(self, "key")
|
|
191
190
|
|
|
192
|
-
@property
|
|
191
|
+
@_builtins.property
|
|
193
192
|
@pulumi.getter(name="valueExpression")
|
|
194
|
-
def value_expression(self) -> Optional[
|
|
193
|
+
def value_expression(self) -> Optional[_builtins.str]:
|
|
195
194
|
"""
|
|
196
195
|
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.
|
|
197
196
|
|
|
@@ -225,27 +224,27 @@ class ExpressionWarning(dict):
|
|
|
225
224
|
return super().get(key, default)
|
|
226
225
|
|
|
227
226
|
def __init__(__self__, *,
|
|
228
|
-
field_ref:
|
|
229
|
-
warning:
|
|
227
|
+
field_ref: _builtins.str,
|
|
228
|
+
warning: _builtins.str):
|
|
230
229
|
"""
|
|
231
230
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
232
|
-
:param
|
|
233
|
-
:param
|
|
231
|
+
:param _builtins.str field_ref: The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
|
|
232
|
+
:param _builtins.str warning: The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
|
|
234
233
|
"""
|
|
235
234
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
236
235
|
pulumi.set(__self__, "warning", warning)
|
|
237
236
|
|
|
238
|
-
@property
|
|
237
|
+
@_builtins.property
|
|
239
238
|
@pulumi.getter(name="fieldRef")
|
|
240
|
-
def field_ref(self) ->
|
|
239
|
+
def field_ref(self) -> _builtins.str:
|
|
241
240
|
"""
|
|
242
241
|
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"
|
|
243
242
|
"""
|
|
244
243
|
return pulumi.get(self, "field_ref")
|
|
245
244
|
|
|
246
|
-
@property
|
|
245
|
+
@_builtins.property
|
|
247
246
|
@pulumi.getter
|
|
248
|
-
def warning(self) ->
|
|
247
|
+
def warning(self) -> _builtins.str:
|
|
249
248
|
"""
|
|
250
249
|
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.
|
|
251
250
|
"""
|
|
@@ -275,29 +274,29 @@ class ExpressionWarningPatch(dict):
|
|
|
275
274
|
return super().get(key, default)
|
|
276
275
|
|
|
277
276
|
def __init__(__self__, *,
|
|
278
|
-
field_ref: Optional[
|
|
279
|
-
warning: Optional[
|
|
277
|
+
field_ref: Optional[_builtins.str] = None,
|
|
278
|
+
warning: Optional[_builtins.str] = None):
|
|
280
279
|
"""
|
|
281
280
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
282
|
-
:param
|
|
283
|
-
:param
|
|
281
|
+
:param _builtins.str field_ref: The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
|
|
282
|
+
:param _builtins.str warning: The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
|
|
284
283
|
"""
|
|
285
284
|
if field_ref is not None:
|
|
286
285
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
287
286
|
if warning is not None:
|
|
288
287
|
pulumi.set(__self__, "warning", warning)
|
|
289
288
|
|
|
290
|
-
@property
|
|
289
|
+
@_builtins.property
|
|
291
290
|
@pulumi.getter(name="fieldRef")
|
|
292
|
-
def field_ref(self) -> Optional[
|
|
291
|
+
def field_ref(self) -> Optional[_builtins.str]:
|
|
293
292
|
"""
|
|
294
293
|
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"
|
|
295
294
|
"""
|
|
296
295
|
return pulumi.get(self, "field_ref")
|
|
297
296
|
|
|
298
|
-
@property
|
|
297
|
+
@_builtins.property
|
|
299
298
|
@pulumi.getter
|
|
300
|
-
def warning(self) -> Optional[
|
|
299
|
+
def warning(self) -> Optional[_builtins.str]:
|
|
301
300
|
"""
|
|
302
301
|
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.
|
|
303
302
|
"""
|
|
@@ -310,11 +309,11 @@ class MatchCondition(dict):
|
|
|
310
309
|
MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.
|
|
311
310
|
"""
|
|
312
311
|
def __init__(__self__, *,
|
|
313
|
-
expression:
|
|
314
|
-
name:
|
|
312
|
+
expression: _builtins.str,
|
|
313
|
+
name: _builtins.str):
|
|
315
314
|
"""
|
|
316
315
|
MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.
|
|
317
|
-
:param
|
|
316
|
+
:param _builtins.str expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
318
317
|
|
|
319
318
|
'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.
|
|
320
319
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -323,16 +322,16 @@ class MatchCondition(dict):
|
|
|
323
322
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
324
323
|
|
|
325
324
|
Required.
|
|
326
|
-
:param
|
|
325
|
+
:param _builtins.str name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
327
326
|
|
|
328
327
|
Required.
|
|
329
328
|
"""
|
|
330
329
|
pulumi.set(__self__, "expression", expression)
|
|
331
330
|
pulumi.set(__self__, "name", name)
|
|
332
331
|
|
|
333
|
-
@property
|
|
332
|
+
@_builtins.property
|
|
334
333
|
@pulumi.getter
|
|
335
|
-
def expression(self) ->
|
|
334
|
+
def expression(self) -> _builtins.str:
|
|
336
335
|
"""
|
|
337
336
|
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:
|
|
338
337
|
|
|
@@ -346,9 +345,9 @@ class MatchCondition(dict):
|
|
|
346
345
|
"""
|
|
347
346
|
return pulumi.get(self, "expression")
|
|
348
347
|
|
|
349
|
-
@property
|
|
348
|
+
@_builtins.property
|
|
350
349
|
@pulumi.getter
|
|
351
|
-
def name(self) ->
|
|
350
|
+
def name(self) -> _builtins.str:
|
|
352
351
|
"""
|
|
353
352
|
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')
|
|
354
353
|
|
|
@@ -363,11 +362,11 @@ class MatchConditionPatch(dict):
|
|
|
363
362
|
MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.
|
|
364
363
|
"""
|
|
365
364
|
def __init__(__self__, *,
|
|
366
|
-
expression: Optional[
|
|
367
|
-
name: Optional[
|
|
365
|
+
expression: Optional[_builtins.str] = None,
|
|
366
|
+
name: Optional[_builtins.str] = None):
|
|
368
367
|
"""
|
|
369
368
|
MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.
|
|
370
|
-
:param
|
|
369
|
+
:param _builtins.str expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
371
370
|
|
|
372
371
|
'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.
|
|
373
372
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -376,7 +375,7 @@ class MatchConditionPatch(dict):
|
|
|
376
375
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
377
376
|
|
|
378
377
|
Required.
|
|
379
|
-
:param
|
|
378
|
+
:param _builtins.str name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
380
379
|
|
|
381
380
|
Required.
|
|
382
381
|
"""
|
|
@@ -385,9 +384,9 @@ class MatchConditionPatch(dict):
|
|
|
385
384
|
if name is not None:
|
|
386
385
|
pulumi.set(__self__, "name", name)
|
|
387
386
|
|
|
388
|
-
@property
|
|
387
|
+
@_builtins.property
|
|
389
388
|
@pulumi.getter
|
|
390
|
-
def expression(self) -> Optional[
|
|
389
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
391
390
|
"""
|
|
392
391
|
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:
|
|
393
392
|
|
|
@@ -401,9 +400,9 @@ class MatchConditionPatch(dict):
|
|
|
401
400
|
"""
|
|
402
401
|
return pulumi.get(self, "expression")
|
|
403
402
|
|
|
404
|
-
@property
|
|
403
|
+
@_builtins.property
|
|
405
404
|
@pulumi.getter
|
|
406
|
-
def name(self) -> Optional[
|
|
405
|
+
def name(self) -> Optional[_builtins.str]:
|
|
407
406
|
"""
|
|
408
407
|
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')
|
|
409
408
|
|
|
@@ -444,14 +443,14 @@ class MatchResources(dict):
|
|
|
444
443
|
|
|
445
444
|
def __init__(__self__, *,
|
|
446
445
|
exclude_resource_rules: Optional[Sequence['outputs.NamedRuleWithOperations']] = None,
|
|
447
|
-
match_policy: Optional[
|
|
446
|
+
match_policy: Optional[_builtins.str] = None,
|
|
448
447
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
449
448
|
object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
450
449
|
resource_rules: Optional[Sequence['outputs.NamedRuleWithOperations']] = None):
|
|
451
450
|
"""
|
|
452
451
|
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)
|
|
453
452
|
:param Sequence['NamedRuleWithOperationsArgs'] exclude_resource_rules: ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
454
|
-
:param
|
|
453
|
+
:param _builtins.str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
455
454
|
|
|
456
455
|
- 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.
|
|
457
456
|
|
|
@@ -503,7 +502,7 @@ class MatchResources(dict):
|
|
|
503
502
|
if resource_rules is not None:
|
|
504
503
|
pulumi.set(__self__, "resource_rules", resource_rules)
|
|
505
504
|
|
|
506
|
-
@property
|
|
505
|
+
@_builtins.property
|
|
507
506
|
@pulumi.getter(name="excludeResourceRules")
|
|
508
507
|
def exclude_resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperations']]:
|
|
509
508
|
"""
|
|
@@ -511,9 +510,9 @@ class MatchResources(dict):
|
|
|
511
510
|
"""
|
|
512
511
|
return pulumi.get(self, "exclude_resource_rules")
|
|
513
512
|
|
|
514
|
-
@property
|
|
513
|
+
@_builtins.property
|
|
515
514
|
@pulumi.getter(name="matchPolicy")
|
|
516
|
-
def match_policy(self) -> Optional[
|
|
515
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
517
516
|
"""
|
|
518
517
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
519
518
|
|
|
@@ -525,7 +524,7 @@ class MatchResources(dict):
|
|
|
525
524
|
"""
|
|
526
525
|
return pulumi.get(self, "match_policy")
|
|
527
526
|
|
|
528
|
-
@property
|
|
527
|
+
@_builtins.property
|
|
529
528
|
@pulumi.getter(name="namespaceSelector")
|
|
530
529
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
531
530
|
"""
|
|
@@ -563,7 +562,7 @@ class MatchResources(dict):
|
|
|
563
562
|
"""
|
|
564
563
|
return pulumi.get(self, "namespace_selector")
|
|
565
564
|
|
|
566
|
-
@property
|
|
565
|
+
@_builtins.property
|
|
567
566
|
@pulumi.getter(name="objectSelector")
|
|
568
567
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
569
568
|
"""
|
|
@@ -571,7 +570,7 @@ class MatchResources(dict):
|
|
|
571
570
|
"""
|
|
572
571
|
return pulumi.get(self, "object_selector")
|
|
573
572
|
|
|
574
|
-
@property
|
|
573
|
+
@_builtins.property
|
|
575
574
|
@pulumi.getter(name="resourceRules")
|
|
576
575
|
def resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperations']]:
|
|
577
576
|
"""
|
|
@@ -612,14 +611,14 @@ class MatchResourcesPatch(dict):
|
|
|
612
611
|
|
|
613
612
|
def __init__(__self__, *,
|
|
614
613
|
exclude_resource_rules: Optional[Sequence['outputs.NamedRuleWithOperationsPatch']] = None,
|
|
615
|
-
match_policy: Optional[
|
|
614
|
+
match_policy: Optional[_builtins.str] = None,
|
|
616
615
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
617
616
|
object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
618
617
|
resource_rules: Optional[Sequence['outputs.NamedRuleWithOperationsPatch']] = None):
|
|
619
618
|
"""
|
|
620
619
|
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)
|
|
621
620
|
:param Sequence['NamedRuleWithOperationsPatchArgs'] exclude_resource_rules: ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
622
|
-
:param
|
|
621
|
+
:param _builtins.str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
623
622
|
|
|
624
623
|
- 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.
|
|
625
624
|
|
|
@@ -671,7 +670,7 @@ class MatchResourcesPatch(dict):
|
|
|
671
670
|
if resource_rules is not None:
|
|
672
671
|
pulumi.set(__self__, "resource_rules", resource_rules)
|
|
673
672
|
|
|
674
|
-
@property
|
|
673
|
+
@_builtins.property
|
|
675
674
|
@pulumi.getter(name="excludeResourceRules")
|
|
676
675
|
def exclude_resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperationsPatch']]:
|
|
677
676
|
"""
|
|
@@ -679,9 +678,9 @@ class MatchResourcesPatch(dict):
|
|
|
679
678
|
"""
|
|
680
679
|
return pulumi.get(self, "exclude_resource_rules")
|
|
681
680
|
|
|
682
|
-
@property
|
|
681
|
+
@_builtins.property
|
|
683
682
|
@pulumi.getter(name="matchPolicy")
|
|
684
|
-
def match_policy(self) -> Optional[
|
|
683
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
685
684
|
"""
|
|
686
685
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
687
686
|
|
|
@@ -693,7 +692,7 @@ class MatchResourcesPatch(dict):
|
|
|
693
692
|
"""
|
|
694
693
|
return pulumi.get(self, "match_policy")
|
|
695
694
|
|
|
696
|
-
@property
|
|
695
|
+
@_builtins.property
|
|
697
696
|
@pulumi.getter(name="namespaceSelector")
|
|
698
697
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
699
698
|
"""
|
|
@@ -731,7 +730,7 @@ class MatchResourcesPatch(dict):
|
|
|
731
730
|
"""
|
|
732
731
|
return pulumi.get(self, "namespace_selector")
|
|
733
732
|
|
|
734
|
-
@property
|
|
733
|
+
@_builtins.property
|
|
735
734
|
@pulumi.getter(name="objectSelector")
|
|
736
735
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
737
736
|
"""
|
|
@@ -739,7 +738,7 @@ class MatchResourcesPatch(dict):
|
|
|
739
738
|
"""
|
|
740
739
|
return pulumi.get(self, "object_selector")
|
|
741
740
|
|
|
742
|
-
@property
|
|
741
|
+
@_builtins.property
|
|
743
742
|
@pulumi.getter(name="resourceRules")
|
|
744
743
|
def resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperationsPatch']]:
|
|
745
744
|
"""
|
|
@@ -789,25 +788,25 @@ class MutatingWebhook(dict):
|
|
|
789
788
|
return super().get(key, default)
|
|
790
789
|
|
|
791
790
|
def __init__(__self__, *,
|
|
792
|
-
admission_review_versions: Sequence[
|
|
791
|
+
admission_review_versions: Sequence[_builtins.str],
|
|
793
792
|
client_config: 'outputs.WebhookClientConfig',
|
|
794
|
-
name:
|
|
795
|
-
side_effects:
|
|
796
|
-
failure_policy: Optional[
|
|
793
|
+
name: _builtins.str,
|
|
794
|
+
side_effects: _builtins.str,
|
|
795
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
797
796
|
match_conditions: Optional[Sequence['outputs.MatchCondition']] = None,
|
|
798
|
-
match_policy: Optional[
|
|
797
|
+
match_policy: Optional[_builtins.str] = None,
|
|
799
798
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
800
799
|
object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
801
|
-
reinvocation_policy: Optional[
|
|
800
|
+
reinvocation_policy: Optional[_builtins.str] = None,
|
|
802
801
|
rules: Optional[Sequence['outputs.RuleWithOperations']] = None,
|
|
803
|
-
timeout_seconds: Optional[
|
|
802
|
+
timeout_seconds: Optional[_builtins.int] = None):
|
|
804
803
|
"""
|
|
805
804
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
806
|
-
:param Sequence[
|
|
805
|
+
:param Sequence[_builtins.str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
|
|
807
806
|
:param 'WebhookClientConfigArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
808
|
-
:param
|
|
809
|
-
:param
|
|
810
|
-
:param
|
|
807
|
+
:param _builtins.str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
808
|
+
:param _builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
809
|
+
:param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
811
810
|
:param Sequence['MatchConditionArgs'] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
812
811
|
|
|
813
812
|
The exact matching logic is (in order):
|
|
@@ -816,7 +815,7 @@ class MutatingWebhook(dict):
|
|
|
816
815
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
817
816
|
- If failurePolicy=Fail, reject the request
|
|
818
817
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
819
|
-
:param
|
|
818
|
+
:param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
820
819
|
|
|
821
820
|
- 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.
|
|
822
821
|
|
|
@@ -855,7 +854,7 @@ class MutatingWebhook(dict):
|
|
|
855
854
|
|
|
856
855
|
Default to the empty LabelSelector, which matches everything.
|
|
857
856
|
:param '_meta.v1.LabelSelectorArgs' object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
|
|
858
|
-
:param
|
|
857
|
+
:param _builtins.str reinvocation_policy: reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
859
858
|
|
|
860
859
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
861
860
|
|
|
@@ -863,7 +862,7 @@ class MutatingWebhook(dict):
|
|
|
863
862
|
|
|
864
863
|
Defaults to "Never".
|
|
865
864
|
:param Sequence['RuleWithOperationsArgs'] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
|
|
866
|
-
:param
|
|
865
|
+
:param _builtins.int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
867
866
|
"""
|
|
868
867
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
869
868
|
pulumi.set(__self__, "client_config", client_config)
|
|
@@ -886,15 +885,15 @@ class MutatingWebhook(dict):
|
|
|
886
885
|
if timeout_seconds is not None:
|
|
887
886
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
888
887
|
|
|
889
|
-
@property
|
|
888
|
+
@_builtins.property
|
|
890
889
|
@pulumi.getter(name="admissionReviewVersions")
|
|
891
|
-
def admission_review_versions(self) -> Sequence[
|
|
890
|
+
def admission_review_versions(self) -> Sequence[_builtins.str]:
|
|
892
891
|
"""
|
|
893
892
|
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.
|
|
894
893
|
"""
|
|
895
894
|
return pulumi.get(self, "admission_review_versions")
|
|
896
895
|
|
|
897
|
-
@property
|
|
896
|
+
@_builtins.property
|
|
898
897
|
@pulumi.getter(name="clientConfig")
|
|
899
898
|
def client_config(self) -> 'outputs.WebhookClientConfig':
|
|
900
899
|
"""
|
|
@@ -902,31 +901,31 @@ class MutatingWebhook(dict):
|
|
|
902
901
|
"""
|
|
903
902
|
return pulumi.get(self, "client_config")
|
|
904
903
|
|
|
905
|
-
@property
|
|
904
|
+
@_builtins.property
|
|
906
905
|
@pulumi.getter
|
|
907
|
-
def name(self) ->
|
|
906
|
+
def name(self) -> _builtins.str:
|
|
908
907
|
"""
|
|
909
908
|
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.
|
|
910
909
|
"""
|
|
911
910
|
return pulumi.get(self, "name")
|
|
912
911
|
|
|
913
|
-
@property
|
|
912
|
+
@_builtins.property
|
|
914
913
|
@pulumi.getter(name="sideEffects")
|
|
915
|
-
def side_effects(self) ->
|
|
914
|
+
def side_effects(self) -> _builtins.str:
|
|
916
915
|
"""
|
|
917
916
|
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.
|
|
918
917
|
"""
|
|
919
918
|
return pulumi.get(self, "side_effects")
|
|
920
919
|
|
|
921
|
-
@property
|
|
920
|
+
@_builtins.property
|
|
922
921
|
@pulumi.getter(name="failurePolicy")
|
|
923
|
-
def failure_policy(self) -> Optional[
|
|
922
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
924
923
|
"""
|
|
925
924
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
926
925
|
"""
|
|
927
926
|
return pulumi.get(self, "failure_policy")
|
|
928
927
|
|
|
929
|
-
@property
|
|
928
|
+
@_builtins.property
|
|
930
929
|
@pulumi.getter(name="matchConditions")
|
|
931
930
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchCondition']]:
|
|
932
931
|
"""
|
|
@@ -941,9 +940,9 @@ class MutatingWebhook(dict):
|
|
|
941
940
|
"""
|
|
942
941
|
return pulumi.get(self, "match_conditions")
|
|
943
942
|
|
|
944
|
-
@property
|
|
943
|
+
@_builtins.property
|
|
945
944
|
@pulumi.getter(name="matchPolicy")
|
|
946
|
-
def match_policy(self) -> Optional[
|
|
945
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
947
946
|
"""
|
|
948
947
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
949
948
|
|
|
@@ -955,7 +954,7 @@ class MutatingWebhook(dict):
|
|
|
955
954
|
"""
|
|
956
955
|
return pulumi.get(self, "match_policy")
|
|
957
956
|
|
|
958
|
-
@property
|
|
957
|
+
@_builtins.property
|
|
959
958
|
@pulumi.getter(name="namespaceSelector")
|
|
960
959
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
961
960
|
"""
|
|
@@ -993,7 +992,7 @@ class MutatingWebhook(dict):
|
|
|
993
992
|
"""
|
|
994
993
|
return pulumi.get(self, "namespace_selector")
|
|
995
994
|
|
|
996
|
-
@property
|
|
995
|
+
@_builtins.property
|
|
997
996
|
@pulumi.getter(name="objectSelector")
|
|
998
997
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
999
998
|
"""
|
|
@@ -1001,9 +1000,9 @@ class MutatingWebhook(dict):
|
|
|
1001
1000
|
"""
|
|
1002
1001
|
return pulumi.get(self, "object_selector")
|
|
1003
1002
|
|
|
1004
|
-
@property
|
|
1003
|
+
@_builtins.property
|
|
1005
1004
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1006
|
-
def reinvocation_policy(self) -> Optional[
|
|
1005
|
+
def reinvocation_policy(self) -> Optional[_builtins.str]:
|
|
1007
1006
|
"""
|
|
1008
1007
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1009
1008
|
|
|
@@ -1015,7 +1014,7 @@ class MutatingWebhook(dict):
|
|
|
1015
1014
|
"""
|
|
1016
1015
|
return pulumi.get(self, "reinvocation_policy")
|
|
1017
1016
|
|
|
1018
|
-
@property
|
|
1017
|
+
@_builtins.property
|
|
1019
1018
|
@pulumi.getter
|
|
1020
1019
|
def rules(self) -> Optional[Sequence['outputs.RuleWithOperations']]:
|
|
1021
1020
|
"""
|
|
@@ -1023,9 +1022,9 @@ class MutatingWebhook(dict):
|
|
|
1023
1022
|
"""
|
|
1024
1023
|
return pulumi.get(self, "rules")
|
|
1025
1024
|
|
|
1026
|
-
@property
|
|
1025
|
+
@_builtins.property
|
|
1027
1026
|
@pulumi.getter(name="timeoutSeconds")
|
|
1028
|
-
def timeout_seconds(self) -> Optional[
|
|
1027
|
+
def timeout_seconds(self) -> Optional[_builtins.int]:
|
|
1029
1028
|
"""
|
|
1030
1029
|
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.
|
|
1031
1030
|
"""
|
|
@@ -1055,14 +1054,14 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1055
1054
|
return super().get(key, default)
|
|
1056
1055
|
|
|
1057
1056
|
def __init__(__self__, *,
|
|
1058
|
-
api_version: Optional[
|
|
1059
|
-
kind: Optional[
|
|
1057
|
+
api_version: Optional[_builtins.str] = None,
|
|
1058
|
+
kind: Optional[_builtins.str] = None,
|
|
1060
1059
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
1061
1060
|
webhooks: Optional[Sequence['outputs.MutatingWebhook']] = None):
|
|
1062
1061
|
"""
|
|
1063
1062
|
MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
|
|
1064
|
-
:param
|
|
1065
|
-
:param
|
|
1063
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1064
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1066
1065
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
1067
1066
|
:param Sequence['MutatingWebhookArgs'] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
1068
1067
|
"""
|
|
@@ -1075,23 +1074,23 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1075
1074
|
if webhooks is not None:
|
|
1076
1075
|
pulumi.set(__self__, "webhooks", webhooks)
|
|
1077
1076
|
|
|
1078
|
-
@property
|
|
1077
|
+
@_builtins.property
|
|
1079
1078
|
@pulumi.getter(name="apiVersion")
|
|
1080
|
-
def api_version(self) -> Optional[
|
|
1079
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1081
1080
|
"""
|
|
1082
1081
|
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
|
|
1083
1082
|
"""
|
|
1084
1083
|
return pulumi.get(self, "api_version")
|
|
1085
1084
|
|
|
1086
|
-
@property
|
|
1085
|
+
@_builtins.property
|
|
1087
1086
|
@pulumi.getter
|
|
1088
|
-
def kind(self) -> Optional[
|
|
1087
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1089
1088
|
"""
|
|
1090
1089
|
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
|
|
1091
1090
|
"""
|
|
1092
1091
|
return pulumi.get(self, "kind")
|
|
1093
1092
|
|
|
1094
|
-
@property
|
|
1093
|
+
@_builtins.property
|
|
1095
1094
|
@pulumi.getter
|
|
1096
1095
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
1097
1096
|
"""
|
|
@@ -1099,7 +1098,7 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1099
1098
|
"""
|
|
1100
1099
|
return pulumi.get(self, "metadata")
|
|
1101
1100
|
|
|
1102
|
-
@property
|
|
1101
|
+
@_builtins.property
|
|
1103
1102
|
@pulumi.getter
|
|
1104
1103
|
def webhooks(self) -> Optional[Sequence['outputs.MutatingWebhook']]:
|
|
1105
1104
|
"""
|
|
@@ -1149,23 +1148,23 @@ class MutatingWebhookPatch(dict):
|
|
|
1149
1148
|
return super().get(key, default)
|
|
1150
1149
|
|
|
1151
1150
|
def __init__(__self__, *,
|
|
1152
|
-
admission_review_versions: Optional[Sequence[
|
|
1151
|
+
admission_review_versions: Optional[Sequence[_builtins.str]] = None,
|
|
1153
1152
|
client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
|
|
1154
|
-
failure_policy: Optional[
|
|
1153
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
1155
1154
|
match_conditions: Optional[Sequence['outputs.MatchConditionPatch']] = None,
|
|
1156
|
-
match_policy: Optional[
|
|
1157
|
-
name: Optional[
|
|
1155
|
+
match_policy: Optional[_builtins.str] = None,
|
|
1156
|
+
name: Optional[_builtins.str] = None,
|
|
1158
1157
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1159
1158
|
object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1160
|
-
reinvocation_policy: Optional[
|
|
1159
|
+
reinvocation_policy: Optional[_builtins.str] = None,
|
|
1161
1160
|
rules: Optional[Sequence['outputs.RuleWithOperationsPatch']] = None,
|
|
1162
|
-
side_effects: Optional[
|
|
1163
|
-
timeout_seconds: Optional[
|
|
1161
|
+
side_effects: Optional[_builtins.str] = None,
|
|
1162
|
+
timeout_seconds: Optional[_builtins.int] = None):
|
|
1164
1163
|
"""
|
|
1165
1164
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1166
|
-
:param Sequence[
|
|
1165
|
+
:param Sequence[_builtins.str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
|
|
1167
1166
|
:param 'WebhookClientConfigPatchArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
1168
|
-
:param
|
|
1167
|
+
:param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
1169
1168
|
:param Sequence['MatchConditionPatchArgs'] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
1170
1169
|
|
|
1171
1170
|
The exact matching logic is (in order):
|
|
@@ -1174,14 +1173,14 @@ class MutatingWebhookPatch(dict):
|
|
|
1174
1173
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
1175
1174
|
- If failurePolicy=Fail, reject the request
|
|
1176
1175
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
1177
|
-
:param
|
|
1176
|
+
:param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1178
1177
|
|
|
1179
1178
|
- 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.
|
|
1180
1179
|
|
|
1181
1180
|
- 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.
|
|
1182
1181
|
|
|
1183
1182
|
Defaults to "Equivalent"
|
|
1184
|
-
:param
|
|
1183
|
+
:param _builtins.str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
1185
1184
|
:param '_meta.v1.LabelSelectorPatchArgs' namespace_selector: NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
|
|
1186
1185
|
|
|
1187
1186
|
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": {
|
|
@@ -1214,7 +1213,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1214
1213
|
|
|
1215
1214
|
Default to the empty LabelSelector, which matches everything.
|
|
1216
1215
|
:param '_meta.v1.LabelSelectorPatchArgs' object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
|
|
1217
|
-
:param
|
|
1216
|
+
:param _builtins.str reinvocation_policy: reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1218
1217
|
|
|
1219
1218
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
1220
1219
|
|
|
@@ -1222,8 +1221,8 @@ class MutatingWebhookPatch(dict):
|
|
|
1222
1221
|
|
|
1223
1222
|
Defaults to "Never".
|
|
1224
1223
|
:param Sequence['RuleWithOperationsPatchArgs'] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
|
|
1225
|
-
:param
|
|
1226
|
-
:param
|
|
1224
|
+
:param _builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
1225
|
+
:param _builtins.int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
1227
1226
|
"""
|
|
1228
1227
|
if admission_review_versions is not None:
|
|
1229
1228
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -1250,15 +1249,15 @@ class MutatingWebhookPatch(dict):
|
|
|
1250
1249
|
if timeout_seconds is not None:
|
|
1251
1250
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
1252
1251
|
|
|
1253
|
-
@property
|
|
1252
|
+
@_builtins.property
|
|
1254
1253
|
@pulumi.getter(name="admissionReviewVersions")
|
|
1255
|
-
def admission_review_versions(self) -> Optional[Sequence[
|
|
1254
|
+
def admission_review_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
1256
1255
|
"""
|
|
1257
1256
|
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.
|
|
1258
1257
|
"""
|
|
1259
1258
|
return pulumi.get(self, "admission_review_versions")
|
|
1260
1259
|
|
|
1261
|
-
@property
|
|
1260
|
+
@_builtins.property
|
|
1262
1261
|
@pulumi.getter(name="clientConfig")
|
|
1263
1262
|
def client_config(self) -> Optional['outputs.WebhookClientConfigPatch']:
|
|
1264
1263
|
"""
|
|
@@ -1266,15 +1265,15 @@ class MutatingWebhookPatch(dict):
|
|
|
1266
1265
|
"""
|
|
1267
1266
|
return pulumi.get(self, "client_config")
|
|
1268
1267
|
|
|
1269
|
-
@property
|
|
1268
|
+
@_builtins.property
|
|
1270
1269
|
@pulumi.getter(name="failurePolicy")
|
|
1271
|
-
def failure_policy(self) -> Optional[
|
|
1270
|
+
def failure_policy(self) -> Optional[_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
|
-
@property
|
|
1276
|
+
@_builtins.property
|
|
1278
1277
|
@pulumi.getter(name="matchConditions")
|
|
1279
1278
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchConditionPatch']]:
|
|
1280
1279
|
"""
|
|
@@ -1289,9 +1288,9 @@ class MutatingWebhookPatch(dict):
|
|
|
1289
1288
|
"""
|
|
1290
1289
|
return pulumi.get(self, "match_conditions")
|
|
1291
1290
|
|
|
1292
|
-
@property
|
|
1291
|
+
@_builtins.property
|
|
1293
1292
|
@pulumi.getter(name="matchPolicy")
|
|
1294
|
-
def match_policy(self) -> Optional[
|
|
1293
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
1295
1294
|
"""
|
|
1296
1295
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1297
1296
|
|
|
@@ -1303,15 +1302,15 @@ class MutatingWebhookPatch(dict):
|
|
|
1303
1302
|
"""
|
|
1304
1303
|
return pulumi.get(self, "match_policy")
|
|
1305
1304
|
|
|
1306
|
-
@property
|
|
1305
|
+
@_builtins.property
|
|
1307
1306
|
@pulumi.getter
|
|
1308
|
-
def name(self) -> Optional[
|
|
1307
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1309
1308
|
"""
|
|
1310
1309
|
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.
|
|
1311
1310
|
"""
|
|
1312
1311
|
return pulumi.get(self, "name")
|
|
1313
1312
|
|
|
1314
|
-
@property
|
|
1313
|
+
@_builtins.property
|
|
1315
1314
|
@pulumi.getter(name="namespaceSelector")
|
|
1316
1315
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1317
1316
|
"""
|
|
@@ -1349,7 +1348,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1349
1348
|
"""
|
|
1350
1349
|
return pulumi.get(self, "namespace_selector")
|
|
1351
1350
|
|
|
1352
|
-
@property
|
|
1351
|
+
@_builtins.property
|
|
1353
1352
|
@pulumi.getter(name="objectSelector")
|
|
1354
1353
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1355
1354
|
"""
|
|
@@ -1357,9 +1356,9 @@ class MutatingWebhookPatch(dict):
|
|
|
1357
1356
|
"""
|
|
1358
1357
|
return pulumi.get(self, "object_selector")
|
|
1359
1358
|
|
|
1360
|
-
@property
|
|
1359
|
+
@_builtins.property
|
|
1361
1360
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1362
|
-
def reinvocation_policy(self) -> Optional[
|
|
1361
|
+
def reinvocation_policy(self) -> Optional[_builtins.str]:
|
|
1363
1362
|
"""
|
|
1364
1363
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1365
1364
|
|
|
@@ -1371,7 +1370,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1371
1370
|
"""
|
|
1372
1371
|
return pulumi.get(self, "reinvocation_policy")
|
|
1373
1372
|
|
|
1374
|
-
@property
|
|
1373
|
+
@_builtins.property
|
|
1375
1374
|
@pulumi.getter
|
|
1376
1375
|
def rules(self) -> Optional[Sequence['outputs.RuleWithOperationsPatch']]:
|
|
1377
1376
|
"""
|
|
@@ -1379,17 +1378,17 @@ class MutatingWebhookPatch(dict):
|
|
|
1379
1378
|
"""
|
|
1380
1379
|
return pulumi.get(self, "rules")
|
|
1381
1380
|
|
|
1382
|
-
@property
|
|
1381
|
+
@_builtins.property
|
|
1383
1382
|
@pulumi.getter(name="sideEffects")
|
|
1384
|
-
def side_effects(self) -> Optional[
|
|
1383
|
+
def side_effects(self) -> Optional[_builtins.str]:
|
|
1385
1384
|
"""
|
|
1386
1385
|
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.
|
|
1387
1386
|
"""
|
|
1388
1387
|
return pulumi.get(self, "side_effects")
|
|
1389
1388
|
|
|
1390
|
-
@property
|
|
1389
|
+
@_builtins.property
|
|
1391
1390
|
@pulumi.getter(name="timeoutSeconds")
|
|
1392
|
-
def timeout_seconds(self) -> Optional[
|
|
1391
|
+
def timeout_seconds(self) -> Optional[_builtins.int]:
|
|
1393
1392
|
"""
|
|
1394
1393
|
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.
|
|
1395
1394
|
"""
|
|
@@ -1423,26 +1422,26 @@ class NamedRuleWithOperations(dict):
|
|
|
1423
1422
|
return super().get(key, default)
|
|
1424
1423
|
|
|
1425
1424
|
def __init__(__self__, *,
|
|
1426
|
-
api_groups: Optional[Sequence[
|
|
1427
|
-
api_versions: Optional[Sequence[
|
|
1428
|
-
operations: Optional[Sequence[
|
|
1429
|
-
resource_names: Optional[Sequence[
|
|
1430
|
-
resources: Optional[Sequence[
|
|
1431
|
-
scope: Optional[
|
|
1425
|
+
api_groups: Optional[Sequence[_builtins.str]] = None,
|
|
1426
|
+
api_versions: Optional[Sequence[_builtins.str]] = None,
|
|
1427
|
+
operations: Optional[Sequence[_builtins.str]] = None,
|
|
1428
|
+
resource_names: Optional[Sequence[_builtins.str]] = None,
|
|
1429
|
+
resources: Optional[Sequence[_builtins.str]] = None,
|
|
1430
|
+
scope: Optional[_builtins.str] = None):
|
|
1432
1431
|
"""
|
|
1433
1432
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1434
|
-
:param Sequence[
|
|
1435
|
-
:param Sequence[
|
|
1436
|
-
:param Sequence[
|
|
1437
|
-
:param Sequence[
|
|
1438
|
-
:param Sequence[
|
|
1433
|
+
:param Sequence[_builtins.str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1434
|
+
:param Sequence[_builtins.str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1435
|
+
:param Sequence[_builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
1436
|
+
:param Sequence[_builtins.str] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1437
|
+
:param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1439
1438
|
|
|
1440
1439
|
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.
|
|
1441
1440
|
|
|
1442
1441
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1443
1442
|
|
|
1444
1443
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1445
|
-
:param
|
|
1444
|
+
:param _builtins.str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
1446
1445
|
"""
|
|
1447
1446
|
if api_groups is not None:
|
|
1448
1447
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1457,41 +1456,41 @@ class NamedRuleWithOperations(dict):
|
|
|
1457
1456
|
if scope is not None:
|
|
1458
1457
|
pulumi.set(__self__, "scope", scope)
|
|
1459
1458
|
|
|
1460
|
-
@property
|
|
1459
|
+
@_builtins.property
|
|
1461
1460
|
@pulumi.getter(name="apiGroups")
|
|
1462
|
-
def api_groups(self) -> Optional[Sequence[
|
|
1461
|
+
def api_groups(self) -> Optional[Sequence[_builtins.str]]:
|
|
1463
1462
|
"""
|
|
1464
1463
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1465
1464
|
"""
|
|
1466
1465
|
return pulumi.get(self, "api_groups")
|
|
1467
1466
|
|
|
1468
|
-
@property
|
|
1467
|
+
@_builtins.property
|
|
1469
1468
|
@pulumi.getter(name="apiVersions")
|
|
1470
|
-
def api_versions(self) -> Optional[Sequence[
|
|
1469
|
+
def api_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
1471
1470
|
"""
|
|
1472
1471
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1473
1472
|
"""
|
|
1474
1473
|
return pulumi.get(self, "api_versions")
|
|
1475
1474
|
|
|
1476
|
-
@property
|
|
1475
|
+
@_builtins.property
|
|
1477
1476
|
@pulumi.getter
|
|
1478
|
-
def operations(self) -> Optional[Sequence[
|
|
1477
|
+
def operations(self) -> Optional[Sequence[_builtins.str]]:
|
|
1479
1478
|
"""
|
|
1480
1479
|
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.
|
|
1481
1480
|
"""
|
|
1482
1481
|
return pulumi.get(self, "operations")
|
|
1483
1482
|
|
|
1484
|
-
@property
|
|
1483
|
+
@_builtins.property
|
|
1485
1484
|
@pulumi.getter(name="resourceNames")
|
|
1486
|
-
def resource_names(self) -> Optional[Sequence[
|
|
1485
|
+
def resource_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
1487
1486
|
"""
|
|
1488
1487
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1489
1488
|
"""
|
|
1490
1489
|
return pulumi.get(self, "resource_names")
|
|
1491
1490
|
|
|
1492
|
-
@property
|
|
1491
|
+
@_builtins.property
|
|
1493
1492
|
@pulumi.getter
|
|
1494
|
-
def resources(self) -> Optional[Sequence[
|
|
1493
|
+
def resources(self) -> Optional[Sequence[_builtins.str]]:
|
|
1495
1494
|
"""
|
|
1496
1495
|
Resources is a list of resources this rule applies to.
|
|
1497
1496
|
|
|
@@ -1503,9 +1502,9 @@ class NamedRuleWithOperations(dict):
|
|
|
1503
1502
|
"""
|
|
1504
1503
|
return pulumi.get(self, "resources")
|
|
1505
1504
|
|
|
1506
|
-
@property
|
|
1505
|
+
@_builtins.property
|
|
1507
1506
|
@pulumi.getter
|
|
1508
|
-
def scope(self) -> Optional[
|
|
1507
|
+
def scope(self) -> Optional[_builtins.str]:
|
|
1509
1508
|
"""
|
|
1510
1509
|
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 "*".
|
|
1511
1510
|
"""
|
|
@@ -1539,26 +1538,26 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1539
1538
|
return super().get(key, default)
|
|
1540
1539
|
|
|
1541
1540
|
def __init__(__self__, *,
|
|
1542
|
-
api_groups: Optional[Sequence[
|
|
1543
|
-
api_versions: Optional[Sequence[
|
|
1544
|
-
operations: Optional[Sequence[
|
|
1545
|
-
resource_names: Optional[Sequence[
|
|
1546
|
-
resources: Optional[Sequence[
|
|
1547
|
-
scope: Optional[
|
|
1541
|
+
api_groups: Optional[Sequence[_builtins.str]] = None,
|
|
1542
|
+
api_versions: Optional[Sequence[_builtins.str]] = None,
|
|
1543
|
+
operations: Optional[Sequence[_builtins.str]] = None,
|
|
1544
|
+
resource_names: Optional[Sequence[_builtins.str]] = None,
|
|
1545
|
+
resources: Optional[Sequence[_builtins.str]] = None,
|
|
1546
|
+
scope: Optional[_builtins.str] = None):
|
|
1548
1547
|
"""
|
|
1549
1548
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1550
|
-
:param Sequence[
|
|
1551
|
-
:param Sequence[
|
|
1552
|
-
:param Sequence[
|
|
1553
|
-
:param Sequence[
|
|
1554
|
-
:param Sequence[
|
|
1549
|
+
:param Sequence[_builtins.str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1550
|
+
:param Sequence[_builtins.str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1551
|
+
:param Sequence[_builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
1552
|
+
:param Sequence[_builtins.str] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1553
|
+
:param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1555
1554
|
|
|
1556
1555
|
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.
|
|
1557
1556
|
|
|
1558
1557
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1559
1558
|
|
|
1560
1559
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1561
|
-
:param
|
|
1560
|
+
:param _builtins.str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
1562
1561
|
"""
|
|
1563
1562
|
if api_groups is not None:
|
|
1564
1563
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1573,41 +1572,41 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1573
1572
|
if scope is not None:
|
|
1574
1573
|
pulumi.set(__self__, "scope", scope)
|
|
1575
1574
|
|
|
1576
|
-
@property
|
|
1575
|
+
@_builtins.property
|
|
1577
1576
|
@pulumi.getter(name="apiGroups")
|
|
1578
|
-
def api_groups(self) -> Optional[Sequence[
|
|
1577
|
+
def api_groups(self) -> Optional[Sequence[_builtins.str]]:
|
|
1579
1578
|
"""
|
|
1580
1579
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1581
1580
|
"""
|
|
1582
1581
|
return pulumi.get(self, "api_groups")
|
|
1583
1582
|
|
|
1584
|
-
@property
|
|
1583
|
+
@_builtins.property
|
|
1585
1584
|
@pulumi.getter(name="apiVersions")
|
|
1586
|
-
def api_versions(self) -> Optional[Sequence[
|
|
1585
|
+
def api_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
1587
1586
|
"""
|
|
1588
1587
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1589
1588
|
"""
|
|
1590
1589
|
return pulumi.get(self, "api_versions")
|
|
1591
1590
|
|
|
1592
|
-
@property
|
|
1591
|
+
@_builtins.property
|
|
1593
1592
|
@pulumi.getter
|
|
1594
|
-
def operations(self) -> Optional[Sequence[
|
|
1593
|
+
def operations(self) -> Optional[Sequence[_builtins.str]]:
|
|
1595
1594
|
"""
|
|
1596
1595
|
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.
|
|
1597
1596
|
"""
|
|
1598
1597
|
return pulumi.get(self, "operations")
|
|
1599
1598
|
|
|
1600
|
-
@property
|
|
1599
|
+
@_builtins.property
|
|
1601
1600
|
@pulumi.getter(name="resourceNames")
|
|
1602
|
-
def resource_names(self) -> Optional[Sequence[
|
|
1601
|
+
def resource_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
1603
1602
|
"""
|
|
1604
1603
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1605
1604
|
"""
|
|
1606
1605
|
return pulumi.get(self, "resource_names")
|
|
1607
1606
|
|
|
1608
|
-
@property
|
|
1607
|
+
@_builtins.property
|
|
1609
1608
|
@pulumi.getter
|
|
1610
|
-
def resources(self) -> Optional[Sequence[
|
|
1609
|
+
def resources(self) -> Optional[Sequence[_builtins.str]]:
|
|
1611
1610
|
"""
|
|
1612
1611
|
Resources is a list of resources this rule applies to.
|
|
1613
1612
|
|
|
@@ -1619,9 +1618,9 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1619
1618
|
"""
|
|
1620
1619
|
return pulumi.get(self, "resources")
|
|
1621
1620
|
|
|
1622
|
-
@property
|
|
1621
|
+
@_builtins.property
|
|
1623
1622
|
@pulumi.getter
|
|
1624
|
-
def scope(self) -> Optional[
|
|
1623
|
+
def scope(self) -> Optional[_builtins.str]:
|
|
1625
1624
|
"""
|
|
1626
1625
|
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 "*".
|
|
1627
1626
|
"""
|
|
@@ -1651,29 +1650,29 @@ class ParamKind(dict):
|
|
|
1651
1650
|
return super().get(key, default)
|
|
1652
1651
|
|
|
1653
1652
|
def __init__(__self__, *,
|
|
1654
|
-
api_version: Optional[
|
|
1655
|
-
kind: Optional[
|
|
1653
|
+
api_version: Optional[_builtins.str] = None,
|
|
1654
|
+
kind: Optional[_builtins.str] = None):
|
|
1656
1655
|
"""
|
|
1657
1656
|
ParamKind is a tuple of Group Kind and Version.
|
|
1658
|
-
:param
|
|
1659
|
-
:param
|
|
1657
|
+
:param _builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1658
|
+
:param _builtins.str kind: Kind is the API kind the resources belong to. Required.
|
|
1660
1659
|
"""
|
|
1661
1660
|
if api_version is not None:
|
|
1662
1661
|
pulumi.set(__self__, "api_version", api_version)
|
|
1663
1662
|
if kind is not None:
|
|
1664
1663
|
pulumi.set(__self__, "kind", kind)
|
|
1665
1664
|
|
|
1666
|
-
@property
|
|
1665
|
+
@_builtins.property
|
|
1667
1666
|
@pulumi.getter(name="apiVersion")
|
|
1668
|
-
def api_version(self) -> Optional[
|
|
1667
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1669
1668
|
"""
|
|
1670
1669
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1671
1670
|
"""
|
|
1672
1671
|
return pulumi.get(self, "api_version")
|
|
1673
1672
|
|
|
1674
|
-
@property
|
|
1673
|
+
@_builtins.property
|
|
1675
1674
|
@pulumi.getter
|
|
1676
|
-
def kind(self) -> Optional[
|
|
1675
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1677
1676
|
"""
|
|
1678
1677
|
Kind is the API kind the resources belong to. Required.
|
|
1679
1678
|
"""
|
|
@@ -1703,29 +1702,29 @@ class ParamKindPatch(dict):
|
|
|
1703
1702
|
return super().get(key, default)
|
|
1704
1703
|
|
|
1705
1704
|
def __init__(__self__, *,
|
|
1706
|
-
api_version: Optional[
|
|
1707
|
-
kind: Optional[
|
|
1705
|
+
api_version: Optional[_builtins.str] = None,
|
|
1706
|
+
kind: Optional[_builtins.str] = None):
|
|
1708
1707
|
"""
|
|
1709
1708
|
ParamKind is a tuple of Group Kind and Version.
|
|
1710
|
-
:param
|
|
1711
|
-
:param
|
|
1709
|
+
:param _builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1710
|
+
:param _builtins.str kind: Kind is the API kind the resources belong to. Required.
|
|
1712
1711
|
"""
|
|
1713
1712
|
if api_version is not None:
|
|
1714
1713
|
pulumi.set(__self__, "api_version", api_version)
|
|
1715
1714
|
if kind is not None:
|
|
1716
1715
|
pulumi.set(__self__, "kind", kind)
|
|
1717
1716
|
|
|
1718
|
-
@property
|
|
1717
|
+
@_builtins.property
|
|
1719
1718
|
@pulumi.getter(name="apiVersion")
|
|
1720
|
-
def api_version(self) -> Optional[
|
|
1719
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1721
1720
|
"""
|
|
1722
1721
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1723
1722
|
"""
|
|
1724
1723
|
return pulumi.get(self, "api_version")
|
|
1725
1724
|
|
|
1726
|
-
@property
|
|
1725
|
+
@_builtins.property
|
|
1727
1726
|
@pulumi.getter
|
|
1728
|
-
def kind(self) -> Optional[
|
|
1727
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1729
1728
|
"""
|
|
1730
1729
|
Kind is the API kind the resources belong to. Required.
|
|
1731
1730
|
"""
|
|
@@ -1755,25 +1754,25 @@ class ParamRef(dict):
|
|
|
1755
1754
|
return super().get(key, default)
|
|
1756
1755
|
|
|
1757
1756
|
def __init__(__self__, *,
|
|
1758
|
-
name: Optional[
|
|
1759
|
-
namespace: Optional[
|
|
1760
|
-
parameter_not_found_action: Optional[
|
|
1757
|
+
name: Optional[_builtins.str] = None,
|
|
1758
|
+
namespace: Optional[_builtins.str] = None,
|
|
1759
|
+
parameter_not_found_action: Optional[_builtins.str] = None,
|
|
1761
1760
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
1762
1761
|
"""
|
|
1763
1762
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
1764
|
-
:param
|
|
1763
|
+
:param _builtins.str name: name is the name of the resource being referenced.
|
|
1765
1764
|
|
|
1766
1765
|
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.
|
|
1767
1766
|
|
|
1768
1767
|
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.
|
|
1769
|
-
:param
|
|
1768
|
+
:param _builtins.str namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
1770
1769
|
|
|
1771
1770
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
1772
1771
|
|
|
1773
1772
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
1774
1773
|
|
|
1775
1774
|
- 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.
|
|
1776
|
-
:param
|
|
1775
|
+
:param _builtins.str parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
1777
1776
|
|
|
1778
1777
|
Allowed values are `Allow` or `Deny`
|
|
1779
1778
|
|
|
@@ -1793,9 +1792,9 @@ class ParamRef(dict):
|
|
|
1793
1792
|
if selector is not None:
|
|
1794
1793
|
pulumi.set(__self__, "selector", selector)
|
|
1795
1794
|
|
|
1796
|
-
@property
|
|
1795
|
+
@_builtins.property
|
|
1797
1796
|
@pulumi.getter
|
|
1798
|
-
def name(self) -> Optional[
|
|
1797
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1799
1798
|
"""
|
|
1800
1799
|
name is the name of the resource being referenced.
|
|
1801
1800
|
|
|
@@ -1805,9 +1804,9 @@ class ParamRef(dict):
|
|
|
1805
1804
|
"""
|
|
1806
1805
|
return pulumi.get(self, "name")
|
|
1807
1806
|
|
|
1808
|
-
@property
|
|
1807
|
+
@_builtins.property
|
|
1809
1808
|
@pulumi.getter
|
|
1810
|
-
def namespace(self) -> Optional[
|
|
1809
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
1811
1810
|
"""
|
|
1812
1811
|
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.
|
|
1813
1812
|
|
|
@@ -1819,9 +1818,9 @@ class ParamRef(dict):
|
|
|
1819
1818
|
"""
|
|
1820
1819
|
return pulumi.get(self, "namespace")
|
|
1821
1820
|
|
|
1822
|
-
@property
|
|
1821
|
+
@_builtins.property
|
|
1823
1822
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
1824
|
-
def parameter_not_found_action(self) -> Optional[
|
|
1823
|
+
def parameter_not_found_action(self) -> Optional[_builtins.str]:
|
|
1825
1824
|
"""
|
|
1826
1825
|
`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.
|
|
1827
1826
|
|
|
@@ -1831,7 +1830,7 @@ class ParamRef(dict):
|
|
|
1831
1830
|
"""
|
|
1832
1831
|
return pulumi.get(self, "parameter_not_found_action")
|
|
1833
1832
|
|
|
1834
|
-
@property
|
|
1833
|
+
@_builtins.property
|
|
1835
1834
|
@pulumi.getter
|
|
1836
1835
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
1837
1836
|
"""
|
|
@@ -1867,25 +1866,25 @@ class ParamRefPatch(dict):
|
|
|
1867
1866
|
return super().get(key, default)
|
|
1868
1867
|
|
|
1869
1868
|
def __init__(__self__, *,
|
|
1870
|
-
name: Optional[
|
|
1871
|
-
namespace: Optional[
|
|
1872
|
-
parameter_not_found_action: Optional[
|
|
1869
|
+
name: Optional[_builtins.str] = None,
|
|
1870
|
+
namespace: Optional[_builtins.str] = None,
|
|
1871
|
+
parameter_not_found_action: Optional[_builtins.str] = None,
|
|
1873
1872
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None):
|
|
1874
1873
|
"""
|
|
1875
1874
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
1876
|
-
:param
|
|
1875
|
+
:param _builtins.str name: name is the name of the resource being referenced.
|
|
1877
1876
|
|
|
1878
1877
|
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.
|
|
1879
1878
|
|
|
1880
1879
|
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.
|
|
1881
|
-
:param
|
|
1880
|
+
:param _builtins.str namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
1882
1881
|
|
|
1883
1882
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
1884
1883
|
|
|
1885
1884
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
1886
1885
|
|
|
1887
1886
|
- 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.
|
|
1888
|
-
:param
|
|
1887
|
+
:param _builtins.str parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
1889
1888
|
|
|
1890
1889
|
Allowed values are `Allow` or `Deny`
|
|
1891
1890
|
|
|
@@ -1905,9 +1904,9 @@ class ParamRefPatch(dict):
|
|
|
1905
1904
|
if selector is not None:
|
|
1906
1905
|
pulumi.set(__self__, "selector", selector)
|
|
1907
1906
|
|
|
1908
|
-
@property
|
|
1907
|
+
@_builtins.property
|
|
1909
1908
|
@pulumi.getter
|
|
1910
|
-
def name(self) -> Optional[
|
|
1909
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1911
1910
|
"""
|
|
1912
1911
|
name is the name of the resource being referenced.
|
|
1913
1912
|
|
|
@@ -1917,9 +1916,9 @@ class ParamRefPatch(dict):
|
|
|
1917
1916
|
"""
|
|
1918
1917
|
return pulumi.get(self, "name")
|
|
1919
1918
|
|
|
1920
|
-
@property
|
|
1919
|
+
@_builtins.property
|
|
1921
1920
|
@pulumi.getter
|
|
1922
|
-
def namespace(self) -> Optional[
|
|
1921
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
1923
1922
|
"""
|
|
1924
1923
|
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.
|
|
1925
1924
|
|
|
@@ -1931,9 +1930,9 @@ class ParamRefPatch(dict):
|
|
|
1931
1930
|
"""
|
|
1932
1931
|
return pulumi.get(self, "namespace")
|
|
1933
1932
|
|
|
1934
|
-
@property
|
|
1933
|
+
@_builtins.property
|
|
1935
1934
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
1936
|
-
def parameter_not_found_action(self) -> Optional[
|
|
1935
|
+
def parameter_not_found_action(self) -> Optional[_builtins.str]:
|
|
1937
1936
|
"""
|
|
1938
1937
|
`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.
|
|
1939
1938
|
|
|
@@ -1943,7 +1942,7 @@ class ParamRefPatch(dict):
|
|
|
1943
1942
|
"""
|
|
1944
1943
|
return pulumi.get(self, "parameter_not_found_action")
|
|
1945
1944
|
|
|
1946
|
-
@property
|
|
1945
|
+
@_builtins.property
|
|
1947
1946
|
@pulumi.getter
|
|
1948
1947
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1949
1948
|
"""
|
|
@@ -1981,24 +1980,24 @@ class RuleWithOperations(dict):
|
|
|
1981
1980
|
return super().get(key, default)
|
|
1982
1981
|
|
|
1983
1982
|
def __init__(__self__, *,
|
|
1984
|
-
api_groups: Optional[Sequence[
|
|
1985
|
-
api_versions: Optional[Sequence[
|
|
1986
|
-
operations: Optional[Sequence[
|
|
1987
|
-
resources: Optional[Sequence[
|
|
1988
|
-
scope: Optional[
|
|
1983
|
+
api_groups: Optional[Sequence[_builtins.str]] = None,
|
|
1984
|
+
api_versions: Optional[Sequence[_builtins.str]] = None,
|
|
1985
|
+
operations: Optional[Sequence[_builtins.str]] = None,
|
|
1986
|
+
resources: Optional[Sequence[_builtins.str]] = None,
|
|
1987
|
+
scope: Optional[_builtins.str] = None):
|
|
1989
1988
|
"""
|
|
1990
1989
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
1991
|
-
:param Sequence[
|
|
1992
|
-
:param Sequence[
|
|
1993
|
-
:param Sequence[
|
|
1994
|
-
:param Sequence[
|
|
1990
|
+
:param Sequence[_builtins.str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1991
|
+
:param Sequence[_builtins.str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1992
|
+
:param Sequence[_builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
1993
|
+
:param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1995
1994
|
|
|
1996
1995
|
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.
|
|
1997
1996
|
|
|
1998
1997
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1999
1998
|
|
|
2000
1999
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2001
|
-
:param
|
|
2000
|
+
:param _builtins.str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2002
2001
|
"""
|
|
2003
2002
|
if api_groups is not None:
|
|
2004
2003
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2011,33 +2010,33 @@ class RuleWithOperations(dict):
|
|
|
2011
2010
|
if scope is not None:
|
|
2012
2011
|
pulumi.set(__self__, "scope", scope)
|
|
2013
2012
|
|
|
2014
|
-
@property
|
|
2013
|
+
@_builtins.property
|
|
2015
2014
|
@pulumi.getter(name="apiGroups")
|
|
2016
|
-
def api_groups(self) -> Optional[Sequence[
|
|
2015
|
+
def api_groups(self) -> Optional[Sequence[_builtins.str]]:
|
|
2017
2016
|
"""
|
|
2018
2017
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2019
2018
|
"""
|
|
2020
2019
|
return pulumi.get(self, "api_groups")
|
|
2021
2020
|
|
|
2022
|
-
@property
|
|
2021
|
+
@_builtins.property
|
|
2023
2022
|
@pulumi.getter(name="apiVersions")
|
|
2024
|
-
def api_versions(self) -> Optional[Sequence[
|
|
2023
|
+
def api_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
2025
2024
|
"""
|
|
2026
2025
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2027
2026
|
"""
|
|
2028
2027
|
return pulumi.get(self, "api_versions")
|
|
2029
2028
|
|
|
2030
|
-
@property
|
|
2029
|
+
@_builtins.property
|
|
2031
2030
|
@pulumi.getter
|
|
2032
|
-
def operations(self) -> Optional[Sequence[
|
|
2031
|
+
def operations(self) -> Optional[Sequence[_builtins.str]]:
|
|
2033
2032
|
"""
|
|
2034
2033
|
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.
|
|
2035
2034
|
"""
|
|
2036
2035
|
return pulumi.get(self, "operations")
|
|
2037
2036
|
|
|
2038
|
-
@property
|
|
2037
|
+
@_builtins.property
|
|
2039
2038
|
@pulumi.getter
|
|
2040
|
-
def resources(self) -> Optional[Sequence[
|
|
2039
|
+
def resources(self) -> Optional[Sequence[_builtins.str]]:
|
|
2041
2040
|
"""
|
|
2042
2041
|
Resources is a list of resources this rule applies to.
|
|
2043
2042
|
|
|
@@ -2049,9 +2048,9 @@ class RuleWithOperations(dict):
|
|
|
2049
2048
|
"""
|
|
2050
2049
|
return pulumi.get(self, "resources")
|
|
2051
2050
|
|
|
2052
|
-
@property
|
|
2051
|
+
@_builtins.property
|
|
2053
2052
|
@pulumi.getter
|
|
2054
|
-
def scope(self) -> Optional[
|
|
2053
|
+
def scope(self) -> Optional[_builtins.str]:
|
|
2055
2054
|
"""
|
|
2056
2055
|
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2057
2056
|
"""
|
|
@@ -2083,24 +2082,24 @@ class RuleWithOperationsPatch(dict):
|
|
|
2083
2082
|
return super().get(key, default)
|
|
2084
2083
|
|
|
2085
2084
|
def __init__(__self__, *,
|
|
2086
|
-
api_groups: Optional[Sequence[
|
|
2087
|
-
api_versions: Optional[Sequence[
|
|
2088
|
-
operations: Optional[Sequence[
|
|
2089
|
-
resources: Optional[Sequence[
|
|
2090
|
-
scope: Optional[
|
|
2085
|
+
api_groups: Optional[Sequence[_builtins.str]] = None,
|
|
2086
|
+
api_versions: Optional[Sequence[_builtins.str]] = None,
|
|
2087
|
+
operations: Optional[Sequence[_builtins.str]] = None,
|
|
2088
|
+
resources: Optional[Sequence[_builtins.str]] = None,
|
|
2089
|
+
scope: Optional[_builtins.str] = None):
|
|
2091
2090
|
"""
|
|
2092
2091
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2093
|
-
:param Sequence[
|
|
2094
|
-
:param Sequence[
|
|
2095
|
-
:param Sequence[
|
|
2096
|
-
:param Sequence[
|
|
2092
|
+
:param Sequence[_builtins.str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2093
|
+
:param Sequence[_builtins.str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2094
|
+
:param Sequence[_builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
2095
|
+
:param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
2097
2096
|
|
|
2098
2097
|
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.
|
|
2099
2098
|
|
|
2100
2099
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2101
2100
|
|
|
2102
2101
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2103
|
-
:param
|
|
2102
|
+
:param _builtins.str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2104
2103
|
"""
|
|
2105
2104
|
if api_groups is not None:
|
|
2106
2105
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2113,33 +2112,33 @@ class RuleWithOperationsPatch(dict):
|
|
|
2113
2112
|
if scope is not None:
|
|
2114
2113
|
pulumi.set(__self__, "scope", scope)
|
|
2115
2114
|
|
|
2116
|
-
@property
|
|
2115
|
+
@_builtins.property
|
|
2117
2116
|
@pulumi.getter(name="apiGroups")
|
|
2118
|
-
def api_groups(self) -> Optional[Sequence[
|
|
2117
|
+
def api_groups(self) -> Optional[Sequence[_builtins.str]]:
|
|
2119
2118
|
"""
|
|
2120
2119
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2121
2120
|
"""
|
|
2122
2121
|
return pulumi.get(self, "api_groups")
|
|
2123
2122
|
|
|
2124
|
-
@property
|
|
2123
|
+
@_builtins.property
|
|
2125
2124
|
@pulumi.getter(name="apiVersions")
|
|
2126
|
-
def api_versions(self) -> Optional[Sequence[
|
|
2125
|
+
def api_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
2127
2126
|
"""
|
|
2128
2127
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2129
2128
|
"""
|
|
2130
2129
|
return pulumi.get(self, "api_versions")
|
|
2131
2130
|
|
|
2132
|
-
@property
|
|
2131
|
+
@_builtins.property
|
|
2133
2132
|
@pulumi.getter
|
|
2134
|
-
def operations(self) -> Optional[Sequence[
|
|
2133
|
+
def operations(self) -> Optional[Sequence[_builtins.str]]:
|
|
2135
2134
|
"""
|
|
2136
2135
|
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.
|
|
2137
2136
|
"""
|
|
2138
2137
|
return pulumi.get(self, "operations")
|
|
2139
2138
|
|
|
2140
|
-
@property
|
|
2139
|
+
@_builtins.property
|
|
2141
2140
|
@pulumi.getter
|
|
2142
|
-
def resources(self) -> Optional[Sequence[
|
|
2141
|
+
def resources(self) -> Optional[Sequence[_builtins.str]]:
|
|
2143
2142
|
"""
|
|
2144
2143
|
Resources is a list of resources this rule applies to.
|
|
2145
2144
|
|
|
@@ -2151,9 +2150,9 @@ class RuleWithOperationsPatch(dict):
|
|
|
2151
2150
|
"""
|
|
2152
2151
|
return pulumi.get(self, "resources")
|
|
2153
2152
|
|
|
2154
|
-
@property
|
|
2153
|
+
@_builtins.property
|
|
2155
2154
|
@pulumi.getter
|
|
2156
|
-
def scope(self) -> Optional[
|
|
2155
|
+
def scope(self) -> Optional[_builtins.str]:
|
|
2157
2156
|
"""
|
|
2158
2157
|
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 "*".
|
|
2159
2158
|
"""
|
|
@@ -2166,16 +2165,16 @@ class ServiceReference(dict):
|
|
|
2166
2165
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2167
2166
|
"""
|
|
2168
2167
|
def __init__(__self__, *,
|
|
2169
|
-
name:
|
|
2170
|
-
namespace:
|
|
2171
|
-
path: Optional[
|
|
2172
|
-
port: Optional[
|
|
2168
|
+
name: _builtins.str,
|
|
2169
|
+
namespace: _builtins.str,
|
|
2170
|
+
path: Optional[_builtins.str] = None,
|
|
2171
|
+
port: Optional[_builtins.int] = None):
|
|
2173
2172
|
"""
|
|
2174
2173
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2175
|
-
:param
|
|
2176
|
-
:param
|
|
2177
|
-
:param
|
|
2178
|
-
:param
|
|
2174
|
+
:param _builtins.str name: `name` is the name of the service. Required
|
|
2175
|
+
:param _builtins.str namespace: `namespace` is the namespace of the service. Required
|
|
2176
|
+
:param _builtins.str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2177
|
+
:param _builtins.int port: If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
|
|
2179
2178
|
"""
|
|
2180
2179
|
pulumi.set(__self__, "name", name)
|
|
2181
2180
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -2184,33 +2183,33 @@ class ServiceReference(dict):
|
|
|
2184
2183
|
if port is not None:
|
|
2185
2184
|
pulumi.set(__self__, "port", port)
|
|
2186
2185
|
|
|
2187
|
-
@property
|
|
2186
|
+
@_builtins.property
|
|
2188
2187
|
@pulumi.getter
|
|
2189
|
-
def name(self) ->
|
|
2188
|
+
def name(self) -> _builtins.str:
|
|
2190
2189
|
"""
|
|
2191
2190
|
`name` is the name of the service. Required
|
|
2192
2191
|
"""
|
|
2193
2192
|
return pulumi.get(self, "name")
|
|
2194
2193
|
|
|
2195
|
-
@property
|
|
2194
|
+
@_builtins.property
|
|
2196
2195
|
@pulumi.getter
|
|
2197
|
-
def namespace(self) ->
|
|
2196
|
+
def namespace(self) -> _builtins.str:
|
|
2198
2197
|
"""
|
|
2199
2198
|
`namespace` is the namespace of the service. Required
|
|
2200
2199
|
"""
|
|
2201
2200
|
return pulumi.get(self, "namespace")
|
|
2202
2201
|
|
|
2203
|
-
@property
|
|
2202
|
+
@_builtins.property
|
|
2204
2203
|
@pulumi.getter
|
|
2205
|
-
def path(self) -> Optional[
|
|
2204
|
+
def path(self) -> Optional[_builtins.str]:
|
|
2206
2205
|
"""
|
|
2207
2206
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2208
2207
|
"""
|
|
2209
2208
|
return pulumi.get(self, "path")
|
|
2210
2209
|
|
|
2211
|
-
@property
|
|
2210
|
+
@_builtins.property
|
|
2212
2211
|
@pulumi.getter
|
|
2213
|
-
def port(self) -> Optional[
|
|
2212
|
+
def port(self) -> Optional[_builtins.int]:
|
|
2214
2213
|
"""
|
|
2215
2214
|
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).
|
|
2216
2215
|
"""
|
|
@@ -2223,16 +2222,16 @@ class ServiceReferencePatch(dict):
|
|
|
2223
2222
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2224
2223
|
"""
|
|
2225
2224
|
def __init__(__self__, *,
|
|
2226
|
-
name: Optional[
|
|
2227
|
-
namespace: Optional[
|
|
2228
|
-
path: Optional[
|
|
2229
|
-
port: Optional[
|
|
2225
|
+
name: Optional[_builtins.str] = None,
|
|
2226
|
+
namespace: Optional[_builtins.str] = None,
|
|
2227
|
+
path: Optional[_builtins.str] = None,
|
|
2228
|
+
port: Optional[_builtins.int] = None):
|
|
2230
2229
|
"""
|
|
2231
2230
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2232
|
-
:param
|
|
2233
|
-
:param
|
|
2234
|
-
:param
|
|
2235
|
-
:param
|
|
2231
|
+
:param _builtins.str name: `name` is the name of the service. Required
|
|
2232
|
+
:param _builtins.str namespace: `namespace` is the namespace of the service. Required
|
|
2233
|
+
:param _builtins.str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2234
|
+
:param _builtins.int port: If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
|
|
2236
2235
|
"""
|
|
2237
2236
|
if name is not None:
|
|
2238
2237
|
pulumi.set(__self__, "name", name)
|
|
@@ -2243,33 +2242,33 @@ class ServiceReferencePatch(dict):
|
|
|
2243
2242
|
if port is not None:
|
|
2244
2243
|
pulumi.set(__self__, "port", port)
|
|
2245
2244
|
|
|
2246
|
-
@property
|
|
2245
|
+
@_builtins.property
|
|
2247
2246
|
@pulumi.getter
|
|
2248
|
-
def name(self) -> Optional[
|
|
2247
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2249
2248
|
"""
|
|
2250
2249
|
`name` is the name of the service. Required
|
|
2251
2250
|
"""
|
|
2252
2251
|
return pulumi.get(self, "name")
|
|
2253
2252
|
|
|
2254
|
-
@property
|
|
2253
|
+
@_builtins.property
|
|
2255
2254
|
@pulumi.getter
|
|
2256
|
-
def namespace(self) -> Optional[
|
|
2255
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
2257
2256
|
"""
|
|
2258
2257
|
`namespace` is the namespace of the service. Required
|
|
2259
2258
|
"""
|
|
2260
2259
|
return pulumi.get(self, "namespace")
|
|
2261
2260
|
|
|
2262
|
-
@property
|
|
2261
|
+
@_builtins.property
|
|
2263
2262
|
@pulumi.getter
|
|
2264
|
-
def path(self) -> Optional[
|
|
2263
|
+
def path(self) -> Optional[_builtins.str]:
|
|
2265
2264
|
"""
|
|
2266
2265
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2267
2266
|
"""
|
|
2268
2267
|
return pulumi.get(self, "path")
|
|
2269
2268
|
|
|
2270
|
-
@property
|
|
2269
|
+
@_builtins.property
|
|
2271
2270
|
@pulumi.getter
|
|
2272
|
-
def port(self) -> Optional[
|
|
2271
|
+
def port(self) -> Optional[_builtins.int]:
|
|
2273
2272
|
"""
|
|
2274
2273
|
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).
|
|
2275
2274
|
"""
|
|
@@ -2307,7 +2306,7 @@ class TypeChecking(dict):
|
|
|
2307
2306
|
if expression_warnings is not None:
|
|
2308
2307
|
pulumi.set(__self__, "expression_warnings", expression_warnings)
|
|
2309
2308
|
|
|
2310
|
-
@property
|
|
2309
|
+
@_builtins.property
|
|
2311
2310
|
@pulumi.getter(name="expressionWarnings")
|
|
2312
2311
|
def expression_warnings(self) -> Optional[Sequence['outputs.ExpressionWarning']]:
|
|
2313
2312
|
"""
|
|
@@ -2347,7 +2346,7 @@ class TypeCheckingPatch(dict):
|
|
|
2347
2346
|
if expression_warnings is not None:
|
|
2348
2347
|
pulumi.set(__self__, "expression_warnings", expression_warnings)
|
|
2349
2348
|
|
|
2350
|
-
@property
|
|
2349
|
+
@_builtins.property
|
|
2351
2350
|
@pulumi.getter(name="expressionWarnings")
|
|
2352
2351
|
def expression_warnings(self) -> Optional[Sequence['outputs.ExpressionWarningPatch']]:
|
|
2353
2352
|
"""
|
|
@@ -2379,15 +2378,15 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2379
2378
|
return super().get(key, default)
|
|
2380
2379
|
|
|
2381
2380
|
def __init__(__self__, *,
|
|
2382
|
-
api_version: Optional[
|
|
2383
|
-
kind: Optional[
|
|
2381
|
+
api_version: Optional[_builtins.str] = None,
|
|
2382
|
+
kind: Optional[_builtins.str] = None,
|
|
2384
2383
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2385
2384
|
spec: Optional['outputs.ValidatingAdmissionPolicySpec'] = None,
|
|
2386
2385
|
status: Optional['outputs.ValidatingAdmissionPolicyStatus'] = None):
|
|
2387
2386
|
"""
|
|
2388
2387
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
2389
|
-
:param
|
|
2390
|
-
:param
|
|
2388
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2389
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2391
2390
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
2392
2391
|
:param 'ValidatingAdmissionPolicySpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
2393
2392
|
:param 'ValidatingAdmissionPolicyStatusArgs' status: The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.
|
|
@@ -2403,23 +2402,23 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2403
2402
|
if status is not None:
|
|
2404
2403
|
pulumi.set(__self__, "status", status)
|
|
2405
2404
|
|
|
2406
|
-
@property
|
|
2405
|
+
@_builtins.property
|
|
2407
2406
|
@pulumi.getter(name="apiVersion")
|
|
2408
|
-
def api_version(self) -> Optional[
|
|
2407
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
2409
2408
|
"""
|
|
2410
2409
|
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
|
|
2411
2410
|
"""
|
|
2412
2411
|
return pulumi.get(self, "api_version")
|
|
2413
2412
|
|
|
2414
|
-
@property
|
|
2413
|
+
@_builtins.property
|
|
2415
2414
|
@pulumi.getter
|
|
2416
|
-
def kind(self) -> Optional[
|
|
2415
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
2417
2416
|
"""
|
|
2418
2417
|
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
|
|
2419
2418
|
"""
|
|
2420
2419
|
return pulumi.get(self, "kind")
|
|
2421
2420
|
|
|
2422
|
-
@property
|
|
2421
|
+
@_builtins.property
|
|
2423
2422
|
@pulumi.getter
|
|
2424
2423
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
2425
2424
|
"""
|
|
@@ -2427,7 +2426,7 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2427
2426
|
"""
|
|
2428
2427
|
return pulumi.get(self, "metadata")
|
|
2429
2428
|
|
|
2430
|
-
@property
|
|
2429
|
+
@_builtins.property
|
|
2431
2430
|
@pulumi.getter
|
|
2432
2431
|
def spec(self) -> Optional['outputs.ValidatingAdmissionPolicySpec']:
|
|
2433
2432
|
"""
|
|
@@ -2435,7 +2434,7 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2435
2434
|
"""
|
|
2436
2435
|
return pulumi.get(self, "spec")
|
|
2437
2436
|
|
|
2438
|
-
@property
|
|
2437
|
+
@_builtins.property
|
|
2439
2438
|
@pulumi.getter
|
|
2440
2439
|
def status(self) -> Optional['outputs.ValidatingAdmissionPolicyStatus']:
|
|
2441
2440
|
"""
|
|
@@ -2471,8 +2470,8 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2471
2470
|
return super().get(key, default)
|
|
2472
2471
|
|
|
2473
2472
|
def __init__(__self__, *,
|
|
2474
|
-
api_version: Optional[
|
|
2475
|
-
kind: Optional[
|
|
2473
|
+
api_version: Optional[_builtins.str] = None,
|
|
2474
|
+
kind: Optional[_builtins.str] = None,
|
|
2476
2475
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2477
2476
|
spec: Optional['outputs.ValidatingAdmissionPolicyBindingSpec'] = None):
|
|
2478
2477
|
"""
|
|
@@ -2481,8 +2480,8 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2481
2480
|
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.
|
|
2482
2481
|
|
|
2483
2482
|
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.
|
|
2484
|
-
:param
|
|
2485
|
-
:param
|
|
2483
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2484
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2486
2485
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
2487
2486
|
:param 'ValidatingAdmissionPolicyBindingSpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
2488
2487
|
"""
|
|
@@ -2495,23 +2494,23 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2495
2494
|
if spec is not None:
|
|
2496
2495
|
pulumi.set(__self__, "spec", spec)
|
|
2497
2496
|
|
|
2498
|
-
@property
|
|
2497
|
+
@_builtins.property
|
|
2499
2498
|
@pulumi.getter(name="apiVersion")
|
|
2500
|
-
def api_version(self) -> Optional[
|
|
2499
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
2501
2500
|
"""
|
|
2502
2501
|
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
|
|
2503
2502
|
"""
|
|
2504
2503
|
return pulumi.get(self, "api_version")
|
|
2505
2504
|
|
|
2506
|
-
@property
|
|
2505
|
+
@_builtins.property
|
|
2507
2506
|
@pulumi.getter
|
|
2508
|
-
def kind(self) -> Optional[
|
|
2507
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
2509
2508
|
"""
|
|
2510
2509
|
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
|
|
2511
2510
|
"""
|
|
2512
2511
|
return pulumi.get(self, "kind")
|
|
2513
2512
|
|
|
2514
|
-
@property
|
|
2513
|
+
@_builtins.property
|
|
2515
2514
|
@pulumi.getter
|
|
2516
2515
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
2517
2516
|
"""
|
|
@@ -2519,7 +2518,7 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2519
2518
|
"""
|
|
2520
2519
|
return pulumi.get(self, "metadata")
|
|
2521
2520
|
|
|
2522
|
-
@property
|
|
2521
|
+
@_builtins.property
|
|
2523
2522
|
@pulumi.getter
|
|
2524
2523
|
def spec(self) -> Optional['outputs.ValidatingAdmissionPolicyBindingSpec']:
|
|
2525
2524
|
"""
|
|
@@ -2559,14 +2558,14 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2559
2558
|
def __init__(__self__, *,
|
|
2560
2559
|
match_resources: Optional['outputs.MatchResources'] = None,
|
|
2561
2560
|
param_ref: Optional['outputs.ParamRef'] = None,
|
|
2562
|
-
policy_name: Optional[
|
|
2563
|
-
validation_actions: Optional[Sequence[
|
|
2561
|
+
policy_name: Optional[_builtins.str] = None,
|
|
2562
|
+
validation_actions: Optional[Sequence[_builtins.str]] = None):
|
|
2564
2563
|
"""
|
|
2565
2564
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
2566
2565
|
:param 'MatchResourcesArgs' match_resources: MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
|
|
2567
2566
|
:param 'ParamRefArgs' param_ref: paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
|
|
2568
|
-
:param
|
|
2569
|
-
:param Sequence[
|
|
2567
|
+
:param _builtins.str policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
2568
|
+
:param Sequence[_builtins.str] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2570
2569
|
|
|
2571
2570
|
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.
|
|
2572
2571
|
|
|
@@ -2595,7 +2594,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2595
2594
|
if validation_actions is not None:
|
|
2596
2595
|
pulumi.set(__self__, "validation_actions", validation_actions)
|
|
2597
2596
|
|
|
2598
|
-
@property
|
|
2597
|
+
@_builtins.property
|
|
2599
2598
|
@pulumi.getter(name="matchResources")
|
|
2600
2599
|
def match_resources(self) -> Optional['outputs.MatchResources']:
|
|
2601
2600
|
"""
|
|
@@ -2603,7 +2602,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2603
2602
|
"""
|
|
2604
2603
|
return pulumi.get(self, "match_resources")
|
|
2605
2604
|
|
|
2606
|
-
@property
|
|
2605
|
+
@_builtins.property
|
|
2607
2606
|
@pulumi.getter(name="paramRef")
|
|
2608
2607
|
def param_ref(self) -> Optional['outputs.ParamRef']:
|
|
2609
2608
|
"""
|
|
@@ -2611,17 +2610,17 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2611
2610
|
"""
|
|
2612
2611
|
return pulumi.get(self, "param_ref")
|
|
2613
2612
|
|
|
2614
|
-
@property
|
|
2613
|
+
@_builtins.property
|
|
2615
2614
|
@pulumi.getter(name="policyName")
|
|
2616
|
-
def policy_name(self) -> Optional[
|
|
2615
|
+
def policy_name(self) -> Optional[_builtins.str]:
|
|
2617
2616
|
"""
|
|
2618
2617
|
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.
|
|
2619
2618
|
"""
|
|
2620
2619
|
return pulumi.get(self, "policy_name")
|
|
2621
2620
|
|
|
2622
|
-
@property
|
|
2621
|
+
@_builtins.property
|
|
2623
2622
|
@pulumi.getter(name="validationActions")
|
|
2624
|
-
def validation_actions(self) -> Optional[Sequence[
|
|
2623
|
+
def validation_actions(self) -> Optional[Sequence[_builtins.str]]:
|
|
2625
2624
|
"""
|
|
2626
2625
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2627
2626
|
|
|
@@ -2677,14 +2676,14 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2677
2676
|
def __init__(__self__, *,
|
|
2678
2677
|
match_resources: Optional['outputs.MatchResourcesPatch'] = None,
|
|
2679
2678
|
param_ref: Optional['outputs.ParamRefPatch'] = None,
|
|
2680
|
-
policy_name: Optional[
|
|
2681
|
-
validation_actions: Optional[Sequence[
|
|
2679
|
+
policy_name: Optional[_builtins.str] = None,
|
|
2680
|
+
validation_actions: Optional[Sequence[_builtins.str]] = None):
|
|
2682
2681
|
"""
|
|
2683
2682
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
2684
2683
|
:param 'MatchResourcesPatchArgs' match_resources: MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
|
|
2685
2684
|
:param 'ParamRefPatchArgs' param_ref: paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
|
|
2686
|
-
:param
|
|
2687
|
-
:param Sequence[
|
|
2685
|
+
:param _builtins.str policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
2686
|
+
:param Sequence[_builtins.str] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2688
2687
|
|
|
2689
2688
|
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.
|
|
2690
2689
|
|
|
@@ -2713,7 +2712,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2713
2712
|
if validation_actions is not None:
|
|
2714
2713
|
pulumi.set(__self__, "validation_actions", validation_actions)
|
|
2715
2714
|
|
|
2716
|
-
@property
|
|
2715
|
+
@_builtins.property
|
|
2717
2716
|
@pulumi.getter(name="matchResources")
|
|
2718
2717
|
def match_resources(self) -> Optional['outputs.MatchResourcesPatch']:
|
|
2719
2718
|
"""
|
|
@@ -2721,7 +2720,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2721
2720
|
"""
|
|
2722
2721
|
return pulumi.get(self, "match_resources")
|
|
2723
2722
|
|
|
2724
|
-
@property
|
|
2723
|
+
@_builtins.property
|
|
2725
2724
|
@pulumi.getter(name="paramRef")
|
|
2726
2725
|
def param_ref(self) -> Optional['outputs.ParamRefPatch']:
|
|
2727
2726
|
"""
|
|
@@ -2729,17 +2728,17 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2729
2728
|
"""
|
|
2730
2729
|
return pulumi.get(self, "param_ref")
|
|
2731
2730
|
|
|
2732
|
-
@property
|
|
2731
|
+
@_builtins.property
|
|
2733
2732
|
@pulumi.getter(name="policyName")
|
|
2734
|
-
def policy_name(self) -> Optional[
|
|
2733
|
+
def policy_name(self) -> Optional[_builtins.str]:
|
|
2735
2734
|
"""
|
|
2736
2735
|
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.
|
|
2737
2736
|
"""
|
|
2738
2737
|
return pulumi.get(self, "policy_name")
|
|
2739
2738
|
|
|
2740
|
-
@property
|
|
2739
|
+
@_builtins.property
|
|
2741
2740
|
@pulumi.getter(name="validationActions")
|
|
2742
|
-
def validation_actions(self) -> Optional[Sequence[
|
|
2741
|
+
def validation_actions(self) -> Optional[Sequence[_builtins.str]]:
|
|
2743
2742
|
"""
|
|
2744
2743
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2745
2744
|
|
|
@@ -2796,7 +2795,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2796
2795
|
|
|
2797
2796
|
def __init__(__self__, *,
|
|
2798
2797
|
audit_annotations: Optional[Sequence['outputs.AuditAnnotation']] = None,
|
|
2799
|
-
failure_policy: Optional[
|
|
2798
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
2800
2799
|
match_conditions: Optional[Sequence['outputs.MatchCondition']] = None,
|
|
2801
2800
|
match_constraints: Optional['outputs.MatchResources'] = None,
|
|
2802
2801
|
param_kind: Optional['outputs.ParamKind'] = None,
|
|
@@ -2805,7 +2804,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2805
2804
|
"""
|
|
2806
2805
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
2807
2806
|
:param Sequence['AuditAnnotationArgs'] audit_annotations: auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
|
|
2808
|
-
:param
|
|
2807
|
+
:param _builtins.str failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
2809
2808
|
|
|
2810
2809
|
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.
|
|
2811
2810
|
|
|
@@ -2846,7 +2845,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2846
2845
|
if variables is not None:
|
|
2847
2846
|
pulumi.set(__self__, "variables", variables)
|
|
2848
2847
|
|
|
2849
|
-
@property
|
|
2848
|
+
@_builtins.property
|
|
2850
2849
|
@pulumi.getter(name="auditAnnotations")
|
|
2851
2850
|
def audit_annotations(self) -> Optional[Sequence['outputs.AuditAnnotation']]:
|
|
2852
2851
|
"""
|
|
@@ -2854,9 +2853,9 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2854
2853
|
"""
|
|
2855
2854
|
return pulumi.get(self, "audit_annotations")
|
|
2856
2855
|
|
|
2857
|
-
@property
|
|
2856
|
+
@_builtins.property
|
|
2858
2857
|
@pulumi.getter(name="failurePolicy")
|
|
2859
|
-
def failure_policy(self) -> Optional[
|
|
2858
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
2860
2859
|
"""
|
|
2861
2860
|
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.
|
|
2862
2861
|
|
|
@@ -2870,7 +2869,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2870
2869
|
"""
|
|
2871
2870
|
return pulumi.get(self, "failure_policy")
|
|
2872
2871
|
|
|
2873
|
-
@property
|
|
2872
|
+
@_builtins.property
|
|
2874
2873
|
@pulumi.getter(name="matchConditions")
|
|
2875
2874
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchCondition']]:
|
|
2876
2875
|
"""
|
|
@@ -2887,7 +2886,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2887
2886
|
"""
|
|
2888
2887
|
return pulumi.get(self, "match_conditions")
|
|
2889
2888
|
|
|
2890
|
-
@property
|
|
2889
|
+
@_builtins.property
|
|
2891
2890
|
@pulumi.getter(name="matchConstraints")
|
|
2892
2891
|
def match_constraints(self) -> Optional['outputs.MatchResources']:
|
|
2893
2892
|
"""
|
|
@@ -2895,7 +2894,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2895
2894
|
"""
|
|
2896
2895
|
return pulumi.get(self, "match_constraints")
|
|
2897
2896
|
|
|
2898
|
-
@property
|
|
2897
|
+
@_builtins.property
|
|
2899
2898
|
@pulumi.getter(name="paramKind")
|
|
2900
2899
|
def param_kind(self) -> Optional['outputs.ParamKind']:
|
|
2901
2900
|
"""
|
|
@@ -2903,7 +2902,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2903
2902
|
"""
|
|
2904
2903
|
return pulumi.get(self, "param_kind")
|
|
2905
2904
|
|
|
2906
|
-
@property
|
|
2905
|
+
@_builtins.property
|
|
2907
2906
|
@pulumi.getter
|
|
2908
2907
|
def validations(self) -> Optional[Sequence['outputs.Validation']]:
|
|
2909
2908
|
"""
|
|
@@ -2911,7 +2910,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2911
2910
|
"""
|
|
2912
2911
|
return pulumi.get(self, "validations")
|
|
2913
2912
|
|
|
2914
|
-
@property
|
|
2913
|
+
@_builtins.property
|
|
2915
2914
|
@pulumi.getter
|
|
2916
2915
|
def variables(self) -> Optional[Sequence['outputs.Variable']]:
|
|
2917
2916
|
"""
|
|
@@ -2954,7 +2953,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2954
2953
|
|
|
2955
2954
|
def __init__(__self__, *,
|
|
2956
2955
|
audit_annotations: Optional[Sequence['outputs.AuditAnnotationPatch']] = None,
|
|
2957
|
-
failure_policy: Optional[
|
|
2956
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
2958
2957
|
match_conditions: Optional[Sequence['outputs.MatchConditionPatch']] = None,
|
|
2959
2958
|
match_constraints: Optional['outputs.MatchResourcesPatch'] = None,
|
|
2960
2959
|
param_kind: Optional['outputs.ParamKindPatch'] = None,
|
|
@@ -2963,7 +2962,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2963
2962
|
"""
|
|
2964
2963
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
2965
2964
|
:param Sequence['AuditAnnotationPatchArgs'] audit_annotations: auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
|
|
2966
|
-
:param
|
|
2965
|
+
:param _builtins.str failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
2967
2966
|
|
|
2968
2967
|
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.
|
|
2969
2968
|
|
|
@@ -3004,7 +3003,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3004
3003
|
if variables is not None:
|
|
3005
3004
|
pulumi.set(__self__, "variables", variables)
|
|
3006
3005
|
|
|
3007
|
-
@property
|
|
3006
|
+
@_builtins.property
|
|
3008
3007
|
@pulumi.getter(name="auditAnnotations")
|
|
3009
3008
|
def audit_annotations(self) -> Optional[Sequence['outputs.AuditAnnotationPatch']]:
|
|
3010
3009
|
"""
|
|
@@ -3012,9 +3011,9 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3012
3011
|
"""
|
|
3013
3012
|
return pulumi.get(self, "audit_annotations")
|
|
3014
3013
|
|
|
3015
|
-
@property
|
|
3014
|
+
@_builtins.property
|
|
3016
3015
|
@pulumi.getter(name="failurePolicy")
|
|
3017
|
-
def failure_policy(self) -> Optional[
|
|
3016
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
3018
3017
|
"""
|
|
3019
3018
|
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.
|
|
3020
3019
|
|
|
@@ -3028,7 +3027,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3028
3027
|
"""
|
|
3029
3028
|
return pulumi.get(self, "failure_policy")
|
|
3030
3029
|
|
|
3031
|
-
@property
|
|
3030
|
+
@_builtins.property
|
|
3032
3031
|
@pulumi.getter(name="matchConditions")
|
|
3033
3032
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchConditionPatch']]:
|
|
3034
3033
|
"""
|
|
@@ -3045,7 +3044,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3045
3044
|
"""
|
|
3046
3045
|
return pulumi.get(self, "match_conditions")
|
|
3047
3046
|
|
|
3048
|
-
@property
|
|
3047
|
+
@_builtins.property
|
|
3049
3048
|
@pulumi.getter(name="matchConstraints")
|
|
3050
3049
|
def match_constraints(self) -> Optional['outputs.MatchResourcesPatch']:
|
|
3051
3050
|
"""
|
|
@@ -3053,7 +3052,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3053
3052
|
"""
|
|
3054
3053
|
return pulumi.get(self, "match_constraints")
|
|
3055
3054
|
|
|
3056
|
-
@property
|
|
3055
|
+
@_builtins.property
|
|
3057
3056
|
@pulumi.getter(name="paramKind")
|
|
3058
3057
|
def param_kind(self) -> Optional['outputs.ParamKindPatch']:
|
|
3059
3058
|
"""
|
|
@@ -3061,7 +3060,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3061
3060
|
"""
|
|
3062
3061
|
return pulumi.get(self, "param_kind")
|
|
3063
3062
|
|
|
3064
|
-
@property
|
|
3063
|
+
@_builtins.property
|
|
3065
3064
|
@pulumi.getter
|
|
3066
3065
|
def validations(self) -> Optional[Sequence['outputs.ValidationPatch']]:
|
|
3067
3066
|
"""
|
|
@@ -3069,7 +3068,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3069
3068
|
"""
|
|
3070
3069
|
return pulumi.get(self, "validations")
|
|
3071
3070
|
|
|
3072
|
-
@property
|
|
3071
|
+
@_builtins.property
|
|
3073
3072
|
@pulumi.getter
|
|
3074
3073
|
def variables(self) -> Optional[Sequence['outputs.VariablePatch']]:
|
|
3075
3074
|
"""
|
|
@@ -3106,12 +3105,12 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3106
3105
|
|
|
3107
3106
|
def __init__(__self__, *,
|
|
3108
3107
|
conditions: Optional[Sequence['_meta.v1.outputs.Condition']] = None,
|
|
3109
|
-
observed_generation: Optional[
|
|
3108
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
3110
3109
|
type_checking: Optional['outputs.TypeChecking'] = None):
|
|
3111
3110
|
"""
|
|
3112
3111
|
ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
|
|
3113
3112
|
:param Sequence['_meta.v1.ConditionArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3114
|
-
:param
|
|
3113
|
+
:param _builtins.int observed_generation: The generation observed by the controller.
|
|
3115
3114
|
:param 'TypeCheckingArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
3116
3115
|
"""
|
|
3117
3116
|
if conditions is not None:
|
|
@@ -3121,7 +3120,7 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3121
3120
|
if type_checking is not None:
|
|
3122
3121
|
pulumi.set(__self__, "type_checking", type_checking)
|
|
3123
3122
|
|
|
3124
|
-
@property
|
|
3123
|
+
@_builtins.property
|
|
3125
3124
|
@pulumi.getter
|
|
3126
3125
|
def conditions(self) -> Optional[Sequence['_meta.v1.outputs.Condition']]:
|
|
3127
3126
|
"""
|
|
@@ -3129,15 +3128,15 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3129
3128
|
"""
|
|
3130
3129
|
return pulumi.get(self, "conditions")
|
|
3131
3130
|
|
|
3132
|
-
@property
|
|
3131
|
+
@_builtins.property
|
|
3133
3132
|
@pulumi.getter(name="observedGeneration")
|
|
3134
|
-
def observed_generation(self) -> Optional[
|
|
3133
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
3135
3134
|
"""
|
|
3136
3135
|
The generation observed by the controller.
|
|
3137
3136
|
"""
|
|
3138
3137
|
return pulumi.get(self, "observed_generation")
|
|
3139
3138
|
|
|
3140
|
-
@property
|
|
3139
|
+
@_builtins.property
|
|
3141
3140
|
@pulumi.getter(name="typeChecking")
|
|
3142
3141
|
def type_checking(self) -> Optional['outputs.TypeChecking']:
|
|
3143
3142
|
"""
|
|
@@ -3172,12 +3171,12 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3172
3171
|
|
|
3173
3172
|
def __init__(__self__, *,
|
|
3174
3173
|
conditions: Optional[Sequence['_meta.v1.outputs.ConditionPatch']] = None,
|
|
3175
|
-
observed_generation: Optional[
|
|
3174
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
3176
3175
|
type_checking: Optional['outputs.TypeCheckingPatch'] = None):
|
|
3177
3176
|
"""
|
|
3178
3177
|
ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
|
|
3179
3178
|
:param Sequence['_meta.v1.ConditionPatchArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3180
|
-
:param
|
|
3179
|
+
:param _builtins.int observed_generation: The generation observed by the controller.
|
|
3181
3180
|
:param 'TypeCheckingPatchArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
3182
3181
|
"""
|
|
3183
3182
|
if conditions is not None:
|
|
@@ -3187,7 +3186,7 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3187
3186
|
if type_checking is not None:
|
|
3188
3187
|
pulumi.set(__self__, "type_checking", type_checking)
|
|
3189
3188
|
|
|
3190
|
-
@property
|
|
3189
|
+
@_builtins.property
|
|
3191
3190
|
@pulumi.getter
|
|
3192
3191
|
def conditions(self) -> Optional[Sequence['_meta.v1.outputs.ConditionPatch']]:
|
|
3193
3192
|
"""
|
|
@@ -3195,15 +3194,15 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3195
3194
|
"""
|
|
3196
3195
|
return pulumi.get(self, "conditions")
|
|
3197
3196
|
|
|
3198
|
-
@property
|
|
3197
|
+
@_builtins.property
|
|
3199
3198
|
@pulumi.getter(name="observedGeneration")
|
|
3200
|
-
def observed_generation(self) -> Optional[
|
|
3199
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
3201
3200
|
"""
|
|
3202
3201
|
The generation observed by the controller.
|
|
3203
3202
|
"""
|
|
3204
3203
|
return pulumi.get(self, "observed_generation")
|
|
3205
3204
|
|
|
3206
|
-
@property
|
|
3205
|
+
@_builtins.property
|
|
3207
3206
|
@pulumi.getter(name="typeChecking")
|
|
3208
3207
|
def type_checking(self) -> Optional['outputs.TypeCheckingPatch']:
|
|
3209
3208
|
"""
|
|
@@ -3251,24 +3250,24 @@ class ValidatingWebhook(dict):
|
|
|
3251
3250
|
return super().get(key, default)
|
|
3252
3251
|
|
|
3253
3252
|
def __init__(__self__, *,
|
|
3254
|
-
admission_review_versions: Sequence[
|
|
3253
|
+
admission_review_versions: Sequence[_builtins.str],
|
|
3255
3254
|
client_config: 'outputs.WebhookClientConfig',
|
|
3256
|
-
name:
|
|
3257
|
-
side_effects:
|
|
3258
|
-
failure_policy: Optional[
|
|
3255
|
+
name: _builtins.str,
|
|
3256
|
+
side_effects: _builtins.str,
|
|
3257
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
3259
3258
|
match_conditions: Optional[Sequence['outputs.MatchCondition']] = None,
|
|
3260
|
-
match_policy: Optional[
|
|
3259
|
+
match_policy: Optional[_builtins.str] = None,
|
|
3261
3260
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
3262
3261
|
object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
3263
3262
|
rules: Optional[Sequence['outputs.RuleWithOperations']] = None,
|
|
3264
|
-
timeout_seconds: Optional[
|
|
3263
|
+
timeout_seconds: Optional[_builtins.int] = None):
|
|
3265
3264
|
"""
|
|
3266
3265
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
3267
|
-
:param Sequence[
|
|
3266
|
+
:param Sequence[_builtins.str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
|
|
3268
3267
|
:param 'WebhookClientConfigArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
3269
|
-
:param
|
|
3270
|
-
:param
|
|
3271
|
-
:param
|
|
3268
|
+
:param _builtins.str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
3269
|
+
:param _builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
3270
|
+
:param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
3272
3271
|
:param Sequence['MatchConditionArgs'] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
3273
3272
|
|
|
3274
3273
|
The exact matching logic is (in order):
|
|
@@ -3277,7 +3276,7 @@ class ValidatingWebhook(dict):
|
|
|
3277
3276
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
3278
3277
|
- If failurePolicy=Fail, reject the request
|
|
3279
3278
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
3280
|
-
:param
|
|
3279
|
+
:param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3281
3280
|
|
|
3282
3281
|
- 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.
|
|
3283
3282
|
|
|
@@ -3317,7 +3316,7 @@ class ValidatingWebhook(dict):
|
|
|
3317
3316
|
Default to the empty LabelSelector, which matches everything.
|
|
3318
3317
|
:param '_meta.v1.LabelSelectorArgs' object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
|
|
3319
3318
|
:param Sequence['RuleWithOperationsArgs'] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
|
|
3320
|
-
:param
|
|
3319
|
+
:param _builtins.int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
3321
3320
|
"""
|
|
3322
3321
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
3323
3322
|
pulumi.set(__self__, "client_config", client_config)
|
|
@@ -3338,15 +3337,15 @@ class ValidatingWebhook(dict):
|
|
|
3338
3337
|
if timeout_seconds is not None:
|
|
3339
3338
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
3340
3339
|
|
|
3341
|
-
@property
|
|
3340
|
+
@_builtins.property
|
|
3342
3341
|
@pulumi.getter(name="admissionReviewVersions")
|
|
3343
|
-
def admission_review_versions(self) -> Sequence[
|
|
3342
|
+
def admission_review_versions(self) -> Sequence[_builtins.str]:
|
|
3344
3343
|
"""
|
|
3345
3344
|
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.
|
|
3346
3345
|
"""
|
|
3347
3346
|
return pulumi.get(self, "admission_review_versions")
|
|
3348
3347
|
|
|
3349
|
-
@property
|
|
3348
|
+
@_builtins.property
|
|
3350
3349
|
@pulumi.getter(name="clientConfig")
|
|
3351
3350
|
def client_config(self) -> 'outputs.WebhookClientConfig':
|
|
3352
3351
|
"""
|
|
@@ -3354,31 +3353,31 @@ class ValidatingWebhook(dict):
|
|
|
3354
3353
|
"""
|
|
3355
3354
|
return pulumi.get(self, "client_config")
|
|
3356
3355
|
|
|
3357
|
-
@property
|
|
3356
|
+
@_builtins.property
|
|
3358
3357
|
@pulumi.getter
|
|
3359
|
-
def name(self) ->
|
|
3358
|
+
def name(self) -> _builtins.str:
|
|
3360
3359
|
"""
|
|
3361
3360
|
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.
|
|
3362
3361
|
"""
|
|
3363
3362
|
return pulumi.get(self, "name")
|
|
3364
3363
|
|
|
3365
|
-
@property
|
|
3364
|
+
@_builtins.property
|
|
3366
3365
|
@pulumi.getter(name="sideEffects")
|
|
3367
|
-
def side_effects(self) ->
|
|
3366
|
+
def side_effects(self) -> _builtins.str:
|
|
3368
3367
|
"""
|
|
3369
3368
|
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.
|
|
3370
3369
|
"""
|
|
3371
3370
|
return pulumi.get(self, "side_effects")
|
|
3372
3371
|
|
|
3373
|
-
@property
|
|
3372
|
+
@_builtins.property
|
|
3374
3373
|
@pulumi.getter(name="failurePolicy")
|
|
3375
|
-
def failure_policy(self) -> Optional[
|
|
3374
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
3376
3375
|
"""
|
|
3377
3376
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
3378
3377
|
"""
|
|
3379
3378
|
return pulumi.get(self, "failure_policy")
|
|
3380
3379
|
|
|
3381
|
-
@property
|
|
3380
|
+
@_builtins.property
|
|
3382
3381
|
@pulumi.getter(name="matchConditions")
|
|
3383
3382
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchCondition']]:
|
|
3384
3383
|
"""
|
|
@@ -3393,9 +3392,9 @@ class ValidatingWebhook(dict):
|
|
|
3393
3392
|
"""
|
|
3394
3393
|
return pulumi.get(self, "match_conditions")
|
|
3395
3394
|
|
|
3396
|
-
@property
|
|
3395
|
+
@_builtins.property
|
|
3397
3396
|
@pulumi.getter(name="matchPolicy")
|
|
3398
|
-
def match_policy(self) -> Optional[
|
|
3397
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
3399
3398
|
"""
|
|
3400
3399
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3401
3400
|
|
|
@@ -3407,7 +3406,7 @@ class ValidatingWebhook(dict):
|
|
|
3407
3406
|
"""
|
|
3408
3407
|
return pulumi.get(self, "match_policy")
|
|
3409
3408
|
|
|
3410
|
-
@property
|
|
3409
|
+
@_builtins.property
|
|
3411
3410
|
@pulumi.getter(name="namespaceSelector")
|
|
3412
3411
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
3413
3412
|
"""
|
|
@@ -3445,7 +3444,7 @@ class ValidatingWebhook(dict):
|
|
|
3445
3444
|
"""
|
|
3446
3445
|
return pulumi.get(self, "namespace_selector")
|
|
3447
3446
|
|
|
3448
|
-
@property
|
|
3447
|
+
@_builtins.property
|
|
3449
3448
|
@pulumi.getter(name="objectSelector")
|
|
3450
3449
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
3451
3450
|
"""
|
|
@@ -3453,7 +3452,7 @@ class ValidatingWebhook(dict):
|
|
|
3453
3452
|
"""
|
|
3454
3453
|
return pulumi.get(self, "object_selector")
|
|
3455
3454
|
|
|
3456
|
-
@property
|
|
3455
|
+
@_builtins.property
|
|
3457
3456
|
@pulumi.getter
|
|
3458
3457
|
def rules(self) -> Optional[Sequence['outputs.RuleWithOperations']]:
|
|
3459
3458
|
"""
|
|
@@ -3461,9 +3460,9 @@ class ValidatingWebhook(dict):
|
|
|
3461
3460
|
"""
|
|
3462
3461
|
return pulumi.get(self, "rules")
|
|
3463
3462
|
|
|
3464
|
-
@property
|
|
3463
|
+
@_builtins.property
|
|
3465
3464
|
@pulumi.getter(name="timeoutSeconds")
|
|
3466
|
-
def timeout_seconds(self) -> Optional[
|
|
3465
|
+
def timeout_seconds(self) -> Optional[_builtins.int]:
|
|
3467
3466
|
"""
|
|
3468
3467
|
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.
|
|
3469
3468
|
"""
|
|
@@ -3493,14 +3492,14 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3493
3492
|
return super().get(key, default)
|
|
3494
3493
|
|
|
3495
3494
|
def __init__(__self__, *,
|
|
3496
|
-
api_version: Optional[
|
|
3497
|
-
kind: Optional[
|
|
3495
|
+
api_version: Optional[_builtins.str] = None,
|
|
3496
|
+
kind: Optional[_builtins.str] = None,
|
|
3498
3497
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
3499
3498
|
webhooks: Optional[Sequence['outputs.ValidatingWebhook']] = None):
|
|
3500
3499
|
"""
|
|
3501
3500
|
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
|
|
3502
|
-
:param
|
|
3503
|
-
:param
|
|
3501
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
3502
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3504
3503
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
3505
3504
|
:param Sequence['ValidatingWebhookArgs'] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
3506
3505
|
"""
|
|
@@ -3513,23 +3512,23 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3513
3512
|
if webhooks is not None:
|
|
3514
3513
|
pulumi.set(__self__, "webhooks", webhooks)
|
|
3515
3514
|
|
|
3516
|
-
@property
|
|
3515
|
+
@_builtins.property
|
|
3517
3516
|
@pulumi.getter(name="apiVersion")
|
|
3518
|
-
def api_version(self) -> Optional[
|
|
3517
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
3519
3518
|
"""
|
|
3520
3519
|
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
|
|
3521
3520
|
"""
|
|
3522
3521
|
return pulumi.get(self, "api_version")
|
|
3523
3522
|
|
|
3524
|
-
@property
|
|
3523
|
+
@_builtins.property
|
|
3525
3524
|
@pulumi.getter
|
|
3526
|
-
def kind(self) -> Optional[
|
|
3525
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
3527
3526
|
"""
|
|
3528
3527
|
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
|
|
3529
3528
|
"""
|
|
3530
3529
|
return pulumi.get(self, "kind")
|
|
3531
3530
|
|
|
3532
|
-
@property
|
|
3531
|
+
@_builtins.property
|
|
3533
3532
|
@pulumi.getter
|
|
3534
3533
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
3535
3534
|
"""
|
|
@@ -3537,7 +3536,7 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3537
3536
|
"""
|
|
3538
3537
|
return pulumi.get(self, "metadata")
|
|
3539
3538
|
|
|
3540
|
-
@property
|
|
3539
|
+
@_builtins.property
|
|
3541
3540
|
@pulumi.getter
|
|
3542
3541
|
def webhooks(self) -> Optional[Sequence['outputs.ValidatingWebhook']]:
|
|
3543
3542
|
"""
|
|
@@ -3585,22 +3584,22 @@ class ValidatingWebhookPatch(dict):
|
|
|
3585
3584
|
return super().get(key, default)
|
|
3586
3585
|
|
|
3587
3586
|
def __init__(__self__, *,
|
|
3588
|
-
admission_review_versions: Optional[Sequence[
|
|
3587
|
+
admission_review_versions: Optional[Sequence[_builtins.str]] = None,
|
|
3589
3588
|
client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
|
|
3590
|
-
failure_policy: Optional[
|
|
3589
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
3591
3590
|
match_conditions: Optional[Sequence['outputs.MatchConditionPatch']] = None,
|
|
3592
|
-
match_policy: Optional[
|
|
3593
|
-
name: Optional[
|
|
3591
|
+
match_policy: Optional[_builtins.str] = None,
|
|
3592
|
+
name: Optional[_builtins.str] = None,
|
|
3594
3593
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
3595
3594
|
object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
3596
3595
|
rules: Optional[Sequence['outputs.RuleWithOperationsPatch']] = None,
|
|
3597
|
-
side_effects: Optional[
|
|
3598
|
-
timeout_seconds: Optional[
|
|
3596
|
+
side_effects: Optional[_builtins.str] = None,
|
|
3597
|
+
timeout_seconds: Optional[_builtins.int] = None):
|
|
3599
3598
|
"""
|
|
3600
3599
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
3601
|
-
:param Sequence[
|
|
3600
|
+
:param Sequence[_builtins.str] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
|
|
3602
3601
|
:param 'WebhookClientConfigPatchArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
3603
|
-
:param
|
|
3602
|
+
:param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
3604
3603
|
:param Sequence['MatchConditionPatchArgs'] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
|
|
3605
3604
|
|
|
3606
3605
|
The exact matching logic is (in order):
|
|
@@ -3609,14 +3608,14 @@ class ValidatingWebhookPatch(dict):
|
|
|
3609
3608
|
3. If any matchCondition evaluates to an error (but none are FALSE):
|
|
3610
3609
|
- If failurePolicy=Fail, reject the request
|
|
3611
3610
|
- If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
|
3612
|
-
:param
|
|
3611
|
+
:param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3613
3612
|
|
|
3614
3613
|
- 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.
|
|
3615
3614
|
|
|
3616
3615
|
- 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.
|
|
3617
3616
|
|
|
3618
3617
|
Defaults to "Equivalent"
|
|
3619
|
-
:param
|
|
3618
|
+
:param _builtins.str name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
|
|
3620
3619
|
:param '_meta.v1.LabelSelectorPatchArgs' namespace_selector: NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
|
|
3621
3620
|
|
|
3622
3621
|
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": {
|
|
@@ -3650,8 +3649,8 @@ class ValidatingWebhookPatch(dict):
|
|
|
3650
3649
|
Default to the empty LabelSelector, which matches everything.
|
|
3651
3650
|
:param '_meta.v1.LabelSelectorPatchArgs' object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
|
|
3652
3651
|
:param Sequence['RuleWithOperationsPatchArgs'] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
|
|
3653
|
-
:param
|
|
3654
|
-
:param
|
|
3652
|
+
:param _builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
|
|
3653
|
+
:param _builtins.int timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
|
|
3655
3654
|
"""
|
|
3656
3655
|
if admission_review_versions is not None:
|
|
3657
3656
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -3676,15 +3675,15 @@ class ValidatingWebhookPatch(dict):
|
|
|
3676
3675
|
if timeout_seconds is not None:
|
|
3677
3676
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
3678
3677
|
|
|
3679
|
-
@property
|
|
3678
|
+
@_builtins.property
|
|
3680
3679
|
@pulumi.getter(name="admissionReviewVersions")
|
|
3681
|
-
def admission_review_versions(self) -> Optional[Sequence[
|
|
3680
|
+
def admission_review_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
3682
3681
|
"""
|
|
3683
3682
|
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.
|
|
3684
3683
|
"""
|
|
3685
3684
|
return pulumi.get(self, "admission_review_versions")
|
|
3686
3685
|
|
|
3687
|
-
@property
|
|
3686
|
+
@_builtins.property
|
|
3688
3687
|
@pulumi.getter(name="clientConfig")
|
|
3689
3688
|
def client_config(self) -> Optional['outputs.WebhookClientConfigPatch']:
|
|
3690
3689
|
"""
|
|
@@ -3692,15 +3691,15 @@ class ValidatingWebhookPatch(dict):
|
|
|
3692
3691
|
"""
|
|
3693
3692
|
return pulumi.get(self, "client_config")
|
|
3694
3693
|
|
|
3695
|
-
@property
|
|
3694
|
+
@_builtins.property
|
|
3696
3695
|
@pulumi.getter(name="failurePolicy")
|
|
3697
|
-
def failure_policy(self) -> Optional[
|
|
3696
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
3698
3697
|
"""
|
|
3699
3698
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
|
|
3700
3699
|
"""
|
|
3701
3700
|
return pulumi.get(self, "failure_policy")
|
|
3702
3701
|
|
|
3703
|
-
@property
|
|
3702
|
+
@_builtins.property
|
|
3704
3703
|
@pulumi.getter(name="matchConditions")
|
|
3705
3704
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchConditionPatch']]:
|
|
3706
3705
|
"""
|
|
@@ -3715,9 +3714,9 @@ class ValidatingWebhookPatch(dict):
|
|
|
3715
3714
|
"""
|
|
3716
3715
|
return pulumi.get(self, "match_conditions")
|
|
3717
3716
|
|
|
3718
|
-
@property
|
|
3717
|
+
@_builtins.property
|
|
3719
3718
|
@pulumi.getter(name="matchPolicy")
|
|
3720
|
-
def match_policy(self) -> Optional[
|
|
3719
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
3721
3720
|
"""
|
|
3722
3721
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3723
3722
|
|
|
@@ -3729,15 +3728,15 @@ class ValidatingWebhookPatch(dict):
|
|
|
3729
3728
|
"""
|
|
3730
3729
|
return pulumi.get(self, "match_policy")
|
|
3731
3730
|
|
|
3732
|
-
@property
|
|
3731
|
+
@_builtins.property
|
|
3733
3732
|
@pulumi.getter
|
|
3734
|
-
def name(self) -> Optional[
|
|
3733
|
+
def name(self) -> Optional[_builtins.str]:
|
|
3735
3734
|
"""
|
|
3736
3735
|
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.
|
|
3737
3736
|
"""
|
|
3738
3737
|
return pulumi.get(self, "name")
|
|
3739
3738
|
|
|
3740
|
-
@property
|
|
3739
|
+
@_builtins.property
|
|
3741
3740
|
@pulumi.getter(name="namespaceSelector")
|
|
3742
3741
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
3743
3742
|
"""
|
|
@@ -3775,7 +3774,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3775
3774
|
"""
|
|
3776
3775
|
return pulumi.get(self, "namespace_selector")
|
|
3777
3776
|
|
|
3778
|
-
@property
|
|
3777
|
+
@_builtins.property
|
|
3779
3778
|
@pulumi.getter(name="objectSelector")
|
|
3780
3779
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
3781
3780
|
"""
|
|
@@ -3783,7 +3782,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3783
3782
|
"""
|
|
3784
3783
|
return pulumi.get(self, "object_selector")
|
|
3785
3784
|
|
|
3786
|
-
@property
|
|
3785
|
+
@_builtins.property
|
|
3787
3786
|
@pulumi.getter
|
|
3788
3787
|
def rules(self) -> Optional[Sequence['outputs.RuleWithOperationsPatch']]:
|
|
3789
3788
|
"""
|
|
@@ -3791,17 +3790,17 @@ class ValidatingWebhookPatch(dict):
|
|
|
3791
3790
|
"""
|
|
3792
3791
|
return pulumi.get(self, "rules")
|
|
3793
3792
|
|
|
3794
|
-
@property
|
|
3793
|
+
@_builtins.property
|
|
3795
3794
|
@pulumi.getter(name="sideEffects")
|
|
3796
|
-
def side_effects(self) -> Optional[
|
|
3795
|
+
def side_effects(self) -> Optional[_builtins.str]:
|
|
3797
3796
|
"""
|
|
3798
3797
|
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.
|
|
3799
3798
|
"""
|
|
3800
3799
|
return pulumi.get(self, "side_effects")
|
|
3801
3800
|
|
|
3802
|
-
@property
|
|
3801
|
+
@_builtins.property
|
|
3803
3802
|
@pulumi.getter(name="timeoutSeconds")
|
|
3804
|
-
def timeout_seconds(self) -> Optional[
|
|
3803
|
+
def timeout_seconds(self) -> Optional[_builtins.int]:
|
|
3805
3804
|
"""
|
|
3806
3805
|
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.
|
|
3807
3806
|
"""
|
|
@@ -3831,13 +3830,13 @@ class Validation(dict):
|
|
|
3831
3830
|
return super().get(key, default)
|
|
3832
3831
|
|
|
3833
3832
|
def __init__(__self__, *,
|
|
3834
|
-
expression:
|
|
3835
|
-
message: Optional[
|
|
3836
|
-
message_expression: Optional[
|
|
3837
|
-
reason: Optional[
|
|
3833
|
+
expression: _builtins.str,
|
|
3834
|
+
message: Optional[_builtins.str] = None,
|
|
3835
|
+
message_expression: Optional[_builtins.str] = None,
|
|
3836
|
+
reason: Optional[_builtins.str] = None):
|
|
3838
3837
|
"""
|
|
3839
3838
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
3840
|
-
:param
|
|
3839
|
+
:param _builtins.str expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
|
|
3841
3840
|
|
|
3842
3841
|
- '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.
|
|
3843
3842
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -3863,9 +3862,9 @@ class Validation(dict):
|
|
|
3863
3862
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
3864
3863
|
non-intersecting keys are appended, retaining their partial order.
|
|
3865
3864
|
Required.
|
|
3866
|
-
:param
|
|
3867
|
-
:param
|
|
3868
|
-
:param
|
|
3865
|
+
:param _builtins.str message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
3866
|
+
:param _builtins.str message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
3867
|
+
:param _builtins.str reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
3869
3868
|
"""
|
|
3870
3869
|
pulumi.set(__self__, "expression", expression)
|
|
3871
3870
|
if message is not None:
|
|
@@ -3875,9 +3874,9 @@ class Validation(dict):
|
|
|
3875
3874
|
if reason is not None:
|
|
3876
3875
|
pulumi.set(__self__, "reason", reason)
|
|
3877
3876
|
|
|
3878
|
-
@property
|
|
3877
|
+
@_builtins.property
|
|
3879
3878
|
@pulumi.getter
|
|
3880
|
-
def expression(self) ->
|
|
3879
|
+
def expression(self) -> _builtins.str:
|
|
3881
3880
|
"""
|
|
3882
3881
|
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:
|
|
3883
3882
|
|
|
@@ -3908,25 +3907,25 @@ class Validation(dict):
|
|
|
3908
3907
|
"""
|
|
3909
3908
|
return pulumi.get(self, "expression")
|
|
3910
3909
|
|
|
3911
|
-
@property
|
|
3910
|
+
@_builtins.property
|
|
3912
3911
|
@pulumi.getter
|
|
3913
|
-
def message(self) -> Optional[
|
|
3912
|
+
def message(self) -> Optional[_builtins.str]:
|
|
3914
3913
|
"""
|
|
3915
3914
|
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}".
|
|
3916
3915
|
"""
|
|
3917
3916
|
return pulumi.get(self, "message")
|
|
3918
3917
|
|
|
3919
|
-
@property
|
|
3918
|
+
@_builtins.property
|
|
3920
3919
|
@pulumi.getter(name="messageExpression")
|
|
3921
|
-
def message_expression(self) -> Optional[
|
|
3920
|
+
def message_expression(self) -> Optional[_builtins.str]:
|
|
3922
3921
|
"""
|
|
3923
3922
|
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)+")"
|
|
3924
3923
|
"""
|
|
3925
3924
|
return pulumi.get(self, "message_expression")
|
|
3926
3925
|
|
|
3927
|
-
@property
|
|
3926
|
+
@_builtins.property
|
|
3928
3927
|
@pulumi.getter
|
|
3929
|
-
def reason(self) -> Optional[
|
|
3928
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
3930
3929
|
"""
|
|
3931
3930
|
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.
|
|
3932
3931
|
"""
|
|
@@ -3956,13 +3955,13 @@ class ValidationPatch(dict):
|
|
|
3956
3955
|
return super().get(key, default)
|
|
3957
3956
|
|
|
3958
3957
|
def __init__(__self__, *,
|
|
3959
|
-
expression: Optional[
|
|
3960
|
-
message: Optional[
|
|
3961
|
-
message_expression: Optional[
|
|
3962
|
-
reason: Optional[
|
|
3958
|
+
expression: Optional[_builtins.str] = None,
|
|
3959
|
+
message: Optional[_builtins.str] = None,
|
|
3960
|
+
message_expression: Optional[_builtins.str] = None,
|
|
3961
|
+
reason: Optional[_builtins.str] = None):
|
|
3963
3962
|
"""
|
|
3964
3963
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
3965
|
-
:param
|
|
3964
|
+
:param _builtins.str expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
|
|
3966
3965
|
|
|
3967
3966
|
- '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.
|
|
3968
3967
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -3988,9 +3987,9 @@ class ValidationPatch(dict):
|
|
|
3988
3987
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
3989
3988
|
non-intersecting keys are appended, retaining their partial order.
|
|
3990
3989
|
Required.
|
|
3991
|
-
:param
|
|
3992
|
-
:param
|
|
3993
|
-
:param
|
|
3990
|
+
:param _builtins.str message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
3991
|
+
:param _builtins.str message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
3992
|
+
:param _builtins.str reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
3994
3993
|
"""
|
|
3995
3994
|
if expression is not None:
|
|
3996
3995
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -4001,9 +4000,9 @@ class ValidationPatch(dict):
|
|
|
4001
4000
|
if reason is not None:
|
|
4002
4001
|
pulumi.set(__self__, "reason", reason)
|
|
4003
4002
|
|
|
4004
|
-
@property
|
|
4003
|
+
@_builtins.property
|
|
4005
4004
|
@pulumi.getter
|
|
4006
|
-
def expression(self) -> Optional[
|
|
4005
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
4007
4006
|
"""
|
|
4008
4007
|
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:
|
|
4009
4008
|
|
|
@@ -4034,25 +4033,25 @@ class ValidationPatch(dict):
|
|
|
4034
4033
|
"""
|
|
4035
4034
|
return pulumi.get(self, "expression")
|
|
4036
4035
|
|
|
4037
|
-
@property
|
|
4036
|
+
@_builtins.property
|
|
4038
4037
|
@pulumi.getter
|
|
4039
|
-
def message(self) -> Optional[
|
|
4038
|
+
def message(self) -> Optional[_builtins.str]:
|
|
4040
4039
|
"""
|
|
4041
4040
|
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}".
|
|
4042
4041
|
"""
|
|
4043
4042
|
return pulumi.get(self, "message")
|
|
4044
4043
|
|
|
4045
|
-
@property
|
|
4044
|
+
@_builtins.property
|
|
4046
4045
|
@pulumi.getter(name="messageExpression")
|
|
4047
|
-
def message_expression(self) -> Optional[
|
|
4046
|
+
def message_expression(self) -> Optional[_builtins.str]:
|
|
4048
4047
|
"""
|
|
4049
4048
|
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)+")"
|
|
4050
4049
|
"""
|
|
4051
4050
|
return pulumi.get(self, "message_expression")
|
|
4052
4051
|
|
|
4053
|
-
@property
|
|
4052
|
+
@_builtins.property
|
|
4054
4053
|
@pulumi.getter
|
|
4055
|
-
def reason(self) -> Optional[
|
|
4054
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
4056
4055
|
"""
|
|
4057
4056
|
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.
|
|
4058
4057
|
"""
|
|
@@ -4065,27 +4064,27 @@ class Variable(dict):
|
|
|
4065
4064
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
4066
4065
|
"""
|
|
4067
4066
|
def __init__(__self__, *,
|
|
4068
|
-
expression:
|
|
4069
|
-
name:
|
|
4067
|
+
expression: _builtins.str,
|
|
4068
|
+
name: _builtins.str):
|
|
4070
4069
|
"""
|
|
4071
4070
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
4072
|
-
:param
|
|
4073
|
-
:param
|
|
4071
|
+
:param _builtins.str expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
4072
|
+
:param _builtins.str name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
4074
4073
|
"""
|
|
4075
4074
|
pulumi.set(__self__, "expression", expression)
|
|
4076
4075
|
pulumi.set(__self__, "name", name)
|
|
4077
4076
|
|
|
4078
|
-
@property
|
|
4077
|
+
@_builtins.property
|
|
4079
4078
|
@pulumi.getter
|
|
4080
|
-
def expression(self) ->
|
|
4079
|
+
def expression(self) -> _builtins.str:
|
|
4081
4080
|
"""
|
|
4082
4081
|
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.
|
|
4083
4082
|
"""
|
|
4084
4083
|
return pulumi.get(self, "expression")
|
|
4085
4084
|
|
|
4086
|
-
@property
|
|
4085
|
+
@_builtins.property
|
|
4087
4086
|
@pulumi.getter
|
|
4088
|
-
def name(self) ->
|
|
4087
|
+
def name(self) -> _builtins.str:
|
|
4089
4088
|
"""
|
|
4090
4089
|
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`
|
|
4091
4090
|
"""
|
|
@@ -4098,29 +4097,29 @@ class VariablePatch(dict):
|
|
|
4098
4097
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
4099
4098
|
"""
|
|
4100
4099
|
def __init__(__self__, *,
|
|
4101
|
-
expression: Optional[
|
|
4102
|
-
name: Optional[
|
|
4100
|
+
expression: Optional[_builtins.str] = None,
|
|
4101
|
+
name: Optional[_builtins.str] = None):
|
|
4103
4102
|
"""
|
|
4104
4103
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
4105
|
-
:param
|
|
4106
|
-
:param
|
|
4104
|
+
:param _builtins.str expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
4105
|
+
:param _builtins.str name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
4107
4106
|
"""
|
|
4108
4107
|
if expression is not None:
|
|
4109
4108
|
pulumi.set(__self__, "expression", expression)
|
|
4110
4109
|
if name is not None:
|
|
4111
4110
|
pulumi.set(__self__, "name", name)
|
|
4112
4111
|
|
|
4113
|
-
@property
|
|
4112
|
+
@_builtins.property
|
|
4114
4113
|
@pulumi.getter
|
|
4115
|
-
def expression(self) -> Optional[
|
|
4114
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
4116
4115
|
"""
|
|
4117
4116
|
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.
|
|
4118
4117
|
"""
|
|
4119
4118
|
return pulumi.get(self, "expression")
|
|
4120
4119
|
|
|
4121
|
-
@property
|
|
4120
|
+
@_builtins.property
|
|
4122
4121
|
@pulumi.getter
|
|
4123
|
-
def name(self) -> Optional[
|
|
4122
|
+
def name(self) -> Optional[_builtins.str]:
|
|
4124
4123
|
"""
|
|
4125
4124
|
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`
|
|
4126
4125
|
"""
|
|
@@ -4150,16 +4149,16 @@ class WebhookClientConfig(dict):
|
|
|
4150
4149
|
return super().get(key, default)
|
|
4151
4150
|
|
|
4152
4151
|
def __init__(__self__, *,
|
|
4153
|
-
ca_bundle: Optional[
|
|
4152
|
+
ca_bundle: Optional[_builtins.str] = None,
|
|
4154
4153
|
service: Optional['outputs.ServiceReference'] = None,
|
|
4155
|
-
url: Optional[
|
|
4154
|
+
url: Optional[_builtins.str] = None):
|
|
4156
4155
|
"""
|
|
4157
4156
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
4158
|
-
:param
|
|
4157
|
+
:param _builtins.str ca_bundle: `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
4159
4158
|
:param 'ServiceReferenceArgs' service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
4160
4159
|
|
|
4161
4160
|
If the webhook is running within the cluster, then you should use `service`.
|
|
4162
|
-
:param
|
|
4161
|
+
:param _builtins.str url: `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4163
4162
|
|
|
4164
4163
|
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.
|
|
4165
4164
|
|
|
@@ -4178,15 +4177,15 @@ class WebhookClientConfig(dict):
|
|
|
4178
4177
|
if url is not None:
|
|
4179
4178
|
pulumi.set(__self__, "url", url)
|
|
4180
4179
|
|
|
4181
|
-
@property
|
|
4180
|
+
@_builtins.property
|
|
4182
4181
|
@pulumi.getter(name="caBundle")
|
|
4183
|
-
def ca_bundle(self) -> Optional[
|
|
4182
|
+
def ca_bundle(self) -> Optional[_builtins.str]:
|
|
4184
4183
|
"""
|
|
4185
4184
|
`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.
|
|
4186
4185
|
"""
|
|
4187
4186
|
return pulumi.get(self, "ca_bundle")
|
|
4188
4187
|
|
|
4189
|
-
@property
|
|
4188
|
+
@_builtins.property
|
|
4190
4189
|
@pulumi.getter
|
|
4191
4190
|
def service(self) -> Optional['outputs.ServiceReference']:
|
|
4192
4191
|
"""
|
|
@@ -4196,9 +4195,9 @@ class WebhookClientConfig(dict):
|
|
|
4196
4195
|
"""
|
|
4197
4196
|
return pulumi.get(self, "service")
|
|
4198
4197
|
|
|
4199
|
-
@property
|
|
4198
|
+
@_builtins.property
|
|
4200
4199
|
@pulumi.getter
|
|
4201
|
-
def url(self) -> Optional[
|
|
4200
|
+
def url(self) -> Optional[_builtins.str]:
|
|
4202
4201
|
"""
|
|
4203
4202
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4204
4203
|
|
|
@@ -4238,16 +4237,16 @@ class WebhookClientConfigPatch(dict):
|
|
|
4238
4237
|
return super().get(key, default)
|
|
4239
4238
|
|
|
4240
4239
|
def __init__(__self__, *,
|
|
4241
|
-
ca_bundle: Optional[
|
|
4240
|
+
ca_bundle: Optional[_builtins.str] = None,
|
|
4242
4241
|
service: Optional['outputs.ServiceReferencePatch'] = None,
|
|
4243
|
-
url: Optional[
|
|
4242
|
+
url: Optional[_builtins.str] = None):
|
|
4244
4243
|
"""
|
|
4245
4244
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
4246
|
-
:param
|
|
4245
|
+
:param _builtins.str ca_bundle: `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
4247
4246
|
:param 'ServiceReferencePatchArgs' service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
4248
4247
|
|
|
4249
4248
|
If the webhook is running within the cluster, then you should use `service`.
|
|
4250
|
-
:param
|
|
4249
|
+
:param _builtins.str url: `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4251
4250
|
|
|
4252
4251
|
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.
|
|
4253
4252
|
|
|
@@ -4266,15 +4265,15 @@ class WebhookClientConfigPatch(dict):
|
|
|
4266
4265
|
if url is not None:
|
|
4267
4266
|
pulumi.set(__self__, "url", url)
|
|
4268
4267
|
|
|
4269
|
-
@property
|
|
4268
|
+
@_builtins.property
|
|
4270
4269
|
@pulumi.getter(name="caBundle")
|
|
4271
|
-
def ca_bundle(self) -> Optional[
|
|
4270
|
+
def ca_bundle(self) -> Optional[_builtins.str]:
|
|
4272
4271
|
"""
|
|
4273
4272
|
`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.
|
|
4274
4273
|
"""
|
|
4275
4274
|
return pulumi.get(self, "ca_bundle")
|
|
4276
4275
|
|
|
4277
|
-
@property
|
|
4276
|
+
@_builtins.property
|
|
4278
4277
|
@pulumi.getter
|
|
4279
4278
|
def service(self) -> Optional['outputs.ServiceReferencePatch']:
|
|
4280
4279
|
"""
|
|
@@ -4284,9 +4283,9 @@ class WebhookClientConfigPatch(dict):
|
|
|
4284
4283
|
"""
|
|
4285
4284
|
return pulumi.get(self, "service")
|
|
4286
4285
|
|
|
4287
|
-
@property
|
|
4286
|
+
@_builtins.property
|
|
4288
4287
|
@pulumi.getter
|
|
4289
|
-
def url(self) -> Optional[
|
|
4288
|
+
def url(self) -> Optional[_builtins.str]:
|
|
4290
4289
|
"""
|
|
4291
4290
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4292
4291
|
|