pulumi-kubernetes 4.24.0a1752908431__py3-none-any.whl → 4.24.0a1753121506__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +1 -1
- pulumi_kubernetes/_inputs.py +49 -50
- pulumi_kubernetes/admissionregistration/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +715 -716
- pulumi_kubernetes/admissionregistration/v1/outputs.py +512 -513
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +495 -496
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +364 -365
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +711 -712
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +508 -509
- pulumi_kubernetes/apiextensions/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/_inputs.py +906 -907
- pulumi_kubernetes/apiextensions/v1/outputs.py +620 -621
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -835
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -573
- pulumi_kubernetes/apiregistration/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -129
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -129
- pulumi_kubernetes/apps/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/_inputs.py +749 -750
- pulumi_kubernetes/apps/v1/outputs.py +713 -714
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -410
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -382
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -656
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -646
- pulumi_kubernetes/auditregistration/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -146
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -102
- pulumi_kubernetes/autoscaling/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -121
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -103
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2/_inputs.py +410 -411
- pulumi_kubernetes/autoscaling/v2/outputs.py +374 -375
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -452
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -425
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -399
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -367
- pulumi_kubernetes/batch/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/Job.py +26 -27
- pulumi_kubernetes/batch/v1/JobList.py +25 -26
- pulumi_kubernetes/batch/v1/JobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/_inputs.py +494 -495
- pulumi_kubernetes/batch/v1/outputs.py +419 -420
- pulumi_kubernetes/batch/v1beta1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -77
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -1
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -77
- pulumi_kubernetes/certificates/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -156
- pulumi_kubernetes/certificates/v1/outputs.py +134 -135
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -40
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -28
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +182 -183
- pulumi_kubernetes/certificates/v1beta1/outputs.py +154 -155
- pulumi_kubernetes/coordination/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -100
- pulumi_kubernetes/coordination/v1/outputs.py +67 -68
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1beta1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +161 -162
- pulumi_kubernetes/coordination/v1beta1/outputs.py +109 -110
- pulumi_kubernetes/core/__init__.py +1 -1
- pulumi_kubernetes/core/v1/Binding.py +25 -26
- pulumi_kubernetes/core/v1/BindingPatch.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMap.py +53 -54
- pulumi_kubernetes/core/v1/ConfigMapList.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +53 -54
- pulumi_kubernetes/core/v1/Endpoints.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsList.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsPatch.py +25 -26
- pulumi_kubernetes/core/v1/Event.py +131 -132
- pulumi_kubernetes/core/v1/EventList.py +25 -26
- pulumi_kubernetes/core/v1/EventPatch.py +131 -132
- pulumi_kubernetes/core/v1/LimitRange.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangeList.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangePatch.py +25 -26
- pulumi_kubernetes/core/v1/Namespace.py +26 -27
- pulumi_kubernetes/core/v1/NamespaceList.py +25 -26
- pulumi_kubernetes/core/v1/NamespacePatch.py +26 -27
- pulumi_kubernetes/core/v1/Node.py +26 -27
- pulumi_kubernetes/core/v1/NodeList.py +25 -26
- pulumi_kubernetes/core/v1/NodePatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolume.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +26 -27
- pulumi_kubernetes/core/v1/Pod.py +26 -27
- pulumi_kubernetes/core/v1/PodList.py +25 -26
- pulumi_kubernetes/core/v1/PodPatch.py +26 -27
- pulumi_kubernetes/core/v1/PodTemplate.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplateList.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationController.py +26 -27
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuota.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +25 -26
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +26 -27
- pulumi_kubernetes/core/v1/Secret.py +63 -64
- pulumi_kubernetes/core/v1/SecretList.py +25 -26
- pulumi_kubernetes/core/v1/SecretPatch.py +63 -64
- pulumi_kubernetes/core/v1/Service.py +26 -27
- pulumi_kubernetes/core/v1/ServiceAccount.py +37 -38
- pulumi_kubernetes/core/v1/ServiceAccountList.py +25 -26
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +37 -38
- pulumi_kubernetes/core/v1/ServiceList.py +25 -26
- pulumi_kubernetes/core/v1/ServicePatch.py +26 -27
- pulumi_kubernetes/core/v1/__init__.py +1 -1
- pulumi_kubernetes/core/v1/_enums.py +2 -2
- pulumi_kubernetes/core/v1/_inputs.py +7133 -7134
- pulumi_kubernetes/core/v1/outputs.py +5390 -5391
- pulumi_kubernetes/discovery/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/_inputs.py +200 -201
- pulumi_kubernetes/discovery/v1/outputs.py +138 -139
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -159
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -109
- pulumi_kubernetes/events/__init__.py +1 -1
- pulumi_kubernetes/events/v1/Event.py +131 -132
- pulumi_kubernetes/events/v1/EventList.py +25 -26
- pulumi_kubernetes/events/v1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1/__init__.py +1 -1
- pulumi_kubernetes/events/v1/_inputs.py +102 -103
- pulumi_kubernetes/events/v1/outputs.py +70 -71
- pulumi_kubernetes/events/v1beta1/Event.py +131 -132
- pulumi_kubernetes/events/v1beta1/EventList.py +25 -26
- pulumi_kubernetes/events/v1beta1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -115
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -79
- pulumi_kubernetes/extensions/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1098
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -900
- pulumi_kubernetes/flowcontrol/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +333 -334
- pulumi_kubernetes/helm/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/Release.py +316 -317
- pulumi_kubernetes/helm/v3/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/_inputs.py +37 -38
- pulumi_kubernetes/helm/v3/outputs.py +54 -55
- pulumi_kubernetes/helm/v4/Chart.py +95 -96
- pulumi_kubernetes/helm/v4/__init__.py +1 -1
- pulumi_kubernetes/helm/v4/_inputs.py +34 -35
- pulumi_kubernetes/kustomize/__init__.py +1 -1
- pulumi_kubernetes/kustomize/v2/Directory.py +35 -36
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -1
- pulumi_kubernetes/meta/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/Status.py +57 -58
- pulumi_kubernetes/meta/v1/StatusPatch.py +57 -58
- pulumi_kubernetes/meta/v1/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/_inputs.py +551 -552
- pulumi_kubernetes/meta/v1/outputs.py +395 -396
- pulumi_kubernetes/networking/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/_inputs.py +463 -464
- pulumi_kubernetes/networking/v1/outputs.py +350 -351
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -158
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -111
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -248
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -174
- pulumi_kubernetes/node/__init__.py +1 -1
- pulumi_kubernetes/node/v1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1/__init__.py +1 -1
- pulumi_kubernetes/node/v1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1/outputs.py +34 -35
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +25 -26
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -58
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -42
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -35
- pulumi_kubernetes/policy/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/_inputs.py +91 -92
- pulumi_kubernetes/policy/v1/outputs.py +80 -81
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -471
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -343
- pulumi_kubernetes/provider.py +107 -108
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -143
- pulumi_kubernetes/resource/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -269
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -231
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -551
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -450
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +27 -28
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +836 -837
- pulumi_kubernetes/resource/v1alpha3/outputs.py +685 -686
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta1/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta1/outputs.py +564 -565
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta2/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta2/outputs.py +564 -565
- pulumi_kubernetes/scheduling/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -27
- pulumi_kubernetes/settings/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -22
- pulumi_kubernetes/storage/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/_inputs.py +372 -373
- pulumi_kubernetes/storage/v1/outputs.py +278 -279
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -108
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -94
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -368
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -272
- pulumi_kubernetes/storagemigration/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +25 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -104
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -97
- pulumi_kubernetes/yaml/__init__.py +1 -1
- pulumi_kubernetes/yaml/v2/ConfigFile.py +26 -27
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +35 -36
- pulumi_kubernetes/yaml/v2/__init__.py +1 -1
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.24.0a1753121506.dist-info/RECORD +709 -0
- pulumi_kubernetes-4.24.0a1752908431.dist-info/RECORD +0 -709
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -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 be 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 be 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 be 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 be 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
|
"""
|
|
@@ -788,23 +787,23 @@ class MutatingWebhook(dict):
|
|
|
788
787
|
|
|
789
788
|
def __init__(__self__, *,
|
|
790
789
|
client_config: 'outputs.WebhookClientConfig',
|
|
791
|
-
name:
|
|
792
|
-
admission_review_versions: Optional[Sequence[
|
|
793
|
-
failure_policy: Optional[
|
|
794
|
-
match_policy: Optional[
|
|
790
|
+
name: _builtins.str,
|
|
791
|
+
admission_review_versions: Optional[Sequence[_builtins.str]] = None,
|
|
792
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
793
|
+
match_policy: Optional[_builtins.str] = None,
|
|
795
794
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
796
795
|
object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
797
|
-
reinvocation_policy: Optional[
|
|
796
|
+
reinvocation_policy: Optional[_builtins.str] = None,
|
|
798
797
|
rules: Optional[Sequence['outputs.RuleWithOperations']] = None,
|
|
799
|
-
side_effects: Optional[
|
|
800
|
-
timeout_seconds: Optional[
|
|
798
|
+
side_effects: Optional[_builtins.str] = None,
|
|
799
|
+
timeout_seconds: Optional[_builtins.int] = None):
|
|
801
800
|
"""
|
|
802
801
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
803
802
|
:param 'WebhookClientConfigArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
804
|
-
:param
|
|
805
|
-
:param Sequence[
|
|
806
|
-
:param
|
|
807
|
-
:param
|
|
803
|
+
: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.
|
|
804
|
+
: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. Default to `['v1beta1']`.
|
|
805
|
+
:param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
806
|
+
:param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
808
807
|
|
|
809
808
|
- 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.
|
|
810
809
|
|
|
@@ -843,7 +842,7 @@ class MutatingWebhook(dict):
|
|
|
843
842
|
|
|
844
843
|
Default to the empty LabelSelector, which matches everything.
|
|
845
844
|
: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.
|
|
846
|
-
:param
|
|
845
|
+
: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".
|
|
847
846
|
|
|
848
847
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
849
848
|
|
|
@@ -851,8 +850,8 @@ class MutatingWebhook(dict):
|
|
|
851
850
|
|
|
852
851
|
Defaults to "Never".
|
|
853
852
|
: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.
|
|
854
|
-
:param
|
|
855
|
-
:param
|
|
853
|
+
:param _builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
854
|
+
: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 30 seconds.
|
|
856
855
|
"""
|
|
857
856
|
pulumi.set(__self__, "client_config", client_config)
|
|
858
857
|
pulumi.set(__self__, "name", name)
|
|
@@ -875,7 +874,7 @@ class MutatingWebhook(dict):
|
|
|
875
874
|
if timeout_seconds is not None:
|
|
876
875
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
877
876
|
|
|
878
|
-
@property
|
|
877
|
+
@_builtins.property
|
|
879
878
|
@pulumi.getter(name="clientConfig")
|
|
880
879
|
def client_config(self) -> 'outputs.WebhookClientConfig':
|
|
881
880
|
"""
|
|
@@ -883,33 +882,33 @@ class MutatingWebhook(dict):
|
|
|
883
882
|
"""
|
|
884
883
|
return pulumi.get(self, "client_config")
|
|
885
884
|
|
|
886
|
-
@property
|
|
885
|
+
@_builtins.property
|
|
887
886
|
@pulumi.getter
|
|
888
|
-
def name(self) ->
|
|
887
|
+
def name(self) -> _builtins.str:
|
|
889
888
|
"""
|
|
890
889
|
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.
|
|
891
890
|
"""
|
|
892
891
|
return pulumi.get(self, "name")
|
|
893
892
|
|
|
894
|
-
@property
|
|
893
|
+
@_builtins.property
|
|
895
894
|
@pulumi.getter(name="admissionReviewVersions")
|
|
896
|
-
def admission_review_versions(self) -> Optional[Sequence[
|
|
895
|
+
def admission_review_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
897
896
|
"""
|
|
898
897
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
899
898
|
"""
|
|
900
899
|
return pulumi.get(self, "admission_review_versions")
|
|
901
900
|
|
|
902
|
-
@property
|
|
901
|
+
@_builtins.property
|
|
903
902
|
@pulumi.getter(name="failurePolicy")
|
|
904
|
-
def failure_policy(self) -> Optional[
|
|
903
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
905
904
|
"""
|
|
906
905
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
907
906
|
"""
|
|
908
907
|
return pulumi.get(self, "failure_policy")
|
|
909
908
|
|
|
910
|
-
@property
|
|
909
|
+
@_builtins.property
|
|
911
910
|
@pulumi.getter(name="matchPolicy")
|
|
912
|
-
def match_policy(self) -> Optional[
|
|
911
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
913
912
|
"""
|
|
914
913
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
915
914
|
|
|
@@ -921,7 +920,7 @@ class MutatingWebhook(dict):
|
|
|
921
920
|
"""
|
|
922
921
|
return pulumi.get(self, "match_policy")
|
|
923
922
|
|
|
924
|
-
@property
|
|
923
|
+
@_builtins.property
|
|
925
924
|
@pulumi.getter(name="namespaceSelector")
|
|
926
925
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
927
926
|
"""
|
|
@@ -959,7 +958,7 @@ class MutatingWebhook(dict):
|
|
|
959
958
|
"""
|
|
960
959
|
return pulumi.get(self, "namespace_selector")
|
|
961
960
|
|
|
962
|
-
@property
|
|
961
|
+
@_builtins.property
|
|
963
962
|
@pulumi.getter(name="objectSelector")
|
|
964
963
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
965
964
|
"""
|
|
@@ -967,9 +966,9 @@ class MutatingWebhook(dict):
|
|
|
967
966
|
"""
|
|
968
967
|
return pulumi.get(self, "object_selector")
|
|
969
968
|
|
|
970
|
-
@property
|
|
969
|
+
@_builtins.property
|
|
971
970
|
@pulumi.getter(name="reinvocationPolicy")
|
|
972
|
-
def reinvocation_policy(self) -> Optional[
|
|
971
|
+
def reinvocation_policy(self) -> Optional[_builtins.str]:
|
|
973
972
|
"""
|
|
974
973
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
975
974
|
|
|
@@ -981,7 +980,7 @@ class MutatingWebhook(dict):
|
|
|
981
980
|
"""
|
|
982
981
|
return pulumi.get(self, "reinvocation_policy")
|
|
983
982
|
|
|
984
|
-
@property
|
|
983
|
+
@_builtins.property
|
|
985
984
|
@pulumi.getter
|
|
986
985
|
def rules(self) -> Optional[Sequence['outputs.RuleWithOperations']]:
|
|
987
986
|
"""
|
|
@@ -989,17 +988,17 @@ class MutatingWebhook(dict):
|
|
|
989
988
|
"""
|
|
990
989
|
return pulumi.get(self, "rules")
|
|
991
990
|
|
|
992
|
-
@property
|
|
991
|
+
@_builtins.property
|
|
993
992
|
@pulumi.getter(name="sideEffects")
|
|
994
|
-
def side_effects(self) -> Optional[
|
|
993
|
+
def side_effects(self) -> Optional[_builtins.str]:
|
|
995
994
|
"""
|
|
996
995
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
997
996
|
"""
|
|
998
997
|
return pulumi.get(self, "side_effects")
|
|
999
998
|
|
|
1000
|
-
@property
|
|
999
|
+
@_builtins.property
|
|
1001
1000
|
@pulumi.getter(name="timeoutSeconds")
|
|
1002
|
-
def timeout_seconds(self) -> Optional[
|
|
1001
|
+
def timeout_seconds(self) -> Optional[_builtins.int]:
|
|
1003
1002
|
"""
|
|
1004
1003
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1005
1004
|
"""
|
|
@@ -1029,14 +1028,14 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1029
1028
|
return super().get(key, default)
|
|
1030
1029
|
|
|
1031
1030
|
def __init__(__self__, *,
|
|
1032
|
-
api_version: Optional[
|
|
1033
|
-
kind: Optional[
|
|
1031
|
+
api_version: Optional[_builtins.str] = None,
|
|
1032
|
+
kind: Optional[_builtins.str] = None,
|
|
1034
1033
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
1035
1034
|
webhooks: Optional[Sequence['outputs.MutatingWebhook']] = None):
|
|
1036
1035
|
"""
|
|
1037
1036
|
MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.
|
|
1038
|
-
:param
|
|
1039
|
-
:param
|
|
1037
|
+
: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
|
|
1038
|
+
: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
|
|
1040
1039
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
1041
1040
|
:param Sequence['MutatingWebhookArgs'] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
1042
1041
|
"""
|
|
@@ -1049,23 +1048,23 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1049
1048
|
if webhooks is not None:
|
|
1050
1049
|
pulumi.set(__self__, "webhooks", webhooks)
|
|
1051
1050
|
|
|
1052
|
-
@property
|
|
1051
|
+
@_builtins.property
|
|
1053
1052
|
@pulumi.getter(name="apiVersion")
|
|
1054
|
-
def api_version(self) -> Optional[
|
|
1053
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1055
1054
|
"""
|
|
1056
1055
|
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
|
|
1057
1056
|
"""
|
|
1058
1057
|
return pulumi.get(self, "api_version")
|
|
1059
1058
|
|
|
1060
|
-
@property
|
|
1059
|
+
@_builtins.property
|
|
1061
1060
|
@pulumi.getter
|
|
1062
|
-
def kind(self) -> Optional[
|
|
1061
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1063
1062
|
"""
|
|
1064
1063
|
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
|
|
1065
1064
|
"""
|
|
1066
1065
|
return pulumi.get(self, "kind")
|
|
1067
1066
|
|
|
1068
|
-
@property
|
|
1067
|
+
@_builtins.property
|
|
1069
1068
|
@pulumi.getter
|
|
1070
1069
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
1071
1070
|
"""
|
|
@@ -1073,7 +1072,7 @@ class MutatingWebhookConfiguration(dict):
|
|
|
1073
1072
|
"""
|
|
1074
1073
|
return pulumi.get(self, "metadata")
|
|
1075
1074
|
|
|
1076
|
-
@property
|
|
1075
|
+
@_builtins.property
|
|
1077
1076
|
@pulumi.getter
|
|
1078
1077
|
def webhooks(self) -> Optional[Sequence['outputs.MutatingWebhook']]:
|
|
1079
1078
|
"""
|
|
@@ -1121,30 +1120,30 @@ class MutatingWebhookPatch(dict):
|
|
|
1121
1120
|
return super().get(key, default)
|
|
1122
1121
|
|
|
1123
1122
|
def __init__(__self__, *,
|
|
1124
|
-
admission_review_versions: Optional[Sequence[
|
|
1123
|
+
admission_review_versions: Optional[Sequence[_builtins.str]] = None,
|
|
1125
1124
|
client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
|
|
1126
|
-
failure_policy: Optional[
|
|
1127
|
-
match_policy: Optional[
|
|
1128
|
-
name: Optional[
|
|
1125
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
1126
|
+
match_policy: Optional[_builtins.str] = None,
|
|
1127
|
+
name: Optional[_builtins.str] = None,
|
|
1129
1128
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1130
1129
|
object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1131
|
-
reinvocation_policy: Optional[
|
|
1130
|
+
reinvocation_policy: Optional[_builtins.str] = None,
|
|
1132
1131
|
rules: Optional[Sequence['outputs.RuleWithOperationsPatch']] = None,
|
|
1133
|
-
side_effects: Optional[
|
|
1134
|
-
timeout_seconds: Optional[
|
|
1132
|
+
side_effects: Optional[_builtins.str] = None,
|
|
1133
|
+
timeout_seconds: Optional[_builtins.int] = None):
|
|
1135
1134
|
"""
|
|
1136
1135
|
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
1137
|
-
:param Sequence[
|
|
1136
|
+
: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. Default to `['v1beta1']`.
|
|
1138
1137
|
:param 'WebhookClientConfigPatchArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
1139
|
-
:param
|
|
1140
|
-
:param
|
|
1138
|
+
:param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1139
|
+
:param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1141
1140
|
|
|
1142
1141
|
- 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.
|
|
1143
1142
|
|
|
1144
1143
|
- 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.
|
|
1145
1144
|
|
|
1146
1145
|
Defaults to "Exact"
|
|
1147
|
-
:param
|
|
1146
|
+
: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.
|
|
1148
1147
|
: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.
|
|
1149
1148
|
|
|
1150
1149
|
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": {
|
|
@@ -1177,7 +1176,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1177
1176
|
|
|
1178
1177
|
Default to the empty LabelSelector, which matches everything.
|
|
1179
1178
|
: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.
|
|
1180
|
-
:param
|
|
1179
|
+
: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".
|
|
1181
1180
|
|
|
1182
1181
|
Never: the webhook will not be called more than once in a single admission evaluation.
|
|
1183
1182
|
|
|
@@ -1185,8 +1184,8 @@ class MutatingWebhookPatch(dict):
|
|
|
1185
1184
|
|
|
1186
1185
|
Defaults to "Never".
|
|
1187
1186
|
: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.
|
|
1188
|
-
:param
|
|
1189
|
-
:param
|
|
1187
|
+
:param _builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1188
|
+
: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 30 seconds.
|
|
1190
1189
|
"""
|
|
1191
1190
|
if admission_review_versions is not None:
|
|
1192
1191
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -1211,15 +1210,15 @@ class MutatingWebhookPatch(dict):
|
|
|
1211
1210
|
if timeout_seconds is not None:
|
|
1212
1211
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
1213
1212
|
|
|
1214
|
-
@property
|
|
1213
|
+
@_builtins.property
|
|
1215
1214
|
@pulumi.getter(name="admissionReviewVersions")
|
|
1216
|
-
def admission_review_versions(self) -> Optional[Sequence[
|
|
1215
|
+
def admission_review_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
1217
1216
|
"""
|
|
1218
1217
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
1219
1218
|
"""
|
|
1220
1219
|
return pulumi.get(self, "admission_review_versions")
|
|
1221
1220
|
|
|
1222
|
-
@property
|
|
1221
|
+
@_builtins.property
|
|
1223
1222
|
@pulumi.getter(name="clientConfig")
|
|
1224
1223
|
def client_config(self) -> Optional['outputs.WebhookClientConfigPatch']:
|
|
1225
1224
|
"""
|
|
@@ -1227,17 +1226,17 @@ class MutatingWebhookPatch(dict):
|
|
|
1227
1226
|
"""
|
|
1228
1227
|
return pulumi.get(self, "client_config")
|
|
1229
1228
|
|
|
1230
|
-
@property
|
|
1229
|
+
@_builtins.property
|
|
1231
1230
|
@pulumi.getter(name="failurePolicy")
|
|
1232
|
-
def failure_policy(self) -> Optional[
|
|
1231
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
1233
1232
|
"""
|
|
1234
1233
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
1235
1234
|
"""
|
|
1236
1235
|
return pulumi.get(self, "failure_policy")
|
|
1237
1236
|
|
|
1238
|
-
@property
|
|
1237
|
+
@_builtins.property
|
|
1239
1238
|
@pulumi.getter(name="matchPolicy")
|
|
1240
|
-
def match_policy(self) -> Optional[
|
|
1239
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
1241
1240
|
"""
|
|
1242
1241
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1243
1242
|
|
|
@@ -1249,15 +1248,15 @@ class MutatingWebhookPatch(dict):
|
|
|
1249
1248
|
"""
|
|
1250
1249
|
return pulumi.get(self, "match_policy")
|
|
1251
1250
|
|
|
1252
|
-
@property
|
|
1251
|
+
@_builtins.property
|
|
1253
1252
|
@pulumi.getter
|
|
1254
|
-
def name(self) -> Optional[
|
|
1253
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1255
1254
|
"""
|
|
1256
1255
|
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.
|
|
1257
1256
|
"""
|
|
1258
1257
|
return pulumi.get(self, "name")
|
|
1259
1258
|
|
|
1260
|
-
@property
|
|
1259
|
+
@_builtins.property
|
|
1261
1260
|
@pulumi.getter(name="namespaceSelector")
|
|
1262
1261
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1263
1262
|
"""
|
|
@@ -1295,7 +1294,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1295
1294
|
"""
|
|
1296
1295
|
return pulumi.get(self, "namespace_selector")
|
|
1297
1296
|
|
|
1298
|
-
@property
|
|
1297
|
+
@_builtins.property
|
|
1299
1298
|
@pulumi.getter(name="objectSelector")
|
|
1300
1299
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1301
1300
|
"""
|
|
@@ -1303,9 +1302,9 @@ class MutatingWebhookPatch(dict):
|
|
|
1303
1302
|
"""
|
|
1304
1303
|
return pulumi.get(self, "object_selector")
|
|
1305
1304
|
|
|
1306
|
-
@property
|
|
1305
|
+
@_builtins.property
|
|
1307
1306
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1308
|
-
def reinvocation_policy(self) -> Optional[
|
|
1307
|
+
def reinvocation_policy(self) -> Optional[_builtins.str]:
|
|
1309
1308
|
"""
|
|
1310
1309
|
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1311
1310
|
|
|
@@ -1317,7 +1316,7 @@ class MutatingWebhookPatch(dict):
|
|
|
1317
1316
|
"""
|
|
1318
1317
|
return pulumi.get(self, "reinvocation_policy")
|
|
1319
1318
|
|
|
1320
|
-
@property
|
|
1319
|
+
@_builtins.property
|
|
1321
1320
|
@pulumi.getter
|
|
1322
1321
|
def rules(self) -> Optional[Sequence['outputs.RuleWithOperationsPatch']]:
|
|
1323
1322
|
"""
|
|
@@ -1325,17 +1324,17 @@ class MutatingWebhookPatch(dict):
|
|
|
1325
1324
|
"""
|
|
1326
1325
|
return pulumi.get(self, "rules")
|
|
1327
1326
|
|
|
1328
|
-
@property
|
|
1327
|
+
@_builtins.property
|
|
1329
1328
|
@pulumi.getter(name="sideEffects")
|
|
1330
|
-
def side_effects(self) -> Optional[
|
|
1329
|
+
def side_effects(self) -> Optional[_builtins.str]:
|
|
1331
1330
|
"""
|
|
1332
1331
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
1333
1332
|
"""
|
|
1334
1333
|
return pulumi.get(self, "side_effects")
|
|
1335
1334
|
|
|
1336
|
-
@property
|
|
1335
|
+
@_builtins.property
|
|
1337
1336
|
@pulumi.getter(name="timeoutSeconds")
|
|
1338
|
-
def timeout_seconds(self) -> Optional[
|
|
1337
|
+
def timeout_seconds(self) -> Optional[_builtins.int]:
|
|
1339
1338
|
"""
|
|
1340
1339
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
1341
1340
|
"""
|
|
@@ -1369,26 +1368,26 @@ class NamedRuleWithOperations(dict):
|
|
|
1369
1368
|
return super().get(key, default)
|
|
1370
1369
|
|
|
1371
1370
|
def __init__(__self__, *,
|
|
1372
|
-
api_groups: Optional[Sequence[
|
|
1373
|
-
api_versions: Optional[Sequence[
|
|
1374
|
-
operations: Optional[Sequence[
|
|
1375
|
-
resource_names: Optional[Sequence[
|
|
1376
|
-
resources: Optional[Sequence[
|
|
1377
|
-
scope: Optional[
|
|
1371
|
+
api_groups: Optional[Sequence[_builtins.str]] = None,
|
|
1372
|
+
api_versions: Optional[Sequence[_builtins.str]] = None,
|
|
1373
|
+
operations: Optional[Sequence[_builtins.str]] = None,
|
|
1374
|
+
resource_names: Optional[Sequence[_builtins.str]] = None,
|
|
1375
|
+
resources: Optional[Sequence[_builtins.str]] = None,
|
|
1376
|
+
scope: Optional[_builtins.str] = None):
|
|
1378
1377
|
"""
|
|
1379
1378
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1380
|
-
:param Sequence[
|
|
1381
|
-
:param Sequence[
|
|
1382
|
-
:param Sequence[
|
|
1383
|
-
:param Sequence[
|
|
1384
|
-
:param Sequence[
|
|
1379
|
+
: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.
|
|
1380
|
+
: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.
|
|
1381
|
+
: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.
|
|
1382
|
+
: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.
|
|
1383
|
+
:param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1385
1384
|
|
|
1386
1385
|
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.
|
|
1387
1386
|
|
|
1388
1387
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1389
1388
|
|
|
1390
1389
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1391
|
-
:param
|
|
1390
|
+
: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 "*".
|
|
1392
1391
|
"""
|
|
1393
1392
|
if api_groups is not None:
|
|
1394
1393
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1403,41 +1402,41 @@ class NamedRuleWithOperations(dict):
|
|
|
1403
1402
|
if scope is not None:
|
|
1404
1403
|
pulumi.set(__self__, "scope", scope)
|
|
1405
1404
|
|
|
1406
|
-
@property
|
|
1405
|
+
@_builtins.property
|
|
1407
1406
|
@pulumi.getter(name="apiGroups")
|
|
1408
|
-
def api_groups(self) -> Optional[Sequence[
|
|
1407
|
+
def api_groups(self) -> Optional[Sequence[_builtins.str]]:
|
|
1409
1408
|
"""
|
|
1410
1409
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1411
1410
|
"""
|
|
1412
1411
|
return pulumi.get(self, "api_groups")
|
|
1413
1412
|
|
|
1414
|
-
@property
|
|
1413
|
+
@_builtins.property
|
|
1415
1414
|
@pulumi.getter(name="apiVersions")
|
|
1416
|
-
def api_versions(self) -> Optional[Sequence[
|
|
1415
|
+
def api_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
1417
1416
|
"""
|
|
1418
1417
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1419
1418
|
"""
|
|
1420
1419
|
return pulumi.get(self, "api_versions")
|
|
1421
1420
|
|
|
1422
|
-
@property
|
|
1421
|
+
@_builtins.property
|
|
1423
1422
|
@pulumi.getter
|
|
1424
|
-
def operations(self) -> Optional[Sequence[
|
|
1423
|
+
def operations(self) -> Optional[Sequence[_builtins.str]]:
|
|
1425
1424
|
"""
|
|
1426
1425
|
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.
|
|
1427
1426
|
"""
|
|
1428
1427
|
return pulumi.get(self, "operations")
|
|
1429
1428
|
|
|
1430
|
-
@property
|
|
1429
|
+
@_builtins.property
|
|
1431
1430
|
@pulumi.getter(name="resourceNames")
|
|
1432
|
-
def resource_names(self) -> Optional[Sequence[
|
|
1431
|
+
def resource_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
1433
1432
|
"""
|
|
1434
1433
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1435
1434
|
"""
|
|
1436
1435
|
return pulumi.get(self, "resource_names")
|
|
1437
1436
|
|
|
1438
|
-
@property
|
|
1437
|
+
@_builtins.property
|
|
1439
1438
|
@pulumi.getter
|
|
1440
|
-
def resources(self) -> Optional[Sequence[
|
|
1439
|
+
def resources(self) -> Optional[Sequence[_builtins.str]]:
|
|
1441
1440
|
"""
|
|
1442
1441
|
Resources is a list of resources this rule applies to.
|
|
1443
1442
|
|
|
@@ -1449,9 +1448,9 @@ class NamedRuleWithOperations(dict):
|
|
|
1449
1448
|
"""
|
|
1450
1449
|
return pulumi.get(self, "resources")
|
|
1451
1450
|
|
|
1452
|
-
@property
|
|
1451
|
+
@_builtins.property
|
|
1453
1452
|
@pulumi.getter
|
|
1454
|
-
def scope(self) -> Optional[
|
|
1453
|
+
def scope(self) -> Optional[_builtins.str]:
|
|
1455
1454
|
"""
|
|
1456
1455
|
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 "*".
|
|
1457
1456
|
"""
|
|
@@ -1485,26 +1484,26 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1485
1484
|
return super().get(key, default)
|
|
1486
1485
|
|
|
1487
1486
|
def __init__(__self__, *,
|
|
1488
|
-
api_groups: Optional[Sequence[
|
|
1489
|
-
api_versions: Optional[Sequence[
|
|
1490
|
-
operations: Optional[Sequence[
|
|
1491
|
-
resource_names: Optional[Sequence[
|
|
1492
|
-
resources: Optional[Sequence[
|
|
1493
|
-
scope: Optional[
|
|
1487
|
+
api_groups: Optional[Sequence[_builtins.str]] = None,
|
|
1488
|
+
api_versions: Optional[Sequence[_builtins.str]] = None,
|
|
1489
|
+
operations: Optional[Sequence[_builtins.str]] = None,
|
|
1490
|
+
resource_names: Optional[Sequence[_builtins.str]] = None,
|
|
1491
|
+
resources: Optional[Sequence[_builtins.str]] = None,
|
|
1492
|
+
scope: Optional[_builtins.str] = None):
|
|
1494
1493
|
"""
|
|
1495
1494
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1496
|
-
:param Sequence[
|
|
1497
|
-
:param Sequence[
|
|
1498
|
-
:param Sequence[
|
|
1499
|
-
:param Sequence[
|
|
1500
|
-
:param Sequence[
|
|
1495
|
+
: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.
|
|
1496
|
+
: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.
|
|
1497
|
+
: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.
|
|
1498
|
+
: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.
|
|
1499
|
+
:param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1501
1500
|
|
|
1502
1501
|
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.
|
|
1503
1502
|
|
|
1504
1503
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1505
1504
|
|
|
1506
1505
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1507
|
-
:param
|
|
1506
|
+
: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 "*".
|
|
1508
1507
|
"""
|
|
1509
1508
|
if api_groups is not None:
|
|
1510
1509
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1519,41 +1518,41 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1519
1518
|
if scope is not None:
|
|
1520
1519
|
pulumi.set(__self__, "scope", scope)
|
|
1521
1520
|
|
|
1522
|
-
@property
|
|
1521
|
+
@_builtins.property
|
|
1523
1522
|
@pulumi.getter(name="apiGroups")
|
|
1524
|
-
def api_groups(self) -> Optional[Sequence[
|
|
1523
|
+
def api_groups(self) -> Optional[Sequence[_builtins.str]]:
|
|
1525
1524
|
"""
|
|
1526
1525
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1527
1526
|
"""
|
|
1528
1527
|
return pulumi.get(self, "api_groups")
|
|
1529
1528
|
|
|
1530
|
-
@property
|
|
1529
|
+
@_builtins.property
|
|
1531
1530
|
@pulumi.getter(name="apiVersions")
|
|
1532
|
-
def api_versions(self) -> Optional[Sequence[
|
|
1531
|
+
def api_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
1533
1532
|
"""
|
|
1534
1533
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1535
1534
|
"""
|
|
1536
1535
|
return pulumi.get(self, "api_versions")
|
|
1537
1536
|
|
|
1538
|
-
@property
|
|
1537
|
+
@_builtins.property
|
|
1539
1538
|
@pulumi.getter
|
|
1540
|
-
def operations(self) -> Optional[Sequence[
|
|
1539
|
+
def operations(self) -> Optional[Sequence[_builtins.str]]:
|
|
1541
1540
|
"""
|
|
1542
1541
|
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.
|
|
1543
1542
|
"""
|
|
1544
1543
|
return pulumi.get(self, "operations")
|
|
1545
1544
|
|
|
1546
|
-
@property
|
|
1545
|
+
@_builtins.property
|
|
1547
1546
|
@pulumi.getter(name="resourceNames")
|
|
1548
|
-
def resource_names(self) -> Optional[Sequence[
|
|
1547
|
+
def resource_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
1549
1548
|
"""
|
|
1550
1549
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1551
1550
|
"""
|
|
1552
1551
|
return pulumi.get(self, "resource_names")
|
|
1553
1552
|
|
|
1554
|
-
@property
|
|
1553
|
+
@_builtins.property
|
|
1555
1554
|
@pulumi.getter
|
|
1556
|
-
def resources(self) -> Optional[Sequence[
|
|
1555
|
+
def resources(self) -> Optional[Sequence[_builtins.str]]:
|
|
1557
1556
|
"""
|
|
1558
1557
|
Resources is a list of resources this rule applies to.
|
|
1559
1558
|
|
|
@@ -1565,9 +1564,9 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
1565
1564
|
"""
|
|
1566
1565
|
return pulumi.get(self, "resources")
|
|
1567
1566
|
|
|
1568
|
-
@property
|
|
1567
|
+
@_builtins.property
|
|
1569
1568
|
@pulumi.getter
|
|
1570
|
-
def scope(self) -> Optional[
|
|
1569
|
+
def scope(self) -> Optional[_builtins.str]:
|
|
1571
1570
|
"""
|
|
1572
1571
|
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 "*".
|
|
1573
1572
|
"""
|
|
@@ -1597,29 +1596,29 @@ class ParamKind(dict):
|
|
|
1597
1596
|
return super().get(key, default)
|
|
1598
1597
|
|
|
1599
1598
|
def __init__(__self__, *,
|
|
1600
|
-
api_version: Optional[
|
|
1601
|
-
kind: Optional[
|
|
1599
|
+
api_version: Optional[_builtins.str] = None,
|
|
1600
|
+
kind: Optional[_builtins.str] = None):
|
|
1602
1601
|
"""
|
|
1603
1602
|
ParamKind is a tuple of Group Kind and Version.
|
|
1604
|
-
:param
|
|
1605
|
-
:param
|
|
1603
|
+
:param _builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1604
|
+
:param _builtins.str kind: Kind is the API kind the resources belong to. Required.
|
|
1606
1605
|
"""
|
|
1607
1606
|
if api_version is not None:
|
|
1608
1607
|
pulumi.set(__self__, "api_version", api_version)
|
|
1609
1608
|
if kind is not None:
|
|
1610
1609
|
pulumi.set(__self__, "kind", kind)
|
|
1611
1610
|
|
|
1612
|
-
@property
|
|
1611
|
+
@_builtins.property
|
|
1613
1612
|
@pulumi.getter(name="apiVersion")
|
|
1614
|
-
def api_version(self) -> Optional[
|
|
1613
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1615
1614
|
"""
|
|
1616
1615
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1617
1616
|
"""
|
|
1618
1617
|
return pulumi.get(self, "api_version")
|
|
1619
1618
|
|
|
1620
|
-
@property
|
|
1619
|
+
@_builtins.property
|
|
1621
1620
|
@pulumi.getter
|
|
1622
|
-
def kind(self) -> Optional[
|
|
1621
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1623
1622
|
"""
|
|
1624
1623
|
Kind is the API kind the resources belong to. Required.
|
|
1625
1624
|
"""
|
|
@@ -1649,29 +1648,29 @@ class ParamKindPatch(dict):
|
|
|
1649
1648
|
return super().get(key, default)
|
|
1650
1649
|
|
|
1651
1650
|
def __init__(__self__, *,
|
|
1652
|
-
api_version: Optional[
|
|
1653
|
-
kind: Optional[
|
|
1651
|
+
api_version: Optional[_builtins.str] = None,
|
|
1652
|
+
kind: Optional[_builtins.str] = None):
|
|
1654
1653
|
"""
|
|
1655
1654
|
ParamKind is a tuple of Group Kind and Version.
|
|
1656
|
-
:param
|
|
1657
|
-
:param
|
|
1655
|
+
:param _builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1656
|
+
:param _builtins.str kind: Kind is the API kind the resources belong to. Required.
|
|
1658
1657
|
"""
|
|
1659
1658
|
if api_version is not None:
|
|
1660
1659
|
pulumi.set(__self__, "api_version", api_version)
|
|
1661
1660
|
if kind is not None:
|
|
1662
1661
|
pulumi.set(__self__, "kind", kind)
|
|
1663
1662
|
|
|
1664
|
-
@property
|
|
1663
|
+
@_builtins.property
|
|
1665
1664
|
@pulumi.getter(name="apiVersion")
|
|
1666
|
-
def api_version(self) -> Optional[
|
|
1665
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1667
1666
|
"""
|
|
1668
1667
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
1669
1668
|
"""
|
|
1670
1669
|
return pulumi.get(self, "api_version")
|
|
1671
1670
|
|
|
1672
|
-
@property
|
|
1671
|
+
@_builtins.property
|
|
1673
1672
|
@pulumi.getter
|
|
1674
|
-
def kind(self) -> Optional[
|
|
1673
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1675
1674
|
"""
|
|
1676
1675
|
Kind is the API kind the resources belong to. Required.
|
|
1677
1676
|
"""
|
|
@@ -1701,25 +1700,25 @@ class ParamRef(dict):
|
|
|
1701
1700
|
return super().get(key, default)
|
|
1702
1701
|
|
|
1703
1702
|
def __init__(__self__, *,
|
|
1704
|
-
name: Optional[
|
|
1705
|
-
namespace: Optional[
|
|
1706
|
-
parameter_not_found_action: Optional[
|
|
1703
|
+
name: Optional[_builtins.str] = None,
|
|
1704
|
+
namespace: Optional[_builtins.str] = None,
|
|
1705
|
+
parameter_not_found_action: Optional[_builtins.str] = None,
|
|
1707
1706
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
1708
1707
|
"""
|
|
1709
1708
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
1710
|
-
:param
|
|
1709
|
+
:param _builtins.str name: name is the name of the resource being referenced.
|
|
1711
1710
|
|
|
1712
1711
|
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.
|
|
1713
1712
|
|
|
1714
1713
|
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.
|
|
1715
|
-
:param
|
|
1714
|
+
: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.
|
|
1716
1715
|
|
|
1717
1716
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
1718
1717
|
|
|
1719
1718
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
1720
1719
|
|
|
1721
1720
|
- 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.
|
|
1722
|
-
:param
|
|
1721
|
+
: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.
|
|
1723
1722
|
|
|
1724
1723
|
Allowed values are `Allow` or `Deny`
|
|
1725
1724
|
|
|
@@ -1739,9 +1738,9 @@ class ParamRef(dict):
|
|
|
1739
1738
|
if selector is not None:
|
|
1740
1739
|
pulumi.set(__self__, "selector", selector)
|
|
1741
1740
|
|
|
1742
|
-
@property
|
|
1741
|
+
@_builtins.property
|
|
1743
1742
|
@pulumi.getter
|
|
1744
|
-
def name(self) -> Optional[
|
|
1743
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1745
1744
|
"""
|
|
1746
1745
|
name is the name of the resource being referenced.
|
|
1747
1746
|
|
|
@@ -1751,9 +1750,9 @@ class ParamRef(dict):
|
|
|
1751
1750
|
"""
|
|
1752
1751
|
return pulumi.get(self, "name")
|
|
1753
1752
|
|
|
1754
|
-
@property
|
|
1753
|
+
@_builtins.property
|
|
1755
1754
|
@pulumi.getter
|
|
1756
|
-
def namespace(self) -> Optional[
|
|
1755
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
1757
1756
|
"""
|
|
1758
1757
|
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.
|
|
1759
1758
|
|
|
@@ -1765,9 +1764,9 @@ class ParamRef(dict):
|
|
|
1765
1764
|
"""
|
|
1766
1765
|
return pulumi.get(self, "namespace")
|
|
1767
1766
|
|
|
1768
|
-
@property
|
|
1767
|
+
@_builtins.property
|
|
1769
1768
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
1770
|
-
def parameter_not_found_action(self) -> Optional[
|
|
1769
|
+
def parameter_not_found_action(self) -> Optional[_builtins.str]:
|
|
1771
1770
|
"""
|
|
1772
1771
|
`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.
|
|
1773
1772
|
|
|
@@ -1777,7 +1776,7 @@ class ParamRef(dict):
|
|
|
1777
1776
|
"""
|
|
1778
1777
|
return pulumi.get(self, "parameter_not_found_action")
|
|
1779
1778
|
|
|
1780
|
-
@property
|
|
1779
|
+
@_builtins.property
|
|
1781
1780
|
@pulumi.getter
|
|
1782
1781
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
1783
1782
|
"""
|
|
@@ -1813,25 +1812,25 @@ class ParamRefPatch(dict):
|
|
|
1813
1812
|
return super().get(key, default)
|
|
1814
1813
|
|
|
1815
1814
|
def __init__(__self__, *,
|
|
1816
|
-
name: Optional[
|
|
1817
|
-
namespace: Optional[
|
|
1818
|
-
parameter_not_found_action: Optional[
|
|
1815
|
+
name: Optional[_builtins.str] = None,
|
|
1816
|
+
namespace: Optional[_builtins.str] = None,
|
|
1817
|
+
parameter_not_found_action: Optional[_builtins.str] = None,
|
|
1819
1818
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None):
|
|
1820
1819
|
"""
|
|
1821
1820
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
1822
|
-
:param
|
|
1821
|
+
:param _builtins.str name: name is the name of the resource being referenced.
|
|
1823
1822
|
|
|
1824
1823
|
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.
|
|
1825
1824
|
|
|
1826
1825
|
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.
|
|
1827
|
-
:param
|
|
1826
|
+
: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.
|
|
1828
1827
|
|
|
1829
1828
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
1830
1829
|
|
|
1831
1830
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
1832
1831
|
|
|
1833
1832
|
- 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.
|
|
1834
|
-
:param
|
|
1833
|
+
: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.
|
|
1835
1834
|
|
|
1836
1835
|
Allowed values are `Allow` or `Deny`
|
|
1837
1836
|
|
|
@@ -1851,9 +1850,9 @@ class ParamRefPatch(dict):
|
|
|
1851
1850
|
if selector is not None:
|
|
1852
1851
|
pulumi.set(__self__, "selector", selector)
|
|
1853
1852
|
|
|
1854
|
-
@property
|
|
1853
|
+
@_builtins.property
|
|
1855
1854
|
@pulumi.getter
|
|
1856
|
-
def name(self) -> Optional[
|
|
1855
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1857
1856
|
"""
|
|
1858
1857
|
name is the name of the resource being referenced.
|
|
1859
1858
|
|
|
@@ -1863,9 +1862,9 @@ class ParamRefPatch(dict):
|
|
|
1863
1862
|
"""
|
|
1864
1863
|
return pulumi.get(self, "name")
|
|
1865
1864
|
|
|
1866
|
-
@property
|
|
1865
|
+
@_builtins.property
|
|
1867
1866
|
@pulumi.getter
|
|
1868
|
-
def namespace(self) -> Optional[
|
|
1867
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
1869
1868
|
"""
|
|
1870
1869
|
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.
|
|
1871
1870
|
|
|
@@ -1877,9 +1876,9 @@ class ParamRefPatch(dict):
|
|
|
1877
1876
|
"""
|
|
1878
1877
|
return pulumi.get(self, "namespace")
|
|
1879
1878
|
|
|
1880
|
-
@property
|
|
1879
|
+
@_builtins.property
|
|
1881
1880
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
1882
|
-
def parameter_not_found_action(self) -> Optional[
|
|
1881
|
+
def parameter_not_found_action(self) -> Optional[_builtins.str]:
|
|
1883
1882
|
"""
|
|
1884
1883
|
`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.
|
|
1885
1884
|
|
|
@@ -1889,7 +1888,7 @@ class ParamRefPatch(dict):
|
|
|
1889
1888
|
"""
|
|
1890
1889
|
return pulumi.get(self, "parameter_not_found_action")
|
|
1891
1890
|
|
|
1892
|
-
@property
|
|
1891
|
+
@_builtins.property
|
|
1893
1892
|
@pulumi.getter
|
|
1894
1893
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1895
1894
|
"""
|
|
@@ -1927,24 +1926,24 @@ class RuleWithOperations(dict):
|
|
|
1927
1926
|
return super().get(key, default)
|
|
1928
1927
|
|
|
1929
1928
|
def __init__(__self__, *,
|
|
1930
|
-
api_groups: Optional[Sequence[
|
|
1931
|
-
api_versions: Optional[Sequence[
|
|
1932
|
-
operations: Optional[Sequence[
|
|
1933
|
-
resources: Optional[Sequence[
|
|
1934
|
-
scope: Optional[
|
|
1929
|
+
api_groups: Optional[Sequence[_builtins.str]] = None,
|
|
1930
|
+
api_versions: Optional[Sequence[_builtins.str]] = None,
|
|
1931
|
+
operations: Optional[Sequence[_builtins.str]] = None,
|
|
1932
|
+
resources: Optional[Sequence[_builtins.str]] = None,
|
|
1933
|
+
scope: Optional[_builtins.str] = None):
|
|
1935
1934
|
"""
|
|
1936
1935
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
1937
|
-
:param Sequence[
|
|
1938
|
-
:param Sequence[
|
|
1939
|
-
:param Sequence[
|
|
1940
|
-
:param Sequence[
|
|
1936
|
+
: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.
|
|
1937
|
+
: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.
|
|
1938
|
+
:param Sequence[_builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
1939
|
+
:param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1941
1940
|
|
|
1942
1941
|
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.
|
|
1943
1942
|
|
|
1944
1943
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1945
1944
|
|
|
1946
1945
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1947
|
-
:param
|
|
1946
|
+
: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 "*".
|
|
1948
1947
|
"""
|
|
1949
1948
|
if api_groups is not None:
|
|
1950
1949
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1957,33 +1956,33 @@ class RuleWithOperations(dict):
|
|
|
1957
1956
|
if scope is not None:
|
|
1958
1957
|
pulumi.set(__self__, "scope", scope)
|
|
1959
1958
|
|
|
1960
|
-
@property
|
|
1959
|
+
@_builtins.property
|
|
1961
1960
|
@pulumi.getter(name="apiGroups")
|
|
1962
|
-
def api_groups(self) -> Optional[Sequence[
|
|
1961
|
+
def api_groups(self) -> Optional[Sequence[_builtins.str]]:
|
|
1963
1962
|
"""
|
|
1964
1963
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1965
1964
|
"""
|
|
1966
1965
|
return pulumi.get(self, "api_groups")
|
|
1967
1966
|
|
|
1968
|
-
@property
|
|
1967
|
+
@_builtins.property
|
|
1969
1968
|
@pulumi.getter(name="apiVersions")
|
|
1970
|
-
def api_versions(self) -> Optional[Sequence[
|
|
1969
|
+
def api_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
1971
1970
|
"""
|
|
1972
1971
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1973
1972
|
"""
|
|
1974
1973
|
return pulumi.get(self, "api_versions")
|
|
1975
1974
|
|
|
1976
|
-
@property
|
|
1975
|
+
@_builtins.property
|
|
1977
1976
|
@pulumi.getter
|
|
1978
|
-
def operations(self) -> Optional[Sequence[
|
|
1977
|
+
def operations(self) -> Optional[Sequence[_builtins.str]]:
|
|
1979
1978
|
"""
|
|
1980
1979
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
1981
1980
|
"""
|
|
1982
1981
|
return pulumi.get(self, "operations")
|
|
1983
1982
|
|
|
1984
|
-
@property
|
|
1983
|
+
@_builtins.property
|
|
1985
1984
|
@pulumi.getter
|
|
1986
|
-
def resources(self) -> Optional[Sequence[
|
|
1985
|
+
def resources(self) -> Optional[Sequence[_builtins.str]]:
|
|
1987
1986
|
"""
|
|
1988
1987
|
Resources is a list of resources this rule applies to.
|
|
1989
1988
|
|
|
@@ -1995,9 +1994,9 @@ class RuleWithOperations(dict):
|
|
|
1995
1994
|
"""
|
|
1996
1995
|
return pulumi.get(self, "resources")
|
|
1997
1996
|
|
|
1998
|
-
@property
|
|
1997
|
+
@_builtins.property
|
|
1999
1998
|
@pulumi.getter
|
|
2000
|
-
def scope(self) -> Optional[
|
|
1999
|
+
def scope(self) -> Optional[_builtins.str]:
|
|
2001
2000
|
"""
|
|
2002
2001
|
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 "*".
|
|
2003
2002
|
"""
|
|
@@ -2029,24 +2028,24 @@ class RuleWithOperationsPatch(dict):
|
|
|
2029
2028
|
return super().get(key, default)
|
|
2030
2029
|
|
|
2031
2030
|
def __init__(__self__, *,
|
|
2032
|
-
api_groups: Optional[Sequence[
|
|
2033
|
-
api_versions: Optional[Sequence[
|
|
2034
|
-
operations: Optional[Sequence[
|
|
2035
|
-
resources: Optional[Sequence[
|
|
2036
|
-
scope: Optional[
|
|
2031
|
+
api_groups: Optional[Sequence[_builtins.str]] = None,
|
|
2032
|
+
api_versions: Optional[Sequence[_builtins.str]] = None,
|
|
2033
|
+
operations: Optional[Sequence[_builtins.str]] = None,
|
|
2034
|
+
resources: Optional[Sequence[_builtins.str]] = None,
|
|
2035
|
+
scope: Optional[_builtins.str] = None):
|
|
2037
2036
|
"""
|
|
2038
2037
|
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
|
|
2039
|
-
:param Sequence[
|
|
2040
|
-
:param Sequence[
|
|
2041
|
-
:param Sequence[
|
|
2042
|
-
:param Sequence[
|
|
2038
|
+
: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.
|
|
2039
|
+
: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.
|
|
2040
|
+
:param Sequence[_builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2041
|
+
:param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
2043
2042
|
|
|
2044
2043
|
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.
|
|
2045
2044
|
|
|
2046
2045
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2047
2046
|
|
|
2048
2047
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2049
|
-
:param
|
|
2048
|
+
: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 "*".
|
|
2050
2049
|
"""
|
|
2051
2050
|
if api_groups is not None:
|
|
2052
2051
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2059,33 +2058,33 @@ class RuleWithOperationsPatch(dict):
|
|
|
2059
2058
|
if scope is not None:
|
|
2060
2059
|
pulumi.set(__self__, "scope", scope)
|
|
2061
2060
|
|
|
2062
|
-
@property
|
|
2061
|
+
@_builtins.property
|
|
2063
2062
|
@pulumi.getter(name="apiGroups")
|
|
2064
|
-
def api_groups(self) -> Optional[Sequence[
|
|
2063
|
+
def api_groups(self) -> Optional[Sequence[_builtins.str]]:
|
|
2065
2064
|
"""
|
|
2066
2065
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2067
2066
|
"""
|
|
2068
2067
|
return pulumi.get(self, "api_groups")
|
|
2069
2068
|
|
|
2070
|
-
@property
|
|
2069
|
+
@_builtins.property
|
|
2071
2070
|
@pulumi.getter(name="apiVersions")
|
|
2072
|
-
def api_versions(self) -> Optional[Sequence[
|
|
2071
|
+
def api_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
2073
2072
|
"""
|
|
2074
2073
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2075
2074
|
"""
|
|
2076
2075
|
return pulumi.get(self, "api_versions")
|
|
2077
2076
|
|
|
2078
|
-
@property
|
|
2077
|
+
@_builtins.property
|
|
2079
2078
|
@pulumi.getter
|
|
2080
|
-
def operations(self) -> Optional[Sequence[
|
|
2079
|
+
def operations(self) -> Optional[Sequence[_builtins.str]]:
|
|
2081
2080
|
"""
|
|
2082
2081
|
Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
|
|
2083
2082
|
"""
|
|
2084
2083
|
return pulumi.get(self, "operations")
|
|
2085
2084
|
|
|
2086
|
-
@property
|
|
2085
|
+
@_builtins.property
|
|
2087
2086
|
@pulumi.getter
|
|
2088
|
-
def resources(self) -> Optional[Sequence[
|
|
2087
|
+
def resources(self) -> Optional[Sequence[_builtins.str]]:
|
|
2089
2088
|
"""
|
|
2090
2089
|
Resources is a list of resources this rule applies to.
|
|
2091
2090
|
|
|
@@ -2097,9 +2096,9 @@ class RuleWithOperationsPatch(dict):
|
|
|
2097
2096
|
"""
|
|
2098
2097
|
return pulumi.get(self, "resources")
|
|
2099
2098
|
|
|
2100
|
-
@property
|
|
2099
|
+
@_builtins.property
|
|
2101
2100
|
@pulumi.getter
|
|
2102
|
-
def scope(self) -> Optional[
|
|
2101
|
+
def scope(self) -> Optional[_builtins.str]:
|
|
2103
2102
|
"""
|
|
2104
2103
|
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 "*".
|
|
2105
2104
|
"""
|
|
@@ -2112,16 +2111,16 @@ class ServiceReference(dict):
|
|
|
2112
2111
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2113
2112
|
"""
|
|
2114
2113
|
def __init__(__self__, *,
|
|
2115
|
-
name:
|
|
2116
|
-
namespace:
|
|
2117
|
-
path: Optional[
|
|
2118
|
-
port: Optional[
|
|
2114
|
+
name: _builtins.str,
|
|
2115
|
+
namespace: _builtins.str,
|
|
2116
|
+
path: Optional[_builtins.str] = None,
|
|
2117
|
+
port: Optional[_builtins.int] = None):
|
|
2119
2118
|
"""
|
|
2120
2119
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2121
|
-
:param
|
|
2122
|
-
:param
|
|
2123
|
-
:param
|
|
2124
|
-
:param
|
|
2120
|
+
:param _builtins.str name: `name` is the name of the service. Required
|
|
2121
|
+
:param _builtins.str namespace: `namespace` is the namespace of the service. Required
|
|
2122
|
+
:param _builtins.str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2123
|
+
: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).
|
|
2125
2124
|
"""
|
|
2126
2125
|
pulumi.set(__self__, "name", name)
|
|
2127
2126
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -2130,33 +2129,33 @@ class ServiceReference(dict):
|
|
|
2130
2129
|
if port is not None:
|
|
2131
2130
|
pulumi.set(__self__, "port", port)
|
|
2132
2131
|
|
|
2133
|
-
@property
|
|
2132
|
+
@_builtins.property
|
|
2134
2133
|
@pulumi.getter
|
|
2135
|
-
def name(self) ->
|
|
2134
|
+
def name(self) -> _builtins.str:
|
|
2136
2135
|
"""
|
|
2137
2136
|
`name` is the name of the service. Required
|
|
2138
2137
|
"""
|
|
2139
2138
|
return pulumi.get(self, "name")
|
|
2140
2139
|
|
|
2141
|
-
@property
|
|
2140
|
+
@_builtins.property
|
|
2142
2141
|
@pulumi.getter
|
|
2143
|
-
def namespace(self) ->
|
|
2142
|
+
def namespace(self) -> _builtins.str:
|
|
2144
2143
|
"""
|
|
2145
2144
|
`namespace` is the namespace of the service. Required
|
|
2146
2145
|
"""
|
|
2147
2146
|
return pulumi.get(self, "namespace")
|
|
2148
2147
|
|
|
2149
|
-
@property
|
|
2148
|
+
@_builtins.property
|
|
2150
2149
|
@pulumi.getter
|
|
2151
|
-
def path(self) -> Optional[
|
|
2150
|
+
def path(self) -> Optional[_builtins.str]:
|
|
2152
2151
|
"""
|
|
2153
2152
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2154
2153
|
"""
|
|
2155
2154
|
return pulumi.get(self, "path")
|
|
2156
2155
|
|
|
2157
|
-
@property
|
|
2156
|
+
@_builtins.property
|
|
2158
2157
|
@pulumi.getter
|
|
2159
|
-
def port(self) -> Optional[
|
|
2158
|
+
def port(self) -> Optional[_builtins.int]:
|
|
2160
2159
|
"""
|
|
2161
2160
|
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).
|
|
2162
2161
|
"""
|
|
@@ -2169,16 +2168,16 @@ class ServiceReferencePatch(dict):
|
|
|
2169
2168
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2170
2169
|
"""
|
|
2171
2170
|
def __init__(__self__, *,
|
|
2172
|
-
name: Optional[
|
|
2173
|
-
namespace: Optional[
|
|
2174
|
-
path: Optional[
|
|
2175
|
-
port: Optional[
|
|
2171
|
+
name: Optional[_builtins.str] = None,
|
|
2172
|
+
namespace: Optional[_builtins.str] = None,
|
|
2173
|
+
path: Optional[_builtins.str] = None,
|
|
2174
|
+
port: Optional[_builtins.int] = None):
|
|
2176
2175
|
"""
|
|
2177
2176
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2178
|
-
:param
|
|
2179
|
-
:param
|
|
2180
|
-
:param
|
|
2181
|
-
:param
|
|
2177
|
+
:param _builtins.str name: `name` is the name of the service. Required
|
|
2178
|
+
:param _builtins.str namespace: `namespace` is the namespace of the service. Required
|
|
2179
|
+
:param _builtins.str path: `path` is an optional URL path which will be sent in any request to this service.
|
|
2180
|
+
: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).
|
|
2182
2181
|
"""
|
|
2183
2182
|
if name is not None:
|
|
2184
2183
|
pulumi.set(__self__, "name", name)
|
|
@@ -2189,33 +2188,33 @@ class ServiceReferencePatch(dict):
|
|
|
2189
2188
|
if port is not None:
|
|
2190
2189
|
pulumi.set(__self__, "port", port)
|
|
2191
2190
|
|
|
2192
|
-
@property
|
|
2191
|
+
@_builtins.property
|
|
2193
2192
|
@pulumi.getter
|
|
2194
|
-
def name(self) -> Optional[
|
|
2193
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2195
2194
|
"""
|
|
2196
2195
|
`name` is the name of the service. Required
|
|
2197
2196
|
"""
|
|
2198
2197
|
return pulumi.get(self, "name")
|
|
2199
2198
|
|
|
2200
|
-
@property
|
|
2199
|
+
@_builtins.property
|
|
2201
2200
|
@pulumi.getter
|
|
2202
|
-
def namespace(self) -> Optional[
|
|
2201
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
2203
2202
|
"""
|
|
2204
2203
|
`namespace` is the namespace of the service. Required
|
|
2205
2204
|
"""
|
|
2206
2205
|
return pulumi.get(self, "namespace")
|
|
2207
2206
|
|
|
2208
|
-
@property
|
|
2207
|
+
@_builtins.property
|
|
2209
2208
|
@pulumi.getter
|
|
2210
|
-
def path(self) -> Optional[
|
|
2209
|
+
def path(self) -> Optional[_builtins.str]:
|
|
2211
2210
|
"""
|
|
2212
2211
|
`path` is an optional URL path which will be sent in any request to this service.
|
|
2213
2212
|
"""
|
|
2214
2213
|
return pulumi.get(self, "path")
|
|
2215
2214
|
|
|
2216
|
-
@property
|
|
2215
|
+
@_builtins.property
|
|
2217
2216
|
@pulumi.getter
|
|
2218
|
-
def port(self) -> Optional[
|
|
2217
|
+
def port(self) -> Optional[_builtins.int]:
|
|
2219
2218
|
"""
|
|
2220
2219
|
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).
|
|
2221
2220
|
"""
|
|
@@ -2253,7 +2252,7 @@ class TypeChecking(dict):
|
|
|
2253
2252
|
if expression_warnings is not None:
|
|
2254
2253
|
pulumi.set(__self__, "expression_warnings", expression_warnings)
|
|
2255
2254
|
|
|
2256
|
-
@property
|
|
2255
|
+
@_builtins.property
|
|
2257
2256
|
@pulumi.getter(name="expressionWarnings")
|
|
2258
2257
|
def expression_warnings(self) -> Optional[Sequence['outputs.ExpressionWarning']]:
|
|
2259
2258
|
"""
|
|
@@ -2293,7 +2292,7 @@ class TypeCheckingPatch(dict):
|
|
|
2293
2292
|
if expression_warnings is not None:
|
|
2294
2293
|
pulumi.set(__self__, "expression_warnings", expression_warnings)
|
|
2295
2294
|
|
|
2296
|
-
@property
|
|
2295
|
+
@_builtins.property
|
|
2297
2296
|
@pulumi.getter(name="expressionWarnings")
|
|
2298
2297
|
def expression_warnings(self) -> Optional[Sequence['outputs.ExpressionWarningPatch']]:
|
|
2299
2298
|
"""
|
|
@@ -2325,15 +2324,15 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2325
2324
|
return super().get(key, default)
|
|
2326
2325
|
|
|
2327
2326
|
def __init__(__self__, *,
|
|
2328
|
-
api_version: Optional[
|
|
2329
|
-
kind: Optional[
|
|
2327
|
+
api_version: Optional[_builtins.str] = None,
|
|
2328
|
+
kind: Optional[_builtins.str] = None,
|
|
2330
2329
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2331
2330
|
spec: Optional['outputs.ValidatingAdmissionPolicySpec'] = None,
|
|
2332
2331
|
status: Optional['outputs.ValidatingAdmissionPolicyStatus'] = None):
|
|
2333
2332
|
"""
|
|
2334
2333
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
2335
|
-
:param
|
|
2336
|
-
:param
|
|
2334
|
+
: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
|
|
2335
|
+
: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
|
|
2337
2336
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
2338
2337
|
:param 'ValidatingAdmissionPolicySpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
2339
2338
|
: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.
|
|
@@ -2349,23 +2348,23 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2349
2348
|
if status is not None:
|
|
2350
2349
|
pulumi.set(__self__, "status", status)
|
|
2351
2350
|
|
|
2352
|
-
@property
|
|
2351
|
+
@_builtins.property
|
|
2353
2352
|
@pulumi.getter(name="apiVersion")
|
|
2354
|
-
def api_version(self) -> Optional[
|
|
2353
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
2355
2354
|
"""
|
|
2356
2355
|
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
|
|
2357
2356
|
"""
|
|
2358
2357
|
return pulumi.get(self, "api_version")
|
|
2359
2358
|
|
|
2360
|
-
@property
|
|
2359
|
+
@_builtins.property
|
|
2361
2360
|
@pulumi.getter
|
|
2362
|
-
def kind(self) -> Optional[
|
|
2361
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
2363
2362
|
"""
|
|
2364
2363
|
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
|
|
2365
2364
|
"""
|
|
2366
2365
|
return pulumi.get(self, "kind")
|
|
2367
2366
|
|
|
2368
|
-
@property
|
|
2367
|
+
@_builtins.property
|
|
2369
2368
|
@pulumi.getter
|
|
2370
2369
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
2371
2370
|
"""
|
|
@@ -2373,7 +2372,7 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2373
2372
|
"""
|
|
2374
2373
|
return pulumi.get(self, "metadata")
|
|
2375
2374
|
|
|
2376
|
-
@property
|
|
2375
|
+
@_builtins.property
|
|
2377
2376
|
@pulumi.getter
|
|
2378
2377
|
def spec(self) -> Optional['outputs.ValidatingAdmissionPolicySpec']:
|
|
2379
2378
|
"""
|
|
@@ -2381,7 +2380,7 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2381
2380
|
"""
|
|
2382
2381
|
return pulumi.get(self, "spec")
|
|
2383
2382
|
|
|
2384
|
-
@property
|
|
2383
|
+
@_builtins.property
|
|
2385
2384
|
@pulumi.getter
|
|
2386
2385
|
def status(self) -> Optional['outputs.ValidatingAdmissionPolicyStatus']:
|
|
2387
2386
|
"""
|
|
@@ -2417,8 +2416,8 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2417
2416
|
return super().get(key, default)
|
|
2418
2417
|
|
|
2419
2418
|
def __init__(__self__, *,
|
|
2420
|
-
api_version: Optional[
|
|
2421
|
-
kind: Optional[
|
|
2419
|
+
api_version: Optional[_builtins.str] = None,
|
|
2420
|
+
kind: Optional[_builtins.str] = None,
|
|
2422
2421
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2423
2422
|
spec: Optional['outputs.ValidatingAdmissionPolicyBindingSpec'] = None):
|
|
2424
2423
|
"""
|
|
@@ -2427,8 +2426,8 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2427
2426
|
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.
|
|
2428
2427
|
|
|
2429
2428
|
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.
|
|
2430
|
-
:param
|
|
2431
|
-
:param
|
|
2429
|
+
: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
|
|
2430
|
+
: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
|
|
2432
2431
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
2433
2432
|
:param 'ValidatingAdmissionPolicyBindingSpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
2434
2433
|
"""
|
|
@@ -2441,23 +2440,23 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2441
2440
|
if spec is not None:
|
|
2442
2441
|
pulumi.set(__self__, "spec", spec)
|
|
2443
2442
|
|
|
2444
|
-
@property
|
|
2443
|
+
@_builtins.property
|
|
2445
2444
|
@pulumi.getter(name="apiVersion")
|
|
2446
|
-
def api_version(self) -> Optional[
|
|
2445
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
2447
2446
|
"""
|
|
2448
2447
|
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
|
|
2449
2448
|
"""
|
|
2450
2449
|
return pulumi.get(self, "api_version")
|
|
2451
2450
|
|
|
2452
|
-
@property
|
|
2451
|
+
@_builtins.property
|
|
2453
2452
|
@pulumi.getter
|
|
2454
|
-
def kind(self) -> Optional[
|
|
2453
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
2455
2454
|
"""
|
|
2456
2455
|
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
|
|
2457
2456
|
"""
|
|
2458
2457
|
return pulumi.get(self, "kind")
|
|
2459
2458
|
|
|
2460
|
-
@property
|
|
2459
|
+
@_builtins.property
|
|
2461
2460
|
@pulumi.getter
|
|
2462
2461
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
2463
2462
|
"""
|
|
@@ -2465,7 +2464,7 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2465
2464
|
"""
|
|
2466
2465
|
return pulumi.get(self, "metadata")
|
|
2467
2466
|
|
|
2468
|
-
@property
|
|
2467
|
+
@_builtins.property
|
|
2469
2468
|
@pulumi.getter
|
|
2470
2469
|
def spec(self) -> Optional['outputs.ValidatingAdmissionPolicyBindingSpec']:
|
|
2471
2470
|
"""
|
|
@@ -2505,14 +2504,14 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2505
2504
|
def __init__(__self__, *,
|
|
2506
2505
|
match_resources: Optional['outputs.MatchResources'] = None,
|
|
2507
2506
|
param_ref: Optional['outputs.ParamRef'] = None,
|
|
2508
|
-
policy_name: Optional[
|
|
2509
|
-
validation_actions: Optional[Sequence[
|
|
2507
|
+
policy_name: Optional[_builtins.str] = None,
|
|
2508
|
+
validation_actions: Optional[Sequence[_builtins.str]] = None):
|
|
2510
2509
|
"""
|
|
2511
2510
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
2512
2511
|
: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.
|
|
2513
2512
|
: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.
|
|
2514
|
-
:param
|
|
2515
|
-
:param Sequence[
|
|
2513
|
+
: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.
|
|
2514
|
+
: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.
|
|
2516
2515
|
|
|
2517
2516
|
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.
|
|
2518
2517
|
|
|
@@ -2541,7 +2540,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2541
2540
|
if validation_actions is not None:
|
|
2542
2541
|
pulumi.set(__self__, "validation_actions", validation_actions)
|
|
2543
2542
|
|
|
2544
|
-
@property
|
|
2543
|
+
@_builtins.property
|
|
2545
2544
|
@pulumi.getter(name="matchResources")
|
|
2546
2545
|
def match_resources(self) -> Optional['outputs.MatchResources']:
|
|
2547
2546
|
"""
|
|
@@ -2549,7 +2548,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2549
2548
|
"""
|
|
2550
2549
|
return pulumi.get(self, "match_resources")
|
|
2551
2550
|
|
|
2552
|
-
@property
|
|
2551
|
+
@_builtins.property
|
|
2553
2552
|
@pulumi.getter(name="paramRef")
|
|
2554
2553
|
def param_ref(self) -> Optional['outputs.ParamRef']:
|
|
2555
2554
|
"""
|
|
@@ -2557,17 +2556,17 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2557
2556
|
"""
|
|
2558
2557
|
return pulumi.get(self, "param_ref")
|
|
2559
2558
|
|
|
2560
|
-
@property
|
|
2559
|
+
@_builtins.property
|
|
2561
2560
|
@pulumi.getter(name="policyName")
|
|
2562
|
-
def policy_name(self) -> Optional[
|
|
2561
|
+
def policy_name(self) -> Optional[_builtins.str]:
|
|
2563
2562
|
"""
|
|
2564
2563
|
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.
|
|
2565
2564
|
"""
|
|
2566
2565
|
return pulumi.get(self, "policy_name")
|
|
2567
2566
|
|
|
2568
|
-
@property
|
|
2567
|
+
@_builtins.property
|
|
2569
2568
|
@pulumi.getter(name="validationActions")
|
|
2570
|
-
def validation_actions(self) -> Optional[Sequence[
|
|
2569
|
+
def validation_actions(self) -> Optional[Sequence[_builtins.str]]:
|
|
2571
2570
|
"""
|
|
2572
2571
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2573
2572
|
|
|
@@ -2623,14 +2622,14 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2623
2622
|
def __init__(__self__, *,
|
|
2624
2623
|
match_resources: Optional['outputs.MatchResourcesPatch'] = None,
|
|
2625
2624
|
param_ref: Optional['outputs.ParamRefPatch'] = None,
|
|
2626
|
-
policy_name: Optional[
|
|
2627
|
-
validation_actions: Optional[Sequence[
|
|
2625
|
+
policy_name: Optional[_builtins.str] = None,
|
|
2626
|
+
validation_actions: Optional[Sequence[_builtins.str]] = None):
|
|
2628
2627
|
"""
|
|
2629
2628
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
2630
2629
|
: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.
|
|
2631
2630
|
: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.
|
|
2632
|
-
:param
|
|
2633
|
-
:param Sequence[
|
|
2631
|
+
: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.
|
|
2632
|
+
: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.
|
|
2634
2633
|
|
|
2635
2634
|
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.
|
|
2636
2635
|
|
|
@@ -2659,7 +2658,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2659
2658
|
if validation_actions is not None:
|
|
2660
2659
|
pulumi.set(__self__, "validation_actions", validation_actions)
|
|
2661
2660
|
|
|
2662
|
-
@property
|
|
2661
|
+
@_builtins.property
|
|
2663
2662
|
@pulumi.getter(name="matchResources")
|
|
2664
2663
|
def match_resources(self) -> Optional['outputs.MatchResourcesPatch']:
|
|
2665
2664
|
"""
|
|
@@ -2667,7 +2666,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2667
2666
|
"""
|
|
2668
2667
|
return pulumi.get(self, "match_resources")
|
|
2669
2668
|
|
|
2670
|
-
@property
|
|
2669
|
+
@_builtins.property
|
|
2671
2670
|
@pulumi.getter(name="paramRef")
|
|
2672
2671
|
def param_ref(self) -> Optional['outputs.ParamRefPatch']:
|
|
2673
2672
|
"""
|
|
@@ -2675,17 +2674,17 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2675
2674
|
"""
|
|
2676
2675
|
return pulumi.get(self, "param_ref")
|
|
2677
2676
|
|
|
2678
|
-
@property
|
|
2677
|
+
@_builtins.property
|
|
2679
2678
|
@pulumi.getter(name="policyName")
|
|
2680
|
-
def policy_name(self) -> Optional[
|
|
2679
|
+
def policy_name(self) -> Optional[_builtins.str]:
|
|
2681
2680
|
"""
|
|
2682
2681
|
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.
|
|
2683
2682
|
"""
|
|
2684
2683
|
return pulumi.get(self, "policy_name")
|
|
2685
2684
|
|
|
2686
|
-
@property
|
|
2685
|
+
@_builtins.property
|
|
2687
2686
|
@pulumi.getter(name="validationActions")
|
|
2688
|
-
def validation_actions(self) -> Optional[Sequence[
|
|
2687
|
+
def validation_actions(self) -> Optional[Sequence[_builtins.str]]:
|
|
2689
2688
|
"""
|
|
2690
2689
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2691
2690
|
|
|
@@ -2742,7 +2741,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2742
2741
|
|
|
2743
2742
|
def __init__(__self__, *,
|
|
2744
2743
|
audit_annotations: Optional[Sequence['outputs.AuditAnnotation']] = None,
|
|
2745
|
-
failure_policy: Optional[
|
|
2744
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
2746
2745
|
match_conditions: Optional[Sequence['outputs.MatchCondition']] = None,
|
|
2747
2746
|
match_constraints: Optional['outputs.MatchResources'] = None,
|
|
2748
2747
|
param_kind: Optional['outputs.ParamKind'] = None,
|
|
@@ -2751,7 +2750,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2751
2750
|
"""
|
|
2752
2751
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
2753
2752
|
: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.
|
|
2754
|
-
:param
|
|
2753
|
+
: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.
|
|
2755
2754
|
|
|
2756
2755
|
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.
|
|
2757
2756
|
|
|
@@ -2792,7 +2791,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2792
2791
|
if variables is not None:
|
|
2793
2792
|
pulumi.set(__self__, "variables", variables)
|
|
2794
2793
|
|
|
2795
|
-
@property
|
|
2794
|
+
@_builtins.property
|
|
2796
2795
|
@pulumi.getter(name="auditAnnotations")
|
|
2797
2796
|
def audit_annotations(self) -> Optional[Sequence['outputs.AuditAnnotation']]:
|
|
2798
2797
|
"""
|
|
@@ -2800,9 +2799,9 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2800
2799
|
"""
|
|
2801
2800
|
return pulumi.get(self, "audit_annotations")
|
|
2802
2801
|
|
|
2803
|
-
@property
|
|
2802
|
+
@_builtins.property
|
|
2804
2803
|
@pulumi.getter(name="failurePolicy")
|
|
2805
|
-
def failure_policy(self) -> Optional[
|
|
2804
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
2806
2805
|
"""
|
|
2807
2806
|
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.
|
|
2808
2807
|
|
|
@@ -2816,7 +2815,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2816
2815
|
"""
|
|
2817
2816
|
return pulumi.get(self, "failure_policy")
|
|
2818
2817
|
|
|
2819
|
-
@property
|
|
2818
|
+
@_builtins.property
|
|
2820
2819
|
@pulumi.getter(name="matchConditions")
|
|
2821
2820
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchCondition']]:
|
|
2822
2821
|
"""
|
|
@@ -2833,7 +2832,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2833
2832
|
"""
|
|
2834
2833
|
return pulumi.get(self, "match_conditions")
|
|
2835
2834
|
|
|
2836
|
-
@property
|
|
2835
|
+
@_builtins.property
|
|
2837
2836
|
@pulumi.getter(name="matchConstraints")
|
|
2838
2837
|
def match_constraints(self) -> Optional['outputs.MatchResources']:
|
|
2839
2838
|
"""
|
|
@@ -2841,7 +2840,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2841
2840
|
"""
|
|
2842
2841
|
return pulumi.get(self, "match_constraints")
|
|
2843
2842
|
|
|
2844
|
-
@property
|
|
2843
|
+
@_builtins.property
|
|
2845
2844
|
@pulumi.getter(name="paramKind")
|
|
2846
2845
|
def param_kind(self) -> Optional['outputs.ParamKind']:
|
|
2847
2846
|
"""
|
|
@@ -2849,7 +2848,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2849
2848
|
"""
|
|
2850
2849
|
return pulumi.get(self, "param_kind")
|
|
2851
2850
|
|
|
2852
|
-
@property
|
|
2851
|
+
@_builtins.property
|
|
2853
2852
|
@pulumi.getter
|
|
2854
2853
|
def validations(self) -> Optional[Sequence['outputs.Validation']]:
|
|
2855
2854
|
"""
|
|
@@ -2857,7 +2856,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2857
2856
|
"""
|
|
2858
2857
|
return pulumi.get(self, "validations")
|
|
2859
2858
|
|
|
2860
|
-
@property
|
|
2859
|
+
@_builtins.property
|
|
2861
2860
|
@pulumi.getter
|
|
2862
2861
|
def variables(self) -> Optional[Sequence['outputs.Variable']]:
|
|
2863
2862
|
"""
|
|
@@ -2900,7 +2899,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2900
2899
|
|
|
2901
2900
|
def __init__(__self__, *,
|
|
2902
2901
|
audit_annotations: Optional[Sequence['outputs.AuditAnnotationPatch']] = None,
|
|
2903
|
-
failure_policy: Optional[
|
|
2902
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
2904
2903
|
match_conditions: Optional[Sequence['outputs.MatchConditionPatch']] = None,
|
|
2905
2904
|
match_constraints: Optional['outputs.MatchResourcesPatch'] = None,
|
|
2906
2905
|
param_kind: Optional['outputs.ParamKindPatch'] = None,
|
|
@@ -2909,7 +2908,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2909
2908
|
"""
|
|
2910
2909
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
2911
2910
|
: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.
|
|
2912
|
-
:param
|
|
2911
|
+
: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.
|
|
2913
2912
|
|
|
2914
2913
|
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.
|
|
2915
2914
|
|
|
@@ -2950,7 +2949,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2950
2949
|
if variables is not None:
|
|
2951
2950
|
pulumi.set(__self__, "variables", variables)
|
|
2952
2951
|
|
|
2953
|
-
@property
|
|
2952
|
+
@_builtins.property
|
|
2954
2953
|
@pulumi.getter(name="auditAnnotations")
|
|
2955
2954
|
def audit_annotations(self) -> Optional[Sequence['outputs.AuditAnnotationPatch']]:
|
|
2956
2955
|
"""
|
|
@@ -2958,9 +2957,9 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2958
2957
|
"""
|
|
2959
2958
|
return pulumi.get(self, "audit_annotations")
|
|
2960
2959
|
|
|
2961
|
-
@property
|
|
2960
|
+
@_builtins.property
|
|
2962
2961
|
@pulumi.getter(name="failurePolicy")
|
|
2963
|
-
def failure_policy(self) -> Optional[
|
|
2962
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
2964
2963
|
"""
|
|
2965
2964
|
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.
|
|
2966
2965
|
|
|
@@ -2974,7 +2973,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2974
2973
|
"""
|
|
2975
2974
|
return pulumi.get(self, "failure_policy")
|
|
2976
2975
|
|
|
2977
|
-
@property
|
|
2976
|
+
@_builtins.property
|
|
2978
2977
|
@pulumi.getter(name="matchConditions")
|
|
2979
2978
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchConditionPatch']]:
|
|
2980
2979
|
"""
|
|
@@ -2991,7 +2990,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2991
2990
|
"""
|
|
2992
2991
|
return pulumi.get(self, "match_conditions")
|
|
2993
2992
|
|
|
2994
|
-
@property
|
|
2993
|
+
@_builtins.property
|
|
2995
2994
|
@pulumi.getter(name="matchConstraints")
|
|
2996
2995
|
def match_constraints(self) -> Optional['outputs.MatchResourcesPatch']:
|
|
2997
2996
|
"""
|
|
@@ -2999,7 +2998,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
2999
2998
|
"""
|
|
3000
2999
|
return pulumi.get(self, "match_constraints")
|
|
3001
3000
|
|
|
3002
|
-
@property
|
|
3001
|
+
@_builtins.property
|
|
3003
3002
|
@pulumi.getter(name="paramKind")
|
|
3004
3003
|
def param_kind(self) -> Optional['outputs.ParamKindPatch']:
|
|
3005
3004
|
"""
|
|
@@ -3007,7 +3006,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3007
3006
|
"""
|
|
3008
3007
|
return pulumi.get(self, "param_kind")
|
|
3009
3008
|
|
|
3010
|
-
@property
|
|
3009
|
+
@_builtins.property
|
|
3011
3010
|
@pulumi.getter
|
|
3012
3011
|
def validations(self) -> Optional[Sequence['outputs.ValidationPatch']]:
|
|
3013
3012
|
"""
|
|
@@ -3015,7 +3014,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3015
3014
|
"""
|
|
3016
3015
|
return pulumi.get(self, "validations")
|
|
3017
3016
|
|
|
3018
|
-
@property
|
|
3017
|
+
@_builtins.property
|
|
3019
3018
|
@pulumi.getter
|
|
3020
3019
|
def variables(self) -> Optional[Sequence['outputs.VariablePatch']]:
|
|
3021
3020
|
"""
|
|
@@ -3052,12 +3051,12 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3052
3051
|
|
|
3053
3052
|
def __init__(__self__, *,
|
|
3054
3053
|
conditions: Optional[Sequence['_meta.v1.outputs.Condition']] = None,
|
|
3055
|
-
observed_generation: Optional[
|
|
3054
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
3056
3055
|
type_checking: Optional['outputs.TypeChecking'] = None):
|
|
3057
3056
|
"""
|
|
3058
3057
|
ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
|
|
3059
3058
|
:param Sequence['_meta.v1.ConditionArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3060
|
-
:param
|
|
3059
|
+
:param _builtins.int observed_generation: The generation observed by the controller.
|
|
3061
3060
|
:param 'TypeCheckingArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
3062
3061
|
"""
|
|
3063
3062
|
if conditions is not None:
|
|
@@ -3067,7 +3066,7 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3067
3066
|
if type_checking is not None:
|
|
3068
3067
|
pulumi.set(__self__, "type_checking", type_checking)
|
|
3069
3068
|
|
|
3070
|
-
@property
|
|
3069
|
+
@_builtins.property
|
|
3071
3070
|
@pulumi.getter
|
|
3072
3071
|
def conditions(self) -> Optional[Sequence['_meta.v1.outputs.Condition']]:
|
|
3073
3072
|
"""
|
|
@@ -3075,15 +3074,15 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3075
3074
|
"""
|
|
3076
3075
|
return pulumi.get(self, "conditions")
|
|
3077
3076
|
|
|
3078
|
-
@property
|
|
3077
|
+
@_builtins.property
|
|
3079
3078
|
@pulumi.getter(name="observedGeneration")
|
|
3080
|
-
def observed_generation(self) -> Optional[
|
|
3079
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
3081
3080
|
"""
|
|
3082
3081
|
The generation observed by the controller.
|
|
3083
3082
|
"""
|
|
3084
3083
|
return pulumi.get(self, "observed_generation")
|
|
3085
3084
|
|
|
3086
|
-
@property
|
|
3085
|
+
@_builtins.property
|
|
3087
3086
|
@pulumi.getter(name="typeChecking")
|
|
3088
3087
|
def type_checking(self) -> Optional['outputs.TypeChecking']:
|
|
3089
3088
|
"""
|
|
@@ -3118,12 +3117,12 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3118
3117
|
|
|
3119
3118
|
def __init__(__self__, *,
|
|
3120
3119
|
conditions: Optional[Sequence['_meta.v1.outputs.ConditionPatch']] = None,
|
|
3121
|
-
observed_generation: Optional[
|
|
3120
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
3122
3121
|
type_checking: Optional['outputs.TypeCheckingPatch'] = None):
|
|
3123
3122
|
"""
|
|
3124
3123
|
ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
|
|
3125
3124
|
:param Sequence['_meta.v1.ConditionPatchArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3126
|
-
:param
|
|
3125
|
+
:param _builtins.int observed_generation: The generation observed by the controller.
|
|
3127
3126
|
:param 'TypeCheckingPatchArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
3128
3127
|
"""
|
|
3129
3128
|
if conditions is not None:
|
|
@@ -3133,7 +3132,7 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3133
3132
|
if type_checking is not None:
|
|
3134
3133
|
pulumi.set(__self__, "type_checking", type_checking)
|
|
3135
3134
|
|
|
3136
|
-
@property
|
|
3135
|
+
@_builtins.property
|
|
3137
3136
|
@pulumi.getter
|
|
3138
3137
|
def conditions(self) -> Optional[Sequence['_meta.v1.outputs.ConditionPatch']]:
|
|
3139
3138
|
"""
|
|
@@ -3141,15 +3140,15 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3141
3140
|
"""
|
|
3142
3141
|
return pulumi.get(self, "conditions")
|
|
3143
3142
|
|
|
3144
|
-
@property
|
|
3143
|
+
@_builtins.property
|
|
3145
3144
|
@pulumi.getter(name="observedGeneration")
|
|
3146
|
-
def observed_generation(self) -> Optional[
|
|
3145
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
3147
3146
|
"""
|
|
3148
3147
|
The generation observed by the controller.
|
|
3149
3148
|
"""
|
|
3150
3149
|
return pulumi.get(self, "observed_generation")
|
|
3151
3150
|
|
|
3152
|
-
@property
|
|
3151
|
+
@_builtins.property
|
|
3153
3152
|
@pulumi.getter(name="typeChecking")
|
|
3154
3153
|
def type_checking(self) -> Optional['outputs.TypeCheckingPatch']:
|
|
3155
3154
|
"""
|
|
@@ -3196,22 +3195,22 @@ class ValidatingWebhook(dict):
|
|
|
3196
3195
|
|
|
3197
3196
|
def __init__(__self__, *,
|
|
3198
3197
|
client_config: 'outputs.WebhookClientConfig',
|
|
3199
|
-
name:
|
|
3200
|
-
admission_review_versions: Optional[Sequence[
|
|
3201
|
-
failure_policy: Optional[
|
|
3202
|
-
match_policy: Optional[
|
|
3198
|
+
name: _builtins.str,
|
|
3199
|
+
admission_review_versions: Optional[Sequence[_builtins.str]] = None,
|
|
3200
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
3201
|
+
match_policy: Optional[_builtins.str] = None,
|
|
3203
3202
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
3204
3203
|
object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
3205
3204
|
rules: Optional[Sequence['outputs.RuleWithOperations']] = None,
|
|
3206
|
-
side_effects: Optional[
|
|
3207
|
-
timeout_seconds: Optional[
|
|
3205
|
+
side_effects: Optional[_builtins.str] = None,
|
|
3206
|
+
timeout_seconds: Optional[_builtins.int] = None):
|
|
3208
3207
|
"""
|
|
3209
3208
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
3210
3209
|
:param 'WebhookClientConfigArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
3211
|
-
:param
|
|
3212
|
-
:param Sequence[
|
|
3213
|
-
:param
|
|
3214
|
-
:param
|
|
3210
|
+
: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.
|
|
3211
|
+
: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. Default to `['v1beta1']`.
|
|
3212
|
+
:param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
3213
|
+
:param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3215
3214
|
|
|
3216
3215
|
- 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.
|
|
3217
3216
|
|
|
@@ -3251,8 +3250,8 @@ class ValidatingWebhook(dict):
|
|
|
3251
3250
|
Default to the empty LabelSelector, which matches everything.
|
|
3252
3251
|
: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.
|
|
3253
3252
|
: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.
|
|
3254
|
-
:param
|
|
3255
|
-
:param
|
|
3253
|
+
:param _builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
3254
|
+
: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 30 seconds.
|
|
3256
3255
|
"""
|
|
3257
3256
|
pulumi.set(__self__, "client_config", client_config)
|
|
3258
3257
|
pulumi.set(__self__, "name", name)
|
|
@@ -3273,7 +3272,7 @@ class ValidatingWebhook(dict):
|
|
|
3273
3272
|
if timeout_seconds is not None:
|
|
3274
3273
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
3275
3274
|
|
|
3276
|
-
@property
|
|
3275
|
+
@_builtins.property
|
|
3277
3276
|
@pulumi.getter(name="clientConfig")
|
|
3278
3277
|
def client_config(self) -> 'outputs.WebhookClientConfig':
|
|
3279
3278
|
"""
|
|
@@ -3281,33 +3280,33 @@ class ValidatingWebhook(dict):
|
|
|
3281
3280
|
"""
|
|
3282
3281
|
return pulumi.get(self, "client_config")
|
|
3283
3282
|
|
|
3284
|
-
@property
|
|
3283
|
+
@_builtins.property
|
|
3285
3284
|
@pulumi.getter
|
|
3286
|
-
def name(self) ->
|
|
3285
|
+
def name(self) -> _builtins.str:
|
|
3287
3286
|
"""
|
|
3288
3287
|
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.
|
|
3289
3288
|
"""
|
|
3290
3289
|
return pulumi.get(self, "name")
|
|
3291
3290
|
|
|
3292
|
-
@property
|
|
3291
|
+
@_builtins.property
|
|
3293
3292
|
@pulumi.getter(name="admissionReviewVersions")
|
|
3294
|
-
def admission_review_versions(self) -> Optional[Sequence[
|
|
3293
|
+
def admission_review_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
3295
3294
|
"""
|
|
3296
3295
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
3297
3296
|
"""
|
|
3298
3297
|
return pulumi.get(self, "admission_review_versions")
|
|
3299
3298
|
|
|
3300
|
-
@property
|
|
3299
|
+
@_builtins.property
|
|
3301
3300
|
@pulumi.getter(name="failurePolicy")
|
|
3302
|
-
def failure_policy(self) -> Optional[
|
|
3301
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
3303
3302
|
"""
|
|
3304
3303
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
3305
3304
|
"""
|
|
3306
3305
|
return pulumi.get(self, "failure_policy")
|
|
3307
3306
|
|
|
3308
|
-
@property
|
|
3307
|
+
@_builtins.property
|
|
3309
3308
|
@pulumi.getter(name="matchPolicy")
|
|
3310
|
-
def match_policy(self) -> Optional[
|
|
3309
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
3311
3310
|
"""
|
|
3312
3311
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3313
3312
|
|
|
@@ -3319,7 +3318,7 @@ class ValidatingWebhook(dict):
|
|
|
3319
3318
|
"""
|
|
3320
3319
|
return pulumi.get(self, "match_policy")
|
|
3321
3320
|
|
|
3322
|
-
@property
|
|
3321
|
+
@_builtins.property
|
|
3323
3322
|
@pulumi.getter(name="namespaceSelector")
|
|
3324
3323
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
3325
3324
|
"""
|
|
@@ -3357,7 +3356,7 @@ class ValidatingWebhook(dict):
|
|
|
3357
3356
|
"""
|
|
3358
3357
|
return pulumi.get(self, "namespace_selector")
|
|
3359
3358
|
|
|
3360
|
-
@property
|
|
3359
|
+
@_builtins.property
|
|
3361
3360
|
@pulumi.getter(name="objectSelector")
|
|
3362
3361
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
3363
3362
|
"""
|
|
@@ -3365,7 +3364,7 @@ class ValidatingWebhook(dict):
|
|
|
3365
3364
|
"""
|
|
3366
3365
|
return pulumi.get(self, "object_selector")
|
|
3367
3366
|
|
|
3368
|
-
@property
|
|
3367
|
+
@_builtins.property
|
|
3369
3368
|
@pulumi.getter
|
|
3370
3369
|
def rules(self) -> Optional[Sequence['outputs.RuleWithOperations']]:
|
|
3371
3370
|
"""
|
|
@@ -3373,17 +3372,17 @@ class ValidatingWebhook(dict):
|
|
|
3373
3372
|
"""
|
|
3374
3373
|
return pulumi.get(self, "rules")
|
|
3375
3374
|
|
|
3376
|
-
@property
|
|
3375
|
+
@_builtins.property
|
|
3377
3376
|
@pulumi.getter(name="sideEffects")
|
|
3378
|
-
def side_effects(self) -> Optional[
|
|
3377
|
+
def side_effects(self) -> Optional[_builtins.str]:
|
|
3379
3378
|
"""
|
|
3380
3379
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
3381
3380
|
"""
|
|
3382
3381
|
return pulumi.get(self, "side_effects")
|
|
3383
3382
|
|
|
3384
|
-
@property
|
|
3383
|
+
@_builtins.property
|
|
3385
3384
|
@pulumi.getter(name="timeoutSeconds")
|
|
3386
|
-
def timeout_seconds(self) -> Optional[
|
|
3385
|
+
def timeout_seconds(self) -> Optional[_builtins.int]:
|
|
3387
3386
|
"""
|
|
3388
3387
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
3389
3388
|
"""
|
|
@@ -3413,14 +3412,14 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3413
3412
|
return super().get(key, default)
|
|
3414
3413
|
|
|
3415
3414
|
def __init__(__self__, *,
|
|
3416
|
-
api_version: Optional[
|
|
3417
|
-
kind: Optional[
|
|
3415
|
+
api_version: Optional[_builtins.str] = None,
|
|
3416
|
+
kind: Optional[_builtins.str] = None,
|
|
3418
3417
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
3419
3418
|
webhooks: Optional[Sequence['outputs.ValidatingWebhook']] = None):
|
|
3420
3419
|
"""
|
|
3421
3420
|
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.
|
|
3422
|
-
:param
|
|
3423
|
-
:param
|
|
3421
|
+
: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
|
|
3422
|
+
: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
|
|
3424
3423
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
3425
3424
|
:param Sequence['ValidatingWebhookArgs'] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
|
|
3426
3425
|
"""
|
|
@@ -3433,23 +3432,23 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3433
3432
|
if webhooks is not None:
|
|
3434
3433
|
pulumi.set(__self__, "webhooks", webhooks)
|
|
3435
3434
|
|
|
3436
|
-
@property
|
|
3435
|
+
@_builtins.property
|
|
3437
3436
|
@pulumi.getter(name="apiVersion")
|
|
3438
|
-
def api_version(self) -> Optional[
|
|
3437
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
3439
3438
|
"""
|
|
3440
3439
|
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
|
|
3441
3440
|
"""
|
|
3442
3441
|
return pulumi.get(self, "api_version")
|
|
3443
3442
|
|
|
3444
|
-
@property
|
|
3443
|
+
@_builtins.property
|
|
3445
3444
|
@pulumi.getter
|
|
3446
|
-
def kind(self) -> Optional[
|
|
3445
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
3447
3446
|
"""
|
|
3448
3447
|
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
|
|
3449
3448
|
"""
|
|
3450
3449
|
return pulumi.get(self, "kind")
|
|
3451
3450
|
|
|
3452
|
-
@property
|
|
3451
|
+
@_builtins.property
|
|
3453
3452
|
@pulumi.getter
|
|
3454
3453
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
3455
3454
|
"""
|
|
@@ -3457,7 +3456,7 @@ class ValidatingWebhookConfiguration(dict):
|
|
|
3457
3456
|
"""
|
|
3458
3457
|
return pulumi.get(self, "metadata")
|
|
3459
3458
|
|
|
3460
|
-
@property
|
|
3459
|
+
@_builtins.property
|
|
3461
3460
|
@pulumi.getter
|
|
3462
3461
|
def webhooks(self) -> Optional[Sequence['outputs.ValidatingWebhook']]:
|
|
3463
3462
|
"""
|
|
@@ -3503,29 +3502,29 @@ class ValidatingWebhookPatch(dict):
|
|
|
3503
3502
|
return super().get(key, default)
|
|
3504
3503
|
|
|
3505
3504
|
def __init__(__self__, *,
|
|
3506
|
-
admission_review_versions: Optional[Sequence[
|
|
3505
|
+
admission_review_versions: Optional[Sequence[_builtins.str]] = None,
|
|
3507
3506
|
client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
|
|
3508
|
-
failure_policy: Optional[
|
|
3509
|
-
match_policy: Optional[
|
|
3510
|
-
name: Optional[
|
|
3507
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
3508
|
+
match_policy: Optional[_builtins.str] = None,
|
|
3509
|
+
name: Optional[_builtins.str] = None,
|
|
3511
3510
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
3512
3511
|
object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
3513
3512
|
rules: Optional[Sequence['outputs.RuleWithOperationsPatch']] = None,
|
|
3514
|
-
side_effects: Optional[
|
|
3515
|
-
timeout_seconds: Optional[
|
|
3513
|
+
side_effects: Optional[_builtins.str] = None,
|
|
3514
|
+
timeout_seconds: Optional[_builtins.int] = None):
|
|
3516
3515
|
"""
|
|
3517
3516
|
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
|
|
3518
|
-
:param Sequence[
|
|
3517
|
+
: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. Default to `['v1beta1']`.
|
|
3519
3518
|
:param 'WebhookClientConfigPatchArgs' client_config: ClientConfig defines how to communicate with the hook. Required
|
|
3520
|
-
:param
|
|
3521
|
-
:param
|
|
3519
|
+
:param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
3520
|
+
:param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3522
3521
|
|
|
3523
3522
|
- 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.
|
|
3524
3523
|
|
|
3525
3524
|
- 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.
|
|
3526
3525
|
|
|
3527
3526
|
Defaults to "Exact"
|
|
3528
|
-
:param
|
|
3527
|
+
: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.
|
|
3529
3528
|
: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.
|
|
3530
3529
|
|
|
3531
3530
|
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": {
|
|
@@ -3559,8 +3558,8 @@ class ValidatingWebhookPatch(dict):
|
|
|
3559
3558
|
Default to the empty LabelSelector, which matches everything.
|
|
3560
3559
|
: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.
|
|
3561
3560
|
: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.
|
|
3562
|
-
:param
|
|
3563
|
-
:param
|
|
3561
|
+
:param _builtins.str side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
3562
|
+
: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 30 seconds.
|
|
3564
3563
|
"""
|
|
3565
3564
|
if admission_review_versions is not None:
|
|
3566
3565
|
pulumi.set(__self__, "admission_review_versions", admission_review_versions)
|
|
@@ -3583,15 +3582,15 @@ class ValidatingWebhookPatch(dict):
|
|
|
3583
3582
|
if timeout_seconds is not None:
|
|
3584
3583
|
pulumi.set(__self__, "timeout_seconds", timeout_seconds)
|
|
3585
3584
|
|
|
3586
|
-
@property
|
|
3585
|
+
@_builtins.property
|
|
3587
3586
|
@pulumi.getter(name="admissionReviewVersions")
|
|
3588
|
-
def admission_review_versions(self) -> Optional[Sequence[
|
|
3587
|
+
def admission_review_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
3589
3588
|
"""
|
|
3590
3589
|
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
|
|
3591
3590
|
"""
|
|
3592
3591
|
return pulumi.get(self, "admission_review_versions")
|
|
3593
3592
|
|
|
3594
|
-
@property
|
|
3593
|
+
@_builtins.property
|
|
3595
3594
|
@pulumi.getter(name="clientConfig")
|
|
3596
3595
|
def client_config(self) -> Optional['outputs.WebhookClientConfigPatch']:
|
|
3597
3596
|
"""
|
|
@@ -3599,17 +3598,17 @@ class ValidatingWebhookPatch(dict):
|
|
|
3599
3598
|
"""
|
|
3600
3599
|
return pulumi.get(self, "client_config")
|
|
3601
3600
|
|
|
3602
|
-
@property
|
|
3601
|
+
@_builtins.property
|
|
3603
3602
|
@pulumi.getter(name="failurePolicy")
|
|
3604
|
-
def failure_policy(self) -> Optional[
|
|
3603
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
3605
3604
|
"""
|
|
3606
3605
|
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
|
|
3607
3606
|
"""
|
|
3608
3607
|
return pulumi.get(self, "failure_policy")
|
|
3609
3608
|
|
|
3610
|
-
@property
|
|
3609
|
+
@_builtins.property
|
|
3611
3610
|
@pulumi.getter(name="matchPolicy")
|
|
3612
|
-
def match_policy(self) -> Optional[
|
|
3611
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
3613
3612
|
"""
|
|
3614
3613
|
matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
3615
3614
|
|
|
@@ -3621,15 +3620,15 @@ class ValidatingWebhookPatch(dict):
|
|
|
3621
3620
|
"""
|
|
3622
3621
|
return pulumi.get(self, "match_policy")
|
|
3623
3622
|
|
|
3624
|
-
@property
|
|
3623
|
+
@_builtins.property
|
|
3625
3624
|
@pulumi.getter
|
|
3626
|
-
def name(self) -> Optional[
|
|
3625
|
+
def name(self) -> Optional[_builtins.str]:
|
|
3627
3626
|
"""
|
|
3628
3627
|
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.
|
|
3629
3628
|
"""
|
|
3630
3629
|
return pulumi.get(self, "name")
|
|
3631
3630
|
|
|
3632
|
-
@property
|
|
3631
|
+
@_builtins.property
|
|
3633
3632
|
@pulumi.getter(name="namespaceSelector")
|
|
3634
3633
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
3635
3634
|
"""
|
|
@@ -3667,7 +3666,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3667
3666
|
"""
|
|
3668
3667
|
return pulumi.get(self, "namespace_selector")
|
|
3669
3668
|
|
|
3670
|
-
@property
|
|
3669
|
+
@_builtins.property
|
|
3671
3670
|
@pulumi.getter(name="objectSelector")
|
|
3672
3671
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
3673
3672
|
"""
|
|
@@ -3675,7 +3674,7 @@ class ValidatingWebhookPatch(dict):
|
|
|
3675
3674
|
"""
|
|
3676
3675
|
return pulumi.get(self, "object_selector")
|
|
3677
3676
|
|
|
3678
|
-
@property
|
|
3677
|
+
@_builtins.property
|
|
3679
3678
|
@pulumi.getter
|
|
3680
3679
|
def rules(self) -> Optional[Sequence['outputs.RuleWithOperationsPatch']]:
|
|
3681
3680
|
"""
|
|
@@ -3683,17 +3682,17 @@ class ValidatingWebhookPatch(dict):
|
|
|
3683
3682
|
"""
|
|
3684
3683
|
return pulumi.get(self, "rules")
|
|
3685
3684
|
|
|
3686
|
-
@property
|
|
3685
|
+
@_builtins.property
|
|
3687
3686
|
@pulumi.getter(name="sideEffects")
|
|
3688
|
-
def side_effects(self) -> Optional[
|
|
3687
|
+
def side_effects(self) -> Optional[_builtins.str]:
|
|
3689
3688
|
"""
|
|
3690
3689
|
SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
|
|
3691
3690
|
"""
|
|
3692
3691
|
return pulumi.get(self, "side_effects")
|
|
3693
3692
|
|
|
3694
|
-
@property
|
|
3693
|
+
@_builtins.property
|
|
3695
3694
|
@pulumi.getter(name="timeoutSeconds")
|
|
3696
|
-
def timeout_seconds(self) -> Optional[
|
|
3695
|
+
def timeout_seconds(self) -> Optional[_builtins.int]:
|
|
3697
3696
|
"""
|
|
3698
3697
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
|
|
3699
3698
|
"""
|
|
@@ -3723,13 +3722,13 @@ class Validation(dict):
|
|
|
3723
3722
|
return super().get(key, default)
|
|
3724
3723
|
|
|
3725
3724
|
def __init__(__self__, *,
|
|
3726
|
-
expression:
|
|
3727
|
-
message: Optional[
|
|
3728
|
-
message_expression: Optional[
|
|
3729
|
-
reason: Optional[
|
|
3725
|
+
expression: _builtins.str,
|
|
3726
|
+
message: Optional[_builtins.str] = None,
|
|
3727
|
+
message_expression: Optional[_builtins.str] = None,
|
|
3728
|
+
reason: Optional[_builtins.str] = None):
|
|
3730
3729
|
"""
|
|
3731
3730
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
3732
|
-
:param
|
|
3731
|
+
: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:
|
|
3733
3732
|
|
|
3734
3733
|
- '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.
|
|
3735
3734
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -3755,9 +3754,9 @@ class Validation(dict):
|
|
|
3755
3754
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
3756
3755
|
non-intersecting keys are appended, retaining their partial order.
|
|
3757
3756
|
Required.
|
|
3758
|
-
:param
|
|
3759
|
-
:param
|
|
3760
|
-
:param
|
|
3757
|
+
: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}".
|
|
3758
|
+
: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)+")"
|
|
3759
|
+
: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.
|
|
3761
3760
|
"""
|
|
3762
3761
|
pulumi.set(__self__, "expression", expression)
|
|
3763
3762
|
if message is not None:
|
|
@@ -3767,9 +3766,9 @@ class Validation(dict):
|
|
|
3767
3766
|
if reason is not None:
|
|
3768
3767
|
pulumi.set(__self__, "reason", reason)
|
|
3769
3768
|
|
|
3770
|
-
@property
|
|
3769
|
+
@_builtins.property
|
|
3771
3770
|
@pulumi.getter
|
|
3772
|
-
def expression(self) ->
|
|
3771
|
+
def expression(self) -> _builtins.str:
|
|
3773
3772
|
"""
|
|
3774
3773
|
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:
|
|
3775
3774
|
|
|
@@ -3800,25 +3799,25 @@ class Validation(dict):
|
|
|
3800
3799
|
"""
|
|
3801
3800
|
return pulumi.get(self, "expression")
|
|
3802
3801
|
|
|
3803
|
-
@property
|
|
3802
|
+
@_builtins.property
|
|
3804
3803
|
@pulumi.getter
|
|
3805
|
-
def message(self) -> Optional[
|
|
3804
|
+
def message(self) -> Optional[_builtins.str]:
|
|
3806
3805
|
"""
|
|
3807
3806
|
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}".
|
|
3808
3807
|
"""
|
|
3809
3808
|
return pulumi.get(self, "message")
|
|
3810
3809
|
|
|
3811
|
-
@property
|
|
3810
|
+
@_builtins.property
|
|
3812
3811
|
@pulumi.getter(name="messageExpression")
|
|
3813
|
-
def message_expression(self) -> Optional[
|
|
3812
|
+
def message_expression(self) -> Optional[_builtins.str]:
|
|
3814
3813
|
"""
|
|
3815
3814
|
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)+")"
|
|
3816
3815
|
"""
|
|
3817
3816
|
return pulumi.get(self, "message_expression")
|
|
3818
3817
|
|
|
3819
|
-
@property
|
|
3818
|
+
@_builtins.property
|
|
3820
3819
|
@pulumi.getter
|
|
3821
|
-
def reason(self) -> Optional[
|
|
3820
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
3822
3821
|
"""
|
|
3823
3822
|
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.
|
|
3824
3823
|
"""
|
|
@@ -3848,13 +3847,13 @@ class ValidationPatch(dict):
|
|
|
3848
3847
|
return super().get(key, default)
|
|
3849
3848
|
|
|
3850
3849
|
def __init__(__self__, *,
|
|
3851
|
-
expression: Optional[
|
|
3852
|
-
message: Optional[
|
|
3853
|
-
message_expression: Optional[
|
|
3854
|
-
reason: Optional[
|
|
3850
|
+
expression: Optional[_builtins.str] = None,
|
|
3851
|
+
message: Optional[_builtins.str] = None,
|
|
3852
|
+
message_expression: Optional[_builtins.str] = None,
|
|
3853
|
+
reason: Optional[_builtins.str] = None):
|
|
3855
3854
|
"""
|
|
3856
3855
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
3857
|
-
:param
|
|
3856
|
+
: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:
|
|
3858
3857
|
|
|
3859
3858
|
- '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.
|
|
3860
3859
|
For example, a variable named 'foo' can be accessed as 'variables.foo'.
|
|
@@ -3880,9 +3879,9 @@ class ValidationPatch(dict):
|
|
|
3880
3879
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
3881
3880
|
non-intersecting keys are appended, retaining their partial order.
|
|
3882
3881
|
Required.
|
|
3883
|
-
:param
|
|
3884
|
-
:param
|
|
3885
|
-
:param
|
|
3882
|
+
: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}".
|
|
3883
|
+
: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)+")"
|
|
3884
|
+
: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.
|
|
3886
3885
|
"""
|
|
3887
3886
|
if expression is not None:
|
|
3888
3887
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -3893,9 +3892,9 @@ class ValidationPatch(dict):
|
|
|
3893
3892
|
if reason is not None:
|
|
3894
3893
|
pulumi.set(__self__, "reason", reason)
|
|
3895
3894
|
|
|
3896
|
-
@property
|
|
3895
|
+
@_builtins.property
|
|
3897
3896
|
@pulumi.getter
|
|
3898
|
-
def expression(self) -> Optional[
|
|
3897
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
3899
3898
|
"""
|
|
3900
3899
|
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:
|
|
3901
3900
|
|
|
@@ -3926,25 +3925,25 @@ class ValidationPatch(dict):
|
|
|
3926
3925
|
"""
|
|
3927
3926
|
return pulumi.get(self, "expression")
|
|
3928
3927
|
|
|
3929
|
-
@property
|
|
3928
|
+
@_builtins.property
|
|
3930
3929
|
@pulumi.getter
|
|
3931
|
-
def message(self) -> Optional[
|
|
3930
|
+
def message(self) -> Optional[_builtins.str]:
|
|
3932
3931
|
"""
|
|
3933
3932
|
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}".
|
|
3934
3933
|
"""
|
|
3935
3934
|
return pulumi.get(self, "message")
|
|
3936
3935
|
|
|
3937
|
-
@property
|
|
3936
|
+
@_builtins.property
|
|
3938
3937
|
@pulumi.getter(name="messageExpression")
|
|
3939
|
-
def message_expression(self) -> Optional[
|
|
3938
|
+
def message_expression(self) -> Optional[_builtins.str]:
|
|
3940
3939
|
"""
|
|
3941
3940
|
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)+")"
|
|
3942
3941
|
"""
|
|
3943
3942
|
return pulumi.get(self, "message_expression")
|
|
3944
3943
|
|
|
3945
|
-
@property
|
|
3944
|
+
@_builtins.property
|
|
3946
3945
|
@pulumi.getter
|
|
3947
|
-
def reason(self) -> Optional[
|
|
3946
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
3948
3947
|
"""
|
|
3949
3948
|
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.
|
|
3950
3949
|
"""
|
|
@@ -3957,27 +3956,27 @@ class Variable(dict):
|
|
|
3957
3956
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
3958
3957
|
"""
|
|
3959
3958
|
def __init__(__self__, *,
|
|
3960
|
-
expression:
|
|
3961
|
-
name:
|
|
3959
|
+
expression: _builtins.str,
|
|
3960
|
+
name: _builtins.str):
|
|
3962
3961
|
"""
|
|
3963
3962
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
3964
|
-
:param
|
|
3965
|
-
:param
|
|
3963
|
+
: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.
|
|
3964
|
+
: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`
|
|
3966
3965
|
"""
|
|
3967
3966
|
pulumi.set(__self__, "expression", expression)
|
|
3968
3967
|
pulumi.set(__self__, "name", name)
|
|
3969
3968
|
|
|
3970
|
-
@property
|
|
3969
|
+
@_builtins.property
|
|
3971
3970
|
@pulumi.getter
|
|
3972
|
-
def expression(self) ->
|
|
3971
|
+
def expression(self) -> _builtins.str:
|
|
3973
3972
|
"""
|
|
3974
3973
|
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.
|
|
3975
3974
|
"""
|
|
3976
3975
|
return pulumi.get(self, "expression")
|
|
3977
3976
|
|
|
3978
|
-
@property
|
|
3977
|
+
@_builtins.property
|
|
3979
3978
|
@pulumi.getter
|
|
3980
|
-
def name(self) ->
|
|
3979
|
+
def name(self) -> _builtins.str:
|
|
3981
3980
|
"""
|
|
3982
3981
|
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`
|
|
3983
3982
|
"""
|
|
@@ -3990,29 +3989,29 @@ class VariablePatch(dict):
|
|
|
3990
3989
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
3991
3990
|
"""
|
|
3992
3991
|
def __init__(__self__, *,
|
|
3993
|
-
expression: Optional[
|
|
3994
|
-
name: Optional[
|
|
3992
|
+
expression: Optional[_builtins.str] = None,
|
|
3993
|
+
name: Optional[_builtins.str] = None):
|
|
3995
3994
|
"""
|
|
3996
3995
|
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
|
|
3997
|
-
:param
|
|
3998
|
-
:param
|
|
3996
|
+
: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.
|
|
3997
|
+
: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`
|
|
3999
3998
|
"""
|
|
4000
3999
|
if expression is not None:
|
|
4001
4000
|
pulumi.set(__self__, "expression", expression)
|
|
4002
4001
|
if name is not None:
|
|
4003
4002
|
pulumi.set(__self__, "name", name)
|
|
4004
4003
|
|
|
4005
|
-
@property
|
|
4004
|
+
@_builtins.property
|
|
4006
4005
|
@pulumi.getter
|
|
4007
|
-
def expression(self) -> Optional[
|
|
4006
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
4008
4007
|
"""
|
|
4009
4008
|
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.
|
|
4010
4009
|
"""
|
|
4011
4010
|
return pulumi.get(self, "expression")
|
|
4012
4011
|
|
|
4013
|
-
@property
|
|
4012
|
+
@_builtins.property
|
|
4014
4013
|
@pulumi.getter
|
|
4015
|
-
def name(self) -> Optional[
|
|
4014
|
+
def name(self) -> Optional[_builtins.str]:
|
|
4016
4015
|
"""
|
|
4017
4016
|
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`
|
|
4018
4017
|
"""
|
|
@@ -4042,16 +4041,16 @@ class WebhookClientConfig(dict):
|
|
|
4042
4041
|
return super().get(key, default)
|
|
4043
4042
|
|
|
4044
4043
|
def __init__(__self__, *,
|
|
4045
|
-
ca_bundle: Optional[
|
|
4044
|
+
ca_bundle: Optional[_builtins.str] = None,
|
|
4046
4045
|
service: Optional['outputs.ServiceReference'] = None,
|
|
4047
|
-
url: Optional[
|
|
4046
|
+
url: Optional[_builtins.str] = None):
|
|
4048
4047
|
"""
|
|
4049
4048
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
4050
|
-
:param
|
|
4049
|
+
: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.
|
|
4051
4050
|
:param 'ServiceReferenceArgs' service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
4052
4051
|
|
|
4053
4052
|
If the webhook is running within the cluster, then you should use `service`.
|
|
4054
|
-
:param
|
|
4053
|
+
: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.
|
|
4055
4054
|
|
|
4056
4055
|
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.
|
|
4057
4056
|
|
|
@@ -4070,15 +4069,15 @@ class WebhookClientConfig(dict):
|
|
|
4070
4069
|
if url is not None:
|
|
4071
4070
|
pulumi.set(__self__, "url", url)
|
|
4072
4071
|
|
|
4073
|
-
@property
|
|
4072
|
+
@_builtins.property
|
|
4074
4073
|
@pulumi.getter(name="caBundle")
|
|
4075
|
-
def ca_bundle(self) -> Optional[
|
|
4074
|
+
def ca_bundle(self) -> Optional[_builtins.str]:
|
|
4076
4075
|
"""
|
|
4077
4076
|
`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.
|
|
4078
4077
|
"""
|
|
4079
4078
|
return pulumi.get(self, "ca_bundle")
|
|
4080
4079
|
|
|
4081
|
-
@property
|
|
4080
|
+
@_builtins.property
|
|
4082
4081
|
@pulumi.getter
|
|
4083
4082
|
def service(self) -> Optional['outputs.ServiceReference']:
|
|
4084
4083
|
"""
|
|
@@ -4088,9 +4087,9 @@ class WebhookClientConfig(dict):
|
|
|
4088
4087
|
"""
|
|
4089
4088
|
return pulumi.get(self, "service")
|
|
4090
4089
|
|
|
4091
|
-
@property
|
|
4090
|
+
@_builtins.property
|
|
4092
4091
|
@pulumi.getter
|
|
4093
|
-
def url(self) -> Optional[
|
|
4092
|
+
def url(self) -> Optional[_builtins.str]:
|
|
4094
4093
|
"""
|
|
4095
4094
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4096
4095
|
|
|
@@ -4130,16 +4129,16 @@ class WebhookClientConfigPatch(dict):
|
|
|
4130
4129
|
return super().get(key, default)
|
|
4131
4130
|
|
|
4132
4131
|
def __init__(__self__, *,
|
|
4133
|
-
ca_bundle: Optional[
|
|
4132
|
+
ca_bundle: Optional[_builtins.str] = None,
|
|
4134
4133
|
service: Optional['outputs.ServiceReferencePatch'] = None,
|
|
4135
|
-
url: Optional[
|
|
4134
|
+
url: Optional[_builtins.str] = None):
|
|
4136
4135
|
"""
|
|
4137
4136
|
WebhookClientConfig contains the information to make a TLS connection with the webhook
|
|
4138
|
-
:param
|
|
4137
|
+
: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.
|
|
4139
4138
|
:param 'ServiceReferencePatchArgs' service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
|
|
4140
4139
|
|
|
4141
4140
|
If the webhook is running within the cluster, then you should use `service`.
|
|
4142
|
-
:param
|
|
4141
|
+
: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.
|
|
4143
4142
|
|
|
4144
4143
|
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.
|
|
4145
4144
|
|
|
@@ -4158,15 +4157,15 @@ class WebhookClientConfigPatch(dict):
|
|
|
4158
4157
|
if url is not None:
|
|
4159
4158
|
pulumi.set(__self__, "url", url)
|
|
4160
4159
|
|
|
4161
|
-
@property
|
|
4160
|
+
@_builtins.property
|
|
4162
4161
|
@pulumi.getter(name="caBundle")
|
|
4163
|
-
def ca_bundle(self) -> Optional[
|
|
4162
|
+
def ca_bundle(self) -> Optional[_builtins.str]:
|
|
4164
4163
|
"""
|
|
4165
4164
|
`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.
|
|
4166
4165
|
"""
|
|
4167
4166
|
return pulumi.get(self, "ca_bundle")
|
|
4168
4167
|
|
|
4169
|
-
@property
|
|
4168
|
+
@_builtins.property
|
|
4170
4169
|
@pulumi.getter
|
|
4171
4170
|
def service(self) -> Optional['outputs.ServiceReferencePatch']:
|
|
4172
4171
|
"""
|
|
@@ -4176,9 +4175,9 @@ class WebhookClientConfigPatch(dict):
|
|
|
4176
4175
|
"""
|
|
4177
4176
|
return pulumi.get(self, "service")
|
|
4178
4177
|
|
|
4179
|
-
@property
|
|
4178
|
+
@_builtins.property
|
|
4180
4179
|
@pulumi.getter
|
|
4181
|
-
def url(self) -> Optional[
|
|
4180
|
+
def url(self) -> Optional[_builtins.str]:
|
|
4182
4181
|
"""
|
|
4183
4182
|
`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
4184
4183
|
|