pulumi-kubernetes 4.24.0a1752908431__py3-none-any.whl → 4.24.0a1753121506__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +1 -1
- pulumi_kubernetes/_inputs.py +49 -50
- pulumi_kubernetes/admissionregistration/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +715 -716
- pulumi_kubernetes/admissionregistration/v1/outputs.py +512 -513
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +495 -496
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +364 -365
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +711 -712
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +508 -509
- pulumi_kubernetes/apiextensions/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/_inputs.py +906 -907
- pulumi_kubernetes/apiextensions/v1/outputs.py +620 -621
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -835
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -573
- pulumi_kubernetes/apiregistration/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -129
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -129
- pulumi_kubernetes/apps/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/_inputs.py +749 -750
- pulumi_kubernetes/apps/v1/outputs.py +713 -714
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -410
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -382
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -656
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -646
- pulumi_kubernetes/auditregistration/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -146
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -102
- pulumi_kubernetes/autoscaling/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -121
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -103
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2/_inputs.py +410 -411
- pulumi_kubernetes/autoscaling/v2/outputs.py +374 -375
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -452
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -425
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -399
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -367
- pulumi_kubernetes/batch/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/Job.py +26 -27
- pulumi_kubernetes/batch/v1/JobList.py +25 -26
- pulumi_kubernetes/batch/v1/JobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/_inputs.py +494 -495
- pulumi_kubernetes/batch/v1/outputs.py +419 -420
- pulumi_kubernetes/batch/v1beta1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -77
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -1
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -77
- pulumi_kubernetes/certificates/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -156
- pulumi_kubernetes/certificates/v1/outputs.py +134 -135
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -40
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -28
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +182 -183
- pulumi_kubernetes/certificates/v1beta1/outputs.py +154 -155
- pulumi_kubernetes/coordination/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -100
- pulumi_kubernetes/coordination/v1/outputs.py +67 -68
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1beta1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +161 -162
- pulumi_kubernetes/coordination/v1beta1/outputs.py +109 -110
- pulumi_kubernetes/core/__init__.py +1 -1
- pulumi_kubernetes/core/v1/Binding.py +25 -26
- pulumi_kubernetes/core/v1/BindingPatch.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMap.py +53 -54
- pulumi_kubernetes/core/v1/ConfigMapList.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +53 -54
- pulumi_kubernetes/core/v1/Endpoints.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsList.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsPatch.py +25 -26
- pulumi_kubernetes/core/v1/Event.py +131 -132
- pulumi_kubernetes/core/v1/EventList.py +25 -26
- pulumi_kubernetes/core/v1/EventPatch.py +131 -132
- pulumi_kubernetes/core/v1/LimitRange.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangeList.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangePatch.py +25 -26
- pulumi_kubernetes/core/v1/Namespace.py +26 -27
- pulumi_kubernetes/core/v1/NamespaceList.py +25 -26
- pulumi_kubernetes/core/v1/NamespacePatch.py +26 -27
- pulumi_kubernetes/core/v1/Node.py +26 -27
- pulumi_kubernetes/core/v1/NodeList.py +25 -26
- pulumi_kubernetes/core/v1/NodePatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolume.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +26 -27
- pulumi_kubernetes/core/v1/Pod.py +26 -27
- pulumi_kubernetes/core/v1/PodList.py +25 -26
- pulumi_kubernetes/core/v1/PodPatch.py +26 -27
- pulumi_kubernetes/core/v1/PodTemplate.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplateList.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationController.py +26 -27
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuota.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +25 -26
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +26 -27
- pulumi_kubernetes/core/v1/Secret.py +63 -64
- pulumi_kubernetes/core/v1/SecretList.py +25 -26
- pulumi_kubernetes/core/v1/SecretPatch.py +63 -64
- pulumi_kubernetes/core/v1/Service.py +26 -27
- pulumi_kubernetes/core/v1/ServiceAccount.py +37 -38
- pulumi_kubernetes/core/v1/ServiceAccountList.py +25 -26
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +37 -38
- pulumi_kubernetes/core/v1/ServiceList.py +25 -26
- pulumi_kubernetes/core/v1/ServicePatch.py +26 -27
- pulumi_kubernetes/core/v1/__init__.py +1 -1
- pulumi_kubernetes/core/v1/_enums.py +2 -2
- pulumi_kubernetes/core/v1/_inputs.py +7133 -7134
- pulumi_kubernetes/core/v1/outputs.py +5390 -5391
- pulumi_kubernetes/discovery/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/_inputs.py +200 -201
- pulumi_kubernetes/discovery/v1/outputs.py +138 -139
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -159
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -109
- pulumi_kubernetes/events/__init__.py +1 -1
- pulumi_kubernetes/events/v1/Event.py +131 -132
- pulumi_kubernetes/events/v1/EventList.py +25 -26
- pulumi_kubernetes/events/v1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1/__init__.py +1 -1
- pulumi_kubernetes/events/v1/_inputs.py +102 -103
- pulumi_kubernetes/events/v1/outputs.py +70 -71
- pulumi_kubernetes/events/v1beta1/Event.py +131 -132
- pulumi_kubernetes/events/v1beta1/EventList.py +25 -26
- pulumi_kubernetes/events/v1beta1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -115
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -79
- pulumi_kubernetes/extensions/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1098
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -900
- pulumi_kubernetes/flowcontrol/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +333 -334
- pulumi_kubernetes/helm/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/Release.py +316 -317
- pulumi_kubernetes/helm/v3/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/_inputs.py +37 -38
- pulumi_kubernetes/helm/v3/outputs.py +54 -55
- pulumi_kubernetes/helm/v4/Chart.py +95 -96
- pulumi_kubernetes/helm/v4/__init__.py +1 -1
- pulumi_kubernetes/helm/v4/_inputs.py +34 -35
- pulumi_kubernetes/kustomize/__init__.py +1 -1
- pulumi_kubernetes/kustomize/v2/Directory.py +35 -36
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -1
- pulumi_kubernetes/meta/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/Status.py +57 -58
- pulumi_kubernetes/meta/v1/StatusPatch.py +57 -58
- pulumi_kubernetes/meta/v1/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/_inputs.py +551 -552
- pulumi_kubernetes/meta/v1/outputs.py +395 -396
- pulumi_kubernetes/networking/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/_inputs.py +463 -464
- pulumi_kubernetes/networking/v1/outputs.py +350 -351
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -158
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -111
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -248
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -174
- pulumi_kubernetes/node/__init__.py +1 -1
- pulumi_kubernetes/node/v1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1/__init__.py +1 -1
- pulumi_kubernetes/node/v1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1/outputs.py +34 -35
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +25 -26
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -58
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -42
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -35
- pulumi_kubernetes/policy/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/_inputs.py +91 -92
- pulumi_kubernetes/policy/v1/outputs.py +80 -81
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -471
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -343
- pulumi_kubernetes/provider.py +107 -108
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -143
- pulumi_kubernetes/resource/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -269
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -231
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -551
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -450
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +27 -28
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +836 -837
- pulumi_kubernetes/resource/v1alpha3/outputs.py +685 -686
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta1/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta1/outputs.py +564 -565
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta2/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta2/outputs.py +564 -565
- pulumi_kubernetes/scheduling/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -27
- pulumi_kubernetes/settings/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -22
- pulumi_kubernetes/storage/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/_inputs.py +372 -373
- pulumi_kubernetes/storage/v1/outputs.py +278 -279
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -108
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -94
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -368
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -272
- pulumi_kubernetes/storagemigration/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +25 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -104
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -97
- pulumi_kubernetes/yaml/__init__.py +1 -1
- pulumi_kubernetes/yaml/v2/ConfigFile.py +26 -27
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +35 -36
- pulumi_kubernetes/yaml/v2/__init__.py +1 -1
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.24.0a1753121506.dist-info/RECORD +709 -0
- pulumi_kubernetes-4.24.0a1752908431.dist-info/RECORD +0 -709
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -100,7 +99,7 @@ if not MYPY:
|
|
|
100
99
|
"""
|
|
101
100
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
102
101
|
"""
|
|
103
|
-
expression: NotRequired[pulumi.Input[
|
|
102
|
+
expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
104
103
|
"""
|
|
105
104
|
expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
106
105
|
|
|
@@ -137,10 +136,10 @@ elif False:
|
|
|
137
136
|
@pulumi.input_type
|
|
138
137
|
class ApplyConfigurationPatchArgs:
|
|
139
138
|
def __init__(__self__, *,
|
|
140
|
-
expression: Optional[pulumi.Input[
|
|
139
|
+
expression: Optional[pulumi.Input[_builtins.str]] = None):
|
|
141
140
|
"""
|
|
142
141
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
143
|
-
:param pulumi.Input[
|
|
142
|
+
:param pulumi.Input[_builtins.str] expression: expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
144
143
|
|
|
145
144
|
Apply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:
|
|
146
145
|
|
|
@@ -172,9 +171,9 @@ class ApplyConfigurationPatchArgs:
|
|
|
172
171
|
if expression is not None:
|
|
173
172
|
pulumi.set(__self__, "expression", expression)
|
|
174
173
|
|
|
175
|
-
@property
|
|
174
|
+
@_builtins.property
|
|
176
175
|
@pulumi.getter
|
|
177
|
-
def expression(self) -> Optional[pulumi.Input[
|
|
176
|
+
def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
178
177
|
"""
|
|
179
178
|
expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
180
179
|
|
|
@@ -208,7 +207,7 @@ class ApplyConfigurationPatchArgs:
|
|
|
208
207
|
return pulumi.get(self, "expression")
|
|
209
208
|
|
|
210
209
|
@expression.setter
|
|
211
|
-
def expression(self, value: Optional[pulumi.Input[
|
|
210
|
+
def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
212
211
|
pulumi.set(self, "expression", value)
|
|
213
212
|
|
|
214
213
|
|
|
@@ -217,7 +216,7 @@ if not MYPY:
|
|
|
217
216
|
"""
|
|
218
217
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
219
218
|
"""
|
|
220
|
-
expression: NotRequired[pulumi.Input[
|
|
219
|
+
expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
221
220
|
"""
|
|
222
221
|
expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
223
222
|
|
|
@@ -254,10 +253,10 @@ elif False:
|
|
|
254
253
|
@pulumi.input_type
|
|
255
254
|
class ApplyConfigurationArgs:
|
|
256
255
|
def __init__(__self__, *,
|
|
257
|
-
expression: Optional[pulumi.Input[
|
|
256
|
+
expression: Optional[pulumi.Input[_builtins.str]] = None):
|
|
258
257
|
"""
|
|
259
258
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
260
|
-
:param pulumi.Input[
|
|
259
|
+
:param pulumi.Input[_builtins.str] expression: expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
261
260
|
|
|
262
261
|
Apply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:
|
|
263
262
|
|
|
@@ -289,9 +288,9 @@ class ApplyConfigurationArgs:
|
|
|
289
288
|
if expression is not None:
|
|
290
289
|
pulumi.set(__self__, "expression", expression)
|
|
291
290
|
|
|
292
|
-
@property
|
|
291
|
+
@_builtins.property
|
|
293
292
|
@pulumi.getter
|
|
294
|
-
def expression(self) -> Optional[pulumi.Input[
|
|
293
|
+
def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
295
294
|
"""
|
|
296
295
|
expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
297
296
|
|
|
@@ -325,7 +324,7 @@ class ApplyConfigurationArgs:
|
|
|
325
324
|
return pulumi.get(self, "expression")
|
|
326
325
|
|
|
327
326
|
@expression.setter
|
|
328
|
-
def expression(self, value: Optional[pulumi.Input[
|
|
327
|
+
def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
329
328
|
pulumi.set(self, "expression", value)
|
|
330
329
|
|
|
331
330
|
|
|
@@ -334,7 +333,7 @@ if not MYPY:
|
|
|
334
333
|
"""
|
|
335
334
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
336
335
|
"""
|
|
337
|
-
key: NotRequired[pulumi.Input[
|
|
336
|
+
key: NotRequired[pulumi.Input[_builtins.str]]
|
|
338
337
|
"""
|
|
339
338
|
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.
|
|
340
339
|
|
|
@@ -344,7 +343,7 @@ if not MYPY:
|
|
|
344
343
|
|
|
345
344
|
Required.
|
|
346
345
|
"""
|
|
347
|
-
value_expression: NotRequired[pulumi.Input[
|
|
346
|
+
value_expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
348
347
|
"""
|
|
349
348
|
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.
|
|
350
349
|
|
|
@@ -358,18 +357,18 @@ elif False:
|
|
|
358
357
|
@pulumi.input_type
|
|
359
358
|
class AuditAnnotationPatchArgs:
|
|
360
359
|
def __init__(__self__, *,
|
|
361
|
-
key: Optional[pulumi.Input[
|
|
362
|
-
value_expression: Optional[pulumi.Input[
|
|
360
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
361
|
+
value_expression: Optional[pulumi.Input[_builtins.str]] = None):
|
|
363
362
|
"""
|
|
364
363
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
365
|
-
:param pulumi.Input[
|
|
364
|
+
: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.
|
|
366
365
|
|
|
367
366
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
368
367
|
|
|
369
368
|
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.
|
|
370
369
|
|
|
371
370
|
Required.
|
|
372
|
-
:param pulumi.Input[
|
|
371
|
+
: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.
|
|
373
372
|
|
|
374
373
|
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.
|
|
375
374
|
|
|
@@ -380,9 +379,9 @@ class AuditAnnotationPatchArgs:
|
|
|
380
379
|
if value_expression is not None:
|
|
381
380
|
pulumi.set(__self__, "value_expression", value_expression)
|
|
382
381
|
|
|
383
|
-
@property
|
|
382
|
+
@_builtins.property
|
|
384
383
|
@pulumi.getter
|
|
385
|
-
def key(self) -> Optional[pulumi.Input[
|
|
384
|
+
def key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
386
385
|
"""
|
|
387
386
|
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.
|
|
388
387
|
|
|
@@ -395,12 +394,12 @@ class AuditAnnotationPatchArgs:
|
|
|
395
394
|
return pulumi.get(self, "key")
|
|
396
395
|
|
|
397
396
|
@key.setter
|
|
398
|
-
def key(self, value: Optional[pulumi.Input[
|
|
397
|
+
def key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
399
398
|
pulumi.set(self, "key", value)
|
|
400
399
|
|
|
401
|
-
@property
|
|
400
|
+
@_builtins.property
|
|
402
401
|
@pulumi.getter(name="valueExpression")
|
|
403
|
-
def value_expression(self) -> Optional[pulumi.Input[
|
|
402
|
+
def value_expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
404
403
|
"""
|
|
405
404
|
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.
|
|
406
405
|
|
|
@@ -411,7 +410,7 @@ class AuditAnnotationPatchArgs:
|
|
|
411
410
|
return pulumi.get(self, "value_expression")
|
|
412
411
|
|
|
413
412
|
@value_expression.setter
|
|
414
|
-
def value_expression(self, value: Optional[pulumi.Input[
|
|
413
|
+
def value_expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
415
414
|
pulumi.set(self, "value_expression", value)
|
|
416
415
|
|
|
417
416
|
|
|
@@ -420,7 +419,7 @@ if not MYPY:
|
|
|
420
419
|
"""
|
|
421
420
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
422
421
|
"""
|
|
423
|
-
key: pulumi.Input[
|
|
422
|
+
key: pulumi.Input[_builtins.str]
|
|
424
423
|
"""
|
|
425
424
|
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.
|
|
426
425
|
|
|
@@ -430,7 +429,7 @@ if not MYPY:
|
|
|
430
429
|
|
|
431
430
|
Required.
|
|
432
431
|
"""
|
|
433
|
-
value_expression: pulumi.Input[
|
|
432
|
+
value_expression: pulumi.Input[_builtins.str]
|
|
434
433
|
"""
|
|
435
434
|
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.
|
|
436
435
|
|
|
@@ -444,18 +443,18 @@ elif False:
|
|
|
444
443
|
@pulumi.input_type
|
|
445
444
|
class AuditAnnotationArgs:
|
|
446
445
|
def __init__(__self__, *,
|
|
447
|
-
key: pulumi.Input[
|
|
448
|
-
value_expression: pulumi.Input[
|
|
446
|
+
key: pulumi.Input[_builtins.str],
|
|
447
|
+
value_expression: pulumi.Input[_builtins.str]):
|
|
449
448
|
"""
|
|
450
449
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
451
|
-
:param pulumi.Input[
|
|
450
|
+
: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.
|
|
452
451
|
|
|
453
452
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
454
453
|
|
|
455
454
|
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.
|
|
456
455
|
|
|
457
456
|
Required.
|
|
458
|
-
:param pulumi.Input[
|
|
457
|
+
: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.
|
|
459
458
|
|
|
460
459
|
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.
|
|
461
460
|
|
|
@@ -464,9 +463,9 @@ class AuditAnnotationArgs:
|
|
|
464
463
|
pulumi.set(__self__, "key", key)
|
|
465
464
|
pulumi.set(__self__, "value_expression", value_expression)
|
|
466
465
|
|
|
467
|
-
@property
|
|
466
|
+
@_builtins.property
|
|
468
467
|
@pulumi.getter
|
|
469
|
-
def key(self) -> pulumi.Input[
|
|
468
|
+
def key(self) -> pulumi.Input[_builtins.str]:
|
|
470
469
|
"""
|
|
471
470
|
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.
|
|
472
471
|
|
|
@@ -479,12 +478,12 @@ class AuditAnnotationArgs:
|
|
|
479
478
|
return pulumi.get(self, "key")
|
|
480
479
|
|
|
481
480
|
@key.setter
|
|
482
|
-
def key(self, value: pulumi.Input[
|
|
481
|
+
def key(self, value: pulumi.Input[_builtins.str]):
|
|
483
482
|
pulumi.set(self, "key", value)
|
|
484
483
|
|
|
485
|
-
@property
|
|
484
|
+
@_builtins.property
|
|
486
485
|
@pulumi.getter(name="valueExpression")
|
|
487
|
-
def value_expression(self) -> pulumi.Input[
|
|
486
|
+
def value_expression(self) -> pulumi.Input[_builtins.str]:
|
|
488
487
|
"""
|
|
489
488
|
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.
|
|
490
489
|
|
|
@@ -495,7 +494,7 @@ class AuditAnnotationArgs:
|
|
|
495
494
|
return pulumi.get(self, "value_expression")
|
|
496
495
|
|
|
497
496
|
@value_expression.setter
|
|
498
|
-
def value_expression(self, value: pulumi.Input[
|
|
497
|
+
def value_expression(self, value: pulumi.Input[_builtins.str]):
|
|
499
498
|
pulumi.set(self, "value_expression", value)
|
|
500
499
|
|
|
501
500
|
|
|
@@ -504,11 +503,11 @@ if not MYPY:
|
|
|
504
503
|
"""
|
|
505
504
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
506
505
|
"""
|
|
507
|
-
field_ref: pulumi.Input[
|
|
506
|
+
field_ref: pulumi.Input[_builtins.str]
|
|
508
507
|
"""
|
|
509
508
|
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"
|
|
510
509
|
"""
|
|
511
|
-
warning: pulumi.Input[
|
|
510
|
+
warning: pulumi.Input[_builtins.str]
|
|
512
511
|
"""
|
|
513
512
|
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.
|
|
514
513
|
"""
|
|
@@ -518,38 +517,38 @@ elif False:
|
|
|
518
517
|
@pulumi.input_type
|
|
519
518
|
class ExpressionWarningArgs:
|
|
520
519
|
def __init__(__self__, *,
|
|
521
|
-
field_ref: pulumi.Input[
|
|
522
|
-
warning: pulumi.Input[
|
|
520
|
+
field_ref: pulumi.Input[_builtins.str],
|
|
521
|
+
warning: pulumi.Input[_builtins.str]):
|
|
523
522
|
"""
|
|
524
523
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
525
|
-
:param pulumi.Input[
|
|
526
|
-
:param pulumi.Input[
|
|
524
|
+
: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"
|
|
525
|
+
: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.
|
|
527
526
|
"""
|
|
528
527
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
529
528
|
pulumi.set(__self__, "warning", warning)
|
|
530
529
|
|
|
531
|
-
@property
|
|
530
|
+
@_builtins.property
|
|
532
531
|
@pulumi.getter(name="fieldRef")
|
|
533
|
-
def field_ref(self) -> pulumi.Input[
|
|
532
|
+
def field_ref(self) -> pulumi.Input[_builtins.str]:
|
|
534
533
|
"""
|
|
535
534
|
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"
|
|
536
535
|
"""
|
|
537
536
|
return pulumi.get(self, "field_ref")
|
|
538
537
|
|
|
539
538
|
@field_ref.setter
|
|
540
|
-
def field_ref(self, value: pulumi.Input[
|
|
539
|
+
def field_ref(self, value: pulumi.Input[_builtins.str]):
|
|
541
540
|
pulumi.set(self, "field_ref", value)
|
|
542
541
|
|
|
543
|
-
@property
|
|
542
|
+
@_builtins.property
|
|
544
543
|
@pulumi.getter
|
|
545
|
-
def warning(self) -> pulumi.Input[
|
|
544
|
+
def warning(self) -> pulumi.Input[_builtins.str]:
|
|
546
545
|
"""
|
|
547
546
|
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.
|
|
548
547
|
"""
|
|
549
548
|
return pulumi.get(self, "warning")
|
|
550
549
|
|
|
551
550
|
@warning.setter
|
|
552
|
-
def warning(self, value: pulumi.Input[
|
|
551
|
+
def warning(self, value: pulumi.Input[_builtins.str]):
|
|
553
552
|
pulumi.set(self, "warning", value)
|
|
554
553
|
|
|
555
554
|
|
|
@@ -558,7 +557,7 @@ if not MYPY:
|
|
|
558
557
|
"""
|
|
559
558
|
JSONPatch defines a JSON Patch.
|
|
560
559
|
"""
|
|
561
|
-
expression: NotRequired[pulumi.Input[
|
|
560
|
+
expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
562
561
|
"""
|
|
563
562
|
expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
564
563
|
|
|
@@ -621,10 +620,10 @@ elif False:
|
|
|
621
620
|
@pulumi.input_type
|
|
622
621
|
class JSONPatchPatchArgs:
|
|
623
622
|
def __init__(__self__, *,
|
|
624
|
-
expression: Optional[pulumi.Input[
|
|
623
|
+
expression: Optional[pulumi.Input[_builtins.str]] = None):
|
|
625
624
|
"""
|
|
626
625
|
JSONPatch defines a JSON Patch.
|
|
627
|
-
:param pulumi.Input[
|
|
626
|
+
: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
|
|
628
627
|
|
|
629
628
|
expression must return an array of JSONPatch values.
|
|
630
629
|
|
|
@@ -682,9 +681,9 @@ class JSONPatchPatchArgs:
|
|
|
682
681
|
if expression is not None:
|
|
683
682
|
pulumi.set(__self__, "expression", expression)
|
|
684
683
|
|
|
685
|
-
@property
|
|
684
|
+
@_builtins.property
|
|
686
685
|
@pulumi.getter
|
|
687
|
-
def expression(self) -> Optional[pulumi.Input[
|
|
686
|
+
def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
688
687
|
"""
|
|
689
688
|
expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
690
689
|
|
|
@@ -744,7 +743,7 @@ class JSONPatchPatchArgs:
|
|
|
744
743
|
return pulumi.get(self, "expression")
|
|
745
744
|
|
|
746
745
|
@expression.setter
|
|
747
|
-
def expression(self, value: Optional[pulumi.Input[
|
|
746
|
+
def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
748
747
|
pulumi.set(self, "expression", value)
|
|
749
748
|
|
|
750
749
|
|
|
@@ -753,7 +752,7 @@ if not MYPY:
|
|
|
753
752
|
"""
|
|
754
753
|
JSONPatch defines a JSON Patch.
|
|
755
754
|
"""
|
|
756
|
-
expression: NotRequired[pulumi.Input[
|
|
755
|
+
expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
757
756
|
"""
|
|
758
757
|
expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
759
758
|
|
|
@@ -816,10 +815,10 @@ elif False:
|
|
|
816
815
|
@pulumi.input_type
|
|
817
816
|
class JSONPatchArgs:
|
|
818
817
|
def __init__(__self__, *,
|
|
819
|
-
expression: Optional[pulumi.Input[
|
|
818
|
+
expression: Optional[pulumi.Input[_builtins.str]] = None):
|
|
820
819
|
"""
|
|
821
820
|
JSONPatch defines a JSON Patch.
|
|
822
|
-
:param pulumi.Input[
|
|
821
|
+
: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
|
|
823
822
|
|
|
824
823
|
expression must return an array of JSONPatch values.
|
|
825
824
|
|
|
@@ -877,9 +876,9 @@ class JSONPatchArgs:
|
|
|
877
876
|
if expression is not None:
|
|
878
877
|
pulumi.set(__self__, "expression", expression)
|
|
879
878
|
|
|
880
|
-
@property
|
|
879
|
+
@_builtins.property
|
|
881
880
|
@pulumi.getter
|
|
882
|
-
def expression(self) -> Optional[pulumi.Input[
|
|
881
|
+
def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
883
882
|
"""
|
|
884
883
|
expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
885
884
|
|
|
@@ -939,13 +938,13 @@ class JSONPatchArgs:
|
|
|
939
938
|
return pulumi.get(self, "expression")
|
|
940
939
|
|
|
941
940
|
@expression.setter
|
|
942
|
-
def expression(self, value: Optional[pulumi.Input[
|
|
941
|
+
def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
943
942
|
pulumi.set(self, "expression", value)
|
|
944
943
|
|
|
945
944
|
|
|
946
945
|
if not MYPY:
|
|
947
946
|
class MatchConditionPatchArgsDict(TypedDict):
|
|
948
|
-
expression: NotRequired[pulumi.Input[
|
|
947
|
+
expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
949
948
|
"""
|
|
950
949
|
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:
|
|
951
950
|
|
|
@@ -957,7 +956,7 @@ if not MYPY:
|
|
|
957
956
|
|
|
958
957
|
Required.
|
|
959
958
|
"""
|
|
960
|
-
name: NotRequired[pulumi.Input[
|
|
959
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
961
960
|
"""
|
|
962
961
|
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')
|
|
963
962
|
|
|
@@ -969,10 +968,10 @@ elif False:
|
|
|
969
968
|
@pulumi.input_type
|
|
970
969
|
class MatchConditionPatchArgs:
|
|
971
970
|
def __init__(__self__, *,
|
|
972
|
-
expression: Optional[pulumi.Input[
|
|
973
|
-
name: Optional[pulumi.Input[
|
|
971
|
+
expression: Optional[pulumi.Input[_builtins.str]] = None,
|
|
972
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
974
973
|
"""
|
|
975
|
-
:param pulumi.Input[
|
|
974
|
+
: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:
|
|
976
975
|
|
|
977
976
|
'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.
|
|
978
977
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -981,7 +980,7 @@ class MatchConditionPatchArgs:
|
|
|
981
980
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
982
981
|
|
|
983
982
|
Required.
|
|
984
|
-
:param pulumi.Input[
|
|
983
|
+
: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')
|
|
985
984
|
|
|
986
985
|
Required.
|
|
987
986
|
"""
|
|
@@ -990,9 +989,9 @@ class MatchConditionPatchArgs:
|
|
|
990
989
|
if name is not None:
|
|
991
990
|
pulumi.set(__self__, "name", name)
|
|
992
991
|
|
|
993
|
-
@property
|
|
992
|
+
@_builtins.property
|
|
994
993
|
@pulumi.getter
|
|
995
|
-
def expression(self) -> Optional[pulumi.Input[
|
|
994
|
+
def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
996
995
|
"""
|
|
997
996
|
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:
|
|
998
997
|
|
|
@@ -1007,12 +1006,12 @@ class MatchConditionPatchArgs:
|
|
|
1007
1006
|
return pulumi.get(self, "expression")
|
|
1008
1007
|
|
|
1009
1008
|
@expression.setter
|
|
1010
|
-
def expression(self, value: Optional[pulumi.Input[
|
|
1009
|
+
def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1011
1010
|
pulumi.set(self, "expression", value)
|
|
1012
1011
|
|
|
1013
|
-
@property
|
|
1012
|
+
@_builtins.property
|
|
1014
1013
|
@pulumi.getter
|
|
1015
|
-
def name(self) -> Optional[pulumi.Input[
|
|
1014
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1016
1015
|
"""
|
|
1017
1016
|
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')
|
|
1018
1017
|
|
|
@@ -1021,13 +1020,13 @@ class MatchConditionPatchArgs:
|
|
|
1021
1020
|
return pulumi.get(self, "name")
|
|
1022
1021
|
|
|
1023
1022
|
@name.setter
|
|
1024
|
-
def name(self, value: Optional[pulumi.Input[
|
|
1023
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1025
1024
|
pulumi.set(self, "name", value)
|
|
1026
1025
|
|
|
1027
1026
|
|
|
1028
1027
|
if not MYPY:
|
|
1029
1028
|
class MatchConditionArgsDict(TypedDict):
|
|
1030
|
-
expression: pulumi.Input[
|
|
1029
|
+
expression: pulumi.Input[_builtins.str]
|
|
1031
1030
|
"""
|
|
1032
1031
|
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:
|
|
1033
1032
|
|
|
@@ -1039,7 +1038,7 @@ if not MYPY:
|
|
|
1039
1038
|
|
|
1040
1039
|
Required.
|
|
1041
1040
|
"""
|
|
1042
|
-
name: pulumi.Input[
|
|
1041
|
+
name: pulumi.Input[_builtins.str]
|
|
1043
1042
|
"""
|
|
1044
1043
|
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')
|
|
1045
1044
|
|
|
@@ -1051,10 +1050,10 @@ elif False:
|
|
|
1051
1050
|
@pulumi.input_type
|
|
1052
1051
|
class MatchConditionArgs:
|
|
1053
1052
|
def __init__(__self__, *,
|
|
1054
|
-
expression: pulumi.Input[
|
|
1055
|
-
name: pulumi.Input[
|
|
1053
|
+
expression: pulumi.Input[_builtins.str],
|
|
1054
|
+
name: pulumi.Input[_builtins.str]):
|
|
1056
1055
|
"""
|
|
1057
|
-
:param pulumi.Input[
|
|
1056
|
+
: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:
|
|
1058
1057
|
|
|
1059
1058
|
'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.
|
|
1060
1059
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -1063,16 +1062,16 @@ class MatchConditionArgs:
|
|
|
1063
1062
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
1064
1063
|
|
|
1065
1064
|
Required.
|
|
1066
|
-
:param pulumi.Input[
|
|
1065
|
+
: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')
|
|
1067
1066
|
|
|
1068
1067
|
Required.
|
|
1069
1068
|
"""
|
|
1070
1069
|
pulumi.set(__self__, "expression", expression)
|
|
1071
1070
|
pulumi.set(__self__, "name", name)
|
|
1072
1071
|
|
|
1073
|
-
@property
|
|
1072
|
+
@_builtins.property
|
|
1074
1073
|
@pulumi.getter
|
|
1075
|
-
def expression(self) -> pulumi.Input[
|
|
1074
|
+
def expression(self) -> pulumi.Input[_builtins.str]:
|
|
1076
1075
|
"""
|
|
1077
1076
|
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:
|
|
1078
1077
|
|
|
@@ -1087,12 +1086,12 @@ class MatchConditionArgs:
|
|
|
1087
1086
|
return pulumi.get(self, "expression")
|
|
1088
1087
|
|
|
1089
1088
|
@expression.setter
|
|
1090
|
-
def expression(self, value: pulumi.Input[
|
|
1089
|
+
def expression(self, value: pulumi.Input[_builtins.str]):
|
|
1091
1090
|
pulumi.set(self, "expression", value)
|
|
1092
1091
|
|
|
1093
|
-
@property
|
|
1092
|
+
@_builtins.property
|
|
1094
1093
|
@pulumi.getter
|
|
1095
|
-
def name(self) -> pulumi.Input[
|
|
1094
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
1096
1095
|
"""
|
|
1097
1096
|
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')
|
|
1098
1097
|
|
|
@@ -1101,7 +1100,7 @@ class MatchConditionArgs:
|
|
|
1101
1100
|
return pulumi.get(self, "name")
|
|
1102
1101
|
|
|
1103
1102
|
@name.setter
|
|
1104
|
-
def name(self, value: pulumi.Input[
|
|
1103
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
1105
1104
|
pulumi.set(self, "name", value)
|
|
1106
1105
|
|
|
1107
1106
|
|
|
@@ -1114,7 +1113,7 @@ if not MYPY:
|
|
|
1114
1113
|
"""
|
|
1115
1114
|
ExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
1116
1115
|
"""
|
|
1117
|
-
match_policy: NotRequired[pulumi.Input[
|
|
1116
|
+
match_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1118
1117
|
"""
|
|
1119
1118
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1120
1119
|
|
|
@@ -1173,14 +1172,14 @@ elif False:
|
|
|
1173
1172
|
class MatchResourcesPatchArgs:
|
|
1174
1173
|
def __init__(__self__, *,
|
|
1175
1174
|
exclude_resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]] = None,
|
|
1176
|
-
match_policy: Optional[pulumi.Input[
|
|
1175
|
+
match_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1177
1176
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1178
1177
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1179
1178
|
resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]] = None):
|
|
1180
1179
|
"""
|
|
1181
1180
|
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)
|
|
1182
1181
|
:param pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]] exclude_resource_rules: ExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
1183
|
-
:param pulumi.Input[
|
|
1182
|
+
: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".
|
|
1184
1183
|
|
|
1185
1184
|
- 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"]`, the admission policy does not consider requests to apps/v1beta1 or extensions/v1beta1 API groups.
|
|
1186
1185
|
|
|
@@ -1232,7 +1231,7 @@ class MatchResourcesPatchArgs:
|
|
|
1232
1231
|
if resource_rules is not None:
|
|
1233
1232
|
pulumi.set(__self__, "resource_rules", resource_rules)
|
|
1234
1233
|
|
|
1235
|
-
@property
|
|
1234
|
+
@_builtins.property
|
|
1236
1235
|
@pulumi.getter(name="excludeResourceRules")
|
|
1237
1236
|
def exclude_resource_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]]:
|
|
1238
1237
|
"""
|
|
@@ -1244,9 +1243,9 @@ class MatchResourcesPatchArgs:
|
|
|
1244
1243
|
def exclude_resource_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]]):
|
|
1245
1244
|
pulumi.set(self, "exclude_resource_rules", value)
|
|
1246
1245
|
|
|
1247
|
-
@property
|
|
1246
|
+
@_builtins.property
|
|
1248
1247
|
@pulumi.getter(name="matchPolicy")
|
|
1249
|
-
def match_policy(self) -> Optional[pulumi.Input[
|
|
1248
|
+
def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1250
1249
|
"""
|
|
1251
1250
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1252
1251
|
|
|
@@ -1259,10 +1258,10 @@ class MatchResourcesPatchArgs:
|
|
|
1259
1258
|
return pulumi.get(self, "match_policy")
|
|
1260
1259
|
|
|
1261
1260
|
@match_policy.setter
|
|
1262
|
-
def match_policy(self, value: Optional[pulumi.Input[
|
|
1261
|
+
def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1263
1262
|
pulumi.set(self, "match_policy", value)
|
|
1264
1263
|
|
|
1265
|
-
@property
|
|
1264
|
+
@_builtins.property
|
|
1266
1265
|
@pulumi.getter(name="namespaceSelector")
|
|
1267
1266
|
def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
1268
1267
|
"""
|
|
@@ -1304,7 +1303,7 @@ class MatchResourcesPatchArgs:
|
|
|
1304
1303
|
def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
1305
1304
|
pulumi.set(self, "namespace_selector", value)
|
|
1306
1305
|
|
|
1307
|
-
@property
|
|
1306
|
+
@_builtins.property
|
|
1308
1307
|
@pulumi.getter(name="objectSelector")
|
|
1309
1308
|
def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
1310
1309
|
"""
|
|
@@ -1316,7 +1315,7 @@ class MatchResourcesPatchArgs:
|
|
|
1316
1315
|
def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
1317
1316
|
pulumi.set(self, "object_selector", value)
|
|
1318
1317
|
|
|
1319
|
-
@property
|
|
1318
|
+
@_builtins.property
|
|
1320
1319
|
@pulumi.getter(name="resourceRules")
|
|
1321
1320
|
def resource_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]]:
|
|
1322
1321
|
"""
|
|
@@ -1338,7 +1337,7 @@ if not MYPY:
|
|
|
1338
1337
|
"""
|
|
1339
1338
|
ExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
1340
1339
|
"""
|
|
1341
|
-
match_policy: NotRequired[pulumi.Input[
|
|
1340
|
+
match_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1342
1341
|
"""
|
|
1343
1342
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1344
1343
|
|
|
@@ -1397,14 +1396,14 @@ elif False:
|
|
|
1397
1396
|
class MatchResourcesArgs:
|
|
1398
1397
|
def __init__(__self__, *,
|
|
1399
1398
|
exclude_resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]] = None,
|
|
1400
|
-
match_policy: Optional[pulumi.Input[
|
|
1399
|
+
match_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1401
1400
|
namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1402
1401
|
object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1403
1402
|
resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]] = None):
|
|
1404
1403
|
"""
|
|
1405
1404
|
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)
|
|
1406
1405
|
:param pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]] exclude_resource_rules: ExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
|
|
1407
|
-
:param pulumi.Input[
|
|
1406
|
+
: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".
|
|
1408
1407
|
|
|
1409
1408
|
- 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"]`, the admission policy does not consider requests to apps/v1beta1 or extensions/v1beta1 API groups.
|
|
1410
1409
|
|
|
@@ -1456,7 +1455,7 @@ class MatchResourcesArgs:
|
|
|
1456
1455
|
if resource_rules is not None:
|
|
1457
1456
|
pulumi.set(__self__, "resource_rules", resource_rules)
|
|
1458
1457
|
|
|
1459
|
-
@property
|
|
1458
|
+
@_builtins.property
|
|
1460
1459
|
@pulumi.getter(name="excludeResourceRules")
|
|
1461
1460
|
def exclude_resource_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]]:
|
|
1462
1461
|
"""
|
|
@@ -1468,9 +1467,9 @@ class MatchResourcesArgs:
|
|
|
1468
1467
|
def exclude_resource_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]]):
|
|
1469
1468
|
pulumi.set(self, "exclude_resource_rules", value)
|
|
1470
1469
|
|
|
1471
|
-
@property
|
|
1470
|
+
@_builtins.property
|
|
1472
1471
|
@pulumi.getter(name="matchPolicy")
|
|
1473
|
-
def match_policy(self) -> Optional[pulumi.Input[
|
|
1472
|
+
def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1474
1473
|
"""
|
|
1475
1474
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1476
1475
|
|
|
@@ -1483,10 +1482,10 @@ class MatchResourcesArgs:
|
|
|
1483
1482
|
return pulumi.get(self, "match_policy")
|
|
1484
1483
|
|
|
1485
1484
|
@match_policy.setter
|
|
1486
|
-
def match_policy(self, value: Optional[pulumi.Input[
|
|
1485
|
+
def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1487
1486
|
pulumi.set(self, "match_policy", value)
|
|
1488
1487
|
|
|
1489
|
-
@property
|
|
1488
|
+
@_builtins.property
|
|
1490
1489
|
@pulumi.getter(name="namespaceSelector")
|
|
1491
1490
|
def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1492
1491
|
"""
|
|
@@ -1528,7 +1527,7 @@ class MatchResourcesArgs:
|
|
|
1528
1527
|
def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
|
|
1529
1528
|
pulumi.set(self, "namespace_selector", value)
|
|
1530
1529
|
|
|
1531
|
-
@property
|
|
1530
|
+
@_builtins.property
|
|
1532
1531
|
@pulumi.getter(name="objectSelector")
|
|
1533
1532
|
def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1534
1533
|
"""
|
|
@@ -1540,7 +1539,7 @@ class MatchResourcesArgs:
|
|
|
1540
1539
|
def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
|
|
1541
1540
|
pulumi.set(self, "object_selector", value)
|
|
1542
1541
|
|
|
1543
|
-
@property
|
|
1542
|
+
@_builtins.property
|
|
1544
1543
|
@pulumi.getter(name="resourceRules")
|
|
1545
1544
|
def resource_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]]:
|
|
1546
1545
|
"""
|
|
@@ -1566,7 +1565,7 @@ if not MYPY:
|
|
|
1566
1565
|
"""
|
|
1567
1566
|
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.
|
|
1568
1567
|
"""
|
|
1569
|
-
policy_name: NotRequired[pulumi.Input[
|
|
1568
|
+
policy_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1570
1569
|
"""
|
|
1571
1570
|
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.
|
|
1572
1571
|
"""
|
|
@@ -1578,12 +1577,12 @@ class MutatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
1578
1577
|
def __init__(__self__, *,
|
|
1579
1578
|
match_resources: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
1580
1579
|
param_ref: Optional[pulumi.Input['ParamRefPatchArgs']] = None,
|
|
1581
|
-
policy_name: Optional[pulumi.Input[
|
|
1580
|
+
policy_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1582
1581
|
"""
|
|
1583
1582
|
MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.
|
|
1584
1583
|
: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.
|
|
1585
1584
|
: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.
|
|
1586
|
-
:param pulumi.Input[
|
|
1585
|
+
: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.
|
|
1587
1586
|
"""
|
|
1588
1587
|
if match_resources is not None:
|
|
1589
1588
|
pulumi.set(__self__, "match_resources", match_resources)
|
|
@@ -1592,7 +1591,7 @@ class MutatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
1592
1591
|
if policy_name is not None:
|
|
1593
1592
|
pulumi.set(__self__, "policy_name", policy_name)
|
|
1594
1593
|
|
|
1595
|
-
@property
|
|
1594
|
+
@_builtins.property
|
|
1596
1595
|
@pulumi.getter(name="matchResources")
|
|
1597
1596
|
def match_resources(self) -> Optional[pulumi.Input['MatchResourcesPatchArgs']]:
|
|
1598
1597
|
"""
|
|
@@ -1604,7 +1603,7 @@ class MutatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
1604
1603
|
def match_resources(self, value: Optional[pulumi.Input['MatchResourcesPatchArgs']]):
|
|
1605
1604
|
pulumi.set(self, "match_resources", value)
|
|
1606
1605
|
|
|
1607
|
-
@property
|
|
1606
|
+
@_builtins.property
|
|
1608
1607
|
@pulumi.getter(name="paramRef")
|
|
1609
1608
|
def param_ref(self) -> Optional[pulumi.Input['ParamRefPatchArgs']]:
|
|
1610
1609
|
"""
|
|
@@ -1616,16 +1615,16 @@ class MutatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
1616
1615
|
def param_ref(self, value: Optional[pulumi.Input['ParamRefPatchArgs']]):
|
|
1617
1616
|
pulumi.set(self, "param_ref", value)
|
|
1618
1617
|
|
|
1619
|
-
@property
|
|
1618
|
+
@_builtins.property
|
|
1620
1619
|
@pulumi.getter(name="policyName")
|
|
1621
|
-
def policy_name(self) -> Optional[pulumi.Input[
|
|
1620
|
+
def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1622
1621
|
"""
|
|
1623
1622
|
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.
|
|
1624
1623
|
"""
|
|
1625
1624
|
return pulumi.get(self, "policy_name")
|
|
1626
1625
|
|
|
1627
1626
|
@policy_name.setter
|
|
1628
|
-
def policy_name(self, value: Optional[pulumi.Input[
|
|
1627
|
+
def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1629
1628
|
pulumi.set(self, "policy_name", value)
|
|
1630
1629
|
|
|
1631
1630
|
|
|
@@ -1642,7 +1641,7 @@ if not MYPY:
|
|
|
1642
1641
|
"""
|
|
1643
1642
|
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.
|
|
1644
1643
|
"""
|
|
1645
|
-
policy_name: NotRequired[pulumi.Input[
|
|
1644
|
+
policy_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1646
1645
|
"""
|
|
1647
1646
|
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.
|
|
1648
1647
|
"""
|
|
@@ -1654,12 +1653,12 @@ class MutatingAdmissionPolicyBindingSpecArgs:
|
|
|
1654
1653
|
def __init__(__self__, *,
|
|
1655
1654
|
match_resources: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
1656
1655
|
param_ref: Optional[pulumi.Input['ParamRefArgs']] = None,
|
|
1657
|
-
policy_name: Optional[pulumi.Input[
|
|
1656
|
+
policy_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1658
1657
|
"""
|
|
1659
1658
|
MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.
|
|
1660
1659
|
: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.
|
|
1661
1660
|
: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.
|
|
1662
|
-
:param pulumi.Input[
|
|
1661
|
+
: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.
|
|
1663
1662
|
"""
|
|
1664
1663
|
if match_resources is not None:
|
|
1665
1664
|
pulumi.set(__self__, "match_resources", match_resources)
|
|
@@ -1668,7 +1667,7 @@ class MutatingAdmissionPolicyBindingSpecArgs:
|
|
|
1668
1667
|
if policy_name is not None:
|
|
1669
1668
|
pulumi.set(__self__, "policy_name", policy_name)
|
|
1670
1669
|
|
|
1671
|
-
@property
|
|
1670
|
+
@_builtins.property
|
|
1672
1671
|
@pulumi.getter(name="matchResources")
|
|
1673
1672
|
def match_resources(self) -> Optional[pulumi.Input['MatchResourcesArgs']]:
|
|
1674
1673
|
"""
|
|
@@ -1680,7 +1679,7 @@ class MutatingAdmissionPolicyBindingSpecArgs:
|
|
|
1680
1679
|
def match_resources(self, value: Optional[pulumi.Input['MatchResourcesArgs']]):
|
|
1681
1680
|
pulumi.set(self, "match_resources", value)
|
|
1682
1681
|
|
|
1683
|
-
@property
|
|
1682
|
+
@_builtins.property
|
|
1684
1683
|
@pulumi.getter(name="paramRef")
|
|
1685
1684
|
def param_ref(self) -> Optional[pulumi.Input['ParamRefArgs']]:
|
|
1686
1685
|
"""
|
|
@@ -1692,16 +1691,16 @@ class MutatingAdmissionPolicyBindingSpecArgs:
|
|
|
1692
1691
|
def param_ref(self, value: Optional[pulumi.Input['ParamRefArgs']]):
|
|
1693
1692
|
pulumi.set(self, "param_ref", value)
|
|
1694
1693
|
|
|
1695
|
-
@property
|
|
1694
|
+
@_builtins.property
|
|
1696
1695
|
@pulumi.getter(name="policyName")
|
|
1697
|
-
def policy_name(self) -> Optional[pulumi.Input[
|
|
1696
|
+
def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1698
1697
|
"""
|
|
1699
1698
|
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.
|
|
1700
1699
|
"""
|
|
1701
1700
|
return pulumi.get(self, "policy_name")
|
|
1702
1701
|
|
|
1703
1702
|
@policy_name.setter
|
|
1704
|
-
def policy_name(self, value: Optional[pulumi.Input[
|
|
1703
|
+
def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1705
1704
|
pulumi.set(self, "policy_name", value)
|
|
1706
1705
|
|
|
1707
1706
|
|
|
@@ -1714,11 +1713,11 @@ if not MYPY:
|
|
|
1714
1713
|
|
|
1715
1714
|
Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
1716
1715
|
"""
|
|
1717
|
-
api_version: NotRequired[pulumi.Input[
|
|
1716
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1718
1717
|
"""
|
|
1719
1718
|
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
|
|
1720
1719
|
"""
|
|
1721
|
-
kind: NotRequired[pulumi.Input[
|
|
1720
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1722
1721
|
"""
|
|
1723
1722
|
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
|
|
1724
1723
|
"""
|
|
@@ -1736,8 +1735,8 @@ elif False:
|
|
|
1736
1735
|
@pulumi.input_type
|
|
1737
1736
|
class MutatingAdmissionPolicyBindingArgs:
|
|
1738
1737
|
def __init__(__self__, *,
|
|
1739
|
-
api_version: Optional[pulumi.Input[
|
|
1740
|
-
kind: Optional[pulumi.Input[
|
|
1738
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1739
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1741
1740
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1742
1741
|
spec: Optional[pulumi.Input['MutatingAdmissionPolicyBindingSpecArgs']] = None):
|
|
1743
1742
|
"""
|
|
@@ -1746,8 +1745,8 @@ class MutatingAdmissionPolicyBindingArgs:
|
|
|
1746
1745
|
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).
|
|
1747
1746
|
|
|
1748
1747
|
Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
1749
|
-
:param pulumi.Input[
|
|
1750
|
-
:param pulumi.Input[
|
|
1748
|
+
: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
|
|
1749
|
+
: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
|
|
1751
1750
|
: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.
|
|
1752
1751
|
:param pulumi.Input['MutatingAdmissionPolicyBindingSpecArgs'] spec: Specification of the desired behavior of the MutatingAdmissionPolicyBinding.
|
|
1753
1752
|
"""
|
|
@@ -1760,31 +1759,31 @@ class MutatingAdmissionPolicyBindingArgs:
|
|
|
1760
1759
|
if spec is not None:
|
|
1761
1760
|
pulumi.set(__self__, "spec", spec)
|
|
1762
1761
|
|
|
1763
|
-
@property
|
|
1762
|
+
@_builtins.property
|
|
1764
1763
|
@pulumi.getter(name="apiVersion")
|
|
1765
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
1764
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1766
1765
|
"""
|
|
1767
1766
|
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
|
|
1768
1767
|
"""
|
|
1769
1768
|
return pulumi.get(self, "api_version")
|
|
1770
1769
|
|
|
1771
1770
|
@api_version.setter
|
|
1772
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
1771
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1773
1772
|
pulumi.set(self, "api_version", value)
|
|
1774
1773
|
|
|
1775
|
-
@property
|
|
1774
|
+
@_builtins.property
|
|
1776
1775
|
@pulumi.getter
|
|
1777
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
1776
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1778
1777
|
"""
|
|
1779
1778
|
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
|
|
1780
1779
|
"""
|
|
1781
1780
|
return pulumi.get(self, "kind")
|
|
1782
1781
|
|
|
1783
1782
|
@kind.setter
|
|
1784
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
1783
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1785
1784
|
pulumi.set(self, "kind", value)
|
|
1786
1785
|
|
|
1787
|
-
@property
|
|
1786
|
+
@_builtins.property
|
|
1788
1787
|
@pulumi.getter
|
|
1789
1788
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1790
1789
|
"""
|
|
@@ -1796,7 +1795,7 @@ class MutatingAdmissionPolicyBindingArgs:
|
|
|
1796
1795
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1797
1796
|
pulumi.set(self, "metadata", value)
|
|
1798
1797
|
|
|
1799
|
-
@property
|
|
1798
|
+
@_builtins.property
|
|
1800
1799
|
@pulumi.getter
|
|
1801
1800
|
def spec(self) -> Optional[pulumi.Input['MutatingAdmissionPolicyBindingSpecArgs']]:
|
|
1802
1801
|
"""
|
|
@@ -1814,7 +1813,7 @@ if not MYPY:
|
|
|
1814
1813
|
"""
|
|
1815
1814
|
MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.
|
|
1816
1815
|
"""
|
|
1817
|
-
failure_policy: NotRequired[pulumi.Input[
|
|
1816
|
+
failure_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1818
1817
|
"""
|
|
1819
1818
|
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.
|
|
1820
1819
|
|
|
@@ -1849,7 +1848,7 @@ if not MYPY:
|
|
|
1849
1848
|
"""
|
|
1850
1849
|
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.
|
|
1851
1850
|
"""
|
|
1852
|
-
reinvocation_policy: NotRequired[pulumi.Input[
|
|
1851
|
+
reinvocation_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1853
1852
|
"""
|
|
1854
1853
|
reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1855
1854
|
|
|
@@ -1869,16 +1868,16 @@ elif False:
|
|
|
1869
1868
|
@pulumi.input_type
|
|
1870
1869
|
class MutatingAdmissionPolicySpecPatchArgs:
|
|
1871
1870
|
def __init__(__self__, *,
|
|
1872
|
-
failure_policy: Optional[pulumi.Input[
|
|
1871
|
+
failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1873
1872
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
|
|
1874
1873
|
match_constraints: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
1875
1874
|
mutations: Optional[pulumi.Input[Sequence[pulumi.Input['MutationPatchArgs']]]] = None,
|
|
1876
1875
|
param_kind: Optional[pulumi.Input['ParamKindPatchArgs']] = None,
|
|
1877
|
-
reinvocation_policy: Optional[pulumi.Input[
|
|
1876
|
+
reinvocation_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1878
1877
|
variables: Optional[pulumi.Input[Sequence[pulumi.Input['VariablePatchArgs']]]] = None):
|
|
1879
1878
|
"""
|
|
1880
1879
|
MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.
|
|
1881
|
-
:param pulumi.Input[
|
|
1880
|
+
: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.
|
|
1882
1881
|
|
|
1883
1882
|
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.
|
|
1884
1883
|
|
|
@@ -1898,7 +1897,7 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
1898
1897
|
: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.
|
|
1899
1898
|
: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.
|
|
1900
1899
|
: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.
|
|
1901
|
-
:param pulumi.Input[
|
|
1900
|
+
: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".
|
|
1902
1901
|
|
|
1903
1902
|
Never: These mutations will not be called more than once per binding in a single admission evaluation.
|
|
1904
1903
|
|
|
@@ -1922,9 +1921,9 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
1922
1921
|
if variables is not None:
|
|
1923
1922
|
pulumi.set(__self__, "variables", variables)
|
|
1924
1923
|
|
|
1925
|
-
@property
|
|
1924
|
+
@_builtins.property
|
|
1926
1925
|
@pulumi.getter(name="failurePolicy")
|
|
1927
|
-
def failure_policy(self) -> Optional[pulumi.Input[
|
|
1926
|
+
def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1928
1927
|
"""
|
|
1929
1928
|
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.
|
|
1930
1929
|
|
|
@@ -1937,10 +1936,10 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
1937
1936
|
return pulumi.get(self, "failure_policy")
|
|
1938
1937
|
|
|
1939
1938
|
@failure_policy.setter
|
|
1940
|
-
def failure_policy(self, value: Optional[pulumi.Input[
|
|
1939
|
+
def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1941
1940
|
pulumi.set(self, "failure_policy", value)
|
|
1942
1941
|
|
|
1943
|
-
@property
|
|
1942
|
+
@_builtins.property
|
|
1944
1943
|
@pulumi.getter(name="matchConditions")
|
|
1945
1944
|
def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]:
|
|
1946
1945
|
"""
|
|
@@ -1961,7 +1960,7 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
1961
1960
|
def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]):
|
|
1962
1961
|
pulumi.set(self, "match_conditions", value)
|
|
1963
1962
|
|
|
1964
|
-
@property
|
|
1963
|
+
@_builtins.property
|
|
1965
1964
|
@pulumi.getter(name="matchConstraints")
|
|
1966
1965
|
def match_constraints(self) -> Optional[pulumi.Input['MatchResourcesPatchArgs']]:
|
|
1967
1966
|
"""
|
|
@@ -1973,7 +1972,7 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
1973
1972
|
def match_constraints(self, value: Optional[pulumi.Input['MatchResourcesPatchArgs']]):
|
|
1974
1973
|
pulumi.set(self, "match_constraints", value)
|
|
1975
1974
|
|
|
1976
|
-
@property
|
|
1975
|
+
@_builtins.property
|
|
1977
1976
|
@pulumi.getter
|
|
1978
1977
|
def mutations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MutationPatchArgs']]]]:
|
|
1979
1978
|
"""
|
|
@@ -1985,7 +1984,7 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
1985
1984
|
def mutations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MutationPatchArgs']]]]):
|
|
1986
1985
|
pulumi.set(self, "mutations", value)
|
|
1987
1986
|
|
|
1988
|
-
@property
|
|
1987
|
+
@_builtins.property
|
|
1989
1988
|
@pulumi.getter(name="paramKind")
|
|
1990
1989
|
def param_kind(self) -> Optional[pulumi.Input['ParamKindPatchArgs']]:
|
|
1991
1990
|
"""
|
|
@@ -1997,9 +1996,9 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
1997
1996
|
def param_kind(self, value: Optional[pulumi.Input['ParamKindPatchArgs']]):
|
|
1998
1997
|
pulumi.set(self, "param_kind", value)
|
|
1999
1998
|
|
|
2000
|
-
@property
|
|
1999
|
+
@_builtins.property
|
|
2001
2000
|
@pulumi.getter(name="reinvocationPolicy")
|
|
2002
|
-
def reinvocation_policy(self) -> Optional[pulumi.Input[
|
|
2001
|
+
def reinvocation_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2003
2002
|
"""
|
|
2004
2003
|
reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
2005
2004
|
|
|
@@ -2010,10 +2009,10 @@ class MutatingAdmissionPolicySpecPatchArgs:
|
|
|
2010
2009
|
return pulumi.get(self, "reinvocation_policy")
|
|
2011
2010
|
|
|
2012
2011
|
@reinvocation_policy.setter
|
|
2013
|
-
def reinvocation_policy(self, value: Optional[pulumi.Input[
|
|
2012
|
+
def reinvocation_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2014
2013
|
pulumi.set(self, "reinvocation_policy", value)
|
|
2015
2014
|
|
|
2016
|
-
@property
|
|
2015
|
+
@_builtins.property
|
|
2017
2016
|
@pulumi.getter
|
|
2018
2017
|
def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VariablePatchArgs']]]]:
|
|
2019
2018
|
"""
|
|
@@ -2033,7 +2032,7 @@ if not MYPY:
|
|
|
2033
2032
|
"""
|
|
2034
2033
|
MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.
|
|
2035
2034
|
"""
|
|
2036
|
-
failure_policy: NotRequired[pulumi.Input[
|
|
2035
|
+
failure_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
2037
2036
|
"""
|
|
2038
2037
|
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.
|
|
2039
2038
|
|
|
@@ -2068,7 +2067,7 @@ if not MYPY:
|
|
|
2068
2067
|
"""
|
|
2069
2068
|
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.
|
|
2070
2069
|
"""
|
|
2071
|
-
reinvocation_policy: NotRequired[pulumi.Input[
|
|
2070
|
+
reinvocation_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
2072
2071
|
"""
|
|
2073
2072
|
reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
2074
2073
|
|
|
@@ -2088,16 +2087,16 @@ elif False:
|
|
|
2088
2087
|
@pulumi.input_type
|
|
2089
2088
|
class MutatingAdmissionPolicySpecArgs:
|
|
2090
2089
|
def __init__(__self__, *,
|
|
2091
|
-
failure_policy: Optional[pulumi.Input[
|
|
2090
|
+
failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2092
2091
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
|
|
2093
2092
|
match_constraints: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
2094
2093
|
mutations: Optional[pulumi.Input[Sequence[pulumi.Input['MutationArgs']]]] = None,
|
|
2095
2094
|
param_kind: Optional[pulumi.Input['ParamKindArgs']] = None,
|
|
2096
|
-
reinvocation_policy: Optional[pulumi.Input[
|
|
2095
|
+
reinvocation_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2097
2096
|
variables: Optional[pulumi.Input[Sequence[pulumi.Input['VariableArgs']]]] = None):
|
|
2098
2097
|
"""
|
|
2099
2098
|
MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.
|
|
2100
|
-
:param pulumi.Input[
|
|
2099
|
+
: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.
|
|
2101
2100
|
|
|
2102
2101
|
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.
|
|
2103
2102
|
|
|
@@ -2117,7 +2116,7 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2117
2116
|
: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.
|
|
2118
2117
|
: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.
|
|
2119
2118
|
: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.
|
|
2120
|
-
:param pulumi.Input[
|
|
2119
|
+
: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".
|
|
2121
2120
|
|
|
2122
2121
|
Never: These mutations will not be called more than once per binding in a single admission evaluation.
|
|
2123
2122
|
|
|
@@ -2141,9 +2140,9 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2141
2140
|
if variables is not None:
|
|
2142
2141
|
pulumi.set(__self__, "variables", variables)
|
|
2143
2142
|
|
|
2144
|
-
@property
|
|
2143
|
+
@_builtins.property
|
|
2145
2144
|
@pulumi.getter(name="failurePolicy")
|
|
2146
|
-
def failure_policy(self) -> Optional[pulumi.Input[
|
|
2145
|
+
def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2147
2146
|
"""
|
|
2148
2147
|
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.
|
|
2149
2148
|
|
|
@@ -2156,10 +2155,10 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2156
2155
|
return pulumi.get(self, "failure_policy")
|
|
2157
2156
|
|
|
2158
2157
|
@failure_policy.setter
|
|
2159
|
-
def failure_policy(self, value: Optional[pulumi.Input[
|
|
2158
|
+
def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2160
2159
|
pulumi.set(self, "failure_policy", value)
|
|
2161
2160
|
|
|
2162
|
-
@property
|
|
2161
|
+
@_builtins.property
|
|
2163
2162
|
@pulumi.getter(name="matchConditions")
|
|
2164
2163
|
def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]:
|
|
2165
2164
|
"""
|
|
@@ -2180,7 +2179,7 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2180
2179
|
def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]):
|
|
2181
2180
|
pulumi.set(self, "match_conditions", value)
|
|
2182
2181
|
|
|
2183
|
-
@property
|
|
2182
|
+
@_builtins.property
|
|
2184
2183
|
@pulumi.getter(name="matchConstraints")
|
|
2185
2184
|
def match_constraints(self) -> Optional[pulumi.Input['MatchResourcesArgs']]:
|
|
2186
2185
|
"""
|
|
@@ -2192,7 +2191,7 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2192
2191
|
def match_constraints(self, value: Optional[pulumi.Input['MatchResourcesArgs']]):
|
|
2193
2192
|
pulumi.set(self, "match_constraints", value)
|
|
2194
2193
|
|
|
2195
|
-
@property
|
|
2194
|
+
@_builtins.property
|
|
2196
2195
|
@pulumi.getter
|
|
2197
2196
|
def mutations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MutationArgs']]]]:
|
|
2198
2197
|
"""
|
|
@@ -2204,7 +2203,7 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2204
2203
|
def mutations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MutationArgs']]]]):
|
|
2205
2204
|
pulumi.set(self, "mutations", value)
|
|
2206
2205
|
|
|
2207
|
-
@property
|
|
2206
|
+
@_builtins.property
|
|
2208
2207
|
@pulumi.getter(name="paramKind")
|
|
2209
2208
|
def param_kind(self) -> Optional[pulumi.Input['ParamKindArgs']]:
|
|
2210
2209
|
"""
|
|
@@ -2216,9 +2215,9 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2216
2215
|
def param_kind(self, value: Optional[pulumi.Input['ParamKindArgs']]):
|
|
2217
2216
|
pulumi.set(self, "param_kind", value)
|
|
2218
2217
|
|
|
2219
|
-
@property
|
|
2218
|
+
@_builtins.property
|
|
2220
2219
|
@pulumi.getter(name="reinvocationPolicy")
|
|
2221
|
-
def reinvocation_policy(self) -> Optional[pulumi.Input[
|
|
2220
|
+
def reinvocation_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2222
2221
|
"""
|
|
2223
2222
|
reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
2224
2223
|
|
|
@@ -2229,10 +2228,10 @@ class MutatingAdmissionPolicySpecArgs:
|
|
|
2229
2228
|
return pulumi.get(self, "reinvocation_policy")
|
|
2230
2229
|
|
|
2231
2230
|
@reinvocation_policy.setter
|
|
2232
|
-
def reinvocation_policy(self, value: Optional[pulumi.Input[
|
|
2231
|
+
def reinvocation_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2233
2232
|
pulumi.set(self, "reinvocation_policy", value)
|
|
2234
2233
|
|
|
2235
|
-
@property
|
|
2234
|
+
@_builtins.property
|
|
2236
2235
|
@pulumi.getter
|
|
2237
2236
|
def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VariableArgs']]]]:
|
|
2238
2237
|
"""
|
|
@@ -2252,11 +2251,11 @@ if not MYPY:
|
|
|
2252
2251
|
"""
|
|
2253
2252
|
MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.
|
|
2254
2253
|
"""
|
|
2255
|
-
api_version: NotRequired[pulumi.Input[
|
|
2254
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
2256
2255
|
"""
|
|
2257
2256
|
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
|
|
2258
2257
|
"""
|
|
2259
|
-
kind: NotRequired[pulumi.Input[
|
|
2258
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
2260
2259
|
"""
|
|
2261
2260
|
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
|
|
2262
2261
|
"""
|
|
@@ -2274,14 +2273,14 @@ elif False:
|
|
|
2274
2273
|
@pulumi.input_type
|
|
2275
2274
|
class MutatingAdmissionPolicyArgs:
|
|
2276
2275
|
def __init__(__self__, *,
|
|
2277
|
-
api_version: Optional[pulumi.Input[
|
|
2278
|
-
kind: Optional[pulumi.Input[
|
|
2276
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2277
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2279
2278
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
2280
2279
|
spec: Optional[pulumi.Input['MutatingAdmissionPolicySpecArgs']] = None):
|
|
2281
2280
|
"""
|
|
2282
2281
|
MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.
|
|
2283
|
-
:param pulumi.Input[
|
|
2284
|
-
:param pulumi.Input[
|
|
2282
|
+
: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
|
|
2283
|
+
: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
|
|
2285
2284
|
: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.
|
|
2286
2285
|
:param pulumi.Input['MutatingAdmissionPolicySpecArgs'] spec: Specification of the desired behavior of the MutatingAdmissionPolicy.
|
|
2287
2286
|
"""
|
|
@@ -2294,31 +2293,31 @@ class MutatingAdmissionPolicyArgs:
|
|
|
2294
2293
|
if spec is not None:
|
|
2295
2294
|
pulumi.set(__self__, "spec", spec)
|
|
2296
2295
|
|
|
2297
|
-
@property
|
|
2296
|
+
@_builtins.property
|
|
2298
2297
|
@pulumi.getter(name="apiVersion")
|
|
2299
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
2298
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2300
2299
|
"""
|
|
2301
2300
|
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
|
|
2302
2301
|
"""
|
|
2303
2302
|
return pulumi.get(self, "api_version")
|
|
2304
2303
|
|
|
2305
2304
|
@api_version.setter
|
|
2306
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
2305
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2307
2306
|
pulumi.set(self, "api_version", value)
|
|
2308
2307
|
|
|
2309
|
-
@property
|
|
2308
|
+
@_builtins.property
|
|
2310
2309
|
@pulumi.getter
|
|
2311
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
2310
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2312
2311
|
"""
|
|
2313
2312
|
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
|
|
2314
2313
|
"""
|
|
2315
2314
|
return pulumi.get(self, "kind")
|
|
2316
2315
|
|
|
2317
2316
|
@kind.setter
|
|
2318
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
2317
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2319
2318
|
pulumi.set(self, "kind", value)
|
|
2320
2319
|
|
|
2321
|
-
@property
|
|
2320
|
+
@_builtins.property
|
|
2322
2321
|
@pulumi.getter
|
|
2323
2322
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
2324
2323
|
"""
|
|
@@ -2330,7 +2329,7 @@ class MutatingAdmissionPolicyArgs:
|
|
|
2330
2329
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
2331
2330
|
pulumi.set(self, "metadata", value)
|
|
2332
2331
|
|
|
2333
|
-
@property
|
|
2332
|
+
@_builtins.property
|
|
2334
2333
|
@pulumi.getter
|
|
2335
2334
|
def spec(self) -> Optional[pulumi.Input['MutatingAdmissionPolicySpecArgs']]:
|
|
2336
2335
|
"""
|
|
@@ -2356,7 +2355,7 @@ if not MYPY:
|
|
|
2356
2355
|
"""
|
|
2357
2356
|
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.
|
|
2358
2357
|
"""
|
|
2359
|
-
patch_type: NotRequired[pulumi.Input[
|
|
2358
|
+
patch_type: NotRequired[pulumi.Input[_builtins.str]]
|
|
2360
2359
|
"""
|
|
2361
2360
|
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2362
2361
|
"""
|
|
@@ -2368,12 +2367,12 @@ class MutationPatchArgs:
|
|
|
2368
2367
|
def __init__(__self__, *,
|
|
2369
2368
|
apply_configuration: Optional[pulumi.Input['ApplyConfigurationPatchArgs']] = None,
|
|
2370
2369
|
json_patch: Optional[pulumi.Input['JSONPatchPatchArgs']] = None,
|
|
2371
|
-
patch_type: Optional[pulumi.Input[
|
|
2370
|
+
patch_type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2372
2371
|
"""
|
|
2373
2372
|
Mutation specifies the CEL expression which is used to apply the Mutation.
|
|
2374
2373
|
: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.
|
|
2375
2374
|
: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.
|
|
2376
|
-
:param pulumi.Input[
|
|
2375
|
+
:param pulumi.Input[_builtins.str] patch_type: patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2377
2376
|
"""
|
|
2378
2377
|
if apply_configuration is not None:
|
|
2379
2378
|
pulumi.set(__self__, "apply_configuration", apply_configuration)
|
|
@@ -2382,7 +2381,7 @@ class MutationPatchArgs:
|
|
|
2382
2381
|
if patch_type is not None:
|
|
2383
2382
|
pulumi.set(__self__, "patch_type", patch_type)
|
|
2384
2383
|
|
|
2385
|
-
@property
|
|
2384
|
+
@_builtins.property
|
|
2386
2385
|
@pulumi.getter(name="applyConfiguration")
|
|
2387
2386
|
def apply_configuration(self) -> Optional[pulumi.Input['ApplyConfigurationPatchArgs']]:
|
|
2388
2387
|
"""
|
|
@@ -2394,7 +2393,7 @@ class MutationPatchArgs:
|
|
|
2394
2393
|
def apply_configuration(self, value: Optional[pulumi.Input['ApplyConfigurationPatchArgs']]):
|
|
2395
2394
|
pulumi.set(self, "apply_configuration", value)
|
|
2396
2395
|
|
|
2397
|
-
@property
|
|
2396
|
+
@_builtins.property
|
|
2398
2397
|
@pulumi.getter(name="jsonPatch")
|
|
2399
2398
|
def json_patch(self) -> Optional[pulumi.Input['JSONPatchPatchArgs']]:
|
|
2400
2399
|
"""
|
|
@@ -2406,16 +2405,16 @@ class MutationPatchArgs:
|
|
|
2406
2405
|
def json_patch(self, value: Optional[pulumi.Input['JSONPatchPatchArgs']]):
|
|
2407
2406
|
pulumi.set(self, "json_patch", value)
|
|
2408
2407
|
|
|
2409
|
-
@property
|
|
2408
|
+
@_builtins.property
|
|
2410
2409
|
@pulumi.getter(name="patchType")
|
|
2411
|
-
def patch_type(self) -> Optional[pulumi.Input[
|
|
2410
|
+
def patch_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2412
2411
|
"""
|
|
2413
2412
|
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2414
2413
|
"""
|
|
2415
2414
|
return pulumi.get(self, "patch_type")
|
|
2416
2415
|
|
|
2417
2416
|
@patch_type.setter
|
|
2418
|
-
def patch_type(self, value: Optional[pulumi.Input[
|
|
2417
|
+
def patch_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2419
2418
|
pulumi.set(self, "patch_type", value)
|
|
2420
2419
|
|
|
2421
2420
|
|
|
@@ -2424,7 +2423,7 @@ if not MYPY:
|
|
|
2424
2423
|
"""
|
|
2425
2424
|
Mutation specifies the CEL expression which is used to apply the Mutation.
|
|
2426
2425
|
"""
|
|
2427
|
-
patch_type: pulumi.Input[
|
|
2426
|
+
patch_type: pulumi.Input[_builtins.str]
|
|
2428
2427
|
"""
|
|
2429
2428
|
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2430
2429
|
"""
|
|
@@ -2442,12 +2441,12 @@ elif False:
|
|
|
2442
2441
|
@pulumi.input_type
|
|
2443
2442
|
class MutationArgs:
|
|
2444
2443
|
def __init__(__self__, *,
|
|
2445
|
-
patch_type: pulumi.Input[
|
|
2444
|
+
patch_type: pulumi.Input[_builtins.str],
|
|
2446
2445
|
apply_configuration: Optional[pulumi.Input['ApplyConfigurationArgs']] = None,
|
|
2447
2446
|
json_patch: Optional[pulumi.Input['JSONPatchArgs']] = None):
|
|
2448
2447
|
"""
|
|
2449
2448
|
Mutation specifies the CEL expression which is used to apply the Mutation.
|
|
2450
|
-
:param pulumi.Input[
|
|
2449
|
+
:param pulumi.Input[_builtins.str] patch_type: patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2451
2450
|
: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.
|
|
2452
2451
|
: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.
|
|
2453
2452
|
"""
|
|
@@ -2457,19 +2456,19 @@ class MutationArgs:
|
|
|
2457
2456
|
if json_patch is not None:
|
|
2458
2457
|
pulumi.set(__self__, "json_patch", json_patch)
|
|
2459
2458
|
|
|
2460
|
-
@property
|
|
2459
|
+
@_builtins.property
|
|
2461
2460
|
@pulumi.getter(name="patchType")
|
|
2462
|
-
def patch_type(self) -> pulumi.Input[
|
|
2461
|
+
def patch_type(self) -> pulumi.Input[_builtins.str]:
|
|
2463
2462
|
"""
|
|
2464
2463
|
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
2465
2464
|
"""
|
|
2466
2465
|
return pulumi.get(self, "patch_type")
|
|
2467
2466
|
|
|
2468
2467
|
@patch_type.setter
|
|
2469
|
-
def patch_type(self, value: pulumi.Input[
|
|
2468
|
+
def patch_type(self, value: pulumi.Input[_builtins.str]):
|
|
2470
2469
|
pulumi.set(self, "patch_type", value)
|
|
2471
2470
|
|
|
2472
|
-
@property
|
|
2471
|
+
@_builtins.property
|
|
2473
2472
|
@pulumi.getter(name="applyConfiguration")
|
|
2474
2473
|
def apply_configuration(self) -> Optional[pulumi.Input['ApplyConfigurationArgs']]:
|
|
2475
2474
|
"""
|
|
@@ -2481,7 +2480,7 @@ class MutationArgs:
|
|
|
2481
2480
|
def apply_configuration(self, value: Optional[pulumi.Input['ApplyConfigurationArgs']]):
|
|
2482
2481
|
pulumi.set(self, "apply_configuration", value)
|
|
2483
2482
|
|
|
2484
|
-
@property
|
|
2483
|
+
@_builtins.property
|
|
2485
2484
|
@pulumi.getter(name="jsonPatch")
|
|
2486
2485
|
def json_patch(self) -> Optional[pulumi.Input['JSONPatchArgs']]:
|
|
2487
2486
|
"""
|
|
@@ -2499,23 +2498,23 @@ if not MYPY:
|
|
|
2499
2498
|
"""
|
|
2500
2499
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
2501
2500
|
"""
|
|
2502
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2501
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2503
2502
|
"""
|
|
2504
2503
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2505
2504
|
"""
|
|
2506
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2505
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2507
2506
|
"""
|
|
2508
2507
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2509
2508
|
"""
|
|
2510
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2509
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2511
2510
|
"""
|
|
2512
2511
|
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.
|
|
2513
2512
|
"""
|
|
2514
|
-
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2513
|
+
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2515
2514
|
"""
|
|
2516
2515
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2517
2516
|
"""
|
|
2518
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2517
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2519
2518
|
"""
|
|
2520
2519
|
Resources is a list of resources this rule applies to.
|
|
2521
2520
|
|
|
@@ -2525,7 +2524,7 @@ if not MYPY:
|
|
|
2525
2524
|
|
|
2526
2525
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2527
2526
|
"""
|
|
2528
|
-
scope: NotRequired[pulumi.Input[
|
|
2527
|
+
scope: NotRequired[pulumi.Input[_builtins.str]]
|
|
2529
2528
|
"""
|
|
2530
2529
|
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 "*".
|
|
2531
2530
|
"""
|
|
@@ -2535,26 +2534,26 @@ elif False:
|
|
|
2535
2534
|
@pulumi.input_type
|
|
2536
2535
|
class NamedRuleWithOperationsPatchArgs:
|
|
2537
2536
|
def __init__(__self__, *,
|
|
2538
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2539
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2540
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2541
|
-
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2542
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2543
|
-
scope: Optional[pulumi.Input[
|
|
2537
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2538
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2539
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2540
|
+
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2541
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2542
|
+
scope: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2544
2543
|
"""
|
|
2545
2544
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
2546
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2547
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2548
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2549
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2550
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2545
|
+
: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.
|
|
2546
|
+
: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.
|
|
2547
|
+
: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.
|
|
2548
|
+
: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.
|
|
2549
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2551
2550
|
|
|
2552
2551
|
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.
|
|
2553
2552
|
|
|
2554
2553
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2555
2554
|
|
|
2556
2555
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2557
|
-
:param pulumi.Input[
|
|
2556
|
+
: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 "*".
|
|
2558
2557
|
"""
|
|
2559
2558
|
if api_groups is not None:
|
|
2560
2559
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2569,57 +2568,57 @@ class NamedRuleWithOperationsPatchArgs:
|
|
|
2569
2568
|
if scope is not None:
|
|
2570
2569
|
pulumi.set(__self__, "scope", scope)
|
|
2571
2570
|
|
|
2572
|
-
@property
|
|
2571
|
+
@_builtins.property
|
|
2573
2572
|
@pulumi.getter(name="apiGroups")
|
|
2574
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2573
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2575
2574
|
"""
|
|
2576
2575
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2577
2576
|
"""
|
|
2578
2577
|
return pulumi.get(self, "api_groups")
|
|
2579
2578
|
|
|
2580
2579
|
@api_groups.setter
|
|
2581
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2580
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2582
2581
|
pulumi.set(self, "api_groups", value)
|
|
2583
2582
|
|
|
2584
|
-
@property
|
|
2583
|
+
@_builtins.property
|
|
2585
2584
|
@pulumi.getter(name="apiVersions")
|
|
2586
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2585
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2587
2586
|
"""
|
|
2588
2587
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2589
2588
|
"""
|
|
2590
2589
|
return pulumi.get(self, "api_versions")
|
|
2591
2590
|
|
|
2592
2591
|
@api_versions.setter
|
|
2593
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2592
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2594
2593
|
pulumi.set(self, "api_versions", value)
|
|
2595
2594
|
|
|
2596
|
-
@property
|
|
2595
|
+
@_builtins.property
|
|
2597
2596
|
@pulumi.getter
|
|
2598
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2597
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2599
2598
|
"""
|
|
2600
2599
|
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.
|
|
2601
2600
|
"""
|
|
2602
2601
|
return pulumi.get(self, "operations")
|
|
2603
2602
|
|
|
2604
2603
|
@operations.setter
|
|
2605
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2604
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2606
2605
|
pulumi.set(self, "operations", value)
|
|
2607
2606
|
|
|
2608
|
-
@property
|
|
2607
|
+
@_builtins.property
|
|
2609
2608
|
@pulumi.getter(name="resourceNames")
|
|
2610
|
-
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2609
|
+
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2611
2610
|
"""
|
|
2612
2611
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2613
2612
|
"""
|
|
2614
2613
|
return pulumi.get(self, "resource_names")
|
|
2615
2614
|
|
|
2616
2615
|
@resource_names.setter
|
|
2617
|
-
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2616
|
+
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2618
2617
|
pulumi.set(self, "resource_names", value)
|
|
2619
2618
|
|
|
2620
|
-
@property
|
|
2619
|
+
@_builtins.property
|
|
2621
2620
|
@pulumi.getter
|
|
2622
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2621
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2623
2622
|
"""
|
|
2624
2623
|
Resources is a list of resources this rule applies to.
|
|
2625
2624
|
|
|
@@ -2632,19 +2631,19 @@ class NamedRuleWithOperationsPatchArgs:
|
|
|
2632
2631
|
return pulumi.get(self, "resources")
|
|
2633
2632
|
|
|
2634
2633
|
@resources.setter
|
|
2635
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2634
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2636
2635
|
pulumi.set(self, "resources", value)
|
|
2637
2636
|
|
|
2638
|
-
@property
|
|
2637
|
+
@_builtins.property
|
|
2639
2638
|
@pulumi.getter
|
|
2640
|
-
def scope(self) -> Optional[pulumi.Input[
|
|
2639
|
+
def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2641
2640
|
"""
|
|
2642
2641
|
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 "*".
|
|
2643
2642
|
"""
|
|
2644
2643
|
return pulumi.get(self, "scope")
|
|
2645
2644
|
|
|
2646
2645
|
@scope.setter
|
|
2647
|
-
def scope(self, value: Optional[pulumi.Input[
|
|
2646
|
+
def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2648
2647
|
pulumi.set(self, "scope", value)
|
|
2649
2648
|
|
|
2650
2649
|
|
|
@@ -2653,23 +2652,23 @@ if not MYPY:
|
|
|
2653
2652
|
"""
|
|
2654
2653
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
2655
2654
|
"""
|
|
2656
|
-
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2655
|
+
api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2657
2656
|
"""
|
|
2658
2657
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2659
2658
|
"""
|
|
2660
|
-
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2659
|
+
api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2661
2660
|
"""
|
|
2662
2661
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2663
2662
|
"""
|
|
2664
|
-
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2663
|
+
operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2665
2664
|
"""
|
|
2666
2665
|
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.
|
|
2667
2666
|
"""
|
|
2668
|
-
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2667
|
+
resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2669
2668
|
"""
|
|
2670
2669
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2671
2670
|
"""
|
|
2672
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2671
|
+
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2673
2672
|
"""
|
|
2674
2673
|
Resources is a list of resources this rule applies to.
|
|
2675
2674
|
|
|
@@ -2679,7 +2678,7 @@ if not MYPY:
|
|
|
2679
2678
|
|
|
2680
2679
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2681
2680
|
"""
|
|
2682
|
-
scope: NotRequired[pulumi.Input[
|
|
2681
|
+
scope: NotRequired[pulumi.Input[_builtins.str]]
|
|
2683
2682
|
"""
|
|
2684
2683
|
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 "*".
|
|
2685
2684
|
"""
|
|
@@ -2689,26 +2688,26 @@ elif False:
|
|
|
2689
2688
|
@pulumi.input_type
|
|
2690
2689
|
class NamedRuleWithOperationsArgs:
|
|
2691
2690
|
def __init__(__self__, *,
|
|
2692
|
-
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2693
|
-
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2694
|
-
operations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2695
|
-
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2696
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2697
|
-
scope: Optional[pulumi.Input[
|
|
2691
|
+
api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2692
|
+
api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2693
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2694
|
+
resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2695
|
+
resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2696
|
+
scope: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2698
2697
|
"""
|
|
2699
2698
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
2700
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2701
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2702
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2703
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2704
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2699
|
+
: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.
|
|
2700
|
+
: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.
|
|
2701
|
+
: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.
|
|
2702
|
+
: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.
|
|
2703
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
|
|
2705
2704
|
|
|
2706
2705
|
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.
|
|
2707
2706
|
|
|
2708
2707
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2709
2708
|
|
|
2710
2709
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2711
|
-
:param pulumi.Input[
|
|
2710
|
+
: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 "*".
|
|
2712
2711
|
"""
|
|
2713
2712
|
if api_groups is not None:
|
|
2714
2713
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2723,57 +2722,57 @@ class NamedRuleWithOperationsArgs:
|
|
|
2723
2722
|
if scope is not None:
|
|
2724
2723
|
pulumi.set(__self__, "scope", scope)
|
|
2725
2724
|
|
|
2726
|
-
@property
|
|
2725
|
+
@_builtins.property
|
|
2727
2726
|
@pulumi.getter(name="apiGroups")
|
|
2728
|
-
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2727
|
+
def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2729
2728
|
"""
|
|
2730
2729
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2731
2730
|
"""
|
|
2732
2731
|
return pulumi.get(self, "api_groups")
|
|
2733
2732
|
|
|
2734
2733
|
@api_groups.setter
|
|
2735
|
-
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2734
|
+
def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2736
2735
|
pulumi.set(self, "api_groups", value)
|
|
2737
2736
|
|
|
2738
|
-
@property
|
|
2737
|
+
@_builtins.property
|
|
2739
2738
|
@pulumi.getter(name="apiVersions")
|
|
2740
|
-
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2739
|
+
def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2741
2740
|
"""
|
|
2742
2741
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2743
2742
|
"""
|
|
2744
2743
|
return pulumi.get(self, "api_versions")
|
|
2745
2744
|
|
|
2746
2745
|
@api_versions.setter
|
|
2747
|
-
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2746
|
+
def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2748
2747
|
pulumi.set(self, "api_versions", value)
|
|
2749
2748
|
|
|
2750
|
-
@property
|
|
2749
|
+
@_builtins.property
|
|
2751
2750
|
@pulumi.getter
|
|
2752
|
-
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2751
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2753
2752
|
"""
|
|
2754
2753
|
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.
|
|
2755
2754
|
"""
|
|
2756
2755
|
return pulumi.get(self, "operations")
|
|
2757
2756
|
|
|
2758
2757
|
@operations.setter
|
|
2759
|
-
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2758
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2760
2759
|
pulumi.set(self, "operations", value)
|
|
2761
2760
|
|
|
2762
|
-
@property
|
|
2761
|
+
@_builtins.property
|
|
2763
2762
|
@pulumi.getter(name="resourceNames")
|
|
2764
|
-
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2763
|
+
def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2765
2764
|
"""
|
|
2766
2765
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2767
2766
|
"""
|
|
2768
2767
|
return pulumi.get(self, "resource_names")
|
|
2769
2768
|
|
|
2770
2769
|
@resource_names.setter
|
|
2771
|
-
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2770
|
+
def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2772
2771
|
pulumi.set(self, "resource_names", value)
|
|
2773
2772
|
|
|
2774
|
-
@property
|
|
2773
|
+
@_builtins.property
|
|
2775
2774
|
@pulumi.getter
|
|
2776
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2775
|
+
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2777
2776
|
"""
|
|
2778
2777
|
Resources is a list of resources this rule applies to.
|
|
2779
2778
|
|
|
@@ -2786,19 +2785,19 @@ class NamedRuleWithOperationsArgs:
|
|
|
2786
2785
|
return pulumi.get(self, "resources")
|
|
2787
2786
|
|
|
2788
2787
|
@resources.setter
|
|
2789
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2788
|
+
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2790
2789
|
pulumi.set(self, "resources", value)
|
|
2791
2790
|
|
|
2792
|
-
@property
|
|
2791
|
+
@_builtins.property
|
|
2793
2792
|
@pulumi.getter
|
|
2794
|
-
def scope(self) -> Optional[pulumi.Input[
|
|
2793
|
+
def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2795
2794
|
"""
|
|
2796
2795
|
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 "*".
|
|
2797
2796
|
"""
|
|
2798
2797
|
return pulumi.get(self, "scope")
|
|
2799
2798
|
|
|
2800
2799
|
@scope.setter
|
|
2801
|
-
def scope(self, value: Optional[pulumi.Input[
|
|
2800
|
+
def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2802
2801
|
pulumi.set(self, "scope", value)
|
|
2803
2802
|
|
|
2804
2803
|
|
|
@@ -2807,11 +2806,11 @@ if not MYPY:
|
|
|
2807
2806
|
"""
|
|
2808
2807
|
ParamKind is a tuple of Group Kind and Version.
|
|
2809
2808
|
"""
|
|
2810
|
-
api_version: NotRequired[pulumi.Input[
|
|
2809
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
2811
2810
|
"""
|
|
2812
2811
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2813
2812
|
"""
|
|
2814
|
-
kind: NotRequired[pulumi.Input[
|
|
2813
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
2815
2814
|
"""
|
|
2816
2815
|
Kind is the API kind the resources belong to. Required.
|
|
2817
2816
|
"""
|
|
@@ -2821,40 +2820,40 @@ elif False:
|
|
|
2821
2820
|
@pulumi.input_type
|
|
2822
2821
|
class ParamKindPatchArgs:
|
|
2823
2822
|
def __init__(__self__, *,
|
|
2824
|
-
api_version: Optional[pulumi.Input[
|
|
2825
|
-
kind: Optional[pulumi.Input[
|
|
2823
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2824
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2826
2825
|
"""
|
|
2827
2826
|
ParamKind is a tuple of Group Kind and Version.
|
|
2828
|
-
:param pulumi.Input[
|
|
2829
|
-
:param pulumi.Input[
|
|
2827
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2828
|
+
:param pulumi.Input[_builtins.str] kind: Kind is the API kind the resources belong to. Required.
|
|
2830
2829
|
"""
|
|
2831
2830
|
if api_version is not None:
|
|
2832
2831
|
pulumi.set(__self__, "api_version", api_version)
|
|
2833
2832
|
if kind is not None:
|
|
2834
2833
|
pulumi.set(__self__, "kind", kind)
|
|
2835
2834
|
|
|
2836
|
-
@property
|
|
2835
|
+
@_builtins.property
|
|
2837
2836
|
@pulumi.getter(name="apiVersion")
|
|
2838
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
2837
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2839
2838
|
"""
|
|
2840
2839
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2841
2840
|
"""
|
|
2842
2841
|
return pulumi.get(self, "api_version")
|
|
2843
2842
|
|
|
2844
2843
|
@api_version.setter
|
|
2845
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
2844
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2846
2845
|
pulumi.set(self, "api_version", value)
|
|
2847
2846
|
|
|
2848
|
-
@property
|
|
2847
|
+
@_builtins.property
|
|
2849
2848
|
@pulumi.getter
|
|
2850
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
2849
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2851
2850
|
"""
|
|
2852
2851
|
Kind is the API kind the resources belong to. Required.
|
|
2853
2852
|
"""
|
|
2854
2853
|
return pulumi.get(self, "kind")
|
|
2855
2854
|
|
|
2856
2855
|
@kind.setter
|
|
2857
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
2856
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2858
2857
|
pulumi.set(self, "kind", value)
|
|
2859
2858
|
|
|
2860
2859
|
|
|
@@ -2863,11 +2862,11 @@ if not MYPY:
|
|
|
2863
2862
|
"""
|
|
2864
2863
|
ParamKind is a tuple of Group Kind and Version.
|
|
2865
2864
|
"""
|
|
2866
|
-
api_version: NotRequired[pulumi.Input[
|
|
2865
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
2867
2866
|
"""
|
|
2868
2867
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2869
2868
|
"""
|
|
2870
|
-
kind: NotRequired[pulumi.Input[
|
|
2869
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
2871
2870
|
"""
|
|
2872
2871
|
Kind is the API kind the resources belong to. Required.
|
|
2873
2872
|
"""
|
|
@@ -2877,40 +2876,40 @@ elif False:
|
|
|
2877
2876
|
@pulumi.input_type
|
|
2878
2877
|
class ParamKindArgs:
|
|
2879
2878
|
def __init__(__self__, *,
|
|
2880
|
-
api_version: Optional[pulumi.Input[
|
|
2881
|
-
kind: Optional[pulumi.Input[
|
|
2879
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2880
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2882
2881
|
"""
|
|
2883
2882
|
ParamKind is a tuple of Group Kind and Version.
|
|
2884
|
-
:param pulumi.Input[
|
|
2885
|
-
:param pulumi.Input[
|
|
2883
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2884
|
+
:param pulumi.Input[_builtins.str] kind: Kind is the API kind the resources belong to. Required.
|
|
2886
2885
|
"""
|
|
2887
2886
|
if api_version is not None:
|
|
2888
2887
|
pulumi.set(__self__, "api_version", api_version)
|
|
2889
2888
|
if kind is not None:
|
|
2890
2889
|
pulumi.set(__self__, "kind", kind)
|
|
2891
2890
|
|
|
2892
|
-
@property
|
|
2891
|
+
@_builtins.property
|
|
2893
2892
|
@pulumi.getter(name="apiVersion")
|
|
2894
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
2893
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2895
2894
|
"""
|
|
2896
2895
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2897
2896
|
"""
|
|
2898
2897
|
return pulumi.get(self, "api_version")
|
|
2899
2898
|
|
|
2900
2899
|
@api_version.setter
|
|
2901
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
2900
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2902
2901
|
pulumi.set(self, "api_version", value)
|
|
2903
2902
|
|
|
2904
|
-
@property
|
|
2903
|
+
@_builtins.property
|
|
2905
2904
|
@pulumi.getter
|
|
2906
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
2905
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2907
2906
|
"""
|
|
2908
2907
|
Kind is the API kind the resources belong to. Required.
|
|
2909
2908
|
"""
|
|
2910
2909
|
return pulumi.get(self, "kind")
|
|
2911
2910
|
|
|
2912
2911
|
@kind.setter
|
|
2913
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
2912
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2914
2913
|
pulumi.set(self, "kind", value)
|
|
2915
2914
|
|
|
2916
2915
|
|
|
@@ -2919,13 +2918,13 @@ if not MYPY:
|
|
|
2919
2918
|
"""
|
|
2920
2919
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2921
2920
|
"""
|
|
2922
|
-
name: NotRequired[pulumi.Input[
|
|
2921
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2923
2922
|
"""
|
|
2924
2923
|
`name` is the name of the resource being referenced.
|
|
2925
2924
|
|
|
2926
2925
|
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
2927
2926
|
"""
|
|
2928
|
-
namespace: NotRequired[pulumi.Input[
|
|
2927
|
+
namespace: NotRequired[pulumi.Input[_builtins.str]]
|
|
2929
2928
|
"""
|
|
2930
2929
|
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.
|
|
2931
2930
|
|
|
@@ -2935,7 +2934,7 @@ if not MYPY:
|
|
|
2935
2934
|
|
|
2936
2935
|
- 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.
|
|
2937
2936
|
"""
|
|
2938
|
-
parameter_not_found_action: NotRequired[pulumi.Input[
|
|
2937
|
+
parameter_not_found_action: NotRequired[pulumi.Input[_builtins.str]]
|
|
2939
2938
|
"""
|
|
2940
2939
|
`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.
|
|
2941
2940
|
|
|
@@ -2955,23 +2954,23 @@ elif False:
|
|
|
2955
2954
|
@pulumi.input_type
|
|
2956
2955
|
class ParamRefPatchArgs:
|
|
2957
2956
|
def __init__(__self__, *,
|
|
2958
|
-
name: Optional[pulumi.Input[
|
|
2959
|
-
namespace: Optional[pulumi.Input[
|
|
2960
|
-
parameter_not_found_action: Optional[pulumi.Input[
|
|
2957
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2958
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2959
|
+
parameter_not_found_action: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2961
2960
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
|
|
2962
2961
|
"""
|
|
2963
2962
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2964
|
-
:param pulumi.Input[
|
|
2963
|
+
:param pulumi.Input[_builtins.str] name: `name` is the name of the resource being referenced.
|
|
2965
2964
|
|
|
2966
2965
|
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
2967
|
-
:param pulumi.Input[
|
|
2966
|
+
: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.
|
|
2968
2967
|
|
|
2969
2968
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
2970
2969
|
|
|
2971
2970
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
2972
2971
|
|
|
2973
2972
|
- 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.
|
|
2974
|
-
:param pulumi.Input[
|
|
2973
|
+
: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.
|
|
2975
2974
|
|
|
2976
2975
|
Allowed values are `Allow` or `Deny` Default to `Deny`
|
|
2977
2976
|
: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.
|
|
@@ -2989,9 +2988,9 @@ class ParamRefPatchArgs:
|
|
|
2989
2988
|
if selector is not None:
|
|
2990
2989
|
pulumi.set(__self__, "selector", selector)
|
|
2991
2990
|
|
|
2992
|
-
@property
|
|
2991
|
+
@_builtins.property
|
|
2993
2992
|
@pulumi.getter
|
|
2994
|
-
def name(self) -> Optional[pulumi.Input[
|
|
2993
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2995
2994
|
"""
|
|
2996
2995
|
`name` is the name of the resource being referenced.
|
|
2997
2996
|
|
|
@@ -3000,12 +2999,12 @@ class ParamRefPatchArgs:
|
|
|
3000
2999
|
return pulumi.get(self, "name")
|
|
3001
3000
|
|
|
3002
3001
|
@name.setter
|
|
3003
|
-
def name(self, value: Optional[pulumi.Input[
|
|
3002
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3004
3003
|
pulumi.set(self, "name", value)
|
|
3005
3004
|
|
|
3006
|
-
@property
|
|
3005
|
+
@_builtins.property
|
|
3007
3006
|
@pulumi.getter
|
|
3008
|
-
def namespace(self) -> Optional[pulumi.Input[
|
|
3007
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3009
3008
|
"""
|
|
3010
3009
|
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.
|
|
3011
3010
|
|
|
@@ -3018,12 +3017,12 @@ class ParamRefPatchArgs:
|
|
|
3018
3017
|
return pulumi.get(self, "namespace")
|
|
3019
3018
|
|
|
3020
3019
|
@namespace.setter
|
|
3021
|
-
def namespace(self, value: Optional[pulumi.Input[
|
|
3020
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3022
3021
|
pulumi.set(self, "namespace", value)
|
|
3023
3022
|
|
|
3024
|
-
@property
|
|
3023
|
+
@_builtins.property
|
|
3025
3024
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
3026
|
-
def parameter_not_found_action(self) -> Optional[pulumi.Input[
|
|
3025
|
+
def parameter_not_found_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3027
3026
|
"""
|
|
3028
3027
|
`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.
|
|
3029
3028
|
|
|
@@ -3032,10 +3031,10 @@ class ParamRefPatchArgs:
|
|
|
3032
3031
|
return pulumi.get(self, "parameter_not_found_action")
|
|
3033
3032
|
|
|
3034
3033
|
@parameter_not_found_action.setter
|
|
3035
|
-
def parameter_not_found_action(self, value: Optional[pulumi.Input[
|
|
3034
|
+
def parameter_not_found_action(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3036
3035
|
pulumi.set(self, "parameter_not_found_action", value)
|
|
3037
3036
|
|
|
3038
|
-
@property
|
|
3037
|
+
@_builtins.property
|
|
3039
3038
|
@pulumi.getter
|
|
3040
3039
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
3041
3040
|
"""
|
|
@@ -3057,13 +3056,13 @@ if not MYPY:
|
|
|
3057
3056
|
"""
|
|
3058
3057
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
3059
3058
|
"""
|
|
3060
|
-
name: NotRequired[pulumi.Input[
|
|
3059
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
3061
3060
|
"""
|
|
3062
3061
|
`name` is the name of the resource being referenced.
|
|
3063
3062
|
|
|
3064
3063
|
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
3065
3064
|
"""
|
|
3066
|
-
namespace: NotRequired[pulumi.Input[
|
|
3065
|
+
namespace: NotRequired[pulumi.Input[_builtins.str]]
|
|
3067
3066
|
"""
|
|
3068
3067
|
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.
|
|
3069
3068
|
|
|
@@ -3073,7 +3072,7 @@ if not MYPY:
|
|
|
3073
3072
|
|
|
3074
3073
|
- 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.
|
|
3075
3074
|
"""
|
|
3076
|
-
parameter_not_found_action: NotRequired[pulumi.Input[
|
|
3075
|
+
parameter_not_found_action: NotRequired[pulumi.Input[_builtins.str]]
|
|
3077
3076
|
"""
|
|
3078
3077
|
`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.
|
|
3079
3078
|
|
|
@@ -3093,23 +3092,23 @@ elif False:
|
|
|
3093
3092
|
@pulumi.input_type
|
|
3094
3093
|
class ParamRefArgs:
|
|
3095
3094
|
def __init__(__self__, *,
|
|
3096
|
-
name: Optional[pulumi.Input[
|
|
3097
|
-
namespace: Optional[pulumi.Input[
|
|
3098
|
-
parameter_not_found_action: Optional[pulumi.Input[
|
|
3095
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3096
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3097
|
+
parameter_not_found_action: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3099
3098
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
3100
3099
|
"""
|
|
3101
3100
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
3102
|
-
:param pulumi.Input[
|
|
3101
|
+
:param pulumi.Input[_builtins.str] name: `name` is the name of the resource being referenced.
|
|
3103
3102
|
|
|
3104
3103
|
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
3105
|
-
:param pulumi.Input[
|
|
3104
|
+
: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.
|
|
3106
3105
|
|
|
3107
3106
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
3108
3107
|
|
|
3109
3108
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
3110
3109
|
|
|
3111
3110
|
- 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.
|
|
3112
|
-
:param pulumi.Input[
|
|
3111
|
+
: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.
|
|
3113
3112
|
|
|
3114
3113
|
Allowed values are `Allow` or `Deny` Default to `Deny`
|
|
3115
3114
|
: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.
|
|
@@ -3127,9 +3126,9 @@ class ParamRefArgs:
|
|
|
3127
3126
|
if selector is not None:
|
|
3128
3127
|
pulumi.set(__self__, "selector", selector)
|
|
3129
3128
|
|
|
3130
|
-
@property
|
|
3129
|
+
@_builtins.property
|
|
3131
3130
|
@pulumi.getter
|
|
3132
|
-
def name(self) -> Optional[pulumi.Input[
|
|
3131
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3133
3132
|
"""
|
|
3134
3133
|
`name` is the name of the resource being referenced.
|
|
3135
3134
|
|
|
@@ -3138,12 +3137,12 @@ class ParamRefArgs:
|
|
|
3138
3137
|
return pulumi.get(self, "name")
|
|
3139
3138
|
|
|
3140
3139
|
@name.setter
|
|
3141
|
-
def name(self, value: Optional[pulumi.Input[
|
|
3140
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3142
3141
|
pulumi.set(self, "name", value)
|
|
3143
3142
|
|
|
3144
|
-
@property
|
|
3143
|
+
@_builtins.property
|
|
3145
3144
|
@pulumi.getter
|
|
3146
|
-
def namespace(self) -> Optional[pulumi.Input[
|
|
3145
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3147
3146
|
"""
|
|
3148
3147
|
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.
|
|
3149
3148
|
|
|
@@ -3156,12 +3155,12 @@ class ParamRefArgs:
|
|
|
3156
3155
|
return pulumi.get(self, "namespace")
|
|
3157
3156
|
|
|
3158
3157
|
@namespace.setter
|
|
3159
|
-
def namespace(self, value: Optional[pulumi.Input[
|
|
3158
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3160
3159
|
pulumi.set(self, "namespace", value)
|
|
3161
3160
|
|
|
3162
|
-
@property
|
|
3161
|
+
@_builtins.property
|
|
3163
3162
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
3164
|
-
def parameter_not_found_action(self) -> Optional[pulumi.Input[
|
|
3163
|
+
def parameter_not_found_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3165
3164
|
"""
|
|
3166
3165
|
`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.
|
|
3167
3166
|
|
|
@@ -3170,10 +3169,10 @@ class ParamRefArgs:
|
|
|
3170
3169
|
return pulumi.get(self, "parameter_not_found_action")
|
|
3171
3170
|
|
|
3172
3171
|
@parameter_not_found_action.setter
|
|
3173
|
-
def parameter_not_found_action(self, value: Optional[pulumi.Input[
|
|
3172
|
+
def parameter_not_found_action(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3174
3173
|
pulumi.set(self, "parameter_not_found_action", value)
|
|
3175
3174
|
|
|
3176
|
-
@property
|
|
3175
|
+
@_builtins.property
|
|
3177
3176
|
@pulumi.getter
|
|
3178
3177
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
3179
3178
|
"""
|
|
@@ -3213,7 +3212,7 @@ class TypeCheckingArgs:
|
|
|
3213
3212
|
if expression_warnings is not None:
|
|
3214
3213
|
pulumi.set(__self__, "expression_warnings", expression_warnings)
|
|
3215
3214
|
|
|
3216
|
-
@property
|
|
3215
|
+
@_builtins.property
|
|
3217
3216
|
@pulumi.getter(name="expressionWarnings")
|
|
3218
3217
|
def expression_warnings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ExpressionWarningArgs']]]]:
|
|
3219
3218
|
"""
|
|
@@ -3239,11 +3238,11 @@ if not MYPY:
|
|
|
3239
3238
|
"""
|
|
3240
3239
|
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.
|
|
3241
3240
|
"""
|
|
3242
|
-
policy_name: NotRequired[pulumi.Input[
|
|
3241
|
+
policy_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
3243
3242
|
"""
|
|
3244
3243
|
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.
|
|
3245
3244
|
"""
|
|
3246
|
-
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
3245
|
+
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
3247
3246
|
"""
|
|
3248
3247
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3249
3248
|
|
|
@@ -3273,14 +3272,14 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3273
3272
|
def __init__(__self__, *,
|
|
3274
3273
|
match_resources: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
3275
3274
|
param_ref: Optional[pulumi.Input['ParamRefPatchArgs']] = None,
|
|
3276
|
-
policy_name: Optional[pulumi.Input[
|
|
3277
|
-
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3275
|
+
policy_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3276
|
+
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
3278
3277
|
"""
|
|
3279
3278
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
3280
3279
|
: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.
|
|
3281
3280
|
: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.
|
|
3282
|
-
:param pulumi.Input[
|
|
3283
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3281
|
+
: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.
|
|
3282
|
+
: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.
|
|
3284
3283
|
|
|
3285
3284
|
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.
|
|
3286
3285
|
|
|
@@ -3309,7 +3308,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3309
3308
|
if validation_actions is not None:
|
|
3310
3309
|
pulumi.set(__self__, "validation_actions", validation_actions)
|
|
3311
3310
|
|
|
3312
|
-
@property
|
|
3311
|
+
@_builtins.property
|
|
3313
3312
|
@pulumi.getter(name="matchResources")
|
|
3314
3313
|
def match_resources(self) -> Optional[pulumi.Input['MatchResourcesPatchArgs']]:
|
|
3315
3314
|
"""
|
|
@@ -3321,7 +3320,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3321
3320
|
def match_resources(self, value: Optional[pulumi.Input['MatchResourcesPatchArgs']]):
|
|
3322
3321
|
pulumi.set(self, "match_resources", value)
|
|
3323
3322
|
|
|
3324
|
-
@property
|
|
3323
|
+
@_builtins.property
|
|
3325
3324
|
@pulumi.getter(name="paramRef")
|
|
3326
3325
|
def param_ref(self) -> Optional[pulumi.Input['ParamRefPatchArgs']]:
|
|
3327
3326
|
"""
|
|
@@ -3333,21 +3332,21 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3333
3332
|
def param_ref(self, value: Optional[pulumi.Input['ParamRefPatchArgs']]):
|
|
3334
3333
|
pulumi.set(self, "param_ref", value)
|
|
3335
3334
|
|
|
3336
|
-
@property
|
|
3335
|
+
@_builtins.property
|
|
3337
3336
|
@pulumi.getter(name="policyName")
|
|
3338
|
-
def policy_name(self) -> Optional[pulumi.Input[
|
|
3337
|
+
def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3339
3338
|
"""
|
|
3340
3339
|
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.
|
|
3341
3340
|
"""
|
|
3342
3341
|
return pulumi.get(self, "policy_name")
|
|
3343
3342
|
|
|
3344
3343
|
@policy_name.setter
|
|
3345
|
-
def policy_name(self, value: Optional[pulumi.Input[
|
|
3344
|
+
def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3346
3345
|
pulumi.set(self, "policy_name", value)
|
|
3347
3346
|
|
|
3348
|
-
@property
|
|
3347
|
+
@_builtins.property
|
|
3349
3348
|
@pulumi.getter(name="validationActions")
|
|
3350
|
-
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3349
|
+
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
3351
3350
|
"""
|
|
3352
3351
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3353
3352
|
|
|
@@ -3372,7 +3371,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3372
3371
|
return pulumi.get(self, "validation_actions")
|
|
3373
3372
|
|
|
3374
3373
|
@validation_actions.setter
|
|
3375
|
-
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3374
|
+
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
3376
3375
|
pulumi.set(self, "validation_actions", value)
|
|
3377
3376
|
|
|
3378
3377
|
|
|
@@ -3389,11 +3388,11 @@ if not MYPY:
|
|
|
3389
3388
|
"""
|
|
3390
3389
|
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.
|
|
3391
3390
|
"""
|
|
3392
|
-
policy_name: NotRequired[pulumi.Input[
|
|
3391
|
+
policy_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
3393
3392
|
"""
|
|
3394
3393
|
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.
|
|
3395
3394
|
"""
|
|
3396
|
-
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
3395
|
+
validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
3397
3396
|
"""
|
|
3398
3397
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3399
3398
|
|
|
@@ -3423,14 +3422,14 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3423
3422
|
def __init__(__self__, *,
|
|
3424
3423
|
match_resources: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
3425
3424
|
param_ref: Optional[pulumi.Input['ParamRefArgs']] = None,
|
|
3426
|
-
policy_name: Optional[pulumi.Input[
|
|
3427
|
-
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3425
|
+
policy_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3426
|
+
validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
3428
3427
|
"""
|
|
3429
3428
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
3430
3429
|
: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.
|
|
3431
3430
|
: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.
|
|
3432
|
-
:param pulumi.Input[
|
|
3433
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3431
|
+
: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.
|
|
3432
|
+
: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.
|
|
3434
3433
|
|
|
3435
3434
|
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.
|
|
3436
3435
|
|
|
@@ -3459,7 +3458,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3459
3458
|
if validation_actions is not None:
|
|
3460
3459
|
pulumi.set(__self__, "validation_actions", validation_actions)
|
|
3461
3460
|
|
|
3462
|
-
@property
|
|
3461
|
+
@_builtins.property
|
|
3463
3462
|
@pulumi.getter(name="matchResources")
|
|
3464
3463
|
def match_resources(self) -> Optional[pulumi.Input['MatchResourcesArgs']]:
|
|
3465
3464
|
"""
|
|
@@ -3471,7 +3470,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3471
3470
|
def match_resources(self, value: Optional[pulumi.Input['MatchResourcesArgs']]):
|
|
3472
3471
|
pulumi.set(self, "match_resources", value)
|
|
3473
3472
|
|
|
3474
|
-
@property
|
|
3473
|
+
@_builtins.property
|
|
3475
3474
|
@pulumi.getter(name="paramRef")
|
|
3476
3475
|
def param_ref(self) -> Optional[pulumi.Input['ParamRefArgs']]:
|
|
3477
3476
|
"""
|
|
@@ -3483,21 +3482,21 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3483
3482
|
def param_ref(self, value: Optional[pulumi.Input['ParamRefArgs']]):
|
|
3484
3483
|
pulumi.set(self, "param_ref", value)
|
|
3485
3484
|
|
|
3486
|
-
@property
|
|
3485
|
+
@_builtins.property
|
|
3487
3486
|
@pulumi.getter(name="policyName")
|
|
3488
|
-
def policy_name(self) -> Optional[pulumi.Input[
|
|
3487
|
+
def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3489
3488
|
"""
|
|
3490
3489
|
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.
|
|
3491
3490
|
"""
|
|
3492
3491
|
return pulumi.get(self, "policy_name")
|
|
3493
3492
|
|
|
3494
3493
|
@policy_name.setter
|
|
3495
|
-
def policy_name(self, value: Optional[pulumi.Input[
|
|
3494
|
+
def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3496
3495
|
pulumi.set(self, "policy_name", value)
|
|
3497
3496
|
|
|
3498
|
-
@property
|
|
3497
|
+
@_builtins.property
|
|
3499
3498
|
@pulumi.getter(name="validationActions")
|
|
3500
|
-
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3499
|
+
def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
3501
3500
|
"""
|
|
3502
3501
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
3503
3502
|
|
|
@@ -3522,7 +3521,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3522
3521
|
return pulumi.get(self, "validation_actions")
|
|
3523
3522
|
|
|
3524
3523
|
@validation_actions.setter
|
|
3525
|
-
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3524
|
+
def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
3526
3525
|
pulumi.set(self, "validation_actions", value)
|
|
3527
3526
|
|
|
3528
3527
|
|
|
@@ -3531,11 +3530,11 @@ if not MYPY:
|
|
|
3531
3530
|
"""
|
|
3532
3531
|
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
|
|
3533
3532
|
"""
|
|
3534
|
-
api_version: NotRequired[pulumi.Input[
|
|
3533
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
3535
3534
|
"""
|
|
3536
3535
|
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
|
|
3537
3536
|
"""
|
|
3538
|
-
kind: NotRequired[pulumi.Input[
|
|
3537
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
3539
3538
|
"""
|
|
3540
3539
|
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
|
|
3541
3540
|
"""
|
|
@@ -3553,14 +3552,14 @@ elif False:
|
|
|
3553
3552
|
@pulumi.input_type
|
|
3554
3553
|
class ValidatingAdmissionPolicyBindingArgs:
|
|
3555
3554
|
def __init__(__self__, *,
|
|
3556
|
-
api_version: Optional[pulumi.Input[
|
|
3557
|
-
kind: Optional[pulumi.Input[
|
|
3555
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3556
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3558
3557
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
3559
3558
|
spec: Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']] = None):
|
|
3560
3559
|
"""
|
|
3561
3560
|
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
|
|
3562
|
-
:param pulumi.Input[
|
|
3563
|
-
:param pulumi.Input[
|
|
3561
|
+
: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
|
|
3562
|
+
: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
|
|
3564
3563
|
: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.
|
|
3565
3564
|
:param pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
3566
3565
|
"""
|
|
@@ -3573,31 +3572,31 @@ class ValidatingAdmissionPolicyBindingArgs:
|
|
|
3573
3572
|
if spec is not None:
|
|
3574
3573
|
pulumi.set(__self__, "spec", spec)
|
|
3575
3574
|
|
|
3576
|
-
@property
|
|
3575
|
+
@_builtins.property
|
|
3577
3576
|
@pulumi.getter(name="apiVersion")
|
|
3578
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
3577
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3579
3578
|
"""
|
|
3580
3579
|
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
|
|
3581
3580
|
"""
|
|
3582
3581
|
return pulumi.get(self, "api_version")
|
|
3583
3582
|
|
|
3584
3583
|
@api_version.setter
|
|
3585
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
3584
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3586
3585
|
pulumi.set(self, "api_version", value)
|
|
3587
3586
|
|
|
3588
|
-
@property
|
|
3587
|
+
@_builtins.property
|
|
3589
3588
|
@pulumi.getter
|
|
3590
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
3589
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3591
3590
|
"""
|
|
3592
3591
|
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
|
|
3593
3592
|
"""
|
|
3594
3593
|
return pulumi.get(self, "kind")
|
|
3595
3594
|
|
|
3596
3595
|
@kind.setter
|
|
3597
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
3596
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3598
3597
|
pulumi.set(self, "kind", value)
|
|
3599
3598
|
|
|
3600
|
-
@property
|
|
3599
|
+
@_builtins.property
|
|
3601
3600
|
@pulumi.getter
|
|
3602
3601
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
3603
3602
|
"""
|
|
@@ -3609,7 +3608,7 @@ class ValidatingAdmissionPolicyBindingArgs:
|
|
|
3609
3608
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
3610
3609
|
pulumi.set(self, "metadata", value)
|
|
3611
3610
|
|
|
3612
|
-
@property
|
|
3611
|
+
@_builtins.property
|
|
3613
3612
|
@pulumi.getter
|
|
3614
3613
|
def spec(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']]:
|
|
3615
3614
|
"""
|
|
@@ -3631,7 +3630,7 @@ if not MYPY:
|
|
|
3631
3630
|
"""
|
|
3632
3631
|
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.
|
|
3633
3632
|
"""
|
|
3634
|
-
failure_policy: NotRequired[pulumi.Input[
|
|
3633
|
+
failure_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
3635
3634
|
"""
|
|
3636
3635
|
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.
|
|
3637
3636
|
"""
|
|
@@ -3673,7 +3672,7 @@ elif False:
|
|
|
3673
3672
|
class ValidatingAdmissionPolicySpecPatchArgs:
|
|
3674
3673
|
def __init__(__self__, *,
|
|
3675
3674
|
audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]] = None,
|
|
3676
|
-
failure_policy: Optional[pulumi.Input[
|
|
3675
|
+
failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3677
3676
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
|
|
3678
3677
|
match_constraints: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
|
|
3679
3678
|
param_kind: Optional[pulumi.Input['ParamKindPatchArgs']] = None,
|
|
@@ -3682,7 +3681,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3682
3681
|
"""
|
|
3683
3682
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
3684
3683
|
: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.
|
|
3685
|
-
:param pulumi.Input[
|
|
3684
|
+
: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.
|
|
3686
3685
|
: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.
|
|
3687
3686
|
|
|
3688
3687
|
If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
|
|
@@ -3715,7 +3714,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3715
3714
|
if variables is not None:
|
|
3716
3715
|
pulumi.set(__self__, "variables", variables)
|
|
3717
3716
|
|
|
3718
|
-
@property
|
|
3717
|
+
@_builtins.property
|
|
3719
3718
|
@pulumi.getter(name="auditAnnotations")
|
|
3720
3719
|
def audit_annotations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]]:
|
|
3721
3720
|
"""
|
|
@@ -3727,19 +3726,19 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3727
3726
|
def audit_annotations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]]):
|
|
3728
3727
|
pulumi.set(self, "audit_annotations", value)
|
|
3729
3728
|
|
|
3730
|
-
@property
|
|
3729
|
+
@_builtins.property
|
|
3731
3730
|
@pulumi.getter(name="failurePolicy")
|
|
3732
|
-
def failure_policy(self) -> Optional[pulumi.Input[
|
|
3731
|
+
def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3733
3732
|
"""
|
|
3734
3733
|
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.
|
|
3735
3734
|
"""
|
|
3736
3735
|
return pulumi.get(self, "failure_policy")
|
|
3737
3736
|
|
|
3738
3737
|
@failure_policy.setter
|
|
3739
|
-
def failure_policy(self, value: Optional[pulumi.Input[
|
|
3738
|
+
def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3740
3739
|
pulumi.set(self, "failure_policy", value)
|
|
3741
3740
|
|
|
3742
|
-
@property
|
|
3741
|
+
@_builtins.property
|
|
3743
3742
|
@pulumi.getter(name="matchConditions")
|
|
3744
3743
|
def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]:
|
|
3745
3744
|
"""
|
|
@@ -3760,7 +3759,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3760
3759
|
def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]):
|
|
3761
3760
|
pulumi.set(self, "match_conditions", value)
|
|
3762
3761
|
|
|
3763
|
-
@property
|
|
3762
|
+
@_builtins.property
|
|
3764
3763
|
@pulumi.getter(name="matchConstraints")
|
|
3765
3764
|
def match_constraints(self) -> Optional[pulumi.Input['MatchResourcesPatchArgs']]:
|
|
3766
3765
|
"""
|
|
@@ -3772,7 +3771,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3772
3771
|
def match_constraints(self, value: Optional[pulumi.Input['MatchResourcesPatchArgs']]):
|
|
3773
3772
|
pulumi.set(self, "match_constraints", value)
|
|
3774
3773
|
|
|
3775
|
-
@property
|
|
3774
|
+
@_builtins.property
|
|
3776
3775
|
@pulumi.getter(name="paramKind")
|
|
3777
3776
|
def param_kind(self) -> Optional[pulumi.Input['ParamKindPatchArgs']]:
|
|
3778
3777
|
"""
|
|
@@ -3784,7 +3783,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3784
3783
|
def param_kind(self, value: Optional[pulumi.Input['ParamKindPatchArgs']]):
|
|
3785
3784
|
pulumi.set(self, "param_kind", value)
|
|
3786
3785
|
|
|
3787
|
-
@property
|
|
3786
|
+
@_builtins.property
|
|
3788
3787
|
@pulumi.getter
|
|
3789
3788
|
def validations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidationPatchArgs']]]]:
|
|
3790
3789
|
"""
|
|
@@ -3796,7 +3795,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
|
|
|
3796
3795
|
def validations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValidationPatchArgs']]]]):
|
|
3797
3796
|
pulumi.set(self, "validations", value)
|
|
3798
3797
|
|
|
3799
|
-
@property
|
|
3798
|
+
@_builtins.property
|
|
3800
3799
|
@pulumi.getter
|
|
3801
3800
|
def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VariablePatchArgs']]]]:
|
|
3802
3801
|
"""
|
|
@@ -3824,7 +3823,7 @@ if not MYPY:
|
|
|
3824
3823
|
"""
|
|
3825
3824
|
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.
|
|
3826
3825
|
"""
|
|
3827
|
-
failure_policy: NotRequired[pulumi.Input[
|
|
3826
|
+
failure_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
3828
3827
|
"""
|
|
3829
3828
|
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.
|
|
3830
3829
|
"""
|
|
@@ -3863,7 +3862,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3863
3862
|
def __init__(__self__, *,
|
|
3864
3863
|
validations: pulumi.Input[Sequence[pulumi.Input['ValidationArgs']]],
|
|
3865
3864
|
audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]] = None,
|
|
3866
|
-
failure_policy: Optional[pulumi.Input[
|
|
3865
|
+
failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3867
3866
|
match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
|
|
3868
3867
|
match_constraints: Optional[pulumi.Input['MatchResourcesArgs']] = None,
|
|
3869
3868
|
param_kind: Optional[pulumi.Input['ParamKindArgs']] = None,
|
|
@@ -3872,7 +3871,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3872
3871
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
3873
3872
|
: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.
|
|
3874
3873
|
: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.
|
|
3875
|
-
:param pulumi.Input[
|
|
3874
|
+
: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.
|
|
3876
3875
|
: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.
|
|
3877
3876
|
|
|
3878
3877
|
If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
|
|
@@ -3903,7 +3902,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3903
3902
|
if variables is not None:
|
|
3904
3903
|
pulumi.set(__self__, "variables", variables)
|
|
3905
3904
|
|
|
3906
|
-
@property
|
|
3905
|
+
@_builtins.property
|
|
3907
3906
|
@pulumi.getter
|
|
3908
3907
|
def validations(self) -> pulumi.Input[Sequence[pulumi.Input['ValidationArgs']]]:
|
|
3909
3908
|
"""
|
|
@@ -3915,7 +3914,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3915
3914
|
def validations(self, value: pulumi.Input[Sequence[pulumi.Input['ValidationArgs']]]):
|
|
3916
3915
|
pulumi.set(self, "validations", value)
|
|
3917
3916
|
|
|
3918
|
-
@property
|
|
3917
|
+
@_builtins.property
|
|
3919
3918
|
@pulumi.getter(name="auditAnnotations")
|
|
3920
3919
|
def audit_annotations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]]:
|
|
3921
3920
|
"""
|
|
@@ -3927,19 +3926,19 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3927
3926
|
def audit_annotations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]]):
|
|
3928
3927
|
pulumi.set(self, "audit_annotations", value)
|
|
3929
3928
|
|
|
3930
|
-
@property
|
|
3929
|
+
@_builtins.property
|
|
3931
3930
|
@pulumi.getter(name="failurePolicy")
|
|
3932
|
-
def failure_policy(self) -> Optional[pulumi.Input[
|
|
3931
|
+
def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3933
3932
|
"""
|
|
3934
3933
|
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.
|
|
3935
3934
|
"""
|
|
3936
3935
|
return pulumi.get(self, "failure_policy")
|
|
3937
3936
|
|
|
3938
3937
|
@failure_policy.setter
|
|
3939
|
-
def failure_policy(self, value: Optional[pulumi.Input[
|
|
3938
|
+
def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3940
3939
|
pulumi.set(self, "failure_policy", value)
|
|
3941
3940
|
|
|
3942
|
-
@property
|
|
3941
|
+
@_builtins.property
|
|
3943
3942
|
@pulumi.getter(name="matchConditions")
|
|
3944
3943
|
def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]:
|
|
3945
3944
|
"""
|
|
@@ -3960,7 +3959,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3960
3959
|
def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]):
|
|
3961
3960
|
pulumi.set(self, "match_conditions", value)
|
|
3962
3961
|
|
|
3963
|
-
@property
|
|
3962
|
+
@_builtins.property
|
|
3964
3963
|
@pulumi.getter(name="matchConstraints")
|
|
3965
3964
|
def match_constraints(self) -> Optional[pulumi.Input['MatchResourcesArgs']]:
|
|
3966
3965
|
"""
|
|
@@ -3972,7 +3971,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3972
3971
|
def match_constraints(self, value: Optional[pulumi.Input['MatchResourcesArgs']]):
|
|
3973
3972
|
pulumi.set(self, "match_constraints", value)
|
|
3974
3973
|
|
|
3975
|
-
@property
|
|
3974
|
+
@_builtins.property
|
|
3976
3975
|
@pulumi.getter(name="paramKind")
|
|
3977
3976
|
def param_kind(self) -> Optional[pulumi.Input['ParamKindArgs']]:
|
|
3978
3977
|
"""
|
|
@@ -3984,7 +3983,7 @@ class ValidatingAdmissionPolicySpecArgs:
|
|
|
3984
3983
|
def param_kind(self, value: Optional[pulumi.Input['ParamKindArgs']]):
|
|
3985
3984
|
pulumi.set(self, "param_kind", value)
|
|
3986
3985
|
|
|
3987
|
-
@property
|
|
3986
|
+
@_builtins.property
|
|
3988
3987
|
@pulumi.getter
|
|
3989
3988
|
def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VariableArgs']]]]:
|
|
3990
3989
|
"""
|
|
@@ -4008,7 +4007,7 @@ if not MYPY:
|
|
|
4008
4007
|
"""
|
|
4009
4008
|
The conditions represent the latest available observations of a policy's current state.
|
|
4010
4009
|
"""
|
|
4011
|
-
observed_generation: NotRequired[pulumi.Input[
|
|
4010
|
+
observed_generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
4012
4011
|
"""
|
|
4013
4012
|
The generation observed by the controller.
|
|
4014
4013
|
"""
|
|
@@ -4023,12 +4022,12 @@ elif False:
|
|
|
4023
4022
|
class ValidatingAdmissionPolicyStatusArgs:
|
|
4024
4023
|
def __init__(__self__, *,
|
|
4025
4024
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]] = None,
|
|
4026
|
-
observed_generation: Optional[pulumi.Input[
|
|
4025
|
+
observed_generation: Optional[pulumi.Input[_builtins.int]] = None,
|
|
4027
4026
|
type_checking: Optional[pulumi.Input['TypeCheckingArgs']] = None):
|
|
4028
4027
|
"""
|
|
4029
4028
|
ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.
|
|
4030
4029
|
:param pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
4031
|
-
:param pulumi.Input[
|
|
4030
|
+
:param pulumi.Input[_builtins.int] observed_generation: The generation observed by the controller.
|
|
4032
4031
|
: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.
|
|
4033
4032
|
"""
|
|
4034
4033
|
if conditions is not None:
|
|
@@ -4038,7 +4037,7 @@ class ValidatingAdmissionPolicyStatusArgs:
|
|
|
4038
4037
|
if type_checking is not None:
|
|
4039
4038
|
pulumi.set(__self__, "type_checking", type_checking)
|
|
4040
4039
|
|
|
4041
|
-
@property
|
|
4040
|
+
@_builtins.property
|
|
4042
4041
|
@pulumi.getter
|
|
4043
4042
|
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]]:
|
|
4044
4043
|
"""
|
|
@@ -4050,19 +4049,19 @@ class ValidatingAdmissionPolicyStatusArgs:
|
|
|
4050
4049
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]]):
|
|
4051
4050
|
pulumi.set(self, "conditions", value)
|
|
4052
4051
|
|
|
4053
|
-
@property
|
|
4052
|
+
@_builtins.property
|
|
4054
4053
|
@pulumi.getter(name="observedGeneration")
|
|
4055
|
-
def observed_generation(self) -> Optional[pulumi.Input[
|
|
4054
|
+
def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
4056
4055
|
"""
|
|
4057
4056
|
The generation observed by the controller.
|
|
4058
4057
|
"""
|
|
4059
4058
|
return pulumi.get(self, "observed_generation")
|
|
4060
4059
|
|
|
4061
4060
|
@observed_generation.setter
|
|
4062
|
-
def observed_generation(self, value: Optional[pulumi.Input[
|
|
4061
|
+
def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
4063
4062
|
pulumi.set(self, "observed_generation", value)
|
|
4064
4063
|
|
|
4065
|
-
@property
|
|
4064
|
+
@_builtins.property
|
|
4066
4065
|
@pulumi.getter(name="typeChecking")
|
|
4067
4066
|
def type_checking(self) -> Optional[pulumi.Input['TypeCheckingArgs']]:
|
|
4068
4067
|
"""
|
|
@@ -4080,11 +4079,11 @@ if not MYPY:
|
|
|
4080
4079
|
"""
|
|
4081
4080
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
4082
4081
|
"""
|
|
4083
|
-
api_version: NotRequired[pulumi.Input[
|
|
4082
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
4084
4083
|
"""
|
|
4085
4084
|
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
|
|
4086
4085
|
"""
|
|
4087
|
-
kind: NotRequired[pulumi.Input[
|
|
4086
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
4088
4087
|
"""
|
|
4089
4088
|
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
|
|
4090
4089
|
"""
|
|
@@ -4106,15 +4105,15 @@ elif False:
|
|
|
4106
4105
|
@pulumi.input_type
|
|
4107
4106
|
class ValidatingAdmissionPolicyArgs:
|
|
4108
4107
|
def __init__(__self__, *,
|
|
4109
|
-
api_version: Optional[pulumi.Input[
|
|
4110
|
-
kind: Optional[pulumi.Input[
|
|
4108
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4109
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4111
4110
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
4112
4111
|
spec: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']] = None,
|
|
4113
4112
|
status: Optional[pulumi.Input['ValidatingAdmissionPolicyStatusArgs']] = None):
|
|
4114
4113
|
"""
|
|
4115
4114
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
4116
|
-
:param pulumi.Input[
|
|
4117
|
-
:param pulumi.Input[
|
|
4115
|
+
: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
|
|
4116
|
+
: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
|
|
4118
4117
|
: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.
|
|
4119
4118
|
:param pulumi.Input['ValidatingAdmissionPolicySpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
4120
4119
|
: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.
|
|
@@ -4130,31 +4129,31 @@ class ValidatingAdmissionPolicyArgs:
|
|
|
4130
4129
|
if status is not None:
|
|
4131
4130
|
pulumi.set(__self__, "status", status)
|
|
4132
4131
|
|
|
4133
|
-
@property
|
|
4132
|
+
@_builtins.property
|
|
4134
4133
|
@pulumi.getter(name="apiVersion")
|
|
4135
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
4134
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4136
4135
|
"""
|
|
4137
4136
|
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
|
|
4138
4137
|
"""
|
|
4139
4138
|
return pulumi.get(self, "api_version")
|
|
4140
4139
|
|
|
4141
4140
|
@api_version.setter
|
|
4142
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
4141
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4143
4142
|
pulumi.set(self, "api_version", value)
|
|
4144
4143
|
|
|
4145
|
-
@property
|
|
4144
|
+
@_builtins.property
|
|
4146
4145
|
@pulumi.getter
|
|
4147
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
4146
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4148
4147
|
"""
|
|
4149
4148
|
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
|
|
4150
4149
|
"""
|
|
4151
4150
|
return pulumi.get(self, "kind")
|
|
4152
4151
|
|
|
4153
4152
|
@kind.setter
|
|
4154
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
4153
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4155
4154
|
pulumi.set(self, "kind", value)
|
|
4156
4155
|
|
|
4157
|
-
@property
|
|
4156
|
+
@_builtins.property
|
|
4158
4157
|
@pulumi.getter
|
|
4159
4158
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
4160
4159
|
"""
|
|
@@ -4166,7 +4165,7 @@ class ValidatingAdmissionPolicyArgs:
|
|
|
4166
4165
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
4167
4166
|
pulumi.set(self, "metadata", value)
|
|
4168
4167
|
|
|
4169
|
-
@property
|
|
4168
|
+
@_builtins.property
|
|
4170
4169
|
@pulumi.getter
|
|
4171
4170
|
def spec(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']]:
|
|
4172
4171
|
"""
|
|
@@ -4178,7 +4177,7 @@ class ValidatingAdmissionPolicyArgs:
|
|
|
4178
4177
|
def spec(self, value: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']]):
|
|
4179
4178
|
pulumi.set(self, "spec", value)
|
|
4180
4179
|
|
|
4181
|
-
@property
|
|
4180
|
+
@_builtins.property
|
|
4182
4181
|
@pulumi.getter
|
|
4183
4182
|
def status(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicyStatusArgs']]:
|
|
4184
4183
|
"""
|
|
@@ -4196,7 +4195,7 @@ if not MYPY:
|
|
|
4196
4195
|
"""
|
|
4197
4196
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4198
4197
|
"""
|
|
4199
|
-
expression: NotRequired[pulumi.Input[
|
|
4198
|
+
expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
4200
4199
|
"""
|
|
4201
4200
|
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:
|
|
4202
4201
|
|
|
@@ -4220,15 +4219,15 @@ if not MYPY:
|
|
|
4220
4219
|
non-intersecting keys are appended, retaining their partial order.
|
|
4221
4220
|
Required.
|
|
4222
4221
|
"""
|
|
4223
|
-
message: NotRequired[pulumi.Input[
|
|
4222
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
4224
4223
|
"""
|
|
4225
4224
|
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}".
|
|
4226
4225
|
"""
|
|
4227
|
-
message_expression: NotRequired[pulumi.Input[
|
|
4226
|
+
message_expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
4228
4227
|
"""
|
|
4229
4228
|
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)+")"
|
|
4230
4229
|
"""
|
|
4231
|
-
reason: NotRequired[pulumi.Input[
|
|
4230
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
4232
4231
|
"""
|
|
4233
4232
|
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.
|
|
4234
4233
|
"""
|
|
@@ -4238,13 +4237,13 @@ elif False:
|
|
|
4238
4237
|
@pulumi.input_type
|
|
4239
4238
|
class ValidationPatchArgs:
|
|
4240
4239
|
def __init__(__self__, *,
|
|
4241
|
-
expression: Optional[pulumi.Input[
|
|
4242
|
-
message: Optional[pulumi.Input[
|
|
4243
|
-
message_expression: Optional[pulumi.Input[
|
|
4244
|
-
reason: Optional[pulumi.Input[
|
|
4240
|
+
expression: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4241
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4242
|
+
message_expression: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4243
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
4245
4244
|
"""
|
|
4246
4245
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4247
|
-
:param pulumi.Input[
|
|
4246
|
+
: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:
|
|
4248
4247
|
|
|
4249
4248
|
'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.
|
|
4250
4249
|
|
|
@@ -4265,9 +4264,9 @@ class ValidationPatchArgs:
|
|
|
4265
4264
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
4266
4265
|
non-intersecting keys are appended, retaining their partial order.
|
|
4267
4266
|
Required.
|
|
4268
|
-
:param pulumi.Input[
|
|
4269
|
-
:param pulumi.Input[
|
|
4270
|
-
:param pulumi.Input[
|
|
4267
|
+
: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}".
|
|
4268
|
+
: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)+")"
|
|
4269
|
+
: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.
|
|
4271
4270
|
"""
|
|
4272
4271
|
if expression is not None:
|
|
4273
4272
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -4278,9 +4277,9 @@ class ValidationPatchArgs:
|
|
|
4278
4277
|
if reason is not None:
|
|
4279
4278
|
pulumi.set(__self__, "reason", reason)
|
|
4280
4279
|
|
|
4281
|
-
@property
|
|
4280
|
+
@_builtins.property
|
|
4282
4281
|
@pulumi.getter
|
|
4283
|
-
def expression(self) -> Optional[pulumi.Input[
|
|
4282
|
+
def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4284
4283
|
"""
|
|
4285
4284
|
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:
|
|
4286
4285
|
|
|
@@ -4307,43 +4306,43 @@ class ValidationPatchArgs:
|
|
|
4307
4306
|
return pulumi.get(self, "expression")
|
|
4308
4307
|
|
|
4309
4308
|
@expression.setter
|
|
4310
|
-
def expression(self, value: Optional[pulumi.Input[
|
|
4309
|
+
def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4311
4310
|
pulumi.set(self, "expression", value)
|
|
4312
4311
|
|
|
4313
|
-
@property
|
|
4312
|
+
@_builtins.property
|
|
4314
4313
|
@pulumi.getter
|
|
4315
|
-
def message(self) -> Optional[pulumi.Input[
|
|
4314
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4316
4315
|
"""
|
|
4317
4316
|
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}".
|
|
4318
4317
|
"""
|
|
4319
4318
|
return pulumi.get(self, "message")
|
|
4320
4319
|
|
|
4321
4320
|
@message.setter
|
|
4322
|
-
def message(self, value: Optional[pulumi.Input[
|
|
4321
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4323
4322
|
pulumi.set(self, "message", value)
|
|
4324
4323
|
|
|
4325
|
-
@property
|
|
4324
|
+
@_builtins.property
|
|
4326
4325
|
@pulumi.getter(name="messageExpression")
|
|
4327
|
-
def message_expression(self) -> Optional[pulumi.Input[
|
|
4326
|
+
def message_expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4328
4327
|
"""
|
|
4329
4328
|
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)+")"
|
|
4330
4329
|
"""
|
|
4331
4330
|
return pulumi.get(self, "message_expression")
|
|
4332
4331
|
|
|
4333
4332
|
@message_expression.setter
|
|
4334
|
-
def message_expression(self, value: Optional[pulumi.Input[
|
|
4333
|
+
def message_expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4335
4334
|
pulumi.set(self, "message_expression", value)
|
|
4336
4335
|
|
|
4337
|
-
@property
|
|
4336
|
+
@_builtins.property
|
|
4338
4337
|
@pulumi.getter
|
|
4339
|
-
def reason(self) -> Optional[pulumi.Input[
|
|
4338
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4340
4339
|
"""
|
|
4341
4340
|
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.
|
|
4342
4341
|
"""
|
|
4343
4342
|
return pulumi.get(self, "reason")
|
|
4344
4343
|
|
|
4345
4344
|
@reason.setter
|
|
4346
|
-
def reason(self, value: Optional[pulumi.Input[
|
|
4345
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4347
4346
|
pulumi.set(self, "reason", value)
|
|
4348
4347
|
|
|
4349
4348
|
|
|
@@ -4352,7 +4351,7 @@ if not MYPY:
|
|
|
4352
4351
|
"""
|
|
4353
4352
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4354
4353
|
"""
|
|
4355
|
-
expression: pulumi.Input[
|
|
4354
|
+
expression: pulumi.Input[_builtins.str]
|
|
4356
4355
|
"""
|
|
4357
4356
|
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:
|
|
4358
4357
|
|
|
@@ -4376,15 +4375,15 @@ if not MYPY:
|
|
|
4376
4375
|
non-intersecting keys are appended, retaining their partial order.
|
|
4377
4376
|
Required.
|
|
4378
4377
|
"""
|
|
4379
|
-
message: NotRequired[pulumi.Input[
|
|
4378
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
4380
4379
|
"""
|
|
4381
4380
|
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}".
|
|
4382
4381
|
"""
|
|
4383
|
-
message_expression: NotRequired[pulumi.Input[
|
|
4382
|
+
message_expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
4384
4383
|
"""
|
|
4385
4384
|
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)+")"
|
|
4386
4385
|
"""
|
|
4387
|
-
reason: NotRequired[pulumi.Input[
|
|
4386
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
4388
4387
|
"""
|
|
4389
4388
|
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.
|
|
4390
4389
|
"""
|
|
@@ -4394,13 +4393,13 @@ elif False:
|
|
|
4394
4393
|
@pulumi.input_type
|
|
4395
4394
|
class ValidationArgs:
|
|
4396
4395
|
def __init__(__self__, *,
|
|
4397
|
-
expression: pulumi.Input[
|
|
4398
|
-
message: Optional[pulumi.Input[
|
|
4399
|
-
message_expression: Optional[pulumi.Input[
|
|
4400
|
-
reason: Optional[pulumi.Input[
|
|
4396
|
+
expression: pulumi.Input[_builtins.str],
|
|
4397
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4398
|
+
message_expression: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4399
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
4401
4400
|
"""
|
|
4402
4401
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
4403
|
-
:param pulumi.Input[
|
|
4402
|
+
: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:
|
|
4404
4403
|
|
|
4405
4404
|
'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.
|
|
4406
4405
|
|
|
@@ -4421,9 +4420,9 @@ class ValidationArgs:
|
|
|
4421
4420
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
4422
4421
|
non-intersecting keys are appended, retaining their partial order.
|
|
4423
4422
|
Required.
|
|
4424
|
-
:param pulumi.Input[
|
|
4425
|
-
:param pulumi.Input[
|
|
4426
|
-
:param pulumi.Input[
|
|
4423
|
+
: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}".
|
|
4424
|
+
: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)+")"
|
|
4425
|
+
: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.
|
|
4427
4426
|
"""
|
|
4428
4427
|
pulumi.set(__self__, "expression", expression)
|
|
4429
4428
|
if message is not None:
|
|
@@ -4433,9 +4432,9 @@ class ValidationArgs:
|
|
|
4433
4432
|
if reason is not None:
|
|
4434
4433
|
pulumi.set(__self__, "reason", reason)
|
|
4435
4434
|
|
|
4436
|
-
@property
|
|
4435
|
+
@_builtins.property
|
|
4437
4436
|
@pulumi.getter
|
|
4438
|
-
def expression(self) -> pulumi.Input[
|
|
4437
|
+
def expression(self) -> pulumi.Input[_builtins.str]:
|
|
4439
4438
|
"""
|
|
4440
4439
|
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:
|
|
4441
4440
|
|
|
@@ -4462,43 +4461,43 @@ class ValidationArgs:
|
|
|
4462
4461
|
return pulumi.get(self, "expression")
|
|
4463
4462
|
|
|
4464
4463
|
@expression.setter
|
|
4465
|
-
def expression(self, value: pulumi.Input[
|
|
4464
|
+
def expression(self, value: pulumi.Input[_builtins.str]):
|
|
4466
4465
|
pulumi.set(self, "expression", value)
|
|
4467
4466
|
|
|
4468
|
-
@property
|
|
4467
|
+
@_builtins.property
|
|
4469
4468
|
@pulumi.getter
|
|
4470
|
-
def message(self) -> Optional[pulumi.Input[
|
|
4469
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4471
4470
|
"""
|
|
4472
4471
|
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}".
|
|
4473
4472
|
"""
|
|
4474
4473
|
return pulumi.get(self, "message")
|
|
4475
4474
|
|
|
4476
4475
|
@message.setter
|
|
4477
|
-
def message(self, value: Optional[pulumi.Input[
|
|
4476
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4478
4477
|
pulumi.set(self, "message", value)
|
|
4479
4478
|
|
|
4480
|
-
@property
|
|
4479
|
+
@_builtins.property
|
|
4481
4480
|
@pulumi.getter(name="messageExpression")
|
|
4482
|
-
def message_expression(self) -> Optional[pulumi.Input[
|
|
4481
|
+
def message_expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4483
4482
|
"""
|
|
4484
4483
|
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)+")"
|
|
4485
4484
|
"""
|
|
4486
4485
|
return pulumi.get(self, "message_expression")
|
|
4487
4486
|
|
|
4488
4487
|
@message_expression.setter
|
|
4489
|
-
def message_expression(self, value: Optional[pulumi.Input[
|
|
4488
|
+
def message_expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4490
4489
|
pulumi.set(self, "message_expression", value)
|
|
4491
4490
|
|
|
4492
|
-
@property
|
|
4491
|
+
@_builtins.property
|
|
4493
4492
|
@pulumi.getter
|
|
4494
|
-
def reason(self) -> Optional[pulumi.Input[
|
|
4493
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4495
4494
|
"""
|
|
4496
4495
|
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.
|
|
4497
4496
|
"""
|
|
4498
4497
|
return pulumi.get(self, "reason")
|
|
4499
4498
|
|
|
4500
4499
|
@reason.setter
|
|
4501
|
-
def reason(self, value: Optional[pulumi.Input[
|
|
4500
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4502
4501
|
pulumi.set(self, "reason", value)
|
|
4503
4502
|
|
|
4504
4503
|
|
|
@@ -4507,11 +4506,11 @@ if not MYPY:
|
|
|
4507
4506
|
"""
|
|
4508
4507
|
Variable is the definition of a variable that is used for composition.
|
|
4509
4508
|
"""
|
|
4510
|
-
expression: NotRequired[pulumi.Input[
|
|
4509
|
+
expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
4511
4510
|
"""
|
|
4512
4511
|
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.
|
|
4513
4512
|
"""
|
|
4514
|
-
name: NotRequired[pulumi.Input[
|
|
4513
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
4515
4514
|
"""
|
|
4516
4515
|
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`
|
|
4517
4516
|
"""
|
|
@@ -4521,40 +4520,40 @@ elif False:
|
|
|
4521
4520
|
@pulumi.input_type
|
|
4522
4521
|
class VariablePatchArgs:
|
|
4523
4522
|
def __init__(__self__, *,
|
|
4524
|
-
expression: Optional[pulumi.Input[
|
|
4525
|
-
name: Optional[pulumi.Input[
|
|
4523
|
+
expression: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4524
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
4526
4525
|
"""
|
|
4527
4526
|
Variable is the definition of a variable that is used for composition.
|
|
4528
|
-
:param pulumi.Input[
|
|
4529
|
-
:param pulumi.Input[
|
|
4527
|
+
: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.
|
|
4528
|
+
: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`
|
|
4530
4529
|
"""
|
|
4531
4530
|
if expression is not None:
|
|
4532
4531
|
pulumi.set(__self__, "expression", expression)
|
|
4533
4532
|
if name is not None:
|
|
4534
4533
|
pulumi.set(__self__, "name", name)
|
|
4535
4534
|
|
|
4536
|
-
@property
|
|
4535
|
+
@_builtins.property
|
|
4537
4536
|
@pulumi.getter
|
|
4538
|
-
def expression(self) -> Optional[pulumi.Input[
|
|
4537
|
+
def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4539
4538
|
"""
|
|
4540
4539
|
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.
|
|
4541
4540
|
"""
|
|
4542
4541
|
return pulumi.get(self, "expression")
|
|
4543
4542
|
|
|
4544
4543
|
@expression.setter
|
|
4545
|
-
def expression(self, value: Optional[pulumi.Input[
|
|
4544
|
+
def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4546
4545
|
pulumi.set(self, "expression", value)
|
|
4547
4546
|
|
|
4548
|
-
@property
|
|
4547
|
+
@_builtins.property
|
|
4549
4548
|
@pulumi.getter
|
|
4550
|
-
def name(self) -> Optional[pulumi.Input[
|
|
4549
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4551
4550
|
"""
|
|
4552
4551
|
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`
|
|
4553
4552
|
"""
|
|
4554
4553
|
return pulumi.get(self, "name")
|
|
4555
4554
|
|
|
4556
4555
|
@name.setter
|
|
4557
|
-
def name(self, value: Optional[pulumi.Input[
|
|
4556
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4558
4557
|
pulumi.set(self, "name", value)
|
|
4559
4558
|
|
|
4560
4559
|
|
|
@@ -4563,11 +4562,11 @@ if not MYPY:
|
|
|
4563
4562
|
"""
|
|
4564
4563
|
Variable is the definition of a variable that is used for composition.
|
|
4565
4564
|
"""
|
|
4566
|
-
expression: pulumi.Input[
|
|
4565
|
+
expression: pulumi.Input[_builtins.str]
|
|
4567
4566
|
"""
|
|
4568
4567
|
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.
|
|
4569
4568
|
"""
|
|
4570
|
-
name: pulumi.Input[
|
|
4569
|
+
name: pulumi.Input[_builtins.str]
|
|
4571
4570
|
"""
|
|
4572
4571
|
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`
|
|
4573
4572
|
"""
|
|
@@ -4577,38 +4576,38 @@ elif False:
|
|
|
4577
4576
|
@pulumi.input_type
|
|
4578
4577
|
class VariableArgs:
|
|
4579
4578
|
def __init__(__self__, *,
|
|
4580
|
-
expression: pulumi.Input[
|
|
4581
|
-
name: pulumi.Input[
|
|
4579
|
+
expression: pulumi.Input[_builtins.str],
|
|
4580
|
+
name: pulumi.Input[_builtins.str]):
|
|
4582
4581
|
"""
|
|
4583
4582
|
Variable is the definition of a variable that is used for composition.
|
|
4584
|
-
:param pulumi.Input[
|
|
4585
|
-
:param pulumi.Input[
|
|
4583
|
+
: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.
|
|
4584
|
+
: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`
|
|
4586
4585
|
"""
|
|
4587
4586
|
pulumi.set(__self__, "expression", expression)
|
|
4588
4587
|
pulumi.set(__self__, "name", name)
|
|
4589
4588
|
|
|
4590
|
-
@property
|
|
4589
|
+
@_builtins.property
|
|
4591
4590
|
@pulumi.getter
|
|
4592
|
-
def expression(self) -> pulumi.Input[
|
|
4591
|
+
def expression(self) -> pulumi.Input[_builtins.str]:
|
|
4593
4592
|
"""
|
|
4594
4593
|
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.
|
|
4595
4594
|
"""
|
|
4596
4595
|
return pulumi.get(self, "expression")
|
|
4597
4596
|
|
|
4598
4597
|
@expression.setter
|
|
4599
|
-
def expression(self, value: pulumi.Input[
|
|
4598
|
+
def expression(self, value: pulumi.Input[_builtins.str]):
|
|
4600
4599
|
pulumi.set(self, "expression", value)
|
|
4601
4600
|
|
|
4602
|
-
@property
|
|
4601
|
+
@_builtins.property
|
|
4603
4602
|
@pulumi.getter
|
|
4604
|
-
def name(self) -> pulumi.Input[
|
|
4603
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
4605
4604
|
"""
|
|
4606
4605
|
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`
|
|
4607
4606
|
"""
|
|
4608
4607
|
return pulumi.get(self, "name")
|
|
4609
4608
|
|
|
4610
4609
|
@name.setter
|
|
4611
|
-
def name(self, value: pulumi.Input[
|
|
4610
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
4612
4611
|
pulumi.set(self, "name", value)
|
|
4613
4612
|
|
|
4614
4613
|
|