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