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
|
|
@@ -66,10 +65,10 @@ class ApplyConfiguration(dict):
|
|
|
66
65
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
67
66
|
"""
|
|
68
67
|
def __init__(__self__, *,
|
|
69
|
-
expression: Optional[
|
|
68
|
+
expression: Optional[_builtins.str] = None):
|
|
70
69
|
"""
|
|
71
70
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
72
|
-
:param
|
|
71
|
+
:param _builtins.str expression: expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
73
72
|
|
|
74
73
|
Apply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:
|
|
75
74
|
|
|
@@ -101,9 +100,9 @@ class ApplyConfiguration(dict):
|
|
|
101
100
|
if expression is not None:
|
|
102
101
|
pulumi.set(__self__, "expression", expression)
|
|
103
102
|
|
|
104
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
105
104
|
@pulumi.getter
|
|
106
|
-
def expression(self) -> Optional[
|
|
105
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
107
106
|
"""
|
|
108
107
|
expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
109
108
|
|
|
@@ -143,10 +142,10 @@ class ApplyConfigurationPatch(dict):
|
|
|
143
142
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
144
143
|
"""
|
|
145
144
|
def __init__(__self__, *,
|
|
146
|
-
expression: Optional[
|
|
145
|
+
expression: Optional[_builtins.str] = None):
|
|
147
146
|
"""
|
|
148
147
|
ApplyConfiguration defines the desired configuration values of an object.
|
|
149
|
-
:param
|
|
148
|
+
:param _builtins.str expression: expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
150
149
|
|
|
151
150
|
Apply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:
|
|
152
151
|
|
|
@@ -178,9 +177,9 @@ class ApplyConfigurationPatch(dict):
|
|
|
178
177
|
if expression is not None:
|
|
179
178
|
pulumi.set(__self__, "expression", expression)
|
|
180
179
|
|
|
181
|
-
@property
|
|
180
|
+
@_builtins.property
|
|
182
181
|
@pulumi.getter
|
|
183
|
-
def expression(self) -> Optional[
|
|
182
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
184
183
|
"""
|
|
185
184
|
expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
|
|
186
185
|
|
|
@@ -237,18 +236,18 @@ class AuditAnnotation(dict):
|
|
|
237
236
|
return super().get(key, default)
|
|
238
237
|
|
|
239
238
|
def __init__(__self__, *,
|
|
240
|
-
key:
|
|
241
|
-
value_expression:
|
|
239
|
+
key: _builtins.str,
|
|
240
|
+
value_expression: _builtins.str):
|
|
242
241
|
"""
|
|
243
242
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
244
|
-
:param
|
|
243
|
+
:param _builtins.str key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
245
244
|
|
|
246
245
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
247
246
|
|
|
248
247
|
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.
|
|
249
248
|
|
|
250
249
|
Required.
|
|
251
|
-
:param
|
|
250
|
+
:param _builtins.str value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
252
251
|
|
|
253
252
|
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.
|
|
254
253
|
|
|
@@ -257,9 +256,9 @@ class AuditAnnotation(dict):
|
|
|
257
256
|
pulumi.set(__self__, "key", key)
|
|
258
257
|
pulumi.set(__self__, "value_expression", value_expression)
|
|
259
258
|
|
|
260
|
-
@property
|
|
259
|
+
@_builtins.property
|
|
261
260
|
@pulumi.getter
|
|
262
|
-
def key(self) ->
|
|
261
|
+
def key(self) -> _builtins.str:
|
|
263
262
|
"""
|
|
264
263
|
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.
|
|
265
264
|
|
|
@@ -271,9 +270,9 @@ class AuditAnnotation(dict):
|
|
|
271
270
|
"""
|
|
272
271
|
return pulumi.get(self, "key")
|
|
273
272
|
|
|
274
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
275
274
|
@pulumi.getter(name="valueExpression")
|
|
276
|
-
def value_expression(self) ->
|
|
275
|
+
def value_expression(self) -> _builtins.str:
|
|
277
276
|
"""
|
|
278
277
|
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.
|
|
279
278
|
|
|
@@ -307,18 +306,18 @@ class AuditAnnotationPatch(dict):
|
|
|
307
306
|
return super().get(key, default)
|
|
308
307
|
|
|
309
308
|
def __init__(__self__, *,
|
|
310
|
-
key: Optional[
|
|
311
|
-
value_expression: Optional[
|
|
309
|
+
key: Optional[_builtins.str] = None,
|
|
310
|
+
value_expression: Optional[_builtins.str] = None):
|
|
312
311
|
"""
|
|
313
312
|
AuditAnnotation describes how to produce an audit annotation for an API request.
|
|
314
|
-
:param
|
|
313
|
+
:param _builtins.str key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
|
|
315
314
|
|
|
316
315
|
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
|
|
317
316
|
|
|
318
317
|
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.
|
|
319
318
|
|
|
320
319
|
Required.
|
|
321
|
-
:param
|
|
320
|
+
:param _builtins.str value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
322
321
|
|
|
323
322
|
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.
|
|
324
323
|
|
|
@@ -329,9 +328,9 @@ class AuditAnnotationPatch(dict):
|
|
|
329
328
|
if value_expression is not None:
|
|
330
329
|
pulumi.set(__self__, "value_expression", value_expression)
|
|
331
330
|
|
|
332
|
-
@property
|
|
331
|
+
@_builtins.property
|
|
333
332
|
@pulumi.getter
|
|
334
|
-
def key(self) -> Optional[
|
|
333
|
+
def key(self) -> Optional[_builtins.str]:
|
|
335
334
|
"""
|
|
336
335
|
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.
|
|
337
336
|
|
|
@@ -343,9 +342,9 @@ class AuditAnnotationPatch(dict):
|
|
|
343
342
|
"""
|
|
344
343
|
return pulumi.get(self, "key")
|
|
345
344
|
|
|
346
|
-
@property
|
|
345
|
+
@_builtins.property
|
|
347
346
|
@pulumi.getter(name="valueExpression")
|
|
348
|
-
def value_expression(self) -> Optional[
|
|
347
|
+
def value_expression(self) -> Optional[_builtins.str]:
|
|
349
348
|
"""
|
|
350
349
|
valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
|
|
351
350
|
|
|
@@ -379,27 +378,27 @@ class ExpressionWarning(dict):
|
|
|
379
378
|
return super().get(key, default)
|
|
380
379
|
|
|
381
380
|
def __init__(__self__, *,
|
|
382
|
-
field_ref:
|
|
383
|
-
warning:
|
|
381
|
+
field_ref: _builtins.str,
|
|
382
|
+
warning: _builtins.str):
|
|
384
383
|
"""
|
|
385
384
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
386
|
-
:param
|
|
387
|
-
:param
|
|
385
|
+
:param _builtins.str field_ref: The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
|
|
386
|
+
:param _builtins.str warning: The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
|
|
388
387
|
"""
|
|
389
388
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
390
389
|
pulumi.set(__self__, "warning", warning)
|
|
391
390
|
|
|
392
|
-
@property
|
|
391
|
+
@_builtins.property
|
|
393
392
|
@pulumi.getter(name="fieldRef")
|
|
394
|
-
def field_ref(self) ->
|
|
393
|
+
def field_ref(self) -> _builtins.str:
|
|
395
394
|
"""
|
|
396
395
|
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"
|
|
397
396
|
"""
|
|
398
397
|
return pulumi.get(self, "field_ref")
|
|
399
398
|
|
|
400
|
-
@property
|
|
399
|
+
@_builtins.property
|
|
401
400
|
@pulumi.getter
|
|
402
|
-
def warning(self) ->
|
|
401
|
+
def warning(self) -> _builtins.str:
|
|
403
402
|
"""
|
|
404
403
|
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.
|
|
405
404
|
"""
|
|
@@ -429,29 +428,29 @@ class ExpressionWarningPatch(dict):
|
|
|
429
428
|
return super().get(key, default)
|
|
430
429
|
|
|
431
430
|
def __init__(__self__, *,
|
|
432
|
-
field_ref: Optional[
|
|
433
|
-
warning: Optional[
|
|
431
|
+
field_ref: Optional[_builtins.str] = None,
|
|
432
|
+
warning: Optional[_builtins.str] = None):
|
|
434
433
|
"""
|
|
435
434
|
ExpressionWarning is a warning information that targets a specific expression.
|
|
436
|
-
:param
|
|
437
|
-
:param
|
|
435
|
+
:param _builtins.str field_ref: The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
|
|
436
|
+
:param _builtins.str warning: The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
|
|
438
437
|
"""
|
|
439
438
|
if field_ref is not None:
|
|
440
439
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
441
440
|
if warning is not None:
|
|
442
441
|
pulumi.set(__self__, "warning", warning)
|
|
443
442
|
|
|
444
|
-
@property
|
|
443
|
+
@_builtins.property
|
|
445
444
|
@pulumi.getter(name="fieldRef")
|
|
446
|
-
def field_ref(self) -> Optional[
|
|
445
|
+
def field_ref(self) -> Optional[_builtins.str]:
|
|
447
446
|
"""
|
|
448
447
|
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"
|
|
449
448
|
"""
|
|
450
449
|
return pulumi.get(self, "field_ref")
|
|
451
450
|
|
|
452
|
-
@property
|
|
451
|
+
@_builtins.property
|
|
453
452
|
@pulumi.getter
|
|
454
|
-
def warning(self) -> Optional[
|
|
453
|
+
def warning(self) -> Optional[_builtins.str]:
|
|
455
454
|
"""
|
|
456
455
|
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.
|
|
457
456
|
"""
|
|
@@ -464,10 +463,10 @@ class JSONPatch(dict):
|
|
|
464
463
|
JSONPatch defines a JSON Patch.
|
|
465
464
|
"""
|
|
466
465
|
def __init__(__self__, *,
|
|
467
|
-
expression: Optional[
|
|
466
|
+
expression: Optional[_builtins.str] = None):
|
|
468
467
|
"""
|
|
469
468
|
JSONPatch defines a JSON Patch.
|
|
470
|
-
:param
|
|
469
|
+
:param _builtins.str expression: expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
471
470
|
|
|
472
471
|
expression must return an array of JSONPatch values.
|
|
473
472
|
|
|
@@ -525,9 +524,9 @@ class JSONPatch(dict):
|
|
|
525
524
|
if expression is not None:
|
|
526
525
|
pulumi.set(__self__, "expression", expression)
|
|
527
526
|
|
|
528
|
-
@property
|
|
527
|
+
@_builtins.property
|
|
529
528
|
@pulumi.getter
|
|
530
|
-
def expression(self) -> Optional[
|
|
529
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
531
530
|
"""
|
|
532
531
|
expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
533
532
|
|
|
@@ -593,10 +592,10 @@ class JSONPatchPatch(dict):
|
|
|
593
592
|
JSONPatch defines a JSON Patch.
|
|
594
593
|
"""
|
|
595
594
|
def __init__(__self__, *,
|
|
596
|
-
expression: Optional[
|
|
595
|
+
expression: Optional[_builtins.str] = None):
|
|
597
596
|
"""
|
|
598
597
|
JSONPatch defines a JSON Patch.
|
|
599
|
-
:param
|
|
598
|
+
:param _builtins.str expression: expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
600
599
|
|
|
601
600
|
expression must return an array of JSONPatch values.
|
|
602
601
|
|
|
@@ -654,9 +653,9 @@ class JSONPatchPatch(dict):
|
|
|
654
653
|
if expression is not None:
|
|
655
654
|
pulumi.set(__self__, "expression", expression)
|
|
656
655
|
|
|
657
|
-
@property
|
|
656
|
+
@_builtins.property
|
|
658
657
|
@pulumi.getter
|
|
659
|
-
def expression(self) -> Optional[
|
|
658
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
660
659
|
"""
|
|
661
660
|
expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec
|
|
662
661
|
|
|
@@ -719,10 +718,10 @@ class JSONPatchPatch(dict):
|
|
|
719
718
|
@pulumi.output_type
|
|
720
719
|
class MatchCondition(dict):
|
|
721
720
|
def __init__(__self__, *,
|
|
722
|
-
expression:
|
|
723
|
-
name:
|
|
721
|
+
expression: _builtins.str,
|
|
722
|
+
name: _builtins.str):
|
|
724
723
|
"""
|
|
725
|
-
:param
|
|
724
|
+
:param _builtins.str expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
726
725
|
|
|
727
726
|
'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.
|
|
728
727
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -731,16 +730,16 @@ class MatchCondition(dict):
|
|
|
731
730
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
732
731
|
|
|
733
732
|
Required.
|
|
734
|
-
:param
|
|
733
|
+
:param _builtins.str name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
735
734
|
|
|
736
735
|
Required.
|
|
737
736
|
"""
|
|
738
737
|
pulumi.set(__self__, "expression", expression)
|
|
739
738
|
pulumi.set(__self__, "name", name)
|
|
740
739
|
|
|
741
|
-
@property
|
|
740
|
+
@_builtins.property
|
|
742
741
|
@pulumi.getter
|
|
743
|
-
def expression(self) ->
|
|
742
|
+
def expression(self) -> _builtins.str:
|
|
744
743
|
"""
|
|
745
744
|
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:
|
|
746
745
|
|
|
@@ -754,9 +753,9 @@ class MatchCondition(dict):
|
|
|
754
753
|
"""
|
|
755
754
|
return pulumi.get(self, "expression")
|
|
756
755
|
|
|
757
|
-
@property
|
|
756
|
+
@_builtins.property
|
|
758
757
|
@pulumi.getter
|
|
759
|
-
def name(self) ->
|
|
758
|
+
def name(self) -> _builtins.str:
|
|
760
759
|
"""
|
|
761
760
|
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')
|
|
762
761
|
|
|
@@ -768,10 +767,10 @@ class MatchCondition(dict):
|
|
|
768
767
|
@pulumi.output_type
|
|
769
768
|
class MatchConditionPatch(dict):
|
|
770
769
|
def __init__(__self__, *,
|
|
771
|
-
expression: Optional[
|
|
772
|
-
name: Optional[
|
|
770
|
+
expression: Optional[_builtins.str] = None,
|
|
771
|
+
name: Optional[_builtins.str] = None):
|
|
773
772
|
"""
|
|
774
|
-
:param
|
|
773
|
+
:param _builtins.str expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
|
|
775
774
|
|
|
776
775
|
'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.
|
|
777
776
|
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
|
|
@@ -780,7 +779,7 @@ class MatchConditionPatch(dict):
|
|
|
780
779
|
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
|
|
781
780
|
|
|
782
781
|
Required.
|
|
783
|
-
:param
|
|
782
|
+
:param _builtins.str name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
|
|
784
783
|
|
|
785
784
|
Required.
|
|
786
785
|
"""
|
|
@@ -789,9 +788,9 @@ class MatchConditionPatch(dict):
|
|
|
789
788
|
if name is not None:
|
|
790
789
|
pulumi.set(__self__, "name", name)
|
|
791
790
|
|
|
792
|
-
@property
|
|
791
|
+
@_builtins.property
|
|
793
792
|
@pulumi.getter
|
|
794
|
-
def expression(self) -> Optional[
|
|
793
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
795
794
|
"""
|
|
796
795
|
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:
|
|
797
796
|
|
|
@@ -805,9 +804,9 @@ class MatchConditionPatch(dict):
|
|
|
805
804
|
"""
|
|
806
805
|
return pulumi.get(self, "expression")
|
|
807
806
|
|
|
808
|
-
@property
|
|
807
|
+
@_builtins.property
|
|
809
808
|
@pulumi.getter
|
|
810
|
-
def name(self) -> Optional[
|
|
809
|
+
def name(self) -> Optional[_builtins.str]:
|
|
811
810
|
"""
|
|
812
811
|
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')
|
|
813
812
|
|
|
@@ -848,14 +847,14 @@ class MatchResources(dict):
|
|
|
848
847
|
|
|
849
848
|
def __init__(__self__, *,
|
|
850
849
|
exclude_resource_rules: Optional[Sequence['outputs.NamedRuleWithOperations']] = None,
|
|
851
|
-
match_policy: Optional[
|
|
850
|
+
match_policy: Optional[_builtins.str] = None,
|
|
852
851
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
853
852
|
object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
854
853
|
resource_rules: Optional[Sequence['outputs.NamedRuleWithOperations']] = None):
|
|
855
854
|
"""
|
|
856
855
|
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)
|
|
857
856
|
:param Sequence['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)
|
|
858
|
-
:param
|
|
857
|
+
:param _builtins.str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
859
858
|
|
|
860
859
|
- 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.
|
|
861
860
|
|
|
@@ -907,7 +906,7 @@ class MatchResources(dict):
|
|
|
907
906
|
if resource_rules is not None:
|
|
908
907
|
pulumi.set(__self__, "resource_rules", resource_rules)
|
|
909
908
|
|
|
910
|
-
@property
|
|
909
|
+
@_builtins.property
|
|
911
910
|
@pulumi.getter(name="excludeResourceRules")
|
|
912
911
|
def exclude_resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperations']]:
|
|
913
912
|
"""
|
|
@@ -915,9 +914,9 @@ class MatchResources(dict):
|
|
|
915
914
|
"""
|
|
916
915
|
return pulumi.get(self, "exclude_resource_rules")
|
|
917
916
|
|
|
918
|
-
@property
|
|
917
|
+
@_builtins.property
|
|
919
918
|
@pulumi.getter(name="matchPolicy")
|
|
920
|
-
def match_policy(self) -> Optional[
|
|
919
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
921
920
|
"""
|
|
922
921
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
923
922
|
|
|
@@ -929,7 +928,7 @@ class MatchResources(dict):
|
|
|
929
928
|
"""
|
|
930
929
|
return pulumi.get(self, "match_policy")
|
|
931
930
|
|
|
932
|
-
@property
|
|
931
|
+
@_builtins.property
|
|
933
932
|
@pulumi.getter(name="namespaceSelector")
|
|
934
933
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
935
934
|
"""
|
|
@@ -967,7 +966,7 @@ class MatchResources(dict):
|
|
|
967
966
|
"""
|
|
968
967
|
return pulumi.get(self, "namespace_selector")
|
|
969
968
|
|
|
970
|
-
@property
|
|
969
|
+
@_builtins.property
|
|
971
970
|
@pulumi.getter(name="objectSelector")
|
|
972
971
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
973
972
|
"""
|
|
@@ -975,7 +974,7 @@ class MatchResources(dict):
|
|
|
975
974
|
"""
|
|
976
975
|
return pulumi.get(self, "object_selector")
|
|
977
976
|
|
|
978
|
-
@property
|
|
977
|
+
@_builtins.property
|
|
979
978
|
@pulumi.getter(name="resourceRules")
|
|
980
979
|
def resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperations']]:
|
|
981
980
|
"""
|
|
@@ -1016,14 +1015,14 @@ class MatchResourcesPatch(dict):
|
|
|
1016
1015
|
|
|
1017
1016
|
def __init__(__self__, *,
|
|
1018
1017
|
exclude_resource_rules: Optional[Sequence['outputs.NamedRuleWithOperationsPatch']] = None,
|
|
1019
|
-
match_policy: Optional[
|
|
1018
|
+
match_policy: Optional[_builtins.str] = None,
|
|
1020
1019
|
namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1021
1020
|
object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1022
1021
|
resource_rules: Optional[Sequence['outputs.NamedRuleWithOperationsPatch']] = None):
|
|
1023
1022
|
"""
|
|
1024
1023
|
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)
|
|
1025
1024
|
:param Sequence['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)
|
|
1026
|
-
:param
|
|
1025
|
+
:param _builtins.str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1027
1026
|
|
|
1028
1027
|
- 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.
|
|
1029
1028
|
|
|
@@ -1075,7 +1074,7 @@ class MatchResourcesPatch(dict):
|
|
|
1075
1074
|
if resource_rules is not None:
|
|
1076
1075
|
pulumi.set(__self__, "resource_rules", resource_rules)
|
|
1077
1076
|
|
|
1078
|
-
@property
|
|
1077
|
+
@_builtins.property
|
|
1079
1078
|
@pulumi.getter(name="excludeResourceRules")
|
|
1080
1079
|
def exclude_resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperationsPatch']]:
|
|
1081
1080
|
"""
|
|
@@ -1083,9 +1082,9 @@ class MatchResourcesPatch(dict):
|
|
|
1083
1082
|
"""
|
|
1084
1083
|
return pulumi.get(self, "exclude_resource_rules")
|
|
1085
1084
|
|
|
1086
|
-
@property
|
|
1085
|
+
@_builtins.property
|
|
1087
1086
|
@pulumi.getter(name="matchPolicy")
|
|
1088
|
-
def match_policy(self) -> Optional[
|
|
1087
|
+
def match_policy(self) -> Optional[_builtins.str]:
|
|
1089
1088
|
"""
|
|
1090
1089
|
matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
|
|
1091
1090
|
|
|
@@ -1097,7 +1096,7 @@ class MatchResourcesPatch(dict):
|
|
|
1097
1096
|
"""
|
|
1098
1097
|
return pulumi.get(self, "match_policy")
|
|
1099
1098
|
|
|
1100
|
-
@property
|
|
1099
|
+
@_builtins.property
|
|
1101
1100
|
@pulumi.getter(name="namespaceSelector")
|
|
1102
1101
|
def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1103
1102
|
"""
|
|
@@ -1135,7 +1134,7 @@ class MatchResourcesPatch(dict):
|
|
|
1135
1134
|
"""
|
|
1136
1135
|
return pulumi.get(self, "namespace_selector")
|
|
1137
1136
|
|
|
1138
|
-
@property
|
|
1137
|
+
@_builtins.property
|
|
1139
1138
|
@pulumi.getter(name="objectSelector")
|
|
1140
1139
|
def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1141
1140
|
"""
|
|
@@ -1143,7 +1142,7 @@ class MatchResourcesPatch(dict):
|
|
|
1143
1142
|
"""
|
|
1144
1143
|
return pulumi.get(self, "object_selector")
|
|
1145
1144
|
|
|
1146
|
-
@property
|
|
1145
|
+
@_builtins.property
|
|
1147
1146
|
@pulumi.getter(name="resourceRules")
|
|
1148
1147
|
def resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperationsPatch']]:
|
|
1149
1148
|
"""
|
|
@@ -1175,14 +1174,14 @@ class MutatingAdmissionPolicy(dict):
|
|
|
1175
1174
|
return super().get(key, default)
|
|
1176
1175
|
|
|
1177
1176
|
def __init__(__self__, *,
|
|
1178
|
-
api_version: Optional[
|
|
1179
|
-
kind: Optional[
|
|
1177
|
+
api_version: Optional[_builtins.str] = None,
|
|
1178
|
+
kind: Optional[_builtins.str] = None,
|
|
1180
1179
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
1181
1180
|
spec: Optional['outputs.MutatingAdmissionPolicySpec'] = None):
|
|
1182
1181
|
"""
|
|
1183
1182
|
MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.
|
|
1184
|
-
:param
|
|
1185
|
-
:param
|
|
1183
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1184
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1186
1185
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
1187
1186
|
:param 'MutatingAdmissionPolicySpecArgs' spec: Specification of the desired behavior of the MutatingAdmissionPolicy.
|
|
1188
1187
|
"""
|
|
@@ -1195,23 +1194,23 @@ class MutatingAdmissionPolicy(dict):
|
|
|
1195
1194
|
if spec is not None:
|
|
1196
1195
|
pulumi.set(__self__, "spec", spec)
|
|
1197
1196
|
|
|
1198
|
-
@property
|
|
1197
|
+
@_builtins.property
|
|
1199
1198
|
@pulumi.getter(name="apiVersion")
|
|
1200
|
-
def api_version(self) -> Optional[
|
|
1199
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1201
1200
|
"""
|
|
1202
1201
|
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
|
|
1203
1202
|
"""
|
|
1204
1203
|
return pulumi.get(self, "api_version")
|
|
1205
1204
|
|
|
1206
|
-
@property
|
|
1205
|
+
@_builtins.property
|
|
1207
1206
|
@pulumi.getter
|
|
1208
|
-
def kind(self) -> Optional[
|
|
1207
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1209
1208
|
"""
|
|
1210
1209
|
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
|
|
1211
1210
|
"""
|
|
1212
1211
|
return pulumi.get(self, "kind")
|
|
1213
1212
|
|
|
1214
|
-
@property
|
|
1213
|
+
@_builtins.property
|
|
1215
1214
|
@pulumi.getter
|
|
1216
1215
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
1217
1216
|
"""
|
|
@@ -1219,7 +1218,7 @@ class MutatingAdmissionPolicy(dict):
|
|
|
1219
1218
|
"""
|
|
1220
1219
|
return pulumi.get(self, "metadata")
|
|
1221
1220
|
|
|
1222
|
-
@property
|
|
1221
|
+
@_builtins.property
|
|
1223
1222
|
@pulumi.getter
|
|
1224
1223
|
def spec(self) -> Optional['outputs.MutatingAdmissionPolicySpec']:
|
|
1225
1224
|
"""
|
|
@@ -1255,8 +1254,8 @@ class MutatingAdmissionPolicyBinding(dict):
|
|
|
1255
1254
|
return super().get(key, default)
|
|
1256
1255
|
|
|
1257
1256
|
def __init__(__self__, *,
|
|
1258
|
-
api_version: Optional[
|
|
1259
|
-
kind: Optional[
|
|
1257
|
+
api_version: Optional[_builtins.str] = None,
|
|
1258
|
+
kind: Optional[_builtins.str] = None,
|
|
1260
1259
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
1261
1260
|
spec: Optional['outputs.MutatingAdmissionPolicyBindingSpec'] = None):
|
|
1262
1261
|
"""
|
|
@@ -1265,8 +1264,8 @@ class MutatingAdmissionPolicyBinding(dict):
|
|
|
1265
1264
|
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).
|
|
1266
1265
|
|
|
1267
1266
|
Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
1268
|
-
:param
|
|
1269
|
-
:param
|
|
1267
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1268
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1270
1269
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
1271
1270
|
:param 'MutatingAdmissionPolicyBindingSpecArgs' spec: Specification of the desired behavior of the MutatingAdmissionPolicyBinding.
|
|
1272
1271
|
"""
|
|
@@ -1279,23 +1278,23 @@ class MutatingAdmissionPolicyBinding(dict):
|
|
|
1279
1278
|
if spec is not None:
|
|
1280
1279
|
pulumi.set(__self__, "spec", spec)
|
|
1281
1280
|
|
|
1282
|
-
@property
|
|
1281
|
+
@_builtins.property
|
|
1283
1282
|
@pulumi.getter(name="apiVersion")
|
|
1284
|
-
def api_version(self) -> Optional[
|
|
1283
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1285
1284
|
"""
|
|
1286
1285
|
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
|
|
1287
1286
|
"""
|
|
1288
1287
|
return pulumi.get(self, "api_version")
|
|
1289
1288
|
|
|
1290
|
-
@property
|
|
1289
|
+
@_builtins.property
|
|
1291
1290
|
@pulumi.getter
|
|
1292
|
-
def kind(self) -> Optional[
|
|
1291
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1293
1292
|
"""
|
|
1294
1293
|
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
|
|
1295
1294
|
"""
|
|
1296
1295
|
return pulumi.get(self, "kind")
|
|
1297
1296
|
|
|
1298
|
-
@property
|
|
1297
|
+
@_builtins.property
|
|
1299
1298
|
@pulumi.getter
|
|
1300
1299
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
1301
1300
|
"""
|
|
@@ -1303,7 +1302,7 @@ class MutatingAdmissionPolicyBinding(dict):
|
|
|
1303
1302
|
"""
|
|
1304
1303
|
return pulumi.get(self, "metadata")
|
|
1305
1304
|
|
|
1306
|
-
@property
|
|
1305
|
+
@_builtins.property
|
|
1307
1306
|
@pulumi.getter
|
|
1308
1307
|
def spec(self) -> Optional['outputs.MutatingAdmissionPolicyBindingSpec']:
|
|
1309
1308
|
"""
|
|
@@ -1341,12 +1340,12 @@ class MutatingAdmissionPolicyBindingSpec(dict):
|
|
|
1341
1340
|
def __init__(__self__, *,
|
|
1342
1341
|
match_resources: Optional['outputs.MatchResources'] = None,
|
|
1343
1342
|
param_ref: Optional['outputs.ParamRef'] = None,
|
|
1344
|
-
policy_name: Optional[
|
|
1343
|
+
policy_name: Optional[_builtins.str] = None):
|
|
1345
1344
|
"""
|
|
1346
1345
|
MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.
|
|
1347
1346
|
:param '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.
|
|
1348
1347
|
:param 'ParamRefArgs' param_ref: paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in 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.
|
|
1349
|
-
:param
|
|
1348
|
+
:param _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.
|
|
1350
1349
|
"""
|
|
1351
1350
|
if match_resources is not None:
|
|
1352
1351
|
pulumi.set(__self__, "match_resources", match_resources)
|
|
@@ -1355,7 +1354,7 @@ class MutatingAdmissionPolicyBindingSpec(dict):
|
|
|
1355
1354
|
if policy_name is not None:
|
|
1356
1355
|
pulumi.set(__self__, "policy_name", policy_name)
|
|
1357
1356
|
|
|
1358
|
-
@property
|
|
1357
|
+
@_builtins.property
|
|
1359
1358
|
@pulumi.getter(name="matchResources")
|
|
1360
1359
|
def match_resources(self) -> Optional['outputs.MatchResources']:
|
|
1361
1360
|
"""
|
|
@@ -1363,7 +1362,7 @@ class MutatingAdmissionPolicyBindingSpec(dict):
|
|
|
1363
1362
|
"""
|
|
1364
1363
|
return pulumi.get(self, "match_resources")
|
|
1365
1364
|
|
|
1366
|
-
@property
|
|
1365
|
+
@_builtins.property
|
|
1367
1366
|
@pulumi.getter(name="paramRef")
|
|
1368
1367
|
def param_ref(self) -> Optional['outputs.ParamRef']:
|
|
1369
1368
|
"""
|
|
@@ -1371,9 +1370,9 @@ class MutatingAdmissionPolicyBindingSpec(dict):
|
|
|
1371
1370
|
"""
|
|
1372
1371
|
return pulumi.get(self, "param_ref")
|
|
1373
1372
|
|
|
1374
|
-
@property
|
|
1373
|
+
@_builtins.property
|
|
1375
1374
|
@pulumi.getter(name="policyName")
|
|
1376
|
-
def policy_name(self) -> Optional[
|
|
1375
|
+
def policy_name(self) -> Optional[_builtins.str]:
|
|
1377
1376
|
"""
|
|
1378
1377
|
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.
|
|
1379
1378
|
"""
|
|
@@ -1409,12 +1408,12 @@ class MutatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
1409
1408
|
def __init__(__self__, *,
|
|
1410
1409
|
match_resources: Optional['outputs.MatchResourcesPatch'] = None,
|
|
1411
1410
|
param_ref: Optional['outputs.ParamRefPatch'] = None,
|
|
1412
|
-
policy_name: Optional[
|
|
1411
|
+
policy_name: Optional[_builtins.str] = None):
|
|
1413
1412
|
"""
|
|
1414
1413
|
MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.
|
|
1415
1414
|
:param '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.
|
|
1416
1415
|
:param 'ParamRefPatchArgs' param_ref: paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in 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.
|
|
1417
|
-
:param
|
|
1416
|
+
:param _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.
|
|
1418
1417
|
"""
|
|
1419
1418
|
if match_resources is not None:
|
|
1420
1419
|
pulumi.set(__self__, "match_resources", match_resources)
|
|
@@ -1423,7 +1422,7 @@ class MutatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
1423
1422
|
if policy_name is not None:
|
|
1424
1423
|
pulumi.set(__self__, "policy_name", policy_name)
|
|
1425
1424
|
|
|
1426
|
-
@property
|
|
1425
|
+
@_builtins.property
|
|
1427
1426
|
@pulumi.getter(name="matchResources")
|
|
1428
1427
|
def match_resources(self) -> Optional['outputs.MatchResourcesPatch']:
|
|
1429
1428
|
"""
|
|
@@ -1431,7 +1430,7 @@ class MutatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
1431
1430
|
"""
|
|
1432
1431
|
return pulumi.get(self, "match_resources")
|
|
1433
1432
|
|
|
1434
|
-
@property
|
|
1433
|
+
@_builtins.property
|
|
1435
1434
|
@pulumi.getter(name="paramRef")
|
|
1436
1435
|
def param_ref(self) -> Optional['outputs.ParamRefPatch']:
|
|
1437
1436
|
"""
|
|
@@ -1439,9 +1438,9 @@ class MutatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
1439
1438
|
"""
|
|
1440
1439
|
return pulumi.get(self, "param_ref")
|
|
1441
1440
|
|
|
1442
|
-
@property
|
|
1441
|
+
@_builtins.property
|
|
1443
1442
|
@pulumi.getter(name="policyName")
|
|
1444
|
-
def policy_name(self) -> Optional[
|
|
1443
|
+
def policy_name(self) -> Optional[_builtins.str]:
|
|
1445
1444
|
"""
|
|
1446
1445
|
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.
|
|
1447
1446
|
"""
|
|
@@ -1479,16 +1478,16 @@ class MutatingAdmissionPolicySpec(dict):
|
|
|
1479
1478
|
return super().get(key, default)
|
|
1480
1479
|
|
|
1481
1480
|
def __init__(__self__, *,
|
|
1482
|
-
failure_policy: Optional[
|
|
1481
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
1483
1482
|
match_conditions: Optional[Sequence['outputs.MatchCondition']] = None,
|
|
1484
1483
|
match_constraints: Optional['outputs.MatchResources'] = None,
|
|
1485
1484
|
mutations: Optional[Sequence['outputs.Mutation']] = None,
|
|
1486
1485
|
param_kind: Optional['outputs.ParamKind'] = None,
|
|
1487
|
-
reinvocation_policy: Optional[
|
|
1486
|
+
reinvocation_policy: Optional[_builtins.str] = None,
|
|
1488
1487
|
variables: Optional[Sequence['outputs.Variable']] = None):
|
|
1489
1488
|
"""
|
|
1490
1489
|
MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.
|
|
1491
|
-
:param
|
|
1490
|
+
:param _builtins.str failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
1492
1491
|
|
|
1493
1492
|
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.
|
|
1494
1493
|
|
|
@@ -1508,7 +1507,7 @@ class MutatingAdmissionPolicySpec(dict):
|
|
|
1508
1507
|
:param '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.
|
|
1509
1508
|
:param Sequence['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.
|
|
1510
1509
|
:param '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.
|
|
1511
|
-
:param
|
|
1510
|
+
:param _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".
|
|
1512
1511
|
|
|
1513
1512
|
Never: These mutations will not be called more than once per binding in a single admission evaluation.
|
|
1514
1513
|
|
|
@@ -1532,9 +1531,9 @@ class MutatingAdmissionPolicySpec(dict):
|
|
|
1532
1531
|
if variables is not None:
|
|
1533
1532
|
pulumi.set(__self__, "variables", variables)
|
|
1534
1533
|
|
|
1535
|
-
@property
|
|
1534
|
+
@_builtins.property
|
|
1536
1535
|
@pulumi.getter(name="failurePolicy")
|
|
1537
|
-
def failure_policy(self) -> Optional[
|
|
1536
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
1538
1537
|
"""
|
|
1539
1538
|
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.
|
|
1540
1539
|
|
|
@@ -1546,7 +1545,7 @@ class MutatingAdmissionPolicySpec(dict):
|
|
|
1546
1545
|
"""
|
|
1547
1546
|
return pulumi.get(self, "failure_policy")
|
|
1548
1547
|
|
|
1549
|
-
@property
|
|
1548
|
+
@_builtins.property
|
|
1550
1549
|
@pulumi.getter(name="matchConditions")
|
|
1551
1550
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchCondition']]:
|
|
1552
1551
|
"""
|
|
@@ -1563,7 +1562,7 @@ class MutatingAdmissionPolicySpec(dict):
|
|
|
1563
1562
|
"""
|
|
1564
1563
|
return pulumi.get(self, "match_conditions")
|
|
1565
1564
|
|
|
1566
|
-
@property
|
|
1565
|
+
@_builtins.property
|
|
1567
1566
|
@pulumi.getter(name="matchConstraints")
|
|
1568
1567
|
def match_constraints(self) -> Optional['outputs.MatchResources']:
|
|
1569
1568
|
"""
|
|
@@ -1571,7 +1570,7 @@ class MutatingAdmissionPolicySpec(dict):
|
|
|
1571
1570
|
"""
|
|
1572
1571
|
return pulumi.get(self, "match_constraints")
|
|
1573
1572
|
|
|
1574
|
-
@property
|
|
1573
|
+
@_builtins.property
|
|
1575
1574
|
@pulumi.getter
|
|
1576
1575
|
def mutations(self) -> Optional[Sequence['outputs.Mutation']]:
|
|
1577
1576
|
"""
|
|
@@ -1579,7 +1578,7 @@ class MutatingAdmissionPolicySpec(dict):
|
|
|
1579
1578
|
"""
|
|
1580
1579
|
return pulumi.get(self, "mutations")
|
|
1581
1580
|
|
|
1582
|
-
@property
|
|
1581
|
+
@_builtins.property
|
|
1583
1582
|
@pulumi.getter(name="paramKind")
|
|
1584
1583
|
def param_kind(self) -> Optional['outputs.ParamKind']:
|
|
1585
1584
|
"""
|
|
@@ -1587,9 +1586,9 @@ class MutatingAdmissionPolicySpec(dict):
|
|
|
1587
1586
|
"""
|
|
1588
1587
|
return pulumi.get(self, "param_kind")
|
|
1589
1588
|
|
|
1590
|
-
@property
|
|
1589
|
+
@_builtins.property
|
|
1591
1590
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1592
|
-
def reinvocation_policy(self) -> Optional[
|
|
1591
|
+
def reinvocation_policy(self) -> Optional[_builtins.str]:
|
|
1593
1592
|
"""
|
|
1594
1593
|
reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1595
1594
|
|
|
@@ -1599,7 +1598,7 @@ class MutatingAdmissionPolicySpec(dict):
|
|
|
1599
1598
|
"""
|
|
1600
1599
|
return pulumi.get(self, "reinvocation_policy")
|
|
1601
1600
|
|
|
1602
|
-
@property
|
|
1601
|
+
@_builtins.property
|
|
1603
1602
|
@pulumi.getter
|
|
1604
1603
|
def variables(self) -> Optional[Sequence['outputs.Variable']]:
|
|
1605
1604
|
"""
|
|
@@ -1641,16 +1640,16 @@ class MutatingAdmissionPolicySpecPatch(dict):
|
|
|
1641
1640
|
return super().get(key, default)
|
|
1642
1641
|
|
|
1643
1642
|
def __init__(__self__, *,
|
|
1644
|
-
failure_policy: Optional[
|
|
1643
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
1645
1644
|
match_conditions: Optional[Sequence['outputs.MatchConditionPatch']] = None,
|
|
1646
1645
|
match_constraints: Optional['outputs.MatchResourcesPatch'] = None,
|
|
1647
1646
|
mutations: Optional[Sequence['outputs.MutationPatch']] = None,
|
|
1648
1647
|
param_kind: Optional['outputs.ParamKindPatch'] = None,
|
|
1649
|
-
reinvocation_policy: Optional[
|
|
1648
|
+
reinvocation_policy: Optional[_builtins.str] = None,
|
|
1650
1649
|
variables: Optional[Sequence['outputs.VariablePatch']] = None):
|
|
1651
1650
|
"""
|
|
1652
1651
|
MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.
|
|
1653
|
-
:param
|
|
1652
|
+
:param _builtins.str failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
|
|
1654
1653
|
|
|
1655
1654
|
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.
|
|
1656
1655
|
|
|
@@ -1670,7 +1669,7 @@ class MutatingAdmissionPolicySpecPatch(dict):
|
|
|
1670
1669
|
:param '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.
|
|
1671
1670
|
:param Sequence['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.
|
|
1672
1671
|
:param '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.
|
|
1673
|
-
:param
|
|
1672
|
+
:param _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".
|
|
1674
1673
|
|
|
1675
1674
|
Never: These mutations will not be called more than once per binding in a single admission evaluation.
|
|
1676
1675
|
|
|
@@ -1694,9 +1693,9 @@ class MutatingAdmissionPolicySpecPatch(dict):
|
|
|
1694
1693
|
if variables is not None:
|
|
1695
1694
|
pulumi.set(__self__, "variables", variables)
|
|
1696
1695
|
|
|
1697
|
-
@property
|
|
1696
|
+
@_builtins.property
|
|
1698
1697
|
@pulumi.getter(name="failurePolicy")
|
|
1699
|
-
def failure_policy(self) -> Optional[
|
|
1698
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
1700
1699
|
"""
|
|
1701
1700
|
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.
|
|
1702
1701
|
|
|
@@ -1708,7 +1707,7 @@ class MutatingAdmissionPolicySpecPatch(dict):
|
|
|
1708
1707
|
"""
|
|
1709
1708
|
return pulumi.get(self, "failure_policy")
|
|
1710
1709
|
|
|
1711
|
-
@property
|
|
1710
|
+
@_builtins.property
|
|
1712
1711
|
@pulumi.getter(name="matchConditions")
|
|
1713
1712
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchConditionPatch']]:
|
|
1714
1713
|
"""
|
|
@@ -1725,7 +1724,7 @@ class MutatingAdmissionPolicySpecPatch(dict):
|
|
|
1725
1724
|
"""
|
|
1726
1725
|
return pulumi.get(self, "match_conditions")
|
|
1727
1726
|
|
|
1728
|
-
@property
|
|
1727
|
+
@_builtins.property
|
|
1729
1728
|
@pulumi.getter(name="matchConstraints")
|
|
1730
1729
|
def match_constraints(self) -> Optional['outputs.MatchResourcesPatch']:
|
|
1731
1730
|
"""
|
|
@@ -1733,7 +1732,7 @@ class MutatingAdmissionPolicySpecPatch(dict):
|
|
|
1733
1732
|
"""
|
|
1734
1733
|
return pulumi.get(self, "match_constraints")
|
|
1735
1734
|
|
|
1736
|
-
@property
|
|
1735
|
+
@_builtins.property
|
|
1737
1736
|
@pulumi.getter
|
|
1738
1737
|
def mutations(self) -> Optional[Sequence['outputs.MutationPatch']]:
|
|
1739
1738
|
"""
|
|
@@ -1741,7 +1740,7 @@ class MutatingAdmissionPolicySpecPatch(dict):
|
|
|
1741
1740
|
"""
|
|
1742
1741
|
return pulumi.get(self, "mutations")
|
|
1743
1742
|
|
|
1744
|
-
@property
|
|
1743
|
+
@_builtins.property
|
|
1745
1744
|
@pulumi.getter(name="paramKind")
|
|
1746
1745
|
def param_kind(self) -> Optional['outputs.ParamKindPatch']:
|
|
1747
1746
|
"""
|
|
@@ -1749,9 +1748,9 @@ class MutatingAdmissionPolicySpecPatch(dict):
|
|
|
1749
1748
|
"""
|
|
1750
1749
|
return pulumi.get(self, "param_kind")
|
|
1751
1750
|
|
|
1752
|
-
@property
|
|
1751
|
+
@_builtins.property
|
|
1753
1752
|
@pulumi.getter(name="reinvocationPolicy")
|
|
1754
|
-
def reinvocation_policy(self) -> Optional[
|
|
1753
|
+
def reinvocation_policy(self) -> Optional[_builtins.str]:
|
|
1755
1754
|
"""
|
|
1756
1755
|
reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
|
|
1757
1756
|
|
|
@@ -1761,7 +1760,7 @@ class MutatingAdmissionPolicySpecPatch(dict):
|
|
|
1761
1760
|
"""
|
|
1762
1761
|
return pulumi.get(self, "reinvocation_policy")
|
|
1763
1762
|
|
|
1764
|
-
@property
|
|
1763
|
+
@_builtins.property
|
|
1765
1764
|
@pulumi.getter
|
|
1766
1765
|
def variables(self) -> Optional[Sequence['outputs.VariablePatch']]:
|
|
1767
1766
|
"""
|
|
@@ -1799,12 +1798,12 @@ class Mutation(dict):
|
|
|
1799
1798
|
return super().get(key, default)
|
|
1800
1799
|
|
|
1801
1800
|
def __init__(__self__, *,
|
|
1802
|
-
patch_type:
|
|
1801
|
+
patch_type: _builtins.str,
|
|
1803
1802
|
apply_configuration: Optional['outputs.ApplyConfiguration'] = None,
|
|
1804
1803
|
json_patch: Optional['outputs.JSONPatch'] = None):
|
|
1805
1804
|
"""
|
|
1806
1805
|
Mutation specifies the CEL expression which is used to apply the Mutation.
|
|
1807
|
-
:param
|
|
1806
|
+
:param _builtins.str patch_type: patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
1808
1807
|
:param '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.
|
|
1809
1808
|
:param '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.
|
|
1810
1809
|
"""
|
|
@@ -1814,15 +1813,15 @@ class Mutation(dict):
|
|
|
1814
1813
|
if json_patch is not None:
|
|
1815
1814
|
pulumi.set(__self__, "json_patch", json_patch)
|
|
1816
1815
|
|
|
1817
|
-
@property
|
|
1816
|
+
@_builtins.property
|
|
1818
1817
|
@pulumi.getter(name="patchType")
|
|
1819
|
-
def patch_type(self) ->
|
|
1818
|
+
def patch_type(self) -> _builtins.str:
|
|
1820
1819
|
"""
|
|
1821
1820
|
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
1822
1821
|
"""
|
|
1823
1822
|
return pulumi.get(self, "patch_type")
|
|
1824
1823
|
|
|
1825
|
-
@property
|
|
1824
|
+
@_builtins.property
|
|
1826
1825
|
@pulumi.getter(name="applyConfiguration")
|
|
1827
1826
|
def apply_configuration(self) -> Optional['outputs.ApplyConfiguration']:
|
|
1828
1827
|
"""
|
|
@@ -1830,7 +1829,7 @@ class Mutation(dict):
|
|
|
1830
1829
|
"""
|
|
1831
1830
|
return pulumi.get(self, "apply_configuration")
|
|
1832
1831
|
|
|
1833
|
-
@property
|
|
1832
|
+
@_builtins.property
|
|
1834
1833
|
@pulumi.getter(name="jsonPatch")
|
|
1835
1834
|
def json_patch(self) -> Optional['outputs.JSONPatch']:
|
|
1836
1835
|
"""
|
|
@@ -1868,12 +1867,12 @@ class MutationPatch(dict):
|
|
|
1868
1867
|
def __init__(__self__, *,
|
|
1869
1868
|
apply_configuration: Optional['outputs.ApplyConfigurationPatch'] = None,
|
|
1870
1869
|
json_patch: Optional['outputs.JSONPatchPatch'] = None,
|
|
1871
|
-
patch_type: Optional[
|
|
1870
|
+
patch_type: Optional[_builtins.str] = None):
|
|
1872
1871
|
"""
|
|
1873
1872
|
Mutation specifies the CEL expression which is used to apply the Mutation.
|
|
1874
1873
|
:param '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.
|
|
1875
1874
|
:param '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.
|
|
1876
|
-
:param
|
|
1875
|
+
:param _builtins.str patch_type: patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
1877
1876
|
"""
|
|
1878
1877
|
if apply_configuration is not None:
|
|
1879
1878
|
pulumi.set(__self__, "apply_configuration", apply_configuration)
|
|
@@ -1882,7 +1881,7 @@ class MutationPatch(dict):
|
|
|
1882
1881
|
if patch_type is not None:
|
|
1883
1882
|
pulumi.set(__self__, "patch_type", patch_type)
|
|
1884
1883
|
|
|
1885
|
-
@property
|
|
1884
|
+
@_builtins.property
|
|
1886
1885
|
@pulumi.getter(name="applyConfiguration")
|
|
1887
1886
|
def apply_configuration(self) -> Optional['outputs.ApplyConfigurationPatch']:
|
|
1888
1887
|
"""
|
|
@@ -1890,7 +1889,7 @@ class MutationPatch(dict):
|
|
|
1890
1889
|
"""
|
|
1891
1890
|
return pulumi.get(self, "apply_configuration")
|
|
1892
1891
|
|
|
1893
|
-
@property
|
|
1892
|
+
@_builtins.property
|
|
1894
1893
|
@pulumi.getter(name="jsonPatch")
|
|
1895
1894
|
def json_patch(self) -> Optional['outputs.JSONPatchPatch']:
|
|
1896
1895
|
"""
|
|
@@ -1898,9 +1897,9 @@ class MutationPatch(dict):
|
|
|
1898
1897
|
"""
|
|
1899
1898
|
return pulumi.get(self, "json_patch")
|
|
1900
1899
|
|
|
1901
|
-
@property
|
|
1900
|
+
@_builtins.property
|
|
1902
1901
|
@pulumi.getter(name="patchType")
|
|
1903
|
-
def patch_type(self) -> Optional[
|
|
1902
|
+
def patch_type(self) -> Optional[_builtins.str]:
|
|
1904
1903
|
"""
|
|
1905
1904
|
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
|
|
1906
1905
|
"""
|
|
@@ -1934,26 +1933,26 @@ class NamedRuleWithOperations(dict):
|
|
|
1934
1933
|
return super().get(key, default)
|
|
1935
1934
|
|
|
1936
1935
|
def __init__(__self__, *,
|
|
1937
|
-
api_groups: Optional[Sequence[
|
|
1938
|
-
api_versions: Optional[Sequence[
|
|
1939
|
-
operations: Optional[Sequence[
|
|
1940
|
-
resource_names: Optional[Sequence[
|
|
1941
|
-
resources: Optional[Sequence[
|
|
1942
|
-
scope: Optional[
|
|
1936
|
+
api_groups: Optional[Sequence[_builtins.str]] = None,
|
|
1937
|
+
api_versions: Optional[Sequence[_builtins.str]] = None,
|
|
1938
|
+
operations: Optional[Sequence[_builtins.str]] = None,
|
|
1939
|
+
resource_names: Optional[Sequence[_builtins.str]] = None,
|
|
1940
|
+
resources: Optional[Sequence[_builtins.str]] = None,
|
|
1941
|
+
scope: Optional[_builtins.str] = None):
|
|
1943
1942
|
"""
|
|
1944
1943
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
1945
|
-
:param Sequence[
|
|
1946
|
-
:param Sequence[
|
|
1947
|
-
:param Sequence[
|
|
1948
|
-
:param Sequence[
|
|
1949
|
-
:param Sequence[
|
|
1944
|
+
:param Sequence[_builtins.str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1945
|
+
:param Sequence[_builtins.str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1946
|
+
:param Sequence[_builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
1947
|
+
:param Sequence[_builtins.str] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
1948
|
+
:param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
1950
1949
|
|
|
1951
1950
|
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.
|
|
1952
1951
|
|
|
1953
1952
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
1954
1953
|
|
|
1955
1954
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
1956
|
-
:param
|
|
1955
|
+
:param _builtins.str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
1957
1956
|
"""
|
|
1958
1957
|
if api_groups is not None:
|
|
1959
1958
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -1968,41 +1967,41 @@ class NamedRuleWithOperations(dict):
|
|
|
1968
1967
|
if scope is not None:
|
|
1969
1968
|
pulumi.set(__self__, "scope", scope)
|
|
1970
1969
|
|
|
1971
|
-
@property
|
|
1970
|
+
@_builtins.property
|
|
1972
1971
|
@pulumi.getter(name="apiGroups")
|
|
1973
|
-
def api_groups(self) -> Optional[Sequence[
|
|
1972
|
+
def api_groups(self) -> Optional[Sequence[_builtins.str]]:
|
|
1974
1973
|
"""
|
|
1975
1974
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
1976
1975
|
"""
|
|
1977
1976
|
return pulumi.get(self, "api_groups")
|
|
1978
1977
|
|
|
1979
|
-
@property
|
|
1978
|
+
@_builtins.property
|
|
1980
1979
|
@pulumi.getter(name="apiVersions")
|
|
1981
|
-
def api_versions(self) -> Optional[Sequence[
|
|
1980
|
+
def api_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
1982
1981
|
"""
|
|
1983
1982
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
1984
1983
|
"""
|
|
1985
1984
|
return pulumi.get(self, "api_versions")
|
|
1986
1985
|
|
|
1987
|
-
@property
|
|
1986
|
+
@_builtins.property
|
|
1988
1987
|
@pulumi.getter
|
|
1989
|
-
def operations(self) -> Optional[Sequence[
|
|
1988
|
+
def operations(self) -> Optional[Sequence[_builtins.str]]:
|
|
1990
1989
|
"""
|
|
1991
1990
|
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.
|
|
1992
1991
|
"""
|
|
1993
1992
|
return pulumi.get(self, "operations")
|
|
1994
1993
|
|
|
1995
|
-
@property
|
|
1994
|
+
@_builtins.property
|
|
1996
1995
|
@pulumi.getter(name="resourceNames")
|
|
1997
|
-
def resource_names(self) -> Optional[Sequence[
|
|
1996
|
+
def resource_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
1998
1997
|
"""
|
|
1999
1998
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2000
1999
|
"""
|
|
2001
2000
|
return pulumi.get(self, "resource_names")
|
|
2002
2001
|
|
|
2003
|
-
@property
|
|
2002
|
+
@_builtins.property
|
|
2004
2003
|
@pulumi.getter
|
|
2005
|
-
def resources(self) -> Optional[Sequence[
|
|
2004
|
+
def resources(self) -> Optional[Sequence[_builtins.str]]:
|
|
2006
2005
|
"""
|
|
2007
2006
|
Resources is a list of resources this rule applies to.
|
|
2008
2007
|
|
|
@@ -2014,9 +2013,9 @@ class NamedRuleWithOperations(dict):
|
|
|
2014
2013
|
"""
|
|
2015
2014
|
return pulumi.get(self, "resources")
|
|
2016
2015
|
|
|
2017
|
-
@property
|
|
2016
|
+
@_builtins.property
|
|
2018
2017
|
@pulumi.getter
|
|
2019
|
-
def scope(self) -> Optional[
|
|
2018
|
+
def scope(self) -> Optional[_builtins.str]:
|
|
2020
2019
|
"""
|
|
2021
2020
|
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 "*".
|
|
2022
2021
|
"""
|
|
@@ -2050,26 +2049,26 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
2050
2049
|
return super().get(key, default)
|
|
2051
2050
|
|
|
2052
2051
|
def __init__(__self__, *,
|
|
2053
|
-
api_groups: Optional[Sequence[
|
|
2054
|
-
api_versions: Optional[Sequence[
|
|
2055
|
-
operations: Optional[Sequence[
|
|
2056
|
-
resource_names: Optional[Sequence[
|
|
2057
|
-
resources: Optional[Sequence[
|
|
2058
|
-
scope: Optional[
|
|
2052
|
+
api_groups: Optional[Sequence[_builtins.str]] = None,
|
|
2053
|
+
api_versions: Optional[Sequence[_builtins.str]] = None,
|
|
2054
|
+
operations: Optional[Sequence[_builtins.str]] = None,
|
|
2055
|
+
resource_names: Optional[Sequence[_builtins.str]] = None,
|
|
2056
|
+
resources: Optional[Sequence[_builtins.str]] = None,
|
|
2057
|
+
scope: Optional[_builtins.str] = None):
|
|
2059
2058
|
"""
|
|
2060
2059
|
NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
|
|
2061
|
-
:param Sequence[
|
|
2062
|
-
:param Sequence[
|
|
2063
|
-
:param Sequence[
|
|
2064
|
-
:param Sequence[
|
|
2065
|
-
:param Sequence[
|
|
2060
|
+
:param Sequence[_builtins.str] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2061
|
+
:param Sequence[_builtins.str] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2062
|
+
:param Sequence[_builtins.str] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
|
|
2063
|
+
:param Sequence[_builtins.str] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2064
|
+
:param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
|
|
2066
2065
|
|
|
2067
2066
|
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.
|
|
2068
2067
|
|
|
2069
2068
|
If wildcard is present, the validation rule will ensure resources do not overlap with each other.
|
|
2070
2069
|
|
|
2071
2070
|
Depending on the enclosing object, subresources might not be allowed. Required.
|
|
2072
|
-
:param
|
|
2071
|
+
:param _builtins.str scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
|
|
2073
2072
|
"""
|
|
2074
2073
|
if api_groups is not None:
|
|
2075
2074
|
pulumi.set(__self__, "api_groups", api_groups)
|
|
@@ -2084,41 +2083,41 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
2084
2083
|
if scope is not None:
|
|
2085
2084
|
pulumi.set(__self__, "scope", scope)
|
|
2086
2085
|
|
|
2087
|
-
@property
|
|
2086
|
+
@_builtins.property
|
|
2088
2087
|
@pulumi.getter(name="apiGroups")
|
|
2089
|
-
def api_groups(self) -> Optional[Sequence[
|
|
2088
|
+
def api_groups(self) -> Optional[Sequence[_builtins.str]]:
|
|
2090
2089
|
"""
|
|
2091
2090
|
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
|
2092
2091
|
"""
|
|
2093
2092
|
return pulumi.get(self, "api_groups")
|
|
2094
2093
|
|
|
2095
|
-
@property
|
|
2094
|
+
@_builtins.property
|
|
2096
2095
|
@pulumi.getter(name="apiVersions")
|
|
2097
|
-
def api_versions(self) -> Optional[Sequence[
|
|
2096
|
+
def api_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
2098
2097
|
"""
|
|
2099
2098
|
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
|
2100
2099
|
"""
|
|
2101
2100
|
return pulumi.get(self, "api_versions")
|
|
2102
2101
|
|
|
2103
|
-
@property
|
|
2102
|
+
@_builtins.property
|
|
2104
2103
|
@pulumi.getter
|
|
2105
|
-
def operations(self) -> Optional[Sequence[
|
|
2104
|
+
def operations(self) -> Optional[Sequence[_builtins.str]]:
|
|
2106
2105
|
"""
|
|
2107
2106
|
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.
|
|
2108
2107
|
"""
|
|
2109
2108
|
return pulumi.get(self, "operations")
|
|
2110
2109
|
|
|
2111
|
-
@property
|
|
2110
|
+
@_builtins.property
|
|
2112
2111
|
@pulumi.getter(name="resourceNames")
|
|
2113
|
-
def resource_names(self) -> Optional[Sequence[
|
|
2112
|
+
def resource_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
2114
2113
|
"""
|
|
2115
2114
|
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
|
2116
2115
|
"""
|
|
2117
2116
|
return pulumi.get(self, "resource_names")
|
|
2118
2117
|
|
|
2119
|
-
@property
|
|
2118
|
+
@_builtins.property
|
|
2120
2119
|
@pulumi.getter
|
|
2121
|
-
def resources(self) -> Optional[Sequence[
|
|
2120
|
+
def resources(self) -> Optional[Sequence[_builtins.str]]:
|
|
2122
2121
|
"""
|
|
2123
2122
|
Resources is a list of resources this rule applies to.
|
|
2124
2123
|
|
|
@@ -2130,9 +2129,9 @@ class NamedRuleWithOperationsPatch(dict):
|
|
|
2130
2129
|
"""
|
|
2131
2130
|
return pulumi.get(self, "resources")
|
|
2132
2131
|
|
|
2133
|
-
@property
|
|
2132
|
+
@_builtins.property
|
|
2134
2133
|
@pulumi.getter
|
|
2135
|
-
def scope(self) -> Optional[
|
|
2134
|
+
def scope(self) -> Optional[_builtins.str]:
|
|
2136
2135
|
"""
|
|
2137
2136
|
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 "*".
|
|
2138
2137
|
"""
|
|
@@ -2162,29 +2161,29 @@ class ParamKind(dict):
|
|
|
2162
2161
|
return super().get(key, default)
|
|
2163
2162
|
|
|
2164
2163
|
def __init__(__self__, *,
|
|
2165
|
-
api_version: Optional[
|
|
2166
|
-
kind: Optional[
|
|
2164
|
+
api_version: Optional[_builtins.str] = None,
|
|
2165
|
+
kind: Optional[_builtins.str] = None):
|
|
2167
2166
|
"""
|
|
2168
2167
|
ParamKind is a tuple of Group Kind and Version.
|
|
2169
|
-
:param
|
|
2170
|
-
:param
|
|
2168
|
+
:param _builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2169
|
+
:param _builtins.str kind: Kind is the API kind the resources belong to. Required.
|
|
2171
2170
|
"""
|
|
2172
2171
|
if api_version is not None:
|
|
2173
2172
|
pulumi.set(__self__, "api_version", api_version)
|
|
2174
2173
|
if kind is not None:
|
|
2175
2174
|
pulumi.set(__self__, "kind", kind)
|
|
2176
2175
|
|
|
2177
|
-
@property
|
|
2176
|
+
@_builtins.property
|
|
2178
2177
|
@pulumi.getter(name="apiVersion")
|
|
2179
|
-
def api_version(self) -> Optional[
|
|
2178
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
2180
2179
|
"""
|
|
2181
2180
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2182
2181
|
"""
|
|
2183
2182
|
return pulumi.get(self, "api_version")
|
|
2184
2183
|
|
|
2185
|
-
@property
|
|
2184
|
+
@_builtins.property
|
|
2186
2185
|
@pulumi.getter
|
|
2187
|
-
def kind(self) -> Optional[
|
|
2186
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
2188
2187
|
"""
|
|
2189
2188
|
Kind is the API kind the resources belong to. Required.
|
|
2190
2189
|
"""
|
|
@@ -2214,29 +2213,29 @@ class ParamKindPatch(dict):
|
|
|
2214
2213
|
return super().get(key, default)
|
|
2215
2214
|
|
|
2216
2215
|
def __init__(__self__, *,
|
|
2217
|
-
api_version: Optional[
|
|
2218
|
-
kind: Optional[
|
|
2216
|
+
api_version: Optional[_builtins.str] = None,
|
|
2217
|
+
kind: Optional[_builtins.str] = None):
|
|
2219
2218
|
"""
|
|
2220
2219
|
ParamKind is a tuple of Group Kind and Version.
|
|
2221
|
-
:param
|
|
2222
|
-
:param
|
|
2220
|
+
:param _builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2221
|
+
:param _builtins.str kind: Kind is the API kind the resources belong to. Required.
|
|
2223
2222
|
"""
|
|
2224
2223
|
if api_version is not None:
|
|
2225
2224
|
pulumi.set(__self__, "api_version", api_version)
|
|
2226
2225
|
if kind is not None:
|
|
2227
2226
|
pulumi.set(__self__, "kind", kind)
|
|
2228
2227
|
|
|
2229
|
-
@property
|
|
2228
|
+
@_builtins.property
|
|
2230
2229
|
@pulumi.getter(name="apiVersion")
|
|
2231
|
-
def api_version(self) -> Optional[
|
|
2230
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
2232
2231
|
"""
|
|
2233
2232
|
APIVersion is the API group version the resources belong to. In format of "group/version". Required.
|
|
2234
2233
|
"""
|
|
2235
2234
|
return pulumi.get(self, "api_version")
|
|
2236
2235
|
|
|
2237
|
-
@property
|
|
2236
|
+
@_builtins.property
|
|
2238
2237
|
@pulumi.getter
|
|
2239
|
-
def kind(self) -> Optional[
|
|
2238
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
2240
2239
|
"""
|
|
2241
2240
|
Kind is the API kind the resources belong to. Required.
|
|
2242
2241
|
"""
|
|
@@ -2266,23 +2265,23 @@ class ParamRef(dict):
|
|
|
2266
2265
|
return super().get(key, default)
|
|
2267
2266
|
|
|
2268
2267
|
def __init__(__self__, *,
|
|
2269
|
-
name: Optional[
|
|
2270
|
-
namespace: Optional[
|
|
2271
|
-
parameter_not_found_action: Optional[
|
|
2268
|
+
name: Optional[_builtins.str] = None,
|
|
2269
|
+
namespace: Optional[_builtins.str] = None,
|
|
2270
|
+
parameter_not_found_action: Optional[_builtins.str] = None,
|
|
2272
2271
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
2273
2272
|
"""
|
|
2274
2273
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2275
|
-
:param
|
|
2274
|
+
:param _builtins.str name: `name` is the name of the resource being referenced.
|
|
2276
2275
|
|
|
2277
2276
|
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
2278
|
-
:param
|
|
2277
|
+
:param _builtins.str namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
2279
2278
|
|
|
2280
2279
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
2281
2280
|
|
|
2282
2281
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
2283
2282
|
|
|
2284
2283
|
- 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.
|
|
2285
|
-
:param
|
|
2284
|
+
:param _builtins.str parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
2286
2285
|
|
|
2287
2286
|
Allowed values are `Allow` or `Deny` Default to `Deny`
|
|
2288
2287
|
:param '_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.
|
|
@@ -2300,9 +2299,9 @@ class ParamRef(dict):
|
|
|
2300
2299
|
if selector is not None:
|
|
2301
2300
|
pulumi.set(__self__, "selector", selector)
|
|
2302
2301
|
|
|
2303
|
-
@property
|
|
2302
|
+
@_builtins.property
|
|
2304
2303
|
@pulumi.getter
|
|
2305
|
-
def name(self) -> Optional[
|
|
2304
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2306
2305
|
"""
|
|
2307
2306
|
`name` is the name of the resource being referenced.
|
|
2308
2307
|
|
|
@@ -2310,9 +2309,9 @@ class ParamRef(dict):
|
|
|
2310
2309
|
"""
|
|
2311
2310
|
return pulumi.get(self, "name")
|
|
2312
2311
|
|
|
2313
|
-
@property
|
|
2312
|
+
@_builtins.property
|
|
2314
2313
|
@pulumi.getter
|
|
2315
|
-
def namespace(self) -> Optional[
|
|
2314
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
2316
2315
|
"""
|
|
2317
2316
|
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.
|
|
2318
2317
|
|
|
@@ -2324,9 +2323,9 @@ class ParamRef(dict):
|
|
|
2324
2323
|
"""
|
|
2325
2324
|
return pulumi.get(self, "namespace")
|
|
2326
2325
|
|
|
2327
|
-
@property
|
|
2326
|
+
@_builtins.property
|
|
2328
2327
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
2329
|
-
def parameter_not_found_action(self) -> Optional[
|
|
2328
|
+
def parameter_not_found_action(self) -> Optional[_builtins.str]:
|
|
2330
2329
|
"""
|
|
2331
2330
|
`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.
|
|
2332
2331
|
|
|
@@ -2334,7 +2333,7 @@ class ParamRef(dict):
|
|
|
2334
2333
|
"""
|
|
2335
2334
|
return pulumi.get(self, "parameter_not_found_action")
|
|
2336
2335
|
|
|
2337
|
-
@property
|
|
2336
|
+
@_builtins.property
|
|
2338
2337
|
@pulumi.getter
|
|
2339
2338
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
2340
2339
|
"""
|
|
@@ -2370,23 +2369,23 @@ class ParamRefPatch(dict):
|
|
|
2370
2369
|
return super().get(key, default)
|
|
2371
2370
|
|
|
2372
2371
|
def __init__(__self__, *,
|
|
2373
|
-
name: Optional[
|
|
2374
|
-
namespace: Optional[
|
|
2375
|
-
parameter_not_found_action: Optional[
|
|
2372
|
+
name: Optional[_builtins.str] = None,
|
|
2373
|
+
namespace: Optional[_builtins.str] = None,
|
|
2374
|
+
parameter_not_found_action: Optional[_builtins.str] = None,
|
|
2376
2375
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None):
|
|
2377
2376
|
"""
|
|
2378
2377
|
ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
|
|
2379
|
-
:param
|
|
2378
|
+
:param _builtins.str name: `name` is the name of the resource being referenced.
|
|
2380
2379
|
|
|
2381
2380
|
`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
|
|
2382
|
-
:param
|
|
2381
|
+
:param _builtins.str namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
|
|
2383
2382
|
|
|
2384
2383
|
A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
|
|
2385
2384
|
|
|
2386
2385
|
- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
|
|
2387
2386
|
|
|
2388
2387
|
- 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.
|
|
2389
|
-
:param
|
|
2388
|
+
:param _builtins.str parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
|
|
2390
2389
|
|
|
2391
2390
|
Allowed values are `Allow` or `Deny` Default to `Deny`
|
|
2392
2391
|
:param '_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.
|
|
@@ -2404,9 +2403,9 @@ class ParamRefPatch(dict):
|
|
|
2404
2403
|
if selector is not None:
|
|
2405
2404
|
pulumi.set(__self__, "selector", selector)
|
|
2406
2405
|
|
|
2407
|
-
@property
|
|
2406
|
+
@_builtins.property
|
|
2408
2407
|
@pulumi.getter
|
|
2409
|
-
def name(self) -> Optional[
|
|
2408
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2410
2409
|
"""
|
|
2411
2410
|
`name` is the name of the resource being referenced.
|
|
2412
2411
|
|
|
@@ -2414,9 +2413,9 @@ class ParamRefPatch(dict):
|
|
|
2414
2413
|
"""
|
|
2415
2414
|
return pulumi.get(self, "name")
|
|
2416
2415
|
|
|
2417
|
-
@property
|
|
2416
|
+
@_builtins.property
|
|
2418
2417
|
@pulumi.getter
|
|
2419
|
-
def namespace(self) -> Optional[
|
|
2418
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
2420
2419
|
"""
|
|
2421
2420
|
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.
|
|
2422
2421
|
|
|
@@ -2428,9 +2427,9 @@ class ParamRefPatch(dict):
|
|
|
2428
2427
|
"""
|
|
2429
2428
|
return pulumi.get(self, "namespace")
|
|
2430
2429
|
|
|
2431
|
-
@property
|
|
2430
|
+
@_builtins.property
|
|
2432
2431
|
@pulumi.getter(name="parameterNotFoundAction")
|
|
2433
|
-
def parameter_not_found_action(self) -> Optional[
|
|
2432
|
+
def parameter_not_found_action(self) -> Optional[_builtins.str]:
|
|
2434
2433
|
"""
|
|
2435
2434
|
`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.
|
|
2436
2435
|
|
|
@@ -2438,7 +2437,7 @@ class ParamRefPatch(dict):
|
|
|
2438
2437
|
"""
|
|
2439
2438
|
return pulumi.get(self, "parameter_not_found_action")
|
|
2440
2439
|
|
|
2441
|
-
@property
|
|
2440
|
+
@_builtins.property
|
|
2442
2441
|
@pulumi.getter
|
|
2443
2442
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
2444
2443
|
"""
|
|
@@ -2482,7 +2481,7 @@ class TypeChecking(dict):
|
|
|
2482
2481
|
if expression_warnings is not None:
|
|
2483
2482
|
pulumi.set(__self__, "expression_warnings", expression_warnings)
|
|
2484
2483
|
|
|
2485
|
-
@property
|
|
2484
|
+
@_builtins.property
|
|
2486
2485
|
@pulumi.getter(name="expressionWarnings")
|
|
2487
2486
|
def expression_warnings(self) -> Optional[Sequence['outputs.ExpressionWarning']]:
|
|
2488
2487
|
"""
|
|
@@ -2522,7 +2521,7 @@ class TypeCheckingPatch(dict):
|
|
|
2522
2521
|
if expression_warnings is not None:
|
|
2523
2522
|
pulumi.set(__self__, "expression_warnings", expression_warnings)
|
|
2524
2523
|
|
|
2525
|
-
@property
|
|
2524
|
+
@_builtins.property
|
|
2526
2525
|
@pulumi.getter(name="expressionWarnings")
|
|
2527
2526
|
def expression_warnings(self) -> Optional[Sequence['outputs.ExpressionWarningPatch']]:
|
|
2528
2527
|
"""
|
|
@@ -2554,15 +2553,15 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2554
2553
|
return super().get(key, default)
|
|
2555
2554
|
|
|
2556
2555
|
def __init__(__self__, *,
|
|
2557
|
-
api_version: Optional[
|
|
2558
|
-
kind: Optional[
|
|
2556
|
+
api_version: Optional[_builtins.str] = None,
|
|
2557
|
+
kind: Optional[_builtins.str] = None,
|
|
2559
2558
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2560
2559
|
spec: Optional['outputs.ValidatingAdmissionPolicySpec'] = None,
|
|
2561
2560
|
status: Optional['outputs.ValidatingAdmissionPolicyStatus'] = None):
|
|
2562
2561
|
"""
|
|
2563
2562
|
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
2564
|
-
:param
|
|
2565
|
-
:param
|
|
2563
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2564
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2566
2565
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
2567
2566
|
:param 'ValidatingAdmissionPolicySpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
2568
2567
|
:param 'ValidatingAdmissionPolicyStatusArgs' status: The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.
|
|
@@ -2578,23 +2577,23 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2578
2577
|
if status is not None:
|
|
2579
2578
|
pulumi.set(__self__, "status", status)
|
|
2580
2579
|
|
|
2581
|
-
@property
|
|
2580
|
+
@_builtins.property
|
|
2582
2581
|
@pulumi.getter(name="apiVersion")
|
|
2583
|
-
def api_version(self) -> Optional[
|
|
2582
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
2584
2583
|
"""
|
|
2585
2584
|
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
|
|
2586
2585
|
"""
|
|
2587
2586
|
return pulumi.get(self, "api_version")
|
|
2588
2587
|
|
|
2589
|
-
@property
|
|
2588
|
+
@_builtins.property
|
|
2590
2589
|
@pulumi.getter
|
|
2591
|
-
def kind(self) -> Optional[
|
|
2590
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
2592
2591
|
"""
|
|
2593
2592
|
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
|
|
2594
2593
|
"""
|
|
2595
2594
|
return pulumi.get(self, "kind")
|
|
2596
2595
|
|
|
2597
|
-
@property
|
|
2596
|
+
@_builtins.property
|
|
2598
2597
|
@pulumi.getter
|
|
2599
2598
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
2600
2599
|
"""
|
|
@@ -2602,7 +2601,7 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2602
2601
|
"""
|
|
2603
2602
|
return pulumi.get(self, "metadata")
|
|
2604
2603
|
|
|
2605
|
-
@property
|
|
2604
|
+
@_builtins.property
|
|
2606
2605
|
@pulumi.getter
|
|
2607
2606
|
def spec(self) -> Optional['outputs.ValidatingAdmissionPolicySpec']:
|
|
2608
2607
|
"""
|
|
@@ -2610,7 +2609,7 @@ class ValidatingAdmissionPolicy(dict):
|
|
|
2610
2609
|
"""
|
|
2611
2610
|
return pulumi.get(self, "spec")
|
|
2612
2611
|
|
|
2613
|
-
@property
|
|
2612
|
+
@_builtins.property
|
|
2614
2613
|
@pulumi.getter
|
|
2615
2614
|
def status(self) -> Optional['outputs.ValidatingAdmissionPolicyStatus']:
|
|
2616
2615
|
"""
|
|
@@ -2642,14 +2641,14 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2642
2641
|
return super().get(key, default)
|
|
2643
2642
|
|
|
2644
2643
|
def __init__(__self__, *,
|
|
2645
|
-
api_version: Optional[
|
|
2646
|
-
kind: Optional[
|
|
2644
|
+
api_version: Optional[_builtins.str] = None,
|
|
2645
|
+
kind: Optional[_builtins.str] = None,
|
|
2647
2646
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2648
2647
|
spec: Optional['outputs.ValidatingAdmissionPolicyBindingSpec'] = None):
|
|
2649
2648
|
"""
|
|
2650
2649
|
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
|
|
2651
|
-
:param
|
|
2652
|
-
:param
|
|
2650
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2651
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2653
2652
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
2654
2653
|
:param 'ValidatingAdmissionPolicyBindingSpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
2655
2654
|
"""
|
|
@@ -2662,23 +2661,23 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2662
2661
|
if spec is not None:
|
|
2663
2662
|
pulumi.set(__self__, "spec", spec)
|
|
2664
2663
|
|
|
2665
|
-
@property
|
|
2664
|
+
@_builtins.property
|
|
2666
2665
|
@pulumi.getter(name="apiVersion")
|
|
2667
|
-
def api_version(self) -> Optional[
|
|
2666
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
2668
2667
|
"""
|
|
2669
2668
|
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
|
|
2670
2669
|
"""
|
|
2671
2670
|
return pulumi.get(self, "api_version")
|
|
2672
2671
|
|
|
2673
|
-
@property
|
|
2672
|
+
@_builtins.property
|
|
2674
2673
|
@pulumi.getter
|
|
2675
|
-
def kind(self) -> Optional[
|
|
2674
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
2676
2675
|
"""
|
|
2677
2676
|
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
|
|
2678
2677
|
"""
|
|
2679
2678
|
return pulumi.get(self, "kind")
|
|
2680
2679
|
|
|
2681
|
-
@property
|
|
2680
|
+
@_builtins.property
|
|
2682
2681
|
@pulumi.getter
|
|
2683
2682
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
2684
2683
|
"""
|
|
@@ -2686,7 +2685,7 @@ class ValidatingAdmissionPolicyBinding(dict):
|
|
|
2686
2685
|
"""
|
|
2687
2686
|
return pulumi.get(self, "metadata")
|
|
2688
2687
|
|
|
2689
|
-
@property
|
|
2688
|
+
@_builtins.property
|
|
2690
2689
|
@pulumi.getter
|
|
2691
2690
|
def spec(self) -> Optional['outputs.ValidatingAdmissionPolicyBindingSpec']:
|
|
2692
2691
|
"""
|
|
@@ -2726,14 +2725,14 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2726
2725
|
def __init__(__self__, *,
|
|
2727
2726
|
match_resources: Optional['outputs.MatchResources'] = None,
|
|
2728
2727
|
param_ref: Optional['outputs.ParamRef'] = None,
|
|
2729
|
-
policy_name: Optional[
|
|
2730
|
-
validation_actions: Optional[Sequence[
|
|
2728
|
+
policy_name: Optional[_builtins.str] = None,
|
|
2729
|
+
validation_actions: Optional[Sequence[_builtins.str]] = None):
|
|
2731
2730
|
"""
|
|
2732
2731
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
2733
2732
|
:param 'MatchResourcesArgs' match_resources: MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
|
|
2734
2733
|
:param 'ParamRefArgs' param_ref: ParamRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied.
|
|
2735
|
-
:param
|
|
2736
|
-
:param Sequence[
|
|
2734
|
+
:param _builtins.str policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
2735
|
+
:param Sequence[_builtins.str] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2737
2736
|
|
|
2738
2737
|
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.
|
|
2739
2738
|
|
|
@@ -2762,7 +2761,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2762
2761
|
if validation_actions is not None:
|
|
2763
2762
|
pulumi.set(__self__, "validation_actions", validation_actions)
|
|
2764
2763
|
|
|
2765
|
-
@property
|
|
2764
|
+
@_builtins.property
|
|
2766
2765
|
@pulumi.getter(name="matchResources")
|
|
2767
2766
|
def match_resources(self) -> Optional['outputs.MatchResources']:
|
|
2768
2767
|
"""
|
|
@@ -2770,7 +2769,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2770
2769
|
"""
|
|
2771
2770
|
return pulumi.get(self, "match_resources")
|
|
2772
2771
|
|
|
2773
|
-
@property
|
|
2772
|
+
@_builtins.property
|
|
2774
2773
|
@pulumi.getter(name="paramRef")
|
|
2775
2774
|
def param_ref(self) -> Optional['outputs.ParamRef']:
|
|
2776
2775
|
"""
|
|
@@ -2778,17 +2777,17 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2778
2777
|
"""
|
|
2779
2778
|
return pulumi.get(self, "param_ref")
|
|
2780
2779
|
|
|
2781
|
-
@property
|
|
2780
|
+
@_builtins.property
|
|
2782
2781
|
@pulumi.getter(name="policyName")
|
|
2783
|
-
def policy_name(self) -> Optional[
|
|
2782
|
+
def policy_name(self) -> Optional[_builtins.str]:
|
|
2784
2783
|
"""
|
|
2785
2784
|
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.
|
|
2786
2785
|
"""
|
|
2787
2786
|
return pulumi.get(self, "policy_name")
|
|
2788
2787
|
|
|
2789
|
-
@property
|
|
2788
|
+
@_builtins.property
|
|
2790
2789
|
@pulumi.getter(name="validationActions")
|
|
2791
|
-
def validation_actions(self) -> Optional[Sequence[
|
|
2790
|
+
def validation_actions(self) -> Optional[Sequence[_builtins.str]]:
|
|
2792
2791
|
"""
|
|
2793
2792
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2794
2793
|
|
|
@@ -2844,14 +2843,14 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2844
2843
|
def __init__(__self__, *,
|
|
2845
2844
|
match_resources: Optional['outputs.MatchResourcesPatch'] = None,
|
|
2846
2845
|
param_ref: Optional['outputs.ParamRefPatch'] = None,
|
|
2847
|
-
policy_name: Optional[
|
|
2848
|
-
validation_actions: Optional[Sequence[
|
|
2846
|
+
policy_name: Optional[_builtins.str] = None,
|
|
2847
|
+
validation_actions: Optional[Sequence[_builtins.str]] = None):
|
|
2849
2848
|
"""
|
|
2850
2849
|
ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
|
|
2851
2850
|
:param 'MatchResourcesPatchArgs' match_resources: MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
|
|
2852
2851
|
:param 'ParamRefPatchArgs' param_ref: ParamRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied.
|
|
2853
|
-
:param
|
|
2854
|
-
:param Sequence[
|
|
2852
|
+
:param _builtins.str policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
|
|
2853
|
+
:param Sequence[_builtins.str] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2855
2854
|
|
|
2856
2855
|
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.
|
|
2857
2856
|
|
|
@@ -2880,7 +2879,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2880
2879
|
if validation_actions is not None:
|
|
2881
2880
|
pulumi.set(__self__, "validation_actions", validation_actions)
|
|
2882
2881
|
|
|
2883
|
-
@property
|
|
2882
|
+
@_builtins.property
|
|
2884
2883
|
@pulumi.getter(name="matchResources")
|
|
2885
2884
|
def match_resources(self) -> Optional['outputs.MatchResourcesPatch']:
|
|
2886
2885
|
"""
|
|
@@ -2888,7 +2887,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2888
2887
|
"""
|
|
2889
2888
|
return pulumi.get(self, "match_resources")
|
|
2890
2889
|
|
|
2891
|
-
@property
|
|
2890
|
+
@_builtins.property
|
|
2892
2891
|
@pulumi.getter(name="paramRef")
|
|
2893
2892
|
def param_ref(self) -> Optional['outputs.ParamRefPatch']:
|
|
2894
2893
|
"""
|
|
@@ -2896,17 +2895,17 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2896
2895
|
"""
|
|
2897
2896
|
return pulumi.get(self, "param_ref")
|
|
2898
2897
|
|
|
2899
|
-
@property
|
|
2898
|
+
@_builtins.property
|
|
2900
2899
|
@pulumi.getter(name="policyName")
|
|
2901
|
-
def policy_name(self) -> Optional[
|
|
2900
|
+
def policy_name(self) -> Optional[_builtins.str]:
|
|
2902
2901
|
"""
|
|
2903
2902
|
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.
|
|
2904
2903
|
"""
|
|
2905
2904
|
return pulumi.get(self, "policy_name")
|
|
2906
2905
|
|
|
2907
|
-
@property
|
|
2906
|
+
@_builtins.property
|
|
2908
2907
|
@pulumi.getter(name="validationActions")
|
|
2909
|
-
def validation_actions(self) -> Optional[Sequence[
|
|
2908
|
+
def validation_actions(self) -> Optional[Sequence[_builtins.str]]:
|
|
2910
2909
|
"""
|
|
2911
2910
|
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
|
|
2912
2911
|
|
|
@@ -2964,7 +2963,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2964
2963
|
def __init__(__self__, *,
|
|
2965
2964
|
validations: Sequence['outputs.Validation'],
|
|
2966
2965
|
audit_annotations: Optional[Sequence['outputs.AuditAnnotation']] = None,
|
|
2967
|
-
failure_policy: Optional[
|
|
2966
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
2968
2967
|
match_conditions: Optional[Sequence['outputs.MatchCondition']] = None,
|
|
2969
2968
|
match_constraints: Optional['outputs.MatchResources'] = None,
|
|
2970
2969
|
param_kind: Optional['outputs.ParamKind'] = None,
|
|
@@ -2973,7 +2972,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
2973
2972
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
2974
2973
|
:param Sequence['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.
|
|
2975
2974
|
:param Sequence['AuditAnnotationArgs'] audit_annotations: auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
|
|
2976
|
-
:param
|
|
2975
|
+
:param _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.
|
|
2977
2976
|
:param Sequence['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.
|
|
2978
2977
|
|
|
2979
2978
|
If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
|
|
@@ -3004,7 +3003,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
3004
3003
|
if variables is not None:
|
|
3005
3004
|
pulumi.set(__self__, "variables", variables)
|
|
3006
3005
|
|
|
3007
|
-
@property
|
|
3006
|
+
@_builtins.property
|
|
3008
3007
|
@pulumi.getter
|
|
3009
3008
|
def validations(self) -> Sequence['outputs.Validation']:
|
|
3010
3009
|
"""
|
|
@@ -3012,7 +3011,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
3012
3011
|
"""
|
|
3013
3012
|
return pulumi.get(self, "validations")
|
|
3014
3013
|
|
|
3015
|
-
@property
|
|
3014
|
+
@_builtins.property
|
|
3016
3015
|
@pulumi.getter(name="auditAnnotations")
|
|
3017
3016
|
def audit_annotations(self) -> Optional[Sequence['outputs.AuditAnnotation']]:
|
|
3018
3017
|
"""
|
|
@@ -3020,15 +3019,15 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
3020
3019
|
"""
|
|
3021
3020
|
return pulumi.get(self, "audit_annotations")
|
|
3022
3021
|
|
|
3023
|
-
@property
|
|
3022
|
+
@_builtins.property
|
|
3024
3023
|
@pulumi.getter(name="failurePolicy")
|
|
3025
|
-
def failure_policy(self) -> Optional[
|
|
3024
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
3026
3025
|
"""
|
|
3027
3026
|
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.
|
|
3028
3027
|
"""
|
|
3029
3028
|
return pulumi.get(self, "failure_policy")
|
|
3030
3029
|
|
|
3031
|
-
@property
|
|
3030
|
+
@_builtins.property
|
|
3032
3031
|
@pulumi.getter(name="matchConditions")
|
|
3033
3032
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchCondition']]:
|
|
3034
3033
|
"""
|
|
@@ -3045,7 +3044,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
3045
3044
|
"""
|
|
3046
3045
|
return pulumi.get(self, "match_conditions")
|
|
3047
3046
|
|
|
3048
|
-
@property
|
|
3047
|
+
@_builtins.property
|
|
3049
3048
|
@pulumi.getter(name="matchConstraints")
|
|
3050
3049
|
def match_constraints(self) -> Optional['outputs.MatchResources']:
|
|
3051
3050
|
"""
|
|
@@ -3053,7 +3052,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
3053
3052
|
"""
|
|
3054
3053
|
return pulumi.get(self, "match_constraints")
|
|
3055
3054
|
|
|
3056
|
-
@property
|
|
3055
|
+
@_builtins.property
|
|
3057
3056
|
@pulumi.getter(name="paramKind")
|
|
3058
3057
|
def param_kind(self) -> Optional['outputs.ParamKind']:
|
|
3059
3058
|
"""
|
|
@@ -3061,7 +3060,7 @@ class ValidatingAdmissionPolicySpec(dict):
|
|
|
3061
3060
|
"""
|
|
3062
3061
|
return pulumi.get(self, "param_kind")
|
|
3063
3062
|
|
|
3064
|
-
@property
|
|
3063
|
+
@_builtins.property
|
|
3065
3064
|
@pulumi.getter
|
|
3066
3065
|
def variables(self) -> Optional[Sequence['outputs.Variable']]:
|
|
3067
3066
|
"""
|
|
@@ -3104,7 +3103,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3104
3103
|
|
|
3105
3104
|
def __init__(__self__, *,
|
|
3106
3105
|
audit_annotations: Optional[Sequence['outputs.AuditAnnotationPatch']] = None,
|
|
3107
|
-
failure_policy: Optional[
|
|
3106
|
+
failure_policy: Optional[_builtins.str] = None,
|
|
3108
3107
|
match_conditions: Optional[Sequence['outputs.MatchConditionPatch']] = None,
|
|
3109
3108
|
match_constraints: Optional['outputs.MatchResourcesPatch'] = None,
|
|
3110
3109
|
param_kind: Optional['outputs.ParamKindPatch'] = None,
|
|
@@ -3113,7 +3112,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3113
3112
|
"""
|
|
3114
3113
|
ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
|
|
3115
3114
|
:param Sequence['AuditAnnotationPatchArgs'] audit_annotations: auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
|
|
3116
|
-
:param
|
|
3115
|
+
:param _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.
|
|
3117
3116
|
:param Sequence['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.
|
|
3118
3117
|
|
|
3119
3118
|
If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
|
|
@@ -3146,7 +3145,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3146
3145
|
if variables is not None:
|
|
3147
3146
|
pulumi.set(__self__, "variables", variables)
|
|
3148
3147
|
|
|
3149
|
-
@property
|
|
3148
|
+
@_builtins.property
|
|
3150
3149
|
@pulumi.getter(name="auditAnnotations")
|
|
3151
3150
|
def audit_annotations(self) -> Optional[Sequence['outputs.AuditAnnotationPatch']]:
|
|
3152
3151
|
"""
|
|
@@ -3154,15 +3153,15 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3154
3153
|
"""
|
|
3155
3154
|
return pulumi.get(self, "audit_annotations")
|
|
3156
3155
|
|
|
3157
|
-
@property
|
|
3156
|
+
@_builtins.property
|
|
3158
3157
|
@pulumi.getter(name="failurePolicy")
|
|
3159
|
-
def failure_policy(self) -> Optional[
|
|
3158
|
+
def failure_policy(self) -> Optional[_builtins.str]:
|
|
3160
3159
|
"""
|
|
3161
3160
|
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.
|
|
3162
3161
|
"""
|
|
3163
3162
|
return pulumi.get(self, "failure_policy")
|
|
3164
3163
|
|
|
3165
|
-
@property
|
|
3164
|
+
@_builtins.property
|
|
3166
3165
|
@pulumi.getter(name="matchConditions")
|
|
3167
3166
|
def match_conditions(self) -> Optional[Sequence['outputs.MatchConditionPatch']]:
|
|
3168
3167
|
"""
|
|
@@ -3179,7 +3178,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3179
3178
|
"""
|
|
3180
3179
|
return pulumi.get(self, "match_conditions")
|
|
3181
3180
|
|
|
3182
|
-
@property
|
|
3181
|
+
@_builtins.property
|
|
3183
3182
|
@pulumi.getter(name="matchConstraints")
|
|
3184
3183
|
def match_constraints(self) -> Optional['outputs.MatchResourcesPatch']:
|
|
3185
3184
|
"""
|
|
@@ -3187,7 +3186,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3187
3186
|
"""
|
|
3188
3187
|
return pulumi.get(self, "match_constraints")
|
|
3189
3188
|
|
|
3190
|
-
@property
|
|
3189
|
+
@_builtins.property
|
|
3191
3190
|
@pulumi.getter(name="paramKind")
|
|
3192
3191
|
def param_kind(self) -> Optional['outputs.ParamKindPatch']:
|
|
3193
3192
|
"""
|
|
@@ -3195,7 +3194,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3195
3194
|
"""
|
|
3196
3195
|
return pulumi.get(self, "param_kind")
|
|
3197
3196
|
|
|
3198
|
-
@property
|
|
3197
|
+
@_builtins.property
|
|
3199
3198
|
@pulumi.getter
|
|
3200
3199
|
def validations(self) -> Optional[Sequence['outputs.ValidationPatch']]:
|
|
3201
3200
|
"""
|
|
@@ -3203,7 +3202,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
|
|
|
3203
3202
|
"""
|
|
3204
3203
|
return pulumi.get(self, "validations")
|
|
3205
3204
|
|
|
3206
|
-
@property
|
|
3205
|
+
@_builtins.property
|
|
3207
3206
|
@pulumi.getter
|
|
3208
3207
|
def variables(self) -> Optional[Sequence['outputs.VariablePatch']]:
|
|
3209
3208
|
"""
|
|
@@ -3240,12 +3239,12 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3240
3239
|
|
|
3241
3240
|
def __init__(__self__, *,
|
|
3242
3241
|
conditions: Optional[Sequence['_meta.v1.outputs.Condition']] = None,
|
|
3243
|
-
observed_generation: Optional[
|
|
3242
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
3244
3243
|
type_checking: Optional['outputs.TypeChecking'] = None):
|
|
3245
3244
|
"""
|
|
3246
3245
|
ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.
|
|
3247
3246
|
:param Sequence['_meta.v1.ConditionArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3248
|
-
:param
|
|
3247
|
+
:param _builtins.int observed_generation: The generation observed by the controller.
|
|
3249
3248
|
:param 'TypeCheckingArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
3250
3249
|
"""
|
|
3251
3250
|
if conditions is not None:
|
|
@@ -3255,7 +3254,7 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3255
3254
|
if type_checking is not None:
|
|
3256
3255
|
pulumi.set(__self__, "type_checking", type_checking)
|
|
3257
3256
|
|
|
3258
|
-
@property
|
|
3257
|
+
@_builtins.property
|
|
3259
3258
|
@pulumi.getter
|
|
3260
3259
|
def conditions(self) -> Optional[Sequence['_meta.v1.outputs.Condition']]:
|
|
3261
3260
|
"""
|
|
@@ -3263,15 +3262,15 @@ class ValidatingAdmissionPolicyStatus(dict):
|
|
|
3263
3262
|
"""
|
|
3264
3263
|
return pulumi.get(self, "conditions")
|
|
3265
3264
|
|
|
3266
|
-
@property
|
|
3265
|
+
@_builtins.property
|
|
3267
3266
|
@pulumi.getter(name="observedGeneration")
|
|
3268
|
-
def observed_generation(self) -> Optional[
|
|
3267
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
3269
3268
|
"""
|
|
3270
3269
|
The generation observed by the controller.
|
|
3271
3270
|
"""
|
|
3272
3271
|
return pulumi.get(self, "observed_generation")
|
|
3273
3272
|
|
|
3274
|
-
@property
|
|
3273
|
+
@_builtins.property
|
|
3275
3274
|
@pulumi.getter(name="typeChecking")
|
|
3276
3275
|
def type_checking(self) -> Optional['outputs.TypeChecking']:
|
|
3277
3276
|
"""
|
|
@@ -3306,12 +3305,12 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3306
3305
|
|
|
3307
3306
|
def __init__(__self__, *,
|
|
3308
3307
|
conditions: Optional[Sequence['_meta.v1.outputs.ConditionPatch']] = None,
|
|
3309
|
-
observed_generation: Optional[
|
|
3308
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
3310
3309
|
type_checking: Optional['outputs.TypeCheckingPatch'] = None):
|
|
3311
3310
|
"""
|
|
3312
3311
|
ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.
|
|
3313
3312
|
:param Sequence['_meta.v1.ConditionPatchArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
|
|
3314
|
-
:param
|
|
3313
|
+
:param _builtins.int observed_generation: The generation observed by the controller.
|
|
3315
3314
|
:param 'TypeCheckingPatchArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
|
|
3316
3315
|
"""
|
|
3317
3316
|
if conditions is not None:
|
|
@@ -3321,7 +3320,7 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3321
3320
|
if type_checking is not None:
|
|
3322
3321
|
pulumi.set(__self__, "type_checking", type_checking)
|
|
3323
3322
|
|
|
3324
|
-
@property
|
|
3323
|
+
@_builtins.property
|
|
3325
3324
|
@pulumi.getter
|
|
3326
3325
|
def conditions(self) -> Optional[Sequence['_meta.v1.outputs.ConditionPatch']]:
|
|
3327
3326
|
"""
|
|
@@ -3329,15 +3328,15 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
|
|
|
3329
3328
|
"""
|
|
3330
3329
|
return pulumi.get(self, "conditions")
|
|
3331
3330
|
|
|
3332
|
-
@property
|
|
3331
|
+
@_builtins.property
|
|
3333
3332
|
@pulumi.getter(name="observedGeneration")
|
|
3334
|
-
def observed_generation(self) -> Optional[
|
|
3333
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
3335
3334
|
"""
|
|
3336
3335
|
The generation observed by the controller.
|
|
3337
3336
|
"""
|
|
3338
3337
|
return pulumi.get(self, "observed_generation")
|
|
3339
3338
|
|
|
3340
|
-
@property
|
|
3339
|
+
@_builtins.property
|
|
3341
3340
|
@pulumi.getter(name="typeChecking")
|
|
3342
3341
|
def type_checking(self) -> Optional['outputs.TypeCheckingPatch']:
|
|
3343
3342
|
"""
|
|
@@ -3369,13 +3368,13 @@ class Validation(dict):
|
|
|
3369
3368
|
return super().get(key, default)
|
|
3370
3369
|
|
|
3371
3370
|
def __init__(__self__, *,
|
|
3372
|
-
expression:
|
|
3373
|
-
message: Optional[
|
|
3374
|
-
message_expression: Optional[
|
|
3375
|
-
reason: Optional[
|
|
3371
|
+
expression: _builtins.str,
|
|
3372
|
+
message: Optional[_builtins.str] = None,
|
|
3373
|
+
message_expression: Optional[_builtins.str] = None,
|
|
3374
|
+
reason: Optional[_builtins.str] = None):
|
|
3376
3375
|
"""
|
|
3377
3376
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
3378
|
-
:param
|
|
3377
|
+
:param _builtins.str expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the Admission request/response, organized into CEL variables as well as some other useful variables:
|
|
3379
3378
|
|
|
3380
3379
|
'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.
|
|
3381
3380
|
|
|
@@ -3396,9 +3395,9 @@ class Validation(dict):
|
|
|
3396
3395
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
3397
3396
|
non-intersecting keys are appended, retaining their partial order.
|
|
3398
3397
|
Required.
|
|
3399
|
-
:param
|
|
3400
|
-
:param
|
|
3401
|
-
:param
|
|
3398
|
+
:param _builtins.str message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
3399
|
+
:param _builtins.str message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
3400
|
+
:param _builtins.str reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
3402
3401
|
"""
|
|
3403
3402
|
pulumi.set(__self__, "expression", expression)
|
|
3404
3403
|
if message is not None:
|
|
@@ -3408,9 +3407,9 @@ class Validation(dict):
|
|
|
3408
3407
|
if reason is not None:
|
|
3409
3408
|
pulumi.set(__self__, "reason", reason)
|
|
3410
3409
|
|
|
3411
|
-
@property
|
|
3410
|
+
@_builtins.property
|
|
3412
3411
|
@pulumi.getter
|
|
3413
|
-
def expression(self) ->
|
|
3412
|
+
def expression(self) -> _builtins.str:
|
|
3414
3413
|
"""
|
|
3415
3414
|
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:
|
|
3416
3415
|
|
|
@@ -3436,25 +3435,25 @@ class Validation(dict):
|
|
|
3436
3435
|
"""
|
|
3437
3436
|
return pulumi.get(self, "expression")
|
|
3438
3437
|
|
|
3439
|
-
@property
|
|
3438
|
+
@_builtins.property
|
|
3440
3439
|
@pulumi.getter
|
|
3441
|
-
def message(self) -> Optional[
|
|
3440
|
+
def message(self) -> Optional[_builtins.str]:
|
|
3442
3441
|
"""
|
|
3443
3442
|
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}".
|
|
3444
3443
|
"""
|
|
3445
3444
|
return pulumi.get(self, "message")
|
|
3446
3445
|
|
|
3447
|
-
@property
|
|
3446
|
+
@_builtins.property
|
|
3448
3447
|
@pulumi.getter(name="messageExpression")
|
|
3449
|
-
def message_expression(self) -> Optional[
|
|
3448
|
+
def message_expression(self) -> Optional[_builtins.str]:
|
|
3450
3449
|
"""
|
|
3451
3450
|
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)+")"
|
|
3452
3451
|
"""
|
|
3453
3452
|
return pulumi.get(self, "message_expression")
|
|
3454
3453
|
|
|
3455
|
-
@property
|
|
3454
|
+
@_builtins.property
|
|
3456
3455
|
@pulumi.getter
|
|
3457
|
-
def reason(self) -> Optional[
|
|
3456
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
3458
3457
|
"""
|
|
3459
3458
|
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.
|
|
3460
3459
|
"""
|
|
@@ -3484,13 +3483,13 @@ class ValidationPatch(dict):
|
|
|
3484
3483
|
return super().get(key, default)
|
|
3485
3484
|
|
|
3486
3485
|
def __init__(__self__, *,
|
|
3487
|
-
expression: Optional[
|
|
3488
|
-
message: Optional[
|
|
3489
|
-
message_expression: Optional[
|
|
3490
|
-
reason: Optional[
|
|
3486
|
+
expression: Optional[_builtins.str] = None,
|
|
3487
|
+
message: Optional[_builtins.str] = None,
|
|
3488
|
+
message_expression: Optional[_builtins.str] = None,
|
|
3489
|
+
reason: Optional[_builtins.str] = None):
|
|
3491
3490
|
"""
|
|
3492
3491
|
Validation specifies the CEL expression which is used to apply the validation.
|
|
3493
|
-
:param
|
|
3492
|
+
:param _builtins.str expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the Admission request/response, organized into CEL variables as well as some other useful variables:
|
|
3494
3493
|
|
|
3495
3494
|
'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.
|
|
3496
3495
|
|
|
@@ -3511,9 +3510,9 @@ class ValidationPatch(dict):
|
|
|
3511
3510
|
are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
|
|
3512
3511
|
non-intersecting keys are appended, retaining their partial order.
|
|
3513
3512
|
Required.
|
|
3514
|
-
:param
|
|
3515
|
-
:param
|
|
3516
|
-
:param
|
|
3513
|
+
:param _builtins.str message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
|
|
3514
|
+
:param _builtins.str message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
|
|
3515
|
+
:param _builtins.str reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
|
|
3517
3516
|
"""
|
|
3518
3517
|
if expression is not None:
|
|
3519
3518
|
pulumi.set(__self__, "expression", expression)
|
|
@@ -3524,9 +3523,9 @@ class ValidationPatch(dict):
|
|
|
3524
3523
|
if reason is not None:
|
|
3525
3524
|
pulumi.set(__self__, "reason", reason)
|
|
3526
3525
|
|
|
3527
|
-
@property
|
|
3526
|
+
@_builtins.property
|
|
3528
3527
|
@pulumi.getter
|
|
3529
|
-
def expression(self) -> Optional[
|
|
3528
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
3530
3529
|
"""
|
|
3531
3530
|
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:
|
|
3532
3531
|
|
|
@@ -3552,25 +3551,25 @@ class ValidationPatch(dict):
|
|
|
3552
3551
|
"""
|
|
3553
3552
|
return pulumi.get(self, "expression")
|
|
3554
3553
|
|
|
3555
|
-
@property
|
|
3554
|
+
@_builtins.property
|
|
3556
3555
|
@pulumi.getter
|
|
3557
|
-
def message(self) -> Optional[
|
|
3556
|
+
def message(self) -> Optional[_builtins.str]:
|
|
3558
3557
|
"""
|
|
3559
3558
|
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}".
|
|
3560
3559
|
"""
|
|
3561
3560
|
return pulumi.get(self, "message")
|
|
3562
3561
|
|
|
3563
|
-
@property
|
|
3562
|
+
@_builtins.property
|
|
3564
3563
|
@pulumi.getter(name="messageExpression")
|
|
3565
|
-
def message_expression(self) -> Optional[
|
|
3564
|
+
def message_expression(self) -> Optional[_builtins.str]:
|
|
3566
3565
|
"""
|
|
3567
3566
|
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)+")"
|
|
3568
3567
|
"""
|
|
3569
3568
|
return pulumi.get(self, "message_expression")
|
|
3570
3569
|
|
|
3571
|
-
@property
|
|
3570
|
+
@_builtins.property
|
|
3572
3571
|
@pulumi.getter
|
|
3573
|
-
def reason(self) -> Optional[
|
|
3572
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
3574
3573
|
"""
|
|
3575
3574
|
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.
|
|
3576
3575
|
"""
|
|
@@ -3583,27 +3582,27 @@ class Variable(dict):
|
|
|
3583
3582
|
Variable is the definition of a variable that is used for composition.
|
|
3584
3583
|
"""
|
|
3585
3584
|
def __init__(__self__, *,
|
|
3586
|
-
expression:
|
|
3587
|
-
name:
|
|
3585
|
+
expression: _builtins.str,
|
|
3586
|
+
name: _builtins.str):
|
|
3588
3587
|
"""
|
|
3589
3588
|
Variable is the definition of a variable that is used for composition.
|
|
3590
|
-
:param
|
|
3591
|
-
:param
|
|
3589
|
+
:param _builtins.str expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
3590
|
+
:param _builtins.str name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
3592
3591
|
"""
|
|
3593
3592
|
pulumi.set(__self__, "expression", expression)
|
|
3594
3593
|
pulumi.set(__self__, "name", name)
|
|
3595
3594
|
|
|
3596
|
-
@property
|
|
3595
|
+
@_builtins.property
|
|
3597
3596
|
@pulumi.getter
|
|
3598
|
-
def expression(self) ->
|
|
3597
|
+
def expression(self) -> _builtins.str:
|
|
3599
3598
|
"""
|
|
3600
3599
|
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.
|
|
3601
3600
|
"""
|
|
3602
3601
|
return pulumi.get(self, "expression")
|
|
3603
3602
|
|
|
3604
|
-
@property
|
|
3603
|
+
@_builtins.property
|
|
3605
3604
|
@pulumi.getter
|
|
3606
|
-
def name(self) ->
|
|
3605
|
+
def name(self) -> _builtins.str:
|
|
3607
3606
|
"""
|
|
3608
3607
|
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`
|
|
3609
3608
|
"""
|
|
@@ -3616,29 +3615,29 @@ class VariablePatch(dict):
|
|
|
3616
3615
|
Variable is the definition of a variable that is used for composition.
|
|
3617
3616
|
"""
|
|
3618
3617
|
def __init__(__self__, *,
|
|
3619
|
-
expression: Optional[
|
|
3620
|
-
name: Optional[
|
|
3618
|
+
expression: Optional[_builtins.str] = None,
|
|
3619
|
+
name: Optional[_builtins.str] = None):
|
|
3621
3620
|
"""
|
|
3622
3621
|
Variable is the definition of a variable that is used for composition.
|
|
3623
|
-
:param
|
|
3624
|
-
:param
|
|
3622
|
+
:param _builtins.str expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
|
|
3623
|
+
:param _builtins.str name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
|
|
3625
3624
|
"""
|
|
3626
3625
|
if expression is not None:
|
|
3627
3626
|
pulumi.set(__self__, "expression", expression)
|
|
3628
3627
|
if name is not None:
|
|
3629
3628
|
pulumi.set(__self__, "name", name)
|
|
3630
3629
|
|
|
3631
|
-
@property
|
|
3630
|
+
@_builtins.property
|
|
3632
3631
|
@pulumi.getter
|
|
3633
|
-
def expression(self) -> Optional[
|
|
3632
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
3634
3633
|
"""
|
|
3635
3634
|
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.
|
|
3636
3635
|
"""
|
|
3637
3636
|
return pulumi.get(self, "expression")
|
|
3638
3637
|
|
|
3639
|
-
@property
|
|
3638
|
+
@_builtins.property
|
|
3640
3639
|
@pulumi.getter
|
|
3641
|
-
def name(self) -> Optional[
|
|
3640
|
+
def name(self) -> Optional[_builtins.str]:
|
|
3642
3641
|
"""
|
|
3643
3642
|
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`
|
|
3644
3643
|
"""
|