pulumi-kubernetes 4.23.0a1743496684__py3-none-any.whl → 4.23.0a1743595894__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +1 -0
- pulumi_kubernetes/_inputs.py +41 -40
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1/outputs.py +337 -336
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +366 -365
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +229 -228
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +337 -336
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +17 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +17 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +17 -16
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +699 -698
- pulumi_kubernetes/apiextensions/v1/outputs.py +405 -404
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +639 -638
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +369 -368
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +17 -16
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +17 -16
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +17 -16
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1/outputs.py +91 -90
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +91 -90
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1/DaemonSet.py +17 -16
- pulumi_kubernetes/apps/v1/DaemonSetList.py +17 -16
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSet.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +571 -570
- pulumi_kubernetes/apps/v1/outputs.py +476 -475
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1beta1/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +316 -315
- pulumi_kubernetes/apps/v1beta1/outputs.py +260 -259
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +506 -505
- pulumi_kubernetes/apps/v1beta2/outputs.py +442 -441
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +111 -110
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +96 -95
- pulumi_kubernetes/autoscaling/v1/outputs.py +73 -72
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2/outputs.py +217 -216
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +346 -345
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +283 -282
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +217 -216
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v1/Job.py +17 -16
- pulumi_kubernetes/batch/v1/JobList.py +17 -16
- pulumi_kubernetes/batch/v1/JobPatch.py +17 -16
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +386 -385
- pulumi_kubernetes/batch/v1/outputs.py +289 -288
- pulumi_kubernetes/batch/v1beta1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v1beta1/outputs.py +49 -48
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v2alpha1/outputs.py +49 -48
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +17 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +17 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +17 -16
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +126 -125
- pulumi_kubernetes/certificates/v1/outputs.py +97 -96
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +117 -116
- pulumi_kubernetes/certificates/v1beta1/outputs.py +93 -92
- pulumi_kubernetes/coordination/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/Lease.py +17 -16
- pulumi_kubernetes/coordination/v1/LeaseList.py +17 -16
- pulumi_kubernetes/coordination/v1/LeasePatch.py +17 -16
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +81 -80
- pulumi_kubernetes/coordination/v1/outputs.py +49 -48
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1beta1/Lease.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +61 -60
- pulumi_kubernetes/coordination/v1beta1/outputs.py +37 -36
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +17 -16
- pulumi_kubernetes/core/v1/BindingPatch.py +17 -16
- pulumi_kubernetes/core/v1/ConfigMap.py +41 -40
- pulumi_kubernetes/core/v1/ConfigMapList.py +17 -16
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +41 -40
- pulumi_kubernetes/core/v1/Endpoints.py +17 -16
- pulumi_kubernetes/core/v1/EndpointsList.py +17 -16
- pulumi_kubernetes/core/v1/EndpointsPatch.py +17 -16
- pulumi_kubernetes/core/v1/Event.py +97 -96
- pulumi_kubernetes/core/v1/EventList.py +17 -16
- pulumi_kubernetes/core/v1/EventPatch.py +97 -96
- pulumi_kubernetes/core/v1/LimitRange.py +17 -16
- pulumi_kubernetes/core/v1/LimitRangeList.py +17 -16
- pulumi_kubernetes/core/v1/LimitRangePatch.py +17 -16
- pulumi_kubernetes/core/v1/Namespace.py +17 -16
- pulumi_kubernetes/core/v1/NamespaceList.py +17 -16
- pulumi_kubernetes/core/v1/NamespacePatch.py +17 -16
- pulumi_kubernetes/core/v1/Node.py +17 -16
- pulumi_kubernetes/core/v1/NodeList.py +17 -16
- pulumi_kubernetes/core/v1/NodePatch.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolume.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +17 -16
- pulumi_kubernetes/core/v1/Pod.py +17 -16
- pulumi_kubernetes/core/v1/PodList.py +17 -16
- pulumi_kubernetes/core/v1/PodPatch.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplate.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplateList.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationController.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuota.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +17 -16
- pulumi_kubernetes/core/v1/Secret.py +49 -48
- pulumi_kubernetes/core/v1/SecretList.py +17 -16
- pulumi_kubernetes/core/v1/SecretPatch.py +49 -48
- pulumi_kubernetes/core/v1/Service.py +17 -16
- pulumi_kubernetes/core/v1/ServiceAccount.py +25 -24
- pulumi_kubernetes/core/v1/ServiceAccountList.py +17 -16
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +25 -24
- pulumi_kubernetes/core/v1/ServiceList.py +17 -16
- pulumi_kubernetes/core/v1/ServicePatch.py +17 -16
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +3 -1
- pulumi_kubernetes/core/v1/_inputs.py +5506 -5505
- pulumi_kubernetes/core/v1/outputs.py +3613 -3612
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +25 -24
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +17 -16
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +25 -24
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +146 -145
- pulumi_kubernetes/discovery/v1/outputs.py +88 -87
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +25 -24
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +17 -16
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +25 -24
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/discovery/v1beta1/outputs.py +76 -75
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +97 -96
- pulumi_kubernetes/events/v1/EventList.py +17 -16
- pulumi_kubernetes/events/v1/EventPatch.py +97 -96
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +81 -80
- pulumi_kubernetes/events/v1/outputs.py +49 -48
- pulumi_kubernetes/events/v1beta1/Event.py +97 -96
- pulumi_kubernetes/events/v1beta1/EventList.py +17 -16
- pulumi_kubernetes/events/v1beta1/EventPatch.py +97 -96
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +91 -90
- pulumi_kubernetes/events/v1beta1/outputs.py +55 -54
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +826 -825
- pulumi_kubernetes/extensions/v1beta1/outputs.py +587 -586
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +223 -222
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +246 -245
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +31 -30
- pulumi_kubernetes/helm/v3/outputs.py +41 -40
- pulumi_kubernetes/helm/v4/Chart.py +71 -70
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +26 -25
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +30 -29
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +42 -41
- pulumi_kubernetes/meta/v1/StatusPatch.py +42 -41
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +451 -450
- pulumi_kubernetes/meta/v1/outputs.py +289 -288
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/Ingress.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClass.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClassList.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +17 -16
- pulumi_kubernetes/networking/v1/IngressList.py +17 -16
- pulumi_kubernetes/networking/v1/IngressPatch.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +17 -16
- pulumi_kubernetes/networking/v1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/_inputs.py +266 -265
- pulumi_kubernetes/networking/v1/outputs.py +171 -170
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +121 -120
- pulumi_kubernetes/networking/v1alpha1/outputs.py +73 -72
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/Ingress.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +181 -180
- pulumi_kubernetes/networking/v1beta1/outputs.py +105 -104
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +25 -24
- pulumi_kubernetes/node/v1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +25 -24
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1/outputs.py +22 -21
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +17 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +17 -16
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +41 -40
- pulumi_kubernetes/node/v1alpha1/outputs.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +25 -24
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1beta1/outputs.py +22 -21
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +17 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +17 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +17 -16
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +71 -70
- pulumi_kubernetes/policy/v1/outputs.py +53 -52
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +17 -16
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +361 -360
- pulumi_kubernetes/policy/v1beta1/outputs.py +227 -226
- pulumi_kubernetes/provider.py +92 -91
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1beta1/outputs.py +97 -96
- pulumi_kubernetes/resource/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +25 -24
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +25 -24
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +206 -205
- pulumi_kubernetes/resource/v1alpha1/outputs.py +154 -153
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +25 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +25 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +411 -410
- pulumi_kubernetes/resource/v1alpha2/outputs.py +286 -285
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +386 -385
- pulumi_kubernetes/resource/v1alpha3/outputs.py +295 -294
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +17 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +321 -320
- pulumi_kubernetes/resource/v1beta1/outputs.py +244 -243
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +19 -18
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +11 -10
- pulumi_kubernetes/settings/v1alpha1/outputs.py +7 -6
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +17 -16
- pulumi_kubernetes/storage/v1/CSIDriverList.py +17 -16
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +17 -16
- pulumi_kubernetes/storage/v1/CSINode.py +17 -16
- pulumi_kubernetes/storage/v1/CSINodeList.py +17 -16
- pulumi_kubernetes/storage/v1/CSINodePatch.py +17 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +41 -40
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +17 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +41 -40
- pulumi_kubernetes/storage/v1/StorageClass.py +65 -64
- pulumi_kubernetes/storage/v1/StorageClassList.py +17 -16
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +65 -64
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +276 -275
- pulumi_kubernetes/storage/v1/outputs.py +178 -177
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +33 -32
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +33 -32
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storage/v1alpha1/outputs.py +61 -60
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINode.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +41 -40
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +41 -40
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +65 -64
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +65 -64
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +33 -32
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +33 -32
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +286 -285
- pulumi_kubernetes/storage/v1beta1/outputs.py +184 -183
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +22 -21
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +29 -28
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- {pulumi_kubernetes-4.23.0a1743496684.dist-info → pulumi_kubernetes-4.23.0a1743595894.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.23.0a1743595894.dist-info/RECORD +679 -0
- pulumi_kubernetes-4.23.0a1743496684.dist-info/RECORD +0 -679
- {pulumi_kubernetes-4.23.0a1743496684.dist-info → pulumi_kubernetes-4.23.0a1743595894.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.23.0a1743496684.dist-info → pulumi_kubernetes-4.23.0a1743595894.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -99,7 +100,7 @@ if not MYPY:
|
|
|
99
100
|
"""
|
|
100
101
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
101
102
|
"""
|
|
102
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
103
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
103
104
|
"""
|
|
104
105
|
expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
105
106
|
|
|
@@ -136,10 +137,10 @@ elif False:
|
|
|
136
137
|
@pulumi.input_type
|
|
137
138
|
class ApplyConfigurationPatchArgs:
|
|
138
139
|
def __init__(__self__, *,
|
|
139
|
-
expression: Optional[pulumi.Input[str]] = None):
|
|
140
|
+
expression: Optional[pulumi.Input[builtins.str]] = None):
|
|
140
141
|
"""
|
|
141
142
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
142
|
-
:param pulumi.Input[str] expression: expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
143
|
+
:param pulumi.Input[builtins.str] expression: expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
143
144
|
|
|
144
145
|
Apply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:
|
|
145
146
|
|
|
@@ -173,7 +174,7 @@ class ApplyConfigurationPatchArgs:
|
|
|
173
174
|
|
|
174
175
|
@property
|
|
175
176
|
@pulumi.getter
|
|
176
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
177
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
177
178
|
"""
|
|
178
179
|
expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
179
180
|
|
|
@@ -207,7 +208,7 @@ class ApplyConfigurationPatchArgs:
|
|
|
207
208
|
return pulumi.get(self, "expression")
|
|
208
209
|
|
|
209
210
|
@expression.setter
|
|
210
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
211
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
211
212
|
pulumi.set(self, "expression", value)
|
|
212
213
|
|
|
213
214
|
|
|
@@ -216,7 +217,7 @@ if not MYPY:
|
|
|
216
217
|
"""
|
|
217
218
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
218
219
|
"""
|
|
219
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
220
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
220
221
|
"""
|
|
221
222
|
expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
222
223
|
|
|
@@ -253,10 +254,10 @@ elif False:
|
|
|
253
254
|
@pulumi.input_type
|
|
254
255
|
class ApplyConfigurationArgs:
|
|
255
256
|
def __init__(__self__, *,
|
|
256
|
-
expression: Optional[pulumi.Input[str]] = None):
|
|
257
|
+
expression: Optional[pulumi.Input[builtins.str]] = None):
|
|
257
258
|
"""
|
|
258
259
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
259
|
-
:param pulumi.Input[str] expression: expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
260
|
+
:param pulumi.Input[builtins.str] expression: expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
260
261
|
|
|
261
262
|
Apply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:
|
|
262
263
|
|
|
@@ -290,7 +291,7 @@ class ApplyConfigurationArgs:
|
|
|
290
291
|
|
|
291
292
|
@property
|
|
292
293
|
@pulumi.getter
|
|
293
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
294
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
294
295
|
"""
|
|
295
296
|
expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
296
297
|
|
|
@@ -324,7 +325,7 @@ class ApplyConfigurationArgs:
|
|
|
324
325
|
return pulumi.get(self, "expression")
|
|
325
326
|
|
|
326
327
|
@expression.setter
|
|
327
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
328
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
328
329
|
pulumi.set(self, "expression", value)
|
|
329
330
|
|
|
330
331
|
|
|
@@ -333,7 +334,7 @@ if not MYPY:
|
|
|
333
334
|
"""
|
|
334
335
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
335
336
|
"""
|
|
336
|
-
key: NotRequired[pulumi.Input[str]]
|
|
337
|
+
key: NotRequired[pulumi.Input[builtins.str]]
|
|
337
338
|
"""
|
|
338
339
|
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.
|
|
339
340
|
|
|
@@ -343,7 +344,7 @@ if not MYPY:
|
|
|
343
344
|
|
|
344
345
|
Required.
|
|
345
346
|
"""
|
|
346
|
-
value_expression: NotRequired[pulumi.Input[str]]
|
|
347
|
+
value_expression: NotRequired[pulumi.Input[builtins.str]]
|
|
347
348
|
"""
|
|
348
349
|
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.
|
|
349
350
|
|
|
@@ -357,18 +358,18 @@ elif False:
|
|
|
357
358
|
@pulumi.input_type
|
|
358
359
|
class AuditAnnotationPatchArgs:
|
|
359
360
|
def __init__(__self__, *,
|
|
360
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
361
|
-
value_expression: Optional[pulumi.Input[str]] = None):
|
|
361
|
+
key: Optional[pulumi.Input[builtins.str]] = None,
|
|
362
|
+
value_expression: Optional[pulumi.Input[builtins.str]] = None):
|
|
362
363
|
"""
|
|
363
364
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
364
|
-
:param pulumi.Input[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.
|
|
365
|
+
:param pulumi.Input[builtins.str] key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
365
366
|
|
|
366
367
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
367
368
|
|
|
368
369
|
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.
|
|
369
370
|
|
|
370
371
|
Required.
|
|
371
|
-
:param pulumi.Input[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.
|
|
372
|
+
:param pulumi.Input[builtins.str] value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
372
373
|
|
|
373
374
|
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.
|
|
374
375
|
|
|
@@ -381,7 +382,7 @@ class AuditAnnotationPatchArgs:
|
|
|
381
382
|
|
|
382
383
|
@property
|
|
383
384
|
@pulumi.getter
|
|
384
|
-
def key(self) -> Optional[pulumi.Input[str]]:
|
|
385
|
+
def key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
385
386
|
"""
|
|
386
387
|
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.
|
|
387
388
|
|
|
@@ -394,12 +395,12 @@ class AuditAnnotationPatchArgs:
|
|
|
394
395
|
return pulumi.get(self, "key")
|
|
395
396
|
|
|
396
397
|
@key.setter
|
|
397
|
-
def key(self, value: Optional[pulumi.Input[str]]):
|
|
398
|
+
def key(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
398
399
|
pulumi.set(self, "key", value)
|
|
399
400
|
|
|
400
401
|
@property
|
|
401
402
|
@pulumi.getter(name="valueExpression")
|
|
402
|
-
def value_expression(self) -> Optional[pulumi.Input[str]]:
|
|
403
|
+
def value_expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
403
404
|
"""
|
|
404
405
|
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.
|
|
405
406
|
|
|
@@ -410,7 +411,7 @@ class AuditAnnotationPatchArgs:
|
|
|
410
411
|
return pulumi.get(self, "value_expression")
|
|
411
412
|
|
|
412
413
|
@value_expression.setter
|
|
413
|
-
def value_expression(self, value: Optional[pulumi.Input[str]]):
|
|
414
|
+
def value_expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
414
415
|
pulumi.set(self, "value_expression", value)
|
|
415
416
|
|
|
416
417
|
|
|
@@ -419,7 +420,7 @@ if not MYPY:
|
|
|
419
420
|
"""
|
|
420
421
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
421
422
|
"""
|
|
422
|
-
key: pulumi.Input[str]
|
|
423
|
+
key: pulumi.Input[builtins.str]
|
|
423
424
|
"""
|
|
424
425
|
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.
|
|
425
426
|
|
|
@@ -429,7 +430,7 @@ if not MYPY:
|
|
|
429
430
|
|
|
430
431
|
Required.
|
|
431
432
|
"""
|
|
432
|
-
value_expression: pulumi.Input[str]
|
|
433
|
+
value_expression: pulumi.Input[builtins.str]
|
|
433
434
|
"""
|
|
434
435
|
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.
|
|
435
436
|
|
|
@@ -443,18 +444,18 @@ elif False:
|
|
|
443
444
|
@pulumi.input_type
|
|
444
445
|
class AuditAnnotationArgs:
|
|
445
446
|
def __init__(__self__, *,
|
|
446
|
-
key: pulumi.Input[str],
|
|
447
|
-
value_expression: pulumi.Input[str]):
|
|
447
|
+
key: pulumi.Input[builtins.str],
|
|
448
|
+
value_expression: pulumi.Input[builtins.str]):
|
|
448
449
|
"""
|
|
449
450
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
450
|
-
:param pulumi.Input[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.
|
|
451
|
+
:param pulumi.Input[builtins.str] key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
451
452
|
|
|
452
453
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
453
454
|
|
|
454
455
|
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.
|
|
455
456
|
|
|
456
457
|
Required.
|
|
457
|
-
:param pulumi.Input[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.
|
|
458
|
+
:param pulumi.Input[builtins.str] value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
458
459
|
|
|
459
460
|
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.
|
|
460
461
|
|
|
@@ -465,7 +466,7 @@ class AuditAnnotationArgs:
|
|
|
465
466
|
|
|
466
467
|
@property
|
|
467
468
|
@pulumi.getter
|
|
468
|
-
def key(self) -> pulumi.Input[str]:
|
|
469
|
+
def key(self) -> pulumi.Input[builtins.str]:
|
|
469
470
|
"""
|
|
470
471
|
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.
|
|
471
472
|
|
|
@@ -478,12 +479,12 @@ class AuditAnnotationArgs:
|
|
|
478
479
|
return pulumi.get(self, "key")
|
|
479
480
|
|
|
480
481
|
@key.setter
|
|
481
|
-
def key(self, value: pulumi.Input[str]):
|
|
482
|
+
def key(self, value: pulumi.Input[builtins.str]):
|
|
482
483
|
pulumi.set(self, "key", value)
|
|
483
484
|
|
|
484
485
|
@property
|
|
485
486
|
@pulumi.getter(name="valueExpression")
|
|
486
|
-
def value_expression(self) -> pulumi.Input[str]:
|
|
487
|
+
def value_expression(self) -> pulumi.Input[builtins.str]:
|
|
487
488
|
"""
|
|
488
489
|
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.
|
|
489
490
|
|
|
@@ -494,7 +495,7 @@ class AuditAnnotationArgs:
|
|
|
494
495
|
return pulumi.get(self, "value_expression")
|
|
495
496
|
|
|
496
497
|
@value_expression.setter
|
|
497
|
-
def value_expression(self, value: pulumi.Input[str]):
|
|
498
|
+
def value_expression(self, value: pulumi.Input[builtins.str]):
|
|
498
499
|
pulumi.set(self, "value_expression", value)
|
|
499
500
|
|
|
500
501
|
|
|
@@ -503,11 +504,11 @@ if not MYPY:
|
|
|
503
504
|
"""
|
|
504
505
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
505
506
|
"""
|
|
506
|
-
field_ref: pulumi.Input[str]
|
|
507
|
+
field_ref: pulumi.Input[builtins.str]
|
|
507
508
|
"""
|
|
508
509
|
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"
|
|
509
510
|
"""
|
|
510
|
-
warning: pulumi.Input[str]
|
|
511
|
+
warning: pulumi.Input[builtins.str]
|
|
511
512
|
"""
|
|
512
513
|
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.
|
|
513
514
|
"""
|
|
@@ -517,38 +518,38 @@ elif False:
|
|
|
517
518
|
@pulumi.input_type
|
|
518
519
|
class ExpressionWarningArgs:
|
|
519
520
|
def __init__(__self__, *,
|
|
520
|
-
field_ref: pulumi.Input[str],
|
|
521
|
-
warning: pulumi.Input[str]):
|
|
521
|
+
field_ref: pulumi.Input[builtins.str],
|
|
522
|
+
warning: pulumi.Input[builtins.str]):
|
|
522
523
|
"""
|
|
523
524
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
524
|
-
:param pulumi.Input[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"
|
|
525
|
-
:param pulumi.Input[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.
|
|
525
|
+
:param pulumi.Input[builtins.str] field_ref: The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
|
|
526
|
+
:param pulumi.Input[builtins.str] warning: The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
|
|
526
527
|
"""
|
|
527
528
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
528
529
|
pulumi.set(__self__, "warning", warning)
|
|
529
530
|
|
|
530
531
|
@property
|
|
531
532
|
@pulumi.getter(name="fieldRef")
|
|
532
|
-
def field_ref(self) -> pulumi.Input[str]:
|
|
533
|
+
def field_ref(self) -> pulumi.Input[builtins.str]:
|
|
533
534
|
"""
|
|
534
535
|
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"
|
|
535
536
|
"""
|
|
536
537
|
return pulumi.get(self, "field_ref")
|
|
537
538
|
|
|
538
539
|
@field_ref.setter
|
|
539
|
-
def field_ref(self, value: pulumi.Input[str]):
|
|
540
|
+
def field_ref(self, value: pulumi.Input[builtins.str]):
|
|
540
541
|
pulumi.set(self, "field_ref", value)
|
|
541
542
|
|
|
542
543
|
@property
|
|
543
544
|
@pulumi.getter
|
|
544
|
-
def warning(self) -> pulumi.Input[str]:
|
|
545
|
+
def warning(self) -> pulumi.Input[builtins.str]:
|
|
545
546
|
"""
|
|
546
547
|
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.
|
|
547
548
|
"""
|
|
548
549
|
return pulumi.get(self, "warning")
|
|
549
550
|
|
|
550
551
|
@warning.setter
|
|
551
|
-
def warning(self, value: pulumi.Input[str]):
|
|
552
|
+
def warning(self, value: pulumi.Input[builtins.str]):
|
|
552
553
|
pulumi.set(self, "warning", value)
|
|
553
554
|
|
|
554
555
|
|
|
@@ -557,7 +558,7 @@ if not MYPY:
|
|
|
557
558
|
"""
|
|
558
559
|
JSONPatch defines a JSON Patch.
|
|
559
560
|
"""
|
|
560
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
561
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
561
562
|
"""
|
|
562
563
|
expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
563
564
|
|
|
@@ -620,10 +621,10 @@ elif False:
|
|
|
620
621
|
@pulumi.input_type
|
|
621
622
|
class JSONPatchPatchArgs:
|
|
622
623
|
def __init__(__self__, *,
|
|
623
|
-
expression: Optional[pulumi.Input[str]] = None):
|
|
624
|
+
expression: Optional[pulumi.Input[builtins.str]] = None):
|
|
624
625
|
"""
|
|
625
626
|
JSONPatch defines a JSON Patch.
|
|
626
|
-
:param pulumi.Input[str] expression: expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
627
|
+
:param pulumi.Input[builtins.str] expression: expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
627
628
|
|
|
628
629
|
expression must return an array of JSONPatch values.
|
|
629
630
|
|
|
@@ -683,7 +684,7 @@ class JSONPatchPatchArgs:
|
|
|
683
684
|
|
|
684
685
|
@property
|
|
685
686
|
@pulumi.getter
|
|
686
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
687
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
687
688
|
"""
|
|
688
689
|
expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
689
690
|
|
|
@@ -743,7 +744,7 @@ class JSONPatchPatchArgs:
|
|
|
743
744
|
return pulumi.get(self, "expression")
|
|
744
745
|
|
|
745
746
|
@expression.setter
|
|
746
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
747
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
747
748
|
pulumi.set(self, "expression", value)
|
|
748
749
|
|
|
749
750
|
|
|
@@ -752,7 +753,7 @@ if not MYPY:
|
|
|
752
753
|
"""
|
|
753
754
|
JSONPatch defines a JSON Patch.
|
|
754
755
|
"""
|
|
755
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
756
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
756
757
|
"""
|
|
757
758
|
expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
758
759
|
|
|
@@ -815,10 +816,10 @@ elif False:
|
|
|
815
816
|
@pulumi.input_type
|
|
816
817
|
class JSONPatchArgs:
|
|
817
818
|
def __init__(__self__, *,
|
|
818
|
-
expression: Optional[pulumi.Input[str]] = None):
|
|
819
|
+
expression: Optional[pulumi.Input[builtins.str]] = None):
|
|
819
820
|
"""
|
|
820
821
|
JSONPatch defines a JSON Patch.
|
|
821
|
-
:param pulumi.Input[str] expression: expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
822
|
+
:param pulumi.Input[builtins.str] expression: expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
822
823
|
|
|
823
824
|
expression must return an array of JSONPatch values.
|
|
824
825
|
|
|
@@ -878,7 +879,7 @@ class JSONPatchArgs:
|
|
|
878
879
|
|
|
879
880
|
@property
|
|
880
881
|
@pulumi.getter
|
|
881
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
882
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
882
883
|
"""
|
|
883
884
|
expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
884
885
|
|
|
@@ -938,13 +939,13 @@ class JSONPatchArgs:
|
|
|
938
939
|
return pulumi.get(self, "expression")
|
|
939
940
|
|
|
940
941
|
@expression.setter
|
|
941
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
942
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
942
943
|
pulumi.set(self, "expression", value)
|
|
943
944
|
|
|
944
945
|
|
|
945
946
|
if not MYPY:
|
|
946
947
|
class MatchConditionPatchArgsDict(TypedDict):
|
|
947
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
948
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
948
949
|
"""
|
|
949
950
|
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:
|
|
950
951
|
|
|
@@ -956,7 +957,7 @@ if not MYPY:
|
|
|
956
957
|
|
|
957
958
|
Required.
|
|
958
959
|
"""
|
|
959
|
-
name: NotRequired[pulumi.Input[str]]
|
|
960
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
960
961
|
"""
|
|
961
962
|
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')
|
|
962
963
|
|
|
@@ -968,10 +969,10 @@ elif False:
|
|
|
968
969
|
@pulumi.input_type
|
|
969
970
|
class MatchConditionPatchArgs:
|
|
970
971
|
def __init__(__self__, *,
|
|
971
|
-
expression: Optional[pulumi.Input[str]] = None,
|
|
972
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
972
|
+
expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
973
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
973
974
|
"""
|
|
974
|
-
:param pulumi.Input[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:
|
|
975
|
+
:param pulumi.Input[builtins.str] expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
975
976
|
|
|
976
977
|
'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.
|
|
977
978
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -980,7 +981,7 @@ class MatchConditionPatchArgs:
|
|
|
980
981
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
981
982
|
|
|
982
983
|
Required.
|
|
983
|
-
:param pulumi.Input[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')
|
|
984
|
+
:param pulumi.Input[builtins.str] name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
984
985
|
|
|
985
986
|
Required.
|
|
986
987
|
"""
|
|
@@ -991,7 +992,7 @@ class MatchConditionPatchArgs:
|
|
|
991
992
|
|
|
992
993
|
@property
|
|
993
994
|
@pulumi.getter
|
|
994
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
995
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
995
996
|
"""
|
|
996
997
|
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:
|
|
997
998
|
|
|
@@ -1006,12 +1007,12 @@ class MatchConditionPatchArgs:
|
|
|
1006
1007
|
return pulumi.get(self, "expression")
|
|
1007
1008
|
|
|
1008
1009
|
@expression.setter
|
|
1009
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
1010
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1010
1011
|
pulumi.set(self, "expression", value)
|
|
1011
1012
|
|
|
1012
1013
|
@property
|
|
1013
1014
|
@pulumi.getter
|
|
1014
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
1015
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1015
1016
|
"""
|
|
1016
1017
|
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')
|
|
1017
1018
|
|
|
@@ -1020,13 +1021,13 @@ class MatchConditionPatchArgs:
|
|
|
1020
1021
|
return pulumi.get(self, "name")
|
|
1021
1022
|
|
|
1022
1023
|
@name.setter
|
|
1023
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
1024
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1024
1025
|
pulumi.set(self, "name", value)
|
|
1025
1026
|
|
|
1026
1027
|
|
|
1027
1028
|
if not MYPY:
|
|
1028
1029
|
class MatchConditionArgsDict(TypedDict):
|
|
1029
|
-
expression: pulumi.Input[str]
|
|
1030
|
+
expression: pulumi.Input[builtins.str]
|
|
1030
1031
|
"""
|
|
1031
1032
|
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:
|
|
1032
1033
|
|
|
@@ -1038,7 +1039,7 @@ if not MYPY:
|
|
|
1038
1039
|
|
|
1039
1040
|
Required.
|
|
1040
1041
|
"""
|
|
1041
|
-
name: pulumi.Input[str]
|
|
1042
|
+
name: pulumi.Input[builtins.str]
|
|
1042
1043
|
"""
|
|
1043
1044
|
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')
|
|
1044
1045
|
|
|
@@ -1050,10 +1051,10 @@ elif False:
|
|
|
1050
1051
|
@pulumi.input_type
|
|
1051
1052
|
class MatchConditionArgs:
|
|
1052
1053
|
def __init__(__self__, *,
|
|
1053
|
-
expression: pulumi.Input[str],
|
|
1054
|
-
name: pulumi.Input[str]):
|
|
1054
|
+
expression: pulumi.Input[builtins.str],
|
|
1055
|
+
name: pulumi.Input[builtins.str]):
|
|
1055
1056
|
"""
|
|
1056
|
-
:param pulumi.Input[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:
|
|
1057
|
+
:param pulumi.Input[builtins.str] expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
1057
1058
|
|
|
1058
1059
|
'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.
|
|
1059
1060
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -1062,7 +1063,7 @@ class MatchConditionArgs:
|
|
|
1062
1063
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
1063
1064
|
|
|
1064
1065
|
Required.
|
|
1065
|
-
:param pulumi.Input[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')
|
|
1066
|
+
:param pulumi.Input[builtins.str] name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
1066
1067
|
|
|
1067
1068
|
Required.
|
|
1068
1069
|
"""
|
|
@@ -1071,7 +1072,7 @@ class MatchConditionArgs:
|
|
|
1071
1072
|
|
|
1072
1073
|
@property
|
|
1073
1074
|
@pulumi.getter
|
|
1074
|
-
def expression(self) -> pulumi.Input[str]:
|
|
1075
|
+
def expression(self) -> pulumi.Input[builtins.str]:
|
|
1075
1076
|
"""
|
|
1076
1077
|
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:
|
|
1077
1078
|
|
|
@@ -1086,12 +1087,12 @@ class MatchConditionArgs:
|
|
|
1086
1087
|
return pulumi.get(self, "expression")
|
|
1087
1088
|
|
|
1088
1089
|
@expression.setter
|
|
1089
|
-
def expression(self, value: pulumi.Input[str]):
|
|
1090
|
+
def expression(self, value: pulumi.Input[builtins.str]):
|
|
1090
1091
|
pulumi.set(self, "expression", value)
|
|
1091
1092
|
|
|
1092
1093
|
@property
|
|
1093
1094
|
@pulumi.getter
|
|
1094
|
-
def name(self) -> pulumi.Input[str]:
|
|
1095
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
1095
1096
|
"""
|
|
1096
1097
|
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')
|
|
1097
1098
|
|
|
@@ -1100,7 +1101,7 @@ class MatchConditionArgs:
|
|
|
1100
1101
|
return pulumi.get(self, "name")
|
|
1101
1102
|
|
|
1102
1103
|
@name.setter
|
|
1103
|
-
def name(self, value: pulumi.Input[str]):
|
|
1104
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
1104
1105
|
pulumi.set(self, "name", value)
|
|
1105
1106
|
|
|
1106
1107
|
|
|
@@ -1113,7 +1114,7 @@ if not MYPY:
|
|
|
1113
1114
|
"""
|
|
1114
1115
|
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)
|
|
1115
1116
|
"""
|
|
1116
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
1117
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1117
1118
|
"""
|
|
1118
1119
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1119
1120
|
|
|
@@ -1172,14 +1173,14 @@ elif False:
|
|
|
1172
1173
|
class MatchResourcesPatchArgs:
|
|
1173
1174
|
def __init__(__self__, *,
|
|
1174
1175
|
exclude_resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]] = None,
|
|
1175
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
1176
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1176
1177
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1177
1178
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1178
1179
|
resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]] = None):
|
|
1179
1180
|
"""
|
|
1180
1181
|
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)
|
|
1181
1182
|
:param pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]] exclude_resource_rules: ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
1182
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1183
|
+
:param pulumi.Input[builtins.str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1183
1184
|
|
|
1184
1185
|
- 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.
|
|
1185
1186
|
|
|
@@ -1245,7 +1246,7 @@ class MatchResourcesPatchArgs:
|
|
|
1245
1246
|
|
|
1246
1247
|
@property
|
|
1247
1248
|
@pulumi.getter(name="matchPolicy")
|
|
1248
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1249
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1249
1250
|
"""
|
|
1250
1251
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1251
1252
|
|
|
@@ -1258,7 +1259,7 @@ class MatchResourcesPatchArgs:
|
|
|
1258
1259
|
return pulumi.get(self, "match_policy")
|
|
1259
1260
|
|
|
1260
1261
|
@match_policy.setter
|
|
1261
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1262
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1262
1263
|
pulumi.set(self, "match_policy", value)
|
|
1263
1264
|
|
|
1264
1265
|
@property
|
|
@@ -1337,7 +1338,7 @@ if not MYPY:
|
|
|
1337
1338
|
"""
|
|
1338
1339
|
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)
|
|
1339
1340
|
"""
|
|
1340
|
-
match_policy: NotRequired[pulumi.Input[str]]
|
|
1341
|
+
match_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1341
1342
|
"""
|
|
1342
1343
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1343
1344
|
|
|
@@ -1396,14 +1397,14 @@ elif False:
|
|
|
1396
1397
|
class MatchResourcesArgs:
|
|
1397
1398
|
def __init__(__self__, *,
|
|
1398
1399
|
exclude_resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]] = None,
|
|
1399
|
-
match_policy: Optional[pulumi.Input[str]] = None,
|
|
1400
|
+
match_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1400
1401
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1401
1402
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1402
1403
|
resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]] = None):
|
|
1403
1404
|
"""
|
|
1404
1405
|
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)
|
|
1405
1406
|
:param pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]] exclude_resource_rules: ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
1406
|
-
:param pulumi.Input[str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1407
|
+
:param pulumi.Input[builtins.str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1407
1408
|
|
|
1408
1409
|
- 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.
|
|
1409
1410
|
|
|
@@ -1469,7 +1470,7 @@ class MatchResourcesArgs:
|
|
|
1469
1470
|
|
|
1470
1471
|
@property
|
|
1471
1472
|
@pulumi.getter(name="matchPolicy")
|
|
1472
|
-
def match_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1473
|
+
def match_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1473
1474
|
"""
|
|
1474
1475
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1475
1476
|
|
|
@@ -1482,7 +1483,7 @@ class MatchResourcesArgs:
|
|
|
1482
1483
|
return pulumi.get(self, "match_policy")
|
|
1483
1484
|
|
|
1484
1485
|
@match_policy.setter
|
|
1485
|
-
def match_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1486
|
+
def match_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1486
1487
|
pulumi.set(self, "match_policy", value)
|
|
1487
1488
|
|
|
1488
1489
|
@property
|
|
@@ -1565,7 +1566,7 @@ if not MYPY:
|
|
|
1565
1566
|
"""
|
|
1566
1567
|
paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in spec.ParamKind of the bound MutatingAdmissionPolicy. 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 MutatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
|
|
1567
1568
|
"""
|
|
1568
|
-
policy_name: NotRequired[pulumi.Input[str]]
|
|
1569
|
+
policy_name: NotRequired[pulumi.Input[builtins.str]]
|
|
1569
1570
|
"""
|
|
1570
1571
|
policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
1571
1572
|
"""
|
|
@@ -1577,12 +1578,12 @@ class MutatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
1577
1578
|
def __init__(__self__, *,
|
|
1578
1579
|
match_resources: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
1579
1580
|
param_ref: Optional[pulumi.Input['ParamRefPatchArgs']] = None,
|
|
1580
|
-
policy_name: Optional[pulumi.Input[str]] = None):
|
|
1581
|
+
policy_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
1581
1582
|
"""
|
|
1582
1583
|
MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.
|
|
1583
1584
|
:param pulumi.Input['MatchResourcesPatchArgs'] match_resources: matchResources limits what resources match this binding and may be mutated by it. Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT.
|
|
1584
1585
|
:param pulumi.Input['ParamRefPatchArgs'] param_ref: paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in spec.ParamKind of the bound MutatingAdmissionPolicy. 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 MutatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
|
|
1585
|
-
:param pulumi.Input[str] policy_name: policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
1586
|
+
:param pulumi.Input[builtins.str] policy_name: policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
1586
1587
|
"""
|
|
1587
1588
|
if match_resources is not None:
|
|
1588
1589
|
pulumi.set(__self__, "match_resources", match_resources)
|
|
@@ -1617,14 +1618,14 @@ class MutatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
1617
1618
|
|
|
1618
1619
|
@property
|
|
1619
1620
|
@pulumi.getter(name="policyName")
|
|
1620
|
-
def policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
1621
|
+
def policy_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1621
1622
|
"""
|
|
1622
1623
|
policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
1623
1624
|
"""
|
|
1624
1625
|
return pulumi.get(self, "policy_name")
|
|
1625
1626
|
|
|
1626
1627
|
@policy_name.setter
|
|
1627
|
-
def policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
1628
|
+
def policy_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1628
1629
|
pulumi.set(self, "policy_name", value)
|
|
1629
1630
|
|
|
1630
1631
|
|
|
@@ -1641,7 +1642,7 @@ if not MYPY:
|
|
|
1641
1642
|
"""
|
|
1642
1643
|
paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in spec.ParamKind of the bound MutatingAdmissionPolicy. 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 MutatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
|
|
1643
1644
|
"""
|
|
1644
|
-
policy_name: NotRequired[pulumi.Input[str]]
|
|
1645
|
+
policy_name: NotRequired[pulumi.Input[builtins.str]]
|
|
1645
1646
|
"""
|
|
1646
1647
|
policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
1647
1648
|
"""
|
|
@@ -1653,12 +1654,12 @@ class MutatingAdmissionPolicyBindingSpecArgs:
|
|
|
1653
1654
|
def __init__(__self__, *,
|
|
1654
1655
|
match_resources: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
1655
1656
|
param_ref: Optional[pulumi.Input['ParamRefArgs']] = None,
|
|
1656
|
-
policy_name: Optional[pulumi.Input[str]] = None):
|
|
1657
|
+
policy_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
1657
1658
|
"""
|
|
1658
1659
|
MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.
|
|
1659
1660
|
:param pulumi.Input['MatchResourcesArgs'] match_resources: matchResources limits what resources match this binding and may be mutated by it. Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT.
|
|
1660
1661
|
:param pulumi.Input['ParamRefArgs'] param_ref: paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in spec.ParamKind of the bound MutatingAdmissionPolicy. 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 MutatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
|
|
1661
|
-
:param pulumi.Input[str] policy_name: policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
1662
|
+
:param pulumi.Input[builtins.str] policy_name: policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
1662
1663
|
"""
|
|
1663
1664
|
if match_resources is not None:
|
|
1664
1665
|
pulumi.set(__self__, "match_resources", match_resources)
|
|
@@ -1693,14 +1694,14 @@ class MutatingAdmissionPolicyBindingSpecArgs:
|
|
|
1693
1694
|
|
|
1694
1695
|
@property
|
|
1695
1696
|
@pulumi.getter(name="policyName")
|
|
1696
|
-
def policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
1697
|
+
def policy_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1697
1698
|
"""
|
|
1698
1699
|
policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
1699
1700
|
"""
|
|
1700
1701
|
return pulumi.get(self, "policy_name")
|
|
1701
1702
|
|
|
1702
1703
|
@policy_name.setter
|
|
1703
|
-
def policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
1704
|
+
def policy_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1704
1705
|
pulumi.set(self, "policy_name", value)
|
|
1705
1706
|
|
|
1706
1707
|
|
|
@@ -1713,11 +1714,11 @@ if not MYPY:
|
|
|
1713
1714
|
|
|
1714
1715
|
Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
1715
1716
|
"""
|
|
1716
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1717
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
1717
1718
|
"""
|
|
1718
1719
|
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
|
|
1719
1720
|
"""
|
|
1720
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1721
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
1721
1722
|
"""
|
|
1722
1723
|
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
|
|
1723
1724
|
"""
|
|
@@ -1735,8 +1736,8 @@ elif False:
|
|
|
1735
1736
|
@pulumi.input_type
|
|
1736
1737
|
class MutatingAdmissionPolicyBindingArgs:
|
|
1737
1738
|
def __init__(__self__, *,
|
|
1738
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1739
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1739
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
1740
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
1740
1741
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1741
1742
|
spec: Optional[pulumi.Input['MutatingAdmissionPolicyBindingSpecArgs']] = None):
|
|
1742
1743
|
"""
|
|
@@ -1745,8 +1746,8 @@ class MutatingAdmissionPolicyBindingArgs:
|
|
|
1745
1746
|
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. Each evaluation is constrained by a [runtime cost budget](https://kubernetes.io/docs/reference/using-api/cel/#runtime-cost-budget).
|
|
1746
1747
|
|
|
1747
1748
|
Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
1748
|
-
:param pulumi.Input[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
|
|
1749
|
-
:param pulumi.Input[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
|
|
1749
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1750
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1750
1751
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
1751
1752
|
:param pulumi.Input['MutatingAdmissionPolicyBindingSpecArgs'] spec: Specification of the desired behavior of the MutatingAdmissionPolicyBinding.
|
|
1752
1753
|
"""
|
|
@@ -1761,26 +1762,26 @@ class MutatingAdmissionPolicyBindingArgs:
|
|
|
1761
1762
|
|
|
1762
1763
|
@property
|
|
1763
1764
|
@pulumi.getter(name="apiVersion")
|
|
1764
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1765
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1765
1766
|
"""
|
|
1766
1767
|
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
|
|
1767
1768
|
"""
|
|
1768
1769
|
return pulumi.get(self, "api_version")
|
|
1769
1770
|
|
|
1770
1771
|
@api_version.setter
|
|
1771
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1772
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1772
1773
|
pulumi.set(self, "api_version", value)
|
|
1773
1774
|
|
|
1774
1775
|
@property
|
|
1775
1776
|
@pulumi.getter
|
|
1776
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1777
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1777
1778
|
"""
|
|
1778
1779
|
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
|
|
1779
1780
|
"""
|
|
1780
1781
|
return pulumi.get(self, "kind")
|
|
1781
1782
|
|
|
1782
1783
|
@kind.setter
|
|
1783
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1784
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1784
1785
|
pulumi.set(self, "kind", value)
|
|
1785
1786
|
|
|
1786
1787
|
@property
|
|
@@ -1813,7 +1814,7 @@ if not MYPY:
|
|
|
1813
1814
|
"""
|
|
1814
1815
|
MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.
|
|
1815
1816
|
"""
|
|
1816
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
1817
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1817
1818
|
"""
|
|
1818
1819
|
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.
|
|
1819
1820
|
|
|
@@ -1848,7 +1849,7 @@ if not MYPY:
|
|
|
1848
1849
|
"""
|
|
1849
1850
|
paramKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If paramKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in MutatingAdmissionPolicyBinding, the params variable will be null.
|
|
1850
1851
|
"""
|
|
1851
|
-
reinvocation_policy: NotRequired[pulumi.Input[str]]
|
|
1852
|
+
reinvocation_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1852
1853
|
"""
|
|
1853
1854
|
reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1854
1855
|
|
|
@@ -1868,16 +1869,16 @@ elif False:
|
|
|
1868
1869
|
@pulumi.input_type
|
|
1869
1870
|
class MutatingAdmissionPolicySpecPatchArgs:
|
|
1870
1871
|
def __init__(__self__, *,
|
|
1871
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
1872
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1872
1873
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
|
|
1873
1874
|
match_constraints: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
1874
1875
|
mutations: Optional[pulumi.Input[Sequence[pulumi.Input['MutationPatchArgs']]]] = None,
|
|
1875
1876
|
param_kind: Optional[pulumi.Input['ParamKindPatchArgs']] = None,
|
|
1876
|
-
reinvocation_policy: Optional[pulumi.Input[str]] = None,
|
|
1877
|
+
reinvocation_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1877
1878
|
variables: Optional[pulumi.Input[Sequence[pulumi.Input['VariablePatchArgs']]]] = None):
|
|
1878
1879
|
"""
|
|
1879
1880
|
MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.
|
|
1880
|
-
:param pulumi.Input[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.
|
|
1881
|
+
:param pulumi.Input[builtins.str] failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
1881
1882
|
|
|
1882
1883
|
A policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.
|
|
1883
1884
|
|
|
@@ -1897,7 +1898,7 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
1897
1898
|
:param pulumi.Input['MatchResourcesPatchArgs'] match_constraints: matchConstraints specifies what resources this policy is designed to validate. The MutatingAdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API MutatingAdmissionPolicy cannot match MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT. Required.
|
|
1898
1899
|
:param pulumi.Input[Sequence[pulumi.Input['MutationPatchArgs']]] mutations: mutations contain operations to perform on matching objects. mutations may not be empty; a minimum of one mutation is required. mutations are evaluated in order, and are reinvoked according to the reinvocationPolicy. The mutations of a policy are invoked for each binding of this policy and reinvocation of mutations occurs on a per binding basis.
|
|
1899
1900
|
:param pulumi.Input['ParamKindPatchArgs'] param_kind: paramKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If paramKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in MutatingAdmissionPolicyBinding, the params variable will be null.
|
|
1900
|
-
:param pulumi.Input[str] reinvocation_policy: reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1901
|
+
:param pulumi.Input[builtins.str] reinvocation_policy: reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1901
1902
|
|
|
1902
1903
|
Never: These mutations will not be called more than once per binding in a single admission evaluation.
|
|
1903
1904
|
|
|
@@ -1923,7 +1924,7 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
1923
1924
|
|
|
1924
1925
|
@property
|
|
1925
1926
|
@pulumi.getter(name="failurePolicy")
|
|
1926
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1927
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1927
1928
|
"""
|
|
1928
1929
|
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.
|
|
1929
1930
|
|
|
@@ -1936,7 +1937,7 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
1936
1937
|
return pulumi.get(self, "failure_policy")
|
|
1937
1938
|
|
|
1938
1939
|
@failure_policy.setter
|
|
1939
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1940
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1940
1941
|
pulumi.set(self, "failure_policy", value)
|
|
1941
1942
|
|
|
1942
1943
|
@property
|
|
@@ -1998,7 +1999,7 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
1998
1999
|
|
|
1999
2000
|
@property
|
|
2000
2001
|
@pulumi.getter(name="reinvocationPolicy")
|
|
2001
|
-
def reinvocation_policy(self) -> Optional[pulumi.Input[str]]:
|
|
2002
|
+
def reinvocation_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2002
2003
|
"""
|
|
2003
2004
|
reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
2004
2005
|
|
|
@@ -2009,7 +2010,7 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
2009
2010
|
return pulumi.get(self, "reinvocation_policy")
|
|
2010
2011
|
|
|
2011
2012
|
@reinvocation_policy.setter
|
|
2012
|
-
def reinvocation_policy(self, value: Optional[pulumi.Input[str]]):
|
|
2013
|
+
def reinvocation_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2013
2014
|
pulumi.set(self, "reinvocation_policy", value)
|
|
2014
2015
|
|
|
2015
2016
|
@property
|
|
@@ -2032,7 +2033,7 @@ if not MYPY:
|
|
|
2032
2033
|
"""
|
|
2033
2034
|
MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.
|
|
2034
2035
|
"""
|
|
2035
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
2036
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
2036
2037
|
"""
|
|
2037
2038
|
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.
|
|
2038
2039
|
|
|
@@ -2067,7 +2068,7 @@ if not MYPY:
|
|
|
2067
2068
|
"""
|
|
2068
2069
|
paramKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If paramKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in MutatingAdmissionPolicyBinding, the params variable will be null.
|
|
2069
2070
|
"""
|
|
2070
|
-
reinvocation_policy: NotRequired[pulumi.Input[str]]
|
|
2071
|
+
reinvocation_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
2071
2072
|
"""
|
|
2072
2073
|
reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
2073
2074
|
|
|
@@ -2087,16 +2088,16 @@ elif False:
|
|
|
2087
2088
|
@pulumi.input_type
|
|
2088
2089
|
class MutatingAdmissionPolicySpecArgs:
|
|
2089
2090
|
def __init__(__self__, *,
|
|
2090
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
2091
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
2091
2092
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
|
|
2092
2093
|
match_constraints: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
2093
2094
|
mutations: Optional[pulumi.Input[Sequence[pulumi.Input['MutationArgs']]]] = None,
|
|
2094
2095
|
param_kind: Optional[pulumi.Input['ParamKindArgs']] = None,
|
|
2095
|
-
reinvocation_policy: Optional[pulumi.Input[str]] = None,
|
|
2096
|
+
reinvocation_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
2096
2097
|
variables: Optional[pulumi.Input[Sequence[pulumi.Input['VariableArgs']]]] = None):
|
|
2097
2098
|
"""
|
|
2098
2099
|
MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.
|
|
2099
|
-
:param pulumi.Input[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.
|
|
2100
|
+
:param pulumi.Input[builtins.str] failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
2100
2101
|
|
|
2101
2102
|
A policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.
|
|
2102
2103
|
|
|
@@ -2116,7 +2117,7 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2116
2117
|
:param pulumi.Input['MatchResourcesArgs'] match_constraints: matchConstraints specifies what resources this policy is designed to validate. The MutatingAdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API MutatingAdmissionPolicy cannot match MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT. Required.
|
|
2117
2118
|
:param pulumi.Input[Sequence[pulumi.Input['MutationArgs']]] mutations: mutations contain operations to perform on matching objects. mutations may not be empty; a minimum of one mutation is required. mutations are evaluated in order, and are reinvoked according to the reinvocationPolicy. The mutations of a policy are invoked for each binding of this policy and reinvocation of mutations occurs on a per binding basis.
|
|
2118
2119
|
:param pulumi.Input['ParamKindArgs'] param_kind: paramKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If paramKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in MutatingAdmissionPolicyBinding, the params variable will be null.
|
|
2119
|
-
:param pulumi.Input[str] reinvocation_policy: reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
2120
|
+
:param pulumi.Input[builtins.str] reinvocation_policy: reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
2120
2121
|
|
|
2121
2122
|
Never: These mutations will not be called more than once per binding in a single admission evaluation.
|
|
2122
2123
|
|
|
@@ -2142,7 +2143,7 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2142
2143
|
|
|
2143
2144
|
@property
|
|
2144
2145
|
@pulumi.getter(name="failurePolicy")
|
|
2145
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
2146
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2146
2147
|
"""
|
|
2147
2148
|
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.
|
|
2148
2149
|
|
|
@@ -2155,7 +2156,7 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2155
2156
|
return pulumi.get(self, "failure_policy")
|
|
2156
2157
|
|
|
2157
2158
|
@failure_policy.setter
|
|
2158
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
2159
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2159
2160
|
pulumi.set(self, "failure_policy", value)
|
|
2160
2161
|
|
|
2161
2162
|
@property
|
|
@@ -2217,7 +2218,7 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2217
2218
|
|
|
2218
2219
|
@property
|
|
2219
2220
|
@pulumi.getter(name="reinvocationPolicy")
|
|
2220
|
-
def reinvocation_policy(self) -> Optional[pulumi.Input[str]]:
|
|
2221
|
+
def reinvocation_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2221
2222
|
"""
|
|
2222
2223
|
reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
2223
2224
|
|
|
@@ -2228,7 +2229,7 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2228
2229
|
return pulumi.get(self, "reinvocation_policy")
|
|
2229
2230
|
|
|
2230
2231
|
@reinvocation_policy.setter
|
|
2231
|
-
def reinvocation_policy(self, value: Optional[pulumi.Input[str]]):
|
|
2232
|
+
def reinvocation_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2232
2233
|
pulumi.set(self, "reinvocation_policy", value)
|
|
2233
2234
|
|
|
2234
2235
|
@property
|
|
@@ -2251,11 +2252,11 @@ if not MYPY:
|
|
|
2251
2252
|
"""
|
|
2252
2253
|
MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.
|
|
2253
2254
|
"""
|
|
2254
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
2255
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
2255
2256
|
"""
|
|
2256
2257
|
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
|
|
2257
2258
|
"""
|
|
2258
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
2259
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
2259
2260
|
"""
|
|
2260
2261
|
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
|
|
2261
2262
|
"""
|
|
@@ -2273,14 +2274,14 @@ elif False:
|
|
|
2273
2274
|
@pulumi.input_type
|
|
2274
2275
|
class MutatingAdmissionPolicyArgs:
|
|
2275
2276
|
def __init__(__self__, *,
|
|
2276
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2277
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
2277
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
2278
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
2278
2279
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
2279
2280
|
spec: Optional[pulumi.Input['MutatingAdmissionPolicySpecArgs']] = None):
|
|
2280
2281
|
"""
|
|
2281
2282
|
MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.
|
|
2282
|
-
:param pulumi.Input[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
|
|
2283
|
-
:param pulumi.Input[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
|
|
2283
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2284
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2284
2285
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
2285
2286
|
:param pulumi.Input['MutatingAdmissionPolicySpecArgs'] spec: Specification of the desired behavior of the MutatingAdmissionPolicy.
|
|
2286
2287
|
"""
|
|
@@ -2295,26 +2296,26 @@ class MutatingAdmissionPolicyArgs:
|
|
|
2295
2296
|
|
|
2296
2297
|
@property
|
|
2297
2298
|
@pulumi.getter(name="apiVersion")
|
|
2298
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2299
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2299
2300
|
"""
|
|
2300
2301
|
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
|
|
2301
2302
|
"""
|
|
2302
2303
|
return pulumi.get(self, "api_version")
|
|
2303
2304
|
|
|
2304
2305
|
@api_version.setter
|
|
2305
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2306
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2306
2307
|
pulumi.set(self, "api_version", value)
|
|
2307
2308
|
|
|
2308
2309
|
@property
|
|
2309
2310
|
@pulumi.getter
|
|
2310
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2311
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2311
2312
|
"""
|
|
2312
2313
|
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
|
|
2313
2314
|
"""
|
|
2314
2315
|
return pulumi.get(self, "kind")
|
|
2315
2316
|
|
|
2316
2317
|
@kind.setter
|
|
2317
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2318
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2318
2319
|
pulumi.set(self, "kind", value)
|
|
2319
2320
|
|
|
2320
2321
|
@property
|
|
@@ -2355,7 +2356,7 @@ if not MYPY:
|
|
|
2355
2356
|
"""
|
|
2356
2357
|
jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. A CEL expression is used to create the JSON patch.
|
|
2357
2358
|
"""
|
|
2358
|
-
patch_type: NotRequired[pulumi.Input[str]]
|
|
2359
|
+
patch_type: NotRequired[pulumi.Input[builtins.str]]
|
|
2359
2360
|
"""
|
|
2360
2361
|
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2361
2362
|
"""
|
|
@@ -2367,12 +2368,12 @@ class MutationPatchArgs:
|
|
|
2367
2368
|
def __init__(__self__, *,
|
|
2368
2369
|
apply_configuration: Optional[pulumi.Input['ApplyConfigurationPatchArgs']] = None,
|
|
2369
2370
|
json_patch: Optional[pulumi.Input['JSONPatchPatchArgs']] = None,
|
|
2370
|
-
patch_type: Optional[pulumi.Input[str]] = None):
|
|
2371
|
+
patch_type: Optional[pulumi.Input[builtins.str]] = None):
|
|
2371
2372
|
"""
|
|
2372
2373
|
Mutation specifies the CEL expression which is used to apply the Mutation.
|
|
2373
2374
|
:param pulumi.Input['ApplyConfigurationPatchArgs'] apply_configuration: applyConfiguration defines the desired configuration values of an object. The configuration is applied to the admission object using [structured merge diff](https://github.com/kubernetes-sigs/structured-merge-diff). A CEL expression is used to create apply configuration.
|
|
2374
2375
|
:param pulumi.Input['JSONPatchPatchArgs'] json_patch: jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. A CEL expression is used to create the JSON patch.
|
|
2375
|
-
:param pulumi.Input[str] patch_type: patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2376
|
+
:param pulumi.Input[builtins.str] patch_type: patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2376
2377
|
"""
|
|
2377
2378
|
if apply_configuration is not None:
|
|
2378
2379
|
pulumi.set(__self__, "apply_configuration", apply_configuration)
|
|
@@ -2407,14 +2408,14 @@ class MutationPatchArgs:
|
|
|
2407
2408
|
|
|
2408
2409
|
@property
|
|
2409
2410
|
@pulumi.getter(name="patchType")
|
|
2410
|
-
def patch_type(self) -> Optional[pulumi.Input[str]]:
|
|
2411
|
+
def patch_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2411
2412
|
"""
|
|
2412
2413
|
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2413
2414
|
"""
|
|
2414
2415
|
return pulumi.get(self, "patch_type")
|
|
2415
2416
|
|
|
2416
2417
|
@patch_type.setter
|
|
2417
|
-
def patch_type(self, value: Optional[pulumi.Input[str]]):
|
|
2418
|
+
def patch_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2418
2419
|
pulumi.set(self, "patch_type", value)
|
|
2419
2420
|
|
|
2420
2421
|
|
|
@@ -2423,7 +2424,7 @@ if not MYPY:
|
|
|
2423
2424
|
"""
|
|
2424
2425
|
Mutation specifies the CEL expression which is used to apply the Mutation.
|
|
2425
2426
|
"""
|
|
2426
|
-
patch_type: pulumi.Input[str]
|
|
2427
|
+
patch_type: pulumi.Input[builtins.str]
|
|
2427
2428
|
"""
|
|
2428
2429
|
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2429
2430
|
"""
|
|
@@ -2441,12 +2442,12 @@ elif False:
|
|
|
2441
2442
|
@pulumi.input_type
|
|
2442
2443
|
class MutationArgs:
|
|
2443
2444
|
def __init__(__self__, *,
|
|
2444
|
-
patch_type: pulumi.Input[str],
|
|
2445
|
+
patch_type: pulumi.Input[builtins.str],
|
|
2445
2446
|
apply_configuration: Optional[pulumi.Input['ApplyConfigurationArgs']] = None,
|
|
2446
2447
|
json_patch: Optional[pulumi.Input['JSONPatchArgs']] = None):
|
|
2447
2448
|
"""
|
|
2448
2449
|
Mutation specifies the CEL expression which is used to apply the Mutation.
|
|
2449
|
-
:param pulumi.Input[str] patch_type: patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2450
|
+
:param pulumi.Input[builtins.str] patch_type: patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2450
2451
|
:param pulumi.Input['ApplyConfigurationArgs'] apply_configuration: applyConfiguration defines the desired configuration values of an object. The configuration is applied to the admission object using [structured merge diff](https://github.com/kubernetes-sigs/structured-merge-diff). A CEL expression is used to create apply configuration.
|
|
2451
2452
|
:param pulumi.Input['JSONPatchArgs'] json_patch: jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. A CEL expression is used to create the JSON patch.
|
|
2452
2453
|
"""
|
|
@@ -2458,14 +2459,14 @@ class MutationArgs:
|
|
|
2458
2459
|
|
|
2459
2460
|
@property
|
|
2460
2461
|
@pulumi.getter(name="patchType")
|
|
2461
|
-
def patch_type(self) -> pulumi.Input[str]:
|
|
2462
|
+
def patch_type(self) -> pulumi.Input[builtins.str]:
|
|
2462
2463
|
"""
|
|
2463
2464
|
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2464
2465
|
"""
|
|
2465
2466
|
return pulumi.get(self, "patch_type")
|
|
2466
2467
|
|
|
2467
2468
|
@patch_type.setter
|
|
2468
|
-
def patch_type(self, value: pulumi.Input[str]):
|
|
2469
|
+
def patch_type(self, value: pulumi.Input[builtins.str]):
|
|
2469
2470
|
pulumi.set(self, "patch_type", value)
|
|
2470
2471
|
|
|
2471
2472
|
@property
|
|
@@ -2498,23 +2499,23 @@ if not MYPY:
|
|
|
2498
2499
|
"""
|
|
2499
2500
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
2500
2501
|
"""
|
|
2501
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2502
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2502
2503
|
"""
|
|
2503
2504
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2504
2505
|
"""
|
|
2505
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2506
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2506
2507
|
"""
|
|
2507
2508
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2508
2509
|
"""
|
|
2509
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2510
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2510
2511
|
"""
|
|
2511
2512
|
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.
|
|
2512
2513
|
"""
|
|
2513
|
-
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2514
|
+
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2514
2515
|
"""
|
|
2515
2516
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2516
2517
|
"""
|
|
2517
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2518
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2518
2519
|
"""
|
|
2519
2520
|
Resources is a list of resources this rule applies to.
|
|
2520
2521
|
|
|
@@ -2524,7 +2525,7 @@ if not MYPY:
|
|
|
2524
2525
|
|
|
2525
2526
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2526
2527
|
"""
|
|
2527
|
-
scope: NotRequired[pulumi.Input[str]]
|
|
2528
|
+
scope: NotRequired[pulumi.Input[builtins.str]]
|
|
2528
2529
|
"""
|
|
2529
2530
|
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 "*".
|
|
2530
2531
|
"""
|
|
@@ -2534,26 +2535,26 @@ elif False:
|
|
|
2534
2535
|
@pulumi.input_type
|
|
2535
2536
|
class NamedRuleWithOperationsPatchArgs:
|
|
2536
2537
|
def __init__(__self__, *,
|
|
2537
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2538
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2539
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2540
|
-
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2541
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2542
|
-
scope: Optional[pulumi.Input[str]] = None):
|
|
2538
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2539
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2540
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2541
|
+
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2542
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2543
|
+
scope: Optional[pulumi.Input[builtins.str]] = None):
|
|
2543
2544
|
"""
|
|
2544
2545
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
2545
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2546
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2547
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2548
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2549
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
|
|
2546
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2547
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2548
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
2549
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2550
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2550
2551
|
|
|
2551
2552
|
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.
|
|
2552
2553
|
|
|
2553
2554
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2554
2555
|
|
|
2555
2556
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2556
|
-
:param pulumi.Input[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 "*".
|
|
2557
|
+
:param pulumi.Input[builtins.str] scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2557
2558
|
"""
|
|
2558
2559
|
if api_groups is not None:
|
|
2559
2560
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2570,55 +2571,55 @@ class NamedRuleWithOperationsPatchArgs:
|
|
|
2570
2571
|
|
|
2571
2572
|
@property
|
|
2572
2573
|
@pulumi.getter(name="apiGroups")
|
|
2573
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2574
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2574
2575
|
"""
|
|
2575
2576
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2576
2577
|
"""
|
|
2577
2578
|
return pulumi.get(self, "api_groups")
|
|
2578
2579
|
|
|
2579
2580
|
@api_groups.setter
|
|
2580
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2581
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2581
2582
|
pulumi.set(self, "api_groups", value)
|
|
2582
2583
|
|
|
2583
2584
|
@property
|
|
2584
2585
|
@pulumi.getter(name="apiVersions")
|
|
2585
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2586
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2586
2587
|
"""
|
|
2587
2588
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2588
2589
|
"""
|
|
2589
2590
|
return pulumi.get(self, "api_versions")
|
|
2590
2591
|
|
|
2591
2592
|
@api_versions.setter
|
|
2592
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2593
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2593
2594
|
pulumi.set(self, "api_versions", value)
|
|
2594
2595
|
|
|
2595
2596
|
@property
|
|
2596
2597
|
@pulumi.getter
|
|
2597
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2598
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2598
2599
|
"""
|
|
2599
2600
|
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.
|
|
2600
2601
|
"""
|
|
2601
2602
|
return pulumi.get(self, "operations")
|
|
2602
2603
|
|
|
2603
2604
|
@operations.setter
|
|
2604
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2605
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2605
2606
|
pulumi.set(self, "operations", value)
|
|
2606
2607
|
|
|
2607
2608
|
@property
|
|
2608
2609
|
@pulumi.getter(name="resourceNames")
|
|
2609
|
-
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2610
|
+
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2610
2611
|
"""
|
|
2611
2612
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2612
2613
|
"""
|
|
2613
2614
|
return pulumi.get(self, "resource_names")
|
|
2614
2615
|
|
|
2615
2616
|
@resource_names.setter
|
|
2616
|
-
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2617
|
+
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2617
2618
|
pulumi.set(self, "resource_names", value)
|
|
2618
2619
|
|
|
2619
2620
|
@property
|
|
2620
2621
|
@pulumi.getter
|
|
2621
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2622
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2622
2623
|
"""
|
|
2623
2624
|
Resources is a list of resources this rule applies to.
|
|
2624
2625
|
|
|
@@ -2631,19 +2632,19 @@ class NamedRuleWithOperationsPatchArgs:
|
|
|
2631
2632
|
return pulumi.get(self, "resources")
|
|
2632
2633
|
|
|
2633
2634
|
@resources.setter
|
|
2634
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2635
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2635
2636
|
pulumi.set(self, "resources", value)
|
|
2636
2637
|
|
|
2637
2638
|
@property
|
|
2638
2639
|
@pulumi.getter
|
|
2639
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
2640
|
+
def scope(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2640
2641
|
"""
|
|
2641
2642
|
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2642
2643
|
"""
|
|
2643
2644
|
return pulumi.get(self, "scope")
|
|
2644
2645
|
|
|
2645
2646
|
@scope.setter
|
|
2646
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
2647
|
+
def scope(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2647
2648
|
pulumi.set(self, "scope", value)
|
|
2648
2649
|
|
|
2649
2650
|
|
|
@@ -2652,23 +2653,23 @@ if not MYPY:
|
|
|
2652
2653
|
"""
|
|
2653
2654
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
2654
2655
|
"""
|
|
2655
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2656
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2656
2657
|
"""
|
|
2657
2658
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2658
2659
|
"""
|
|
2659
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2660
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2660
2661
|
"""
|
|
2661
2662
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2662
2663
|
"""
|
|
2663
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2664
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2664
2665
|
"""
|
|
2665
2666
|
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.
|
|
2666
2667
|
"""
|
|
2667
|
-
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2668
|
+
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2668
2669
|
"""
|
|
2669
2670
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2670
2671
|
"""
|
|
2671
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2672
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2672
2673
|
"""
|
|
2673
2674
|
Resources is a list of resources this rule applies to.
|
|
2674
2675
|
|
|
@@ -2678,7 +2679,7 @@ if not MYPY:
|
|
|
2678
2679
|
|
|
2679
2680
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2680
2681
|
"""
|
|
2681
|
-
scope: NotRequired[pulumi.Input[str]]
|
|
2682
|
+
scope: NotRequired[pulumi.Input[builtins.str]]
|
|
2682
2683
|
"""
|
|
2683
2684
|
scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2684
2685
|
"""
|
|
@@ -2688,26 +2689,26 @@ elif False:
|
|
|
2688
2689
|
@pulumi.input_type
|
|
2689
2690
|
class NamedRuleWithOperationsArgs:
|
|
2690
2691
|
def __init__(__self__, *,
|
|
2691
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2692
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2693
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2694
|
-
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2695
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2696
|
-
scope: Optional[pulumi.Input[str]] = None):
|
|
2692
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2693
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2694
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2695
|
+
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2696
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2697
|
+
scope: Optional[pulumi.Input[builtins.str]] = None):
|
|
2697
2698
|
"""
|
|
2698
2699
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
2699
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2700
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2701
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2702
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2703
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
|
|
2700
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2701
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2702
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
2703
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2704
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2704
2705
|
|
|
2705
2706
|
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.
|
|
2706
2707
|
|
|
2707
2708
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2708
2709
|
|
|
2709
2710
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2710
|
-
:param pulumi.Input[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 "*".
|
|
2711
|
+
:param pulumi.Input[builtins.str] scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2711
2712
|
"""
|
|
2712
2713
|
if api_groups is not None:
|
|
2713
2714
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2724,55 +2725,55 @@ class NamedRuleWithOperationsArgs:
|
|
|
2724
2725
|
|
|
2725
2726
|
@property
|
|
2726
2727
|
@pulumi.getter(name="apiGroups")
|
|
2727
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2728
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2728
2729
|
"""
|
|
2729
2730
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2730
2731
|
"""
|
|
2731
2732
|
return pulumi.get(self, "api_groups")
|
|
2732
2733
|
|
|
2733
2734
|
@api_groups.setter
|
|
2734
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2735
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2735
2736
|
pulumi.set(self, "api_groups", value)
|
|
2736
2737
|
|
|
2737
2738
|
@property
|
|
2738
2739
|
@pulumi.getter(name="apiVersions")
|
|
2739
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2740
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2740
2741
|
"""
|
|
2741
2742
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2742
2743
|
"""
|
|
2743
2744
|
return pulumi.get(self, "api_versions")
|
|
2744
2745
|
|
|
2745
2746
|
@api_versions.setter
|
|
2746
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2747
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2747
2748
|
pulumi.set(self, "api_versions", value)
|
|
2748
2749
|
|
|
2749
2750
|
@property
|
|
2750
2751
|
@pulumi.getter
|
|
2751
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2752
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2752
2753
|
"""
|
|
2753
2754
|
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.
|
|
2754
2755
|
"""
|
|
2755
2756
|
return pulumi.get(self, "operations")
|
|
2756
2757
|
|
|
2757
2758
|
@operations.setter
|
|
2758
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2759
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2759
2760
|
pulumi.set(self, "operations", value)
|
|
2760
2761
|
|
|
2761
2762
|
@property
|
|
2762
2763
|
@pulumi.getter(name="resourceNames")
|
|
2763
|
-
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2764
|
+
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2764
2765
|
"""
|
|
2765
2766
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2766
2767
|
"""
|
|
2767
2768
|
return pulumi.get(self, "resource_names")
|
|
2768
2769
|
|
|
2769
2770
|
@resource_names.setter
|
|
2770
|
-
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2771
|
+
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2771
2772
|
pulumi.set(self, "resource_names", value)
|
|
2772
2773
|
|
|
2773
2774
|
@property
|
|
2774
2775
|
@pulumi.getter
|
|
2775
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2776
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2776
2777
|
"""
|
|
2777
2778
|
Resources is a list of resources this rule applies to.
|
|
2778
2779
|
|
|
@@ -2785,19 +2786,19 @@ class NamedRuleWithOperationsArgs:
|
|
|
2785
2786
|
return pulumi.get(self, "resources")
|
|
2786
2787
|
|
|
2787
2788
|
@resources.setter
|
|
2788
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2789
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2789
2790
|
pulumi.set(self, "resources", value)
|
|
2790
2791
|
|
|
2791
2792
|
@property
|
|
2792
2793
|
@pulumi.getter
|
|
2793
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
2794
|
+
def scope(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2794
2795
|
"""
|
|
2795
2796
|
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 "*".
|
|
2796
2797
|
"""
|
|
2797
2798
|
return pulumi.get(self, "scope")
|
|
2798
2799
|
|
|
2799
2800
|
@scope.setter
|
|
2800
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
2801
|
+
def scope(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2801
2802
|
pulumi.set(self, "scope", value)
|
|
2802
2803
|
|
|
2803
2804
|
|
|
@@ -2806,11 +2807,11 @@ if not MYPY:
|
|
|
2806
2807
|
"""
|
|
2807
2808
|
ParamKind is a tuple of Group Kind and Version.
|
|
2808
2809
|
"""
|
|
2809
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
2810
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
2810
2811
|
"""
|
|
2811
2812
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2812
2813
|
"""
|
|
2813
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
2814
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
2814
2815
|
"""
|
|
2815
2816
|
Kind is the API kind the resources belong to. Required.
|
|
2816
2817
|
"""
|
|
@@ -2820,12 +2821,12 @@ elif False:
|
|
|
2820
2821
|
@pulumi.input_type
|
|
2821
2822
|
class ParamKindPatchArgs:
|
|
2822
2823
|
def __init__(__self__, *,
|
|
2823
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2824
|
-
kind: Optional[pulumi.Input[str]] = None):
|
|
2824
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
2825
|
+
kind: Optional[pulumi.Input[builtins.str]] = None):
|
|
2825
2826
|
"""
|
|
2826
2827
|
ParamKind is a tuple of Group Kind and Version.
|
|
2827
|
-
:param pulumi.Input[str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2828
|
-
:param pulumi.Input[str] kind: Kind is the API kind the resources belong to. Required.
|
|
2828
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2829
|
+
:param pulumi.Input[builtins.str] kind: Kind is the API kind the resources belong to. Required.
|
|
2829
2830
|
"""
|
|
2830
2831
|
if api_version is not None:
|
|
2831
2832
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -2834,26 +2835,26 @@ class ParamKindPatchArgs:
|
|
|
2834
2835
|
|
|
2835
2836
|
@property
|
|
2836
2837
|
@pulumi.getter(name="apiVersion")
|
|
2837
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2838
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2838
2839
|
"""
|
|
2839
2840
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2840
2841
|
"""
|
|
2841
2842
|
return pulumi.get(self, "api_version")
|
|
2842
2843
|
|
|
2843
2844
|
@api_version.setter
|
|
2844
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2845
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2845
2846
|
pulumi.set(self, "api_version", value)
|
|
2846
2847
|
|
|
2847
2848
|
@property
|
|
2848
2849
|
@pulumi.getter
|
|
2849
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2850
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2850
2851
|
"""
|
|
2851
2852
|
Kind is the API kind the resources belong to. Required.
|
|
2852
2853
|
"""
|
|
2853
2854
|
return pulumi.get(self, "kind")
|
|
2854
2855
|
|
|
2855
2856
|
@kind.setter
|
|
2856
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2857
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2857
2858
|
pulumi.set(self, "kind", value)
|
|
2858
2859
|
|
|
2859
2860
|
|
|
@@ -2862,11 +2863,11 @@ if not MYPY:
|
|
|
2862
2863
|
"""
|
|
2863
2864
|
ParamKind is a tuple of Group Kind and Version.
|
|
2864
2865
|
"""
|
|
2865
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
2866
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
2866
2867
|
"""
|
|
2867
2868
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2868
2869
|
"""
|
|
2869
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
2870
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
2870
2871
|
"""
|
|
2871
2872
|
Kind is the API kind the resources belong to. Required.
|
|
2872
2873
|
"""
|
|
@@ -2876,12 +2877,12 @@ elif False:
|
|
|
2876
2877
|
@pulumi.input_type
|
|
2877
2878
|
class ParamKindArgs:
|
|
2878
2879
|
def __init__(__self__, *,
|
|
2879
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2880
|
-
kind: Optional[pulumi.Input[str]] = None):
|
|
2880
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
2881
|
+
kind: Optional[pulumi.Input[builtins.str]] = None):
|
|
2881
2882
|
"""
|
|
2882
2883
|
ParamKind is a tuple of Group Kind and Version.
|
|
2883
|
-
:param pulumi.Input[str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2884
|
-
:param pulumi.Input[str] kind: Kind is the API kind the resources belong to. Required.
|
|
2884
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2885
|
+
:param pulumi.Input[builtins.str] kind: Kind is the API kind the resources belong to. Required.
|
|
2885
2886
|
"""
|
|
2886
2887
|
if api_version is not None:
|
|
2887
2888
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -2890,26 +2891,26 @@ class ParamKindArgs:
|
|
|
2890
2891
|
|
|
2891
2892
|
@property
|
|
2892
2893
|
@pulumi.getter(name="apiVersion")
|
|
2893
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2894
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2894
2895
|
"""
|
|
2895
2896
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2896
2897
|
"""
|
|
2897
2898
|
return pulumi.get(self, "api_version")
|
|
2898
2899
|
|
|
2899
2900
|
@api_version.setter
|
|
2900
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2901
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2901
2902
|
pulumi.set(self, "api_version", value)
|
|
2902
2903
|
|
|
2903
2904
|
@property
|
|
2904
2905
|
@pulumi.getter
|
|
2905
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2906
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2906
2907
|
"""
|
|
2907
2908
|
Kind is the API kind the resources belong to. Required.
|
|
2908
2909
|
"""
|
|
2909
2910
|
return pulumi.get(self, "kind")
|
|
2910
2911
|
|
|
2911
2912
|
@kind.setter
|
|
2912
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2913
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2913
2914
|
pulumi.set(self, "kind", value)
|
|
2914
2915
|
|
|
2915
2916
|
|
|
@@ -2918,13 +2919,13 @@ if not MYPY:
|
|
|
2918
2919
|
"""
|
|
2919
2920
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2920
2921
|
"""
|
|
2921
|
-
name: NotRequired[pulumi.Input[str]]
|
|
2922
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
2922
2923
|
"""
|
|
2923
2924
|
`name` is the name of the resource being referenced.
|
|
2924
2925
|
|
|
2925
2926
|
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
2926
2927
|
"""
|
|
2927
|
-
namespace: NotRequired[pulumi.Input[str]]
|
|
2928
|
+
namespace: NotRequired[pulumi.Input[builtins.str]]
|
|
2928
2929
|
"""
|
|
2929
2930
|
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.
|
|
2930
2931
|
|
|
@@ -2934,7 +2935,7 @@ if not MYPY:
|
|
|
2934
2935
|
|
|
2935
2936
|
- 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.
|
|
2936
2937
|
"""
|
|
2937
|
-
parameter_not_found_action: NotRequired[pulumi.Input[str]]
|
|
2938
|
+
parameter_not_found_action: NotRequired[pulumi.Input[builtins.str]]
|
|
2938
2939
|
"""
|
|
2939
2940
|
`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.
|
|
2940
2941
|
|
|
@@ -2954,23 +2955,23 @@ elif False:
|
|
|
2954
2955
|
@pulumi.input_type
|
|
2955
2956
|
class ParamRefPatchArgs:
|
|
2956
2957
|
def __init__(__self__, *,
|
|
2957
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2958
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
2959
|
-
parameter_not_found_action: Optional[pulumi.Input[str]] = None,
|
|
2958
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2959
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
2960
|
+
parameter_not_found_action: Optional[pulumi.Input[builtins.str]] = None,
|
|
2960
2961
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
|
|
2961
2962
|
"""
|
|
2962
2963
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2963
|
-
:param pulumi.Input[str] name: `name` is the name of the resource being referenced.
|
|
2964
|
+
:param pulumi.Input[builtins.str] name: `name` is the name of the resource being referenced.
|
|
2964
2965
|
|
|
2965
2966
|
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
2966
|
-
:param pulumi.Input[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.
|
|
2967
|
+
:param pulumi.Input[builtins.str] namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
2967
2968
|
|
|
2968
2969
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
2969
2970
|
|
|
2970
2971
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
2971
2972
|
|
|
2972
2973
|
- 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.
|
|
2973
|
-
:param pulumi.Input[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.
|
|
2974
|
+
:param pulumi.Input[builtins.str] parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
2974
2975
|
|
|
2975
2976
|
Allowed values are `Allow` or `Deny` Default to `Deny`
|
|
2976
2977
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] selector: selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.
|
|
@@ -2990,7 +2991,7 @@ class ParamRefPatchArgs:
|
|
|
2990
2991
|
|
|
2991
2992
|
@property
|
|
2992
2993
|
@pulumi.getter
|
|
2993
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2994
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2994
2995
|
"""
|
|
2995
2996
|
`name` is the name of the resource being referenced.
|
|
2996
2997
|
|
|
@@ -2999,12 +3000,12 @@ class ParamRefPatchArgs:
|
|
|
2999
3000
|
return pulumi.get(self, "name")
|
|
3000
3001
|
|
|
3001
3002
|
@name.setter
|
|
3002
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
3003
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3003
3004
|
pulumi.set(self, "name", value)
|
|
3004
3005
|
|
|
3005
3006
|
@property
|
|
3006
3007
|
@pulumi.getter
|
|
3007
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
3008
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3008
3009
|
"""
|
|
3009
3010
|
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.
|
|
3010
3011
|
|
|
@@ -3017,12 +3018,12 @@ class ParamRefPatchArgs:
|
|
|
3017
3018
|
return pulumi.get(self, "namespace")
|
|
3018
3019
|
|
|
3019
3020
|
@namespace.setter
|
|
3020
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
3021
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3021
3022
|
pulumi.set(self, "namespace", value)
|
|
3022
3023
|
|
|
3023
3024
|
@property
|
|
3024
3025
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
3025
|
-
def parameter_not_found_action(self) -> Optional[pulumi.Input[str]]:
|
|
3026
|
+
def parameter_not_found_action(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3026
3027
|
"""
|
|
3027
3028
|
`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.
|
|
3028
3029
|
|
|
@@ -3031,7 +3032,7 @@ class ParamRefPatchArgs:
|
|
|
3031
3032
|
return pulumi.get(self, "parameter_not_found_action")
|
|
3032
3033
|
|
|
3033
3034
|
@parameter_not_found_action.setter
|
|
3034
|
-
def parameter_not_found_action(self, value: Optional[pulumi.Input[str]]):
|
|
3035
|
+
def parameter_not_found_action(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3035
3036
|
pulumi.set(self, "parameter_not_found_action", value)
|
|
3036
3037
|
|
|
3037
3038
|
@property
|
|
@@ -3056,13 +3057,13 @@ if not MYPY:
|
|
|
3056
3057
|
"""
|
|
3057
3058
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
3058
3059
|
"""
|
|
3059
|
-
name: NotRequired[pulumi.Input[str]]
|
|
3060
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
3060
3061
|
"""
|
|
3061
3062
|
`name` is the name of the resource being referenced.
|
|
3062
3063
|
|
|
3063
3064
|
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
3064
3065
|
"""
|
|
3065
|
-
namespace: NotRequired[pulumi.Input[str]]
|
|
3066
|
+
namespace: NotRequired[pulumi.Input[builtins.str]]
|
|
3066
3067
|
"""
|
|
3067
3068
|
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.
|
|
3068
3069
|
|
|
@@ -3072,7 +3073,7 @@ if not MYPY:
|
|
|
3072
3073
|
|
|
3073
3074
|
- 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.
|
|
3074
3075
|
"""
|
|
3075
|
-
parameter_not_found_action: NotRequired[pulumi.Input[str]]
|
|
3076
|
+
parameter_not_found_action: NotRequired[pulumi.Input[builtins.str]]
|
|
3076
3077
|
"""
|
|
3077
3078
|
`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.
|
|
3078
3079
|
|
|
@@ -3092,23 +3093,23 @@ elif False:
|
|
|
3092
3093
|
@pulumi.input_type
|
|
3093
3094
|
class ParamRefArgs:
|
|
3094
3095
|
def __init__(__self__, *,
|
|
3095
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
3096
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
3097
|
-
parameter_not_found_action: Optional[pulumi.Input[str]] = None,
|
|
3096
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
3097
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
3098
|
+
parameter_not_found_action: Optional[pulumi.Input[builtins.str]] = None,
|
|
3098
3099
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
3099
3100
|
"""
|
|
3100
3101
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
3101
|
-
:param pulumi.Input[str] name: `name` is the name of the resource being referenced.
|
|
3102
|
+
:param pulumi.Input[builtins.str] name: `name` is the name of the resource being referenced.
|
|
3102
3103
|
|
|
3103
3104
|
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
3104
|
-
:param pulumi.Input[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.
|
|
3105
|
+
:param pulumi.Input[builtins.str] namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
3105
3106
|
|
|
3106
3107
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
3107
3108
|
|
|
3108
3109
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
3109
3110
|
|
|
3110
3111
|
- 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.
|
|
3111
|
-
:param pulumi.Input[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.
|
|
3112
|
+
:param pulumi.Input[builtins.str] parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
3112
3113
|
|
|
3113
3114
|
Allowed values are `Allow` or `Deny` Default to `Deny`
|
|
3114
3115
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.
|
|
@@ -3128,7 +3129,7 @@ class ParamRefArgs:
|
|
|
3128
3129
|
|
|
3129
3130
|
@property
|
|
3130
3131
|
@pulumi.getter
|
|
3131
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
3132
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3132
3133
|
"""
|
|
3133
3134
|
`name` is the name of the resource being referenced.
|
|
3134
3135
|
|
|
@@ -3137,12 +3138,12 @@ class ParamRefArgs:
|
|
|
3137
3138
|
return pulumi.get(self, "name")
|
|
3138
3139
|
|
|
3139
3140
|
@name.setter
|
|
3140
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
3141
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3141
3142
|
pulumi.set(self, "name", value)
|
|
3142
3143
|
|
|
3143
3144
|
@property
|
|
3144
3145
|
@pulumi.getter
|
|
3145
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
3146
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3146
3147
|
"""
|
|
3147
3148
|
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.
|
|
3148
3149
|
|
|
@@ -3155,12 +3156,12 @@ class ParamRefArgs:
|
|
|
3155
3156
|
return pulumi.get(self, "namespace")
|
|
3156
3157
|
|
|
3157
3158
|
@namespace.setter
|
|
3158
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
3159
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3159
3160
|
pulumi.set(self, "namespace", value)
|
|
3160
3161
|
|
|
3161
3162
|
@property
|
|
3162
3163
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
3163
|
-
def parameter_not_found_action(self) -> Optional[pulumi.Input[str]]:
|
|
3164
|
+
def parameter_not_found_action(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3164
3165
|
"""
|
|
3165
3166
|
`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.
|
|
3166
3167
|
|
|
@@ -3169,7 +3170,7 @@ class ParamRefArgs:
|
|
|
3169
3170
|
return pulumi.get(self, "parameter_not_found_action")
|
|
3170
3171
|
|
|
3171
3172
|
@parameter_not_found_action.setter
|
|
3172
|
-
def parameter_not_found_action(self, value: Optional[pulumi.Input[str]]):
|
|
3173
|
+
def parameter_not_found_action(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3173
3174
|
pulumi.set(self, "parameter_not_found_action", value)
|
|
3174
3175
|
|
|
3175
3176
|
@property
|
|
@@ -3238,11 +3239,11 @@ if not MYPY:
|
|
|
3238
3239
|
"""
|
|
3239
3240
|
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.
|
|
3240
3241
|
"""
|
|
3241
|
-
policy_name: NotRequired[pulumi.Input[str]]
|
|
3242
|
+
policy_name: NotRequired[pulumi.Input[builtins.str]]
|
|
3242
3243
|
"""
|
|
3243
3244
|
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.
|
|
3244
3245
|
"""
|
|
3245
|
-
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
3246
|
+
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
3246
3247
|
"""
|
|
3247
3248
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3248
3249
|
|
|
@@ -3272,14 +3273,14 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3272
3273
|
def __init__(__self__, *,
|
|
3273
3274
|
match_resources: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
3274
3275
|
param_ref: Optional[pulumi.Input['ParamRefPatchArgs']] = None,
|
|
3275
|
-
policy_name: Optional[pulumi.Input[str]] = None,
|
|
3276
|
-
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
3276
|
+
policy_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
3277
|
+
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
3277
3278
|
"""
|
|
3278
3279
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
3279
3280
|
:param pulumi.Input['MatchResourcesPatchArgs'] match_resources: MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
|
|
3280
3281
|
:param pulumi.Input['ParamRefPatchArgs'] param_ref: ParamRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied.
|
|
3281
|
-
:param pulumi.Input[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.
|
|
3282
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
3282
|
+
:param pulumi.Input[builtins.str] policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
3283
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3283
3284
|
|
|
3284
3285
|
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.
|
|
3285
3286
|
|
|
@@ -3334,19 +3335,19 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3334
3335
|
|
|
3335
3336
|
@property
|
|
3336
3337
|
@pulumi.getter(name="policyName")
|
|
3337
|
-
def policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
3338
|
+
def policy_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3338
3339
|
"""
|
|
3339
3340
|
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.
|
|
3340
3341
|
"""
|
|
3341
3342
|
return pulumi.get(self, "policy_name")
|
|
3342
3343
|
|
|
3343
3344
|
@policy_name.setter
|
|
3344
|
-
def policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
3345
|
+
def policy_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3345
3346
|
pulumi.set(self, "policy_name", value)
|
|
3346
3347
|
|
|
3347
3348
|
@property
|
|
3348
3349
|
@pulumi.getter(name="validationActions")
|
|
3349
|
-
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3350
|
+
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
3350
3351
|
"""
|
|
3351
3352
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3352
3353
|
|
|
@@ -3371,7 +3372,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3371
3372
|
return pulumi.get(self, "validation_actions")
|
|
3372
3373
|
|
|
3373
3374
|
@validation_actions.setter
|
|
3374
|
-
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
3375
|
+
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
3375
3376
|
pulumi.set(self, "validation_actions", value)
|
|
3376
3377
|
|
|
3377
3378
|
|
|
@@ -3388,11 +3389,11 @@ if not MYPY:
|
|
|
3388
3389
|
"""
|
|
3389
3390
|
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.
|
|
3390
3391
|
"""
|
|
3391
|
-
policy_name: NotRequired[pulumi.Input[str]]
|
|
3392
|
+
policy_name: NotRequired[pulumi.Input[builtins.str]]
|
|
3392
3393
|
"""
|
|
3393
3394
|
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.
|
|
3394
3395
|
"""
|
|
3395
|
-
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
3396
|
+
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
3396
3397
|
"""
|
|
3397
3398
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3398
3399
|
|
|
@@ -3422,14 +3423,14 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3422
3423
|
def __init__(__self__, *,
|
|
3423
3424
|
match_resources: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
3424
3425
|
param_ref: Optional[pulumi.Input['ParamRefArgs']] = None,
|
|
3425
|
-
policy_name: Optional[pulumi.Input[str]] = None,
|
|
3426
|
-
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
3426
|
+
policy_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
3427
|
+
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
3427
3428
|
"""
|
|
3428
3429
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
3429
3430
|
:param pulumi.Input['MatchResourcesArgs'] match_resources: MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
|
|
3430
3431
|
:param pulumi.Input['ParamRefArgs'] param_ref: ParamRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied.
|
|
3431
|
-
:param pulumi.Input[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.
|
|
3432
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
3432
|
+
:param pulumi.Input[builtins.str] policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
3433
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3433
3434
|
|
|
3434
3435
|
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.
|
|
3435
3436
|
|
|
@@ -3484,19 +3485,19 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3484
3485
|
|
|
3485
3486
|
@property
|
|
3486
3487
|
@pulumi.getter(name="policyName")
|
|
3487
|
-
def policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
3488
|
+
def policy_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3488
3489
|
"""
|
|
3489
3490
|
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.
|
|
3490
3491
|
"""
|
|
3491
3492
|
return pulumi.get(self, "policy_name")
|
|
3492
3493
|
|
|
3493
3494
|
@policy_name.setter
|
|
3494
|
-
def policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
3495
|
+
def policy_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3495
3496
|
pulumi.set(self, "policy_name", value)
|
|
3496
3497
|
|
|
3497
3498
|
@property
|
|
3498
3499
|
@pulumi.getter(name="validationActions")
|
|
3499
|
-
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3500
|
+
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
3500
3501
|
"""
|
|
3501
3502
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3502
3503
|
|
|
@@ -3521,7 +3522,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3521
3522
|
return pulumi.get(self, "validation_actions")
|
|
3522
3523
|
|
|
3523
3524
|
@validation_actions.setter
|
|
3524
|
-
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
3525
|
+
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
3525
3526
|
pulumi.set(self, "validation_actions", value)
|
|
3526
3527
|
|
|
3527
3528
|
|
|
@@ -3530,11 +3531,11 @@ if not MYPY:
|
|
|
3530
3531
|
"""
|
|
3531
3532
|
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
|
|
3532
3533
|
"""
|
|
3533
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
3534
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
3534
3535
|
"""
|
|
3535
3536
|
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
|
|
3536
3537
|
"""
|
|
3537
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
3538
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
3538
3539
|
"""
|
|
3539
3540
|
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
|
|
3540
3541
|
"""
|
|
@@ -3552,14 +3553,14 @@ elif False:
|
|
|
3552
3553
|
@pulumi.input_type
|
|
3553
3554
|
class ValidatingAdmissionPolicyBindingArgs:
|
|
3554
3555
|
def __init__(__self__, *,
|
|
3555
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
3556
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
3556
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
3557
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
3557
3558
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
3558
3559
|
spec: Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']] = None):
|
|
3559
3560
|
"""
|
|
3560
3561
|
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
|
|
3561
|
-
:param pulumi.Input[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
|
|
3562
|
-
:param pulumi.Input[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
|
|
3562
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
3563
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3563
3564
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
3564
3565
|
:param pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
3565
3566
|
"""
|
|
@@ -3574,26 +3575,26 @@ class ValidatingAdmissionPolicyBindingArgs:
|
|
|
3574
3575
|
|
|
3575
3576
|
@property
|
|
3576
3577
|
@pulumi.getter(name="apiVersion")
|
|
3577
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
3578
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3578
3579
|
"""
|
|
3579
3580
|
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
|
|
3580
3581
|
"""
|
|
3581
3582
|
return pulumi.get(self, "api_version")
|
|
3582
3583
|
|
|
3583
3584
|
@api_version.setter
|
|
3584
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
3585
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3585
3586
|
pulumi.set(self, "api_version", value)
|
|
3586
3587
|
|
|
3587
3588
|
@property
|
|
3588
3589
|
@pulumi.getter
|
|
3589
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
3590
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3590
3591
|
"""
|
|
3591
3592
|
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
|
|
3592
3593
|
"""
|
|
3593
3594
|
return pulumi.get(self, "kind")
|
|
3594
3595
|
|
|
3595
3596
|
@kind.setter
|
|
3596
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
3597
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3597
3598
|
pulumi.set(self, "kind", value)
|
|
3598
3599
|
|
|
3599
3600
|
@property
|
|
@@ -3630,7 +3631,7 @@ if not MYPY:
|
|
|
3630
3631
|
"""
|
|
3631
3632
|
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.
|
|
3632
3633
|
"""
|
|
3633
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
3634
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
3634
3635
|
"""
|
|
3635
3636
|
FailurePolicy defines how to handle failures for the admission policy. Failures can occur from invalid or mis-configured policy definitions or bindings. 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. Allowed values are Ignore or Fail. Defaults to Fail.
|
|
3636
3637
|
"""
|
|
@@ -3672,7 +3673,7 @@ elif False:
|
|
|
3672
3673
|
class ValidatingAdmissionPolicySpecPatchArgs:
|
|
3673
3674
|
def __init__(__self__, *,
|
|
3674
3675
|
audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]] = None,
|
|
3675
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
3676
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
3676
3677
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
|
|
3677
3678
|
match_constraints: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
3678
3679
|
param_kind: Optional[pulumi.Input['ParamKindPatchArgs']] = None,
|
|
@@ -3681,7 +3682,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3681
3682
|
"""
|
|
3682
3683
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
3683
3684
|
:param pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]] audit_annotations: auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
|
|
3684
|
-
:param pulumi.Input[str] failure_policy: FailurePolicy defines how to handle failures for the admission policy. Failures can occur from invalid or mis-configured policy definitions or bindings. 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. Allowed values are Ignore or Fail. Defaults to Fail.
|
|
3685
|
+
:param pulumi.Input[builtins.str] failure_policy: FailurePolicy defines how to handle failures for the admission policy. Failures can occur from invalid or mis-configured policy definitions or bindings. 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. Allowed values are Ignore or Fail. Defaults to Fail.
|
|
3685
3686
|
:param pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be validated. 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.
|
|
3686
3687
|
|
|
3687
3688
|
If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
|
|
@@ -3728,14 +3729,14 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3728
3729
|
|
|
3729
3730
|
@property
|
|
3730
3731
|
@pulumi.getter(name="failurePolicy")
|
|
3731
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
3732
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3732
3733
|
"""
|
|
3733
3734
|
FailurePolicy defines how to handle failures for the admission policy. Failures can occur from invalid or mis-configured policy definitions or bindings. 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. Allowed values are Ignore or Fail. Defaults to Fail.
|
|
3734
3735
|
"""
|
|
3735
3736
|
return pulumi.get(self, "failure_policy")
|
|
3736
3737
|
|
|
3737
3738
|
@failure_policy.setter
|
|
3738
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
3739
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3739
3740
|
pulumi.set(self, "failure_policy", value)
|
|
3740
3741
|
|
|
3741
3742
|
@property
|
|
@@ -3823,7 +3824,7 @@ if not MYPY:
|
|
|
3823
3824
|
"""
|
|
3824
3825
|
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.
|
|
3825
3826
|
"""
|
|
3826
|
-
failure_policy: NotRequired[pulumi.Input[str]]
|
|
3827
|
+
failure_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
3827
3828
|
"""
|
|
3828
3829
|
FailurePolicy defines how to handle failures for the admission policy. Failures can occur from invalid or mis-configured policy definitions or bindings. 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. Allowed values are Ignore or Fail. Defaults to Fail.
|
|
3829
3830
|
"""
|
|
@@ -3862,7 +3863,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3862
3863
|
def __init__(__self__, *,
|
|
3863
3864
|
validations: pulumi.Input[Sequence[pulumi.Input['ValidationArgs']]],
|
|
3864
3865
|
audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]] = None,
|
|
3865
|
-
failure_policy: Optional[pulumi.Input[str]] = None,
|
|
3866
|
+
failure_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
3866
3867
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
|
|
3867
3868
|
match_constraints: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
3868
3869
|
param_kind: Optional[pulumi.Input['ParamKindArgs']] = None,
|
|
@@ -3871,7 +3872,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3871
3872
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
3872
3873
|
:param pulumi.Input[Sequence[pulumi.Input['ValidationArgs']]] validations: Validations contain CEL expressions which is used to apply the validation. A minimum of one validation is required for a policy definition. Required.
|
|
3873
3874
|
:param pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]] audit_annotations: auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
|
|
3874
|
-
:param pulumi.Input[str] failure_policy: FailurePolicy defines how to handle failures for the admission policy. Failures can occur from invalid or mis-configured policy definitions or bindings. 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. Allowed values are Ignore or Fail. Defaults to Fail.
|
|
3875
|
+
:param pulumi.Input[builtins.str] failure_policy: FailurePolicy defines how to handle failures for the admission policy. Failures can occur from invalid or mis-configured policy definitions or bindings. 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. Allowed values are Ignore or Fail. Defaults to Fail.
|
|
3875
3876
|
:param pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be validated. 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.
|
|
3876
3877
|
|
|
3877
3878
|
If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
|
|
@@ -3928,14 +3929,14 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3928
3929
|
|
|
3929
3930
|
@property
|
|
3930
3931
|
@pulumi.getter(name="failurePolicy")
|
|
3931
|
-
def failure_policy(self) -> Optional[pulumi.Input[str]]:
|
|
3932
|
+
def failure_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3932
3933
|
"""
|
|
3933
3934
|
FailurePolicy defines how to handle failures for the admission policy. Failures can occur from invalid or mis-configured policy definitions or bindings. 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. Allowed values are Ignore or Fail. Defaults to Fail.
|
|
3934
3935
|
"""
|
|
3935
3936
|
return pulumi.get(self, "failure_policy")
|
|
3936
3937
|
|
|
3937
3938
|
@failure_policy.setter
|
|
3938
|
-
def failure_policy(self, value: Optional[pulumi.Input[str]]):
|
|
3939
|
+
def failure_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3939
3940
|
pulumi.set(self, "failure_policy", value)
|
|
3940
3941
|
|
|
3941
3942
|
@property
|
|
@@ -4007,7 +4008,7 @@ if not MYPY:
|
|
|
4007
4008
|
"""
|
|
4008
4009
|
The conditions represent the latest available observations of a policy's current state.
|
|
4009
4010
|
"""
|
|
4010
|
-
observed_generation: NotRequired[pulumi.Input[int]]
|
|
4011
|
+
observed_generation: NotRequired[pulumi.Input[builtins.int]]
|
|
4011
4012
|
"""
|
|
4012
4013
|
The generation observed by the controller.
|
|
4013
4014
|
"""
|
|
@@ -4022,12 +4023,12 @@ elif False:
|
|
|
4022
4023
|
class ValidatingAdmissionPolicyStatusArgs:
|
|
4023
4024
|
def __init__(__self__, *,
|
|
4024
4025
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]] = None,
|
|
4025
|
-
observed_generation: Optional[pulumi.Input[int]] = None,
|
|
4026
|
+
observed_generation: Optional[pulumi.Input[builtins.int]] = None,
|
|
4026
4027
|
type_checking: Optional[pulumi.Input['TypeCheckingArgs']] = None):
|
|
4027
4028
|
"""
|
|
4028
4029
|
ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.
|
|
4029
4030
|
:param pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
4030
|
-
:param pulumi.Input[int] observed_generation: The generation observed by the controller.
|
|
4031
|
+
:param pulumi.Input[builtins.int] observed_generation: The generation observed by the controller.
|
|
4031
4032
|
:param pulumi.Input['TypeCheckingArgs'] type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
4032
4033
|
"""
|
|
4033
4034
|
if conditions is not None:
|
|
@@ -4051,14 +4052,14 @@ class ValidatingAdmissionPolicyStatusArgs:
|
|
|
4051
4052
|
|
|
4052
4053
|
@property
|
|
4053
4054
|
@pulumi.getter(name="observedGeneration")
|
|
4054
|
-
def observed_generation(self) -> Optional[pulumi.Input[int]]:
|
|
4055
|
+
def observed_generation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
4055
4056
|
"""
|
|
4056
4057
|
The generation observed by the controller.
|
|
4057
4058
|
"""
|
|
4058
4059
|
return pulumi.get(self, "observed_generation")
|
|
4059
4060
|
|
|
4060
4061
|
@observed_generation.setter
|
|
4061
|
-
def observed_generation(self, value: Optional[pulumi.Input[int]]):
|
|
4062
|
+
def observed_generation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
4062
4063
|
pulumi.set(self, "observed_generation", value)
|
|
4063
4064
|
|
|
4064
4065
|
@property
|
|
@@ -4079,11 +4080,11 @@ if not MYPY:
|
|
|
4079
4080
|
"""
|
|
4080
4081
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
4081
4082
|
"""
|
|
4082
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
4083
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
4083
4084
|
"""
|
|
4084
4085
|
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
|
|
4085
4086
|
"""
|
|
4086
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
4087
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
4087
4088
|
"""
|
|
4088
4089
|
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
|
|
4089
4090
|
"""
|
|
@@ -4105,15 +4106,15 @@ elif False:
|
|
|
4105
4106
|
@pulumi.input_type
|
|
4106
4107
|
class ValidatingAdmissionPolicyArgs:
|
|
4107
4108
|
def __init__(__self__, *,
|
|
4108
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
4109
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
4109
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
4110
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
4110
4111
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
4111
4112
|
spec: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']] = None,
|
|
4112
4113
|
status: Optional[pulumi.Input['ValidatingAdmissionPolicyStatusArgs']] = None):
|
|
4113
4114
|
"""
|
|
4114
4115
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
4115
|
-
:param pulumi.Input[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
|
|
4116
|
-
:param pulumi.Input[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
|
|
4116
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
4117
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
4117
4118
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
4118
4119
|
:param pulumi.Input['ValidatingAdmissionPolicySpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
4119
4120
|
:param pulumi.Input['ValidatingAdmissionPolicyStatusArgs'] status: The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.
|
|
@@ -4131,26 +4132,26 @@ class ValidatingAdmissionPolicyArgs:
|
|
|
4131
4132
|
|
|
4132
4133
|
@property
|
|
4133
4134
|
@pulumi.getter(name="apiVersion")
|
|
4134
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
4135
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4135
4136
|
"""
|
|
4136
4137
|
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
|
|
4137
4138
|
"""
|
|
4138
4139
|
return pulumi.get(self, "api_version")
|
|
4139
4140
|
|
|
4140
4141
|
@api_version.setter
|
|
4141
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
4142
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4142
4143
|
pulumi.set(self, "api_version", value)
|
|
4143
4144
|
|
|
4144
4145
|
@property
|
|
4145
4146
|
@pulumi.getter
|
|
4146
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
4147
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4147
4148
|
"""
|
|
4148
4149
|
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
|
|
4149
4150
|
"""
|
|
4150
4151
|
return pulumi.get(self, "kind")
|
|
4151
4152
|
|
|
4152
4153
|
@kind.setter
|
|
4153
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
4154
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4154
4155
|
pulumi.set(self, "kind", value)
|
|
4155
4156
|
|
|
4156
4157
|
@property
|
|
@@ -4195,7 +4196,7 @@ if not MYPY:
|
|
|
4195
4196
|
"""
|
|
4196
4197
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4197
4198
|
"""
|
|
4198
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
4199
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
4199
4200
|
"""
|
|
4200
4201
|
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 Admission request/response, organized into CEL variables as well as some other useful variables:
|
|
4201
4202
|
|
|
@@ -4219,15 +4220,15 @@ if not MYPY:
|
|
|
4219
4220
|
non-intersecting keys are appended, retaining their partial order.
|
|
4220
4221
|
Required.
|
|
4221
4222
|
"""
|
|
4222
|
-
message: NotRequired[pulumi.Input[str]]
|
|
4223
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
4223
4224
|
"""
|
|
4224
4225
|
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}".
|
|
4225
4226
|
"""
|
|
4226
|
-
message_expression: NotRequired[pulumi.Input[str]]
|
|
4227
|
+
message_expression: NotRequired[pulumi.Input[builtins.str]]
|
|
4227
4228
|
"""
|
|
4228
4229
|
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)+")"
|
|
4229
4230
|
"""
|
|
4230
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
4231
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
4231
4232
|
"""
|
|
4232
4233
|
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.
|
|
4233
4234
|
"""
|
|
@@ -4237,13 +4238,13 @@ elif False:
|
|
|
4237
4238
|
@pulumi.input_type
|
|
4238
4239
|
class ValidationPatchArgs:
|
|
4239
4240
|
def __init__(__self__, *,
|
|
4240
|
-
expression: Optional[pulumi.Input[str]] = None,
|
|
4241
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
4242
|
-
message_expression: Optional[pulumi.Input[str]] = None,
|
|
4243
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
4241
|
+
expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
4242
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
4243
|
+
message_expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
4244
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
4244
4245
|
"""
|
|
4245
4246
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4246
|
-
:param pulumi.Input[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 Admission request/response, organized into CEL variables as well as some other useful variables:
|
|
4247
|
+
:param pulumi.Input[builtins.str] expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the Admission request/response, organized into CEL variables as well as some other useful variables:
|
|
4247
4248
|
|
|
4248
4249
|
'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([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.
|
|
4249
4250
|
|
|
@@ -4264,9 +4265,9 @@ class ValidationPatchArgs:
|
|
|
4264
4265
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
4265
4266
|
non-intersecting keys are appended, retaining their partial order.
|
|
4266
4267
|
Required.
|
|
4267
|
-
:param pulumi.Input[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}".
|
|
4268
|
-
:param pulumi.Input[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)+")"
|
|
4269
|
-
:param pulumi.Input[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.
|
|
4268
|
+
:param pulumi.Input[builtins.str] message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
4269
|
+
:param pulumi.Input[builtins.str] message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
4270
|
+
:param pulumi.Input[builtins.str] reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
4270
4271
|
"""
|
|
4271
4272
|
if expression is not None:
|
|
4272
4273
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -4279,7 +4280,7 @@ class ValidationPatchArgs:
|
|
|
4279
4280
|
|
|
4280
4281
|
@property
|
|
4281
4282
|
@pulumi.getter
|
|
4282
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
4283
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4283
4284
|
"""
|
|
4284
4285
|
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 Admission request/response, organized into CEL variables as well as some other useful variables:
|
|
4285
4286
|
|
|
@@ -4306,43 +4307,43 @@ class ValidationPatchArgs:
|
|
|
4306
4307
|
return pulumi.get(self, "expression")
|
|
4307
4308
|
|
|
4308
4309
|
@expression.setter
|
|
4309
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
4310
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4310
4311
|
pulumi.set(self, "expression", value)
|
|
4311
4312
|
|
|
4312
4313
|
@property
|
|
4313
4314
|
@pulumi.getter
|
|
4314
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
4315
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4315
4316
|
"""
|
|
4316
4317
|
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}".
|
|
4317
4318
|
"""
|
|
4318
4319
|
return pulumi.get(self, "message")
|
|
4319
4320
|
|
|
4320
4321
|
@message.setter
|
|
4321
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
4322
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4322
4323
|
pulumi.set(self, "message", value)
|
|
4323
4324
|
|
|
4324
4325
|
@property
|
|
4325
4326
|
@pulumi.getter(name="messageExpression")
|
|
4326
|
-
def message_expression(self) -> Optional[pulumi.Input[str]]:
|
|
4327
|
+
def message_expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4327
4328
|
"""
|
|
4328
4329
|
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)+")"
|
|
4329
4330
|
"""
|
|
4330
4331
|
return pulumi.get(self, "message_expression")
|
|
4331
4332
|
|
|
4332
4333
|
@message_expression.setter
|
|
4333
|
-
def message_expression(self, value: Optional[pulumi.Input[str]]):
|
|
4334
|
+
def message_expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4334
4335
|
pulumi.set(self, "message_expression", value)
|
|
4335
4336
|
|
|
4336
4337
|
@property
|
|
4337
4338
|
@pulumi.getter
|
|
4338
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
4339
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4339
4340
|
"""
|
|
4340
4341
|
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.
|
|
4341
4342
|
"""
|
|
4342
4343
|
return pulumi.get(self, "reason")
|
|
4343
4344
|
|
|
4344
4345
|
@reason.setter
|
|
4345
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
4346
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4346
4347
|
pulumi.set(self, "reason", value)
|
|
4347
4348
|
|
|
4348
4349
|
|
|
@@ -4351,7 +4352,7 @@ if not MYPY:
|
|
|
4351
4352
|
"""
|
|
4352
4353
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4353
4354
|
"""
|
|
4354
|
-
expression: pulumi.Input[str]
|
|
4355
|
+
expression: pulumi.Input[builtins.str]
|
|
4355
4356
|
"""
|
|
4356
4357
|
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 Admission request/response, organized into CEL variables as well as some other useful variables:
|
|
4357
4358
|
|
|
@@ -4375,15 +4376,15 @@ if not MYPY:
|
|
|
4375
4376
|
non-intersecting keys are appended, retaining their partial order.
|
|
4376
4377
|
Required.
|
|
4377
4378
|
"""
|
|
4378
|
-
message: NotRequired[pulumi.Input[str]]
|
|
4379
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
4379
4380
|
"""
|
|
4380
4381
|
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}".
|
|
4381
4382
|
"""
|
|
4382
|
-
message_expression: NotRequired[pulumi.Input[str]]
|
|
4383
|
+
message_expression: NotRequired[pulumi.Input[builtins.str]]
|
|
4383
4384
|
"""
|
|
4384
4385
|
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)+")"
|
|
4385
4386
|
"""
|
|
4386
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
4387
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
4387
4388
|
"""
|
|
4388
4389
|
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.
|
|
4389
4390
|
"""
|
|
@@ -4393,13 +4394,13 @@ elif False:
|
|
|
4393
4394
|
@pulumi.input_type
|
|
4394
4395
|
class ValidationArgs:
|
|
4395
4396
|
def __init__(__self__, *,
|
|
4396
|
-
expression: pulumi.Input[str],
|
|
4397
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
4398
|
-
message_expression: Optional[pulumi.Input[str]] = None,
|
|
4399
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
4397
|
+
expression: pulumi.Input[builtins.str],
|
|
4398
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
4399
|
+
message_expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
4400
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
4400
4401
|
"""
|
|
4401
4402
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4402
|
-
:param pulumi.Input[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 Admission request/response, organized into CEL variables as well as some other useful variables:
|
|
4403
|
+
:param pulumi.Input[builtins.str] expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the Admission request/response, organized into CEL variables as well as some other useful variables:
|
|
4403
4404
|
|
|
4404
4405
|
'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([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.
|
|
4405
4406
|
|
|
@@ -4420,9 +4421,9 @@ class ValidationArgs:
|
|
|
4420
4421
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
4421
4422
|
non-intersecting keys are appended, retaining their partial order.
|
|
4422
4423
|
Required.
|
|
4423
|
-
:param pulumi.Input[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}".
|
|
4424
|
-
:param pulumi.Input[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)+")"
|
|
4425
|
-
:param pulumi.Input[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.
|
|
4424
|
+
:param pulumi.Input[builtins.str] message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
4425
|
+
:param pulumi.Input[builtins.str] message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
4426
|
+
:param pulumi.Input[builtins.str] reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
4426
4427
|
"""
|
|
4427
4428
|
pulumi.set(__self__, "expression", expression)
|
|
4428
4429
|
if message is not None:
|
|
@@ -4434,7 +4435,7 @@ class ValidationArgs:
|
|
|
4434
4435
|
|
|
4435
4436
|
@property
|
|
4436
4437
|
@pulumi.getter
|
|
4437
|
-
def expression(self) -> pulumi.Input[str]:
|
|
4438
|
+
def expression(self) -> pulumi.Input[builtins.str]:
|
|
4438
4439
|
"""
|
|
4439
4440
|
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 Admission request/response, organized into CEL variables as well as some other useful variables:
|
|
4440
4441
|
|
|
@@ -4461,43 +4462,43 @@ class ValidationArgs:
|
|
|
4461
4462
|
return pulumi.get(self, "expression")
|
|
4462
4463
|
|
|
4463
4464
|
@expression.setter
|
|
4464
|
-
def expression(self, value: pulumi.Input[str]):
|
|
4465
|
+
def expression(self, value: pulumi.Input[builtins.str]):
|
|
4465
4466
|
pulumi.set(self, "expression", value)
|
|
4466
4467
|
|
|
4467
4468
|
@property
|
|
4468
4469
|
@pulumi.getter
|
|
4469
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
4470
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4470
4471
|
"""
|
|
4471
4472
|
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}".
|
|
4472
4473
|
"""
|
|
4473
4474
|
return pulumi.get(self, "message")
|
|
4474
4475
|
|
|
4475
4476
|
@message.setter
|
|
4476
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
4477
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4477
4478
|
pulumi.set(self, "message", value)
|
|
4478
4479
|
|
|
4479
4480
|
@property
|
|
4480
4481
|
@pulumi.getter(name="messageExpression")
|
|
4481
|
-
def message_expression(self) -> Optional[pulumi.Input[str]]:
|
|
4482
|
+
def message_expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4482
4483
|
"""
|
|
4483
4484
|
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)+")"
|
|
4484
4485
|
"""
|
|
4485
4486
|
return pulumi.get(self, "message_expression")
|
|
4486
4487
|
|
|
4487
4488
|
@message_expression.setter
|
|
4488
|
-
def message_expression(self, value: Optional[pulumi.Input[str]]):
|
|
4489
|
+
def message_expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4489
4490
|
pulumi.set(self, "message_expression", value)
|
|
4490
4491
|
|
|
4491
4492
|
@property
|
|
4492
4493
|
@pulumi.getter
|
|
4493
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
4494
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4494
4495
|
"""
|
|
4495
4496
|
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.
|
|
4496
4497
|
"""
|
|
4497
4498
|
return pulumi.get(self, "reason")
|
|
4498
4499
|
|
|
4499
4500
|
@reason.setter
|
|
4500
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
4501
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4501
4502
|
pulumi.set(self, "reason", value)
|
|
4502
4503
|
|
|
4503
4504
|
|
|
@@ -4506,11 +4507,11 @@ if not MYPY:
|
|
|
4506
4507
|
"""
|
|
4507
4508
|
Variable is the definition of a variable that is used for composition.
|
|
4508
4509
|
"""
|
|
4509
|
-
expression: NotRequired[pulumi.Input[str]]
|
|
4510
|
+
expression: NotRequired[pulumi.Input[builtins.str]]
|
|
4510
4511
|
"""
|
|
4511
4512
|
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.
|
|
4512
4513
|
"""
|
|
4513
|
-
name: NotRequired[pulumi.Input[str]]
|
|
4514
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
4514
4515
|
"""
|
|
4515
4516
|
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`
|
|
4516
4517
|
"""
|
|
@@ -4520,12 +4521,12 @@ elif False:
|
|
|
4520
4521
|
@pulumi.input_type
|
|
4521
4522
|
class VariablePatchArgs:
|
|
4522
4523
|
def __init__(__self__, *,
|
|
4523
|
-
expression: Optional[pulumi.Input[str]] = None,
|
|
4524
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
4524
|
+
expression: Optional[pulumi.Input[builtins.str]] = None,
|
|
4525
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
4525
4526
|
"""
|
|
4526
4527
|
Variable is the definition of a variable that is used for composition.
|
|
4527
|
-
:param pulumi.Input[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.
|
|
4528
|
-
:param pulumi.Input[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`
|
|
4528
|
+
:param pulumi.Input[builtins.str] expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
4529
|
+
:param pulumi.Input[builtins.str] name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
4529
4530
|
"""
|
|
4530
4531
|
if expression is not None:
|
|
4531
4532
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -4534,26 +4535,26 @@ class VariablePatchArgs:
|
|
|
4534
4535
|
|
|
4535
4536
|
@property
|
|
4536
4537
|
@pulumi.getter
|
|
4537
|
-
def expression(self) -> Optional[pulumi.Input[str]]:
|
|
4538
|
+
def expression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4538
4539
|
"""
|
|
4539
4540
|
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.
|
|
4540
4541
|
"""
|
|
4541
4542
|
return pulumi.get(self, "expression")
|
|
4542
4543
|
|
|
4543
4544
|
@expression.setter
|
|
4544
|
-
def expression(self, value: Optional[pulumi.Input[str]]):
|
|
4545
|
+
def expression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4545
4546
|
pulumi.set(self, "expression", value)
|
|
4546
4547
|
|
|
4547
4548
|
@property
|
|
4548
4549
|
@pulumi.getter
|
|
4549
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
4550
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4550
4551
|
"""
|
|
4551
4552
|
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`
|
|
4552
4553
|
"""
|
|
4553
4554
|
return pulumi.get(self, "name")
|
|
4554
4555
|
|
|
4555
4556
|
@name.setter
|
|
4556
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
4557
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4557
4558
|
pulumi.set(self, "name", value)
|
|
4558
4559
|
|
|
4559
4560
|
|
|
@@ -4562,11 +4563,11 @@ if not MYPY:
|
|
|
4562
4563
|
"""
|
|
4563
4564
|
Variable is the definition of a variable that is used for composition.
|
|
4564
4565
|
"""
|
|
4565
|
-
expression: pulumi.Input[str]
|
|
4566
|
+
expression: pulumi.Input[builtins.str]
|
|
4566
4567
|
"""
|
|
4567
4568
|
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.
|
|
4568
4569
|
"""
|
|
4569
|
-
name: pulumi.Input[str]
|
|
4570
|
+
name: pulumi.Input[builtins.str]
|
|
4570
4571
|
"""
|
|
4571
4572
|
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`
|
|
4572
4573
|
"""
|
|
@@ -4576,38 +4577,38 @@ elif False:
|
|
|
4576
4577
|
@pulumi.input_type
|
|
4577
4578
|
class VariableArgs:
|
|
4578
4579
|
def __init__(__self__, *,
|
|
4579
|
-
expression: pulumi.Input[str],
|
|
4580
|
-
name: pulumi.Input[str]):
|
|
4580
|
+
expression: pulumi.Input[builtins.str],
|
|
4581
|
+
name: pulumi.Input[builtins.str]):
|
|
4581
4582
|
"""
|
|
4582
4583
|
Variable is the definition of a variable that is used for composition.
|
|
4583
|
-
:param pulumi.Input[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.
|
|
4584
|
-
:param pulumi.Input[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`
|
|
4584
|
+
:param pulumi.Input[builtins.str] expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
4585
|
+
:param pulumi.Input[builtins.str] name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
4585
4586
|
"""
|
|
4586
4587
|
pulumi.set(__self__, "expression", expression)
|
|
4587
4588
|
pulumi.set(__self__, "name", name)
|
|
4588
4589
|
|
|
4589
4590
|
@property
|
|
4590
4591
|
@pulumi.getter
|
|
4591
|
-
def expression(self) -> pulumi.Input[str]:
|
|
4592
|
+
def expression(self) -> pulumi.Input[builtins.str]:
|
|
4592
4593
|
"""
|
|
4593
4594
|
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.
|
|
4594
4595
|
"""
|
|
4595
4596
|
return pulumi.get(self, "expression")
|
|
4596
4597
|
|
|
4597
4598
|
@expression.setter
|
|
4598
|
-
def expression(self, value: pulumi.Input[str]):
|
|
4599
|
+
def expression(self, value: pulumi.Input[builtins.str]):
|
|
4599
4600
|
pulumi.set(self, "expression", value)
|
|
4600
4601
|
|
|
4601
4602
|
@property
|
|
4602
4603
|
@pulumi.getter
|
|
4603
|
-
def name(self) -> pulumi.Input[str]:
|
|
4604
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
4604
4605
|
"""
|
|
4605
4606
|
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`
|
|
4606
4607
|
"""
|
|
4607
4608
|
return pulumi.get(self, "name")
|
|
4608
4609
|
|
|
4609
4610
|
@name.setter
|
|
4610
|
-
def name(self, value: pulumi.Input[str]):
|
|
4611
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
4611
4612
|
pulumi.set(self, "name", value)
|
|
4612
4613
|
|
|
4613
4614
|
|