pulumi-kubernetes 4.19.0__py3-none-any.whl → 4.19.0a1726527720__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 +0 -36
- pulumi_kubernetes/_utilities.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +6 -6
- pulumi_kubernetes/admissionregistration/v1/outputs.py +4 -4
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +8 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +8 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +0 -6
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +321 -1824
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +248 -1367
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +6 -6
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +4 -4
- pulumi_kubernetes/apiextensions/v1/_inputs.py +6 -6
- pulumi_kubernetes/apiextensions/v1/outputs.py +4 -4
- pulumi_kubernetes/apps/v1/_inputs.py +6 -6
- pulumi_kubernetes/apps/v1/outputs.py +4 -4
- pulumi_kubernetes/autoscaling/v2/_inputs.py +15 -15
- pulumi_kubernetes/autoscaling/v2/outputs.py +12 -12
- pulumi_kubernetes/batch/v1/_inputs.py +6 -6
- pulumi_kubernetes/batch/v1/outputs.py +4 -4
- pulumi_kubernetes/coordination/__init__.py +0 -3
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +0 -2
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +0 -2
- pulumi_kubernetes/core/v1/Binding.py +2 -2
- pulumi_kubernetes/core/v1/BindingPatch.py +2 -2
- pulumi_kubernetes/core/v1/ServiceAccount.py +4 -4
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +4 -4
- pulumi_kubernetes/core/v1/_inputs.py +313 -564
- pulumi_kubernetes/core/v1/outputs.py +230 -418
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +12 -12
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +8 -8
- pulumi_kubernetes/helm/v3/_inputs.py +3 -3
- pulumi_kubernetes/helm/v3/outputs.py +2 -2
- pulumi_kubernetes/helm/v4/Chart.py +0 -6
- pulumi_kubernetes/helm/v4/_inputs.py +3 -3
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/resource/__init__.py +0 -3
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +0 -2
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +0 -2
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +8 -8
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/__init__.py +0 -1
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +7 -455
- pulumi_kubernetes/resource/v1alpha3/outputs.py +5 -592
- pulumi_kubernetes/storage/v1/_inputs.py +4 -4
- pulumi_kubernetes/storage/v1/outputs.py +4 -4
- pulumi_kubernetes/yaml/yaml.py +0 -90
- {pulumi_kubernetes-4.19.0.dist-info → pulumi_kubernetes-4.19.0a1726527720.dist-info}/METADATA +6 -6
- {pulumi_kubernetes-4.19.0.dist-info → pulumi_kubernetes-4.19.0a1726527720.dist-info}/RECORD +64 -92
- {pulumi_kubernetes-4.19.0.dist-info → pulumi_kubernetes-4.19.0a1726527720.dist-info}/WHEEL +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +0 -214
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +0 -222
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +0 -215
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +0 -234
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +0 -215
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +0 -226
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +0 -216
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +0 -215
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +0 -228
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +0 -12
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +0 -393
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +0 -313
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +0 -245
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +0 -237
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +0 -215
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +0 -248
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +0 -232
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +0 -216
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +0 -243
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +0 -229
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +0 -215
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +0 -240
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +0 -246
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +0 -216
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +0 -257
- pulumi_kubernetes/resource/v1beta1/__init__.py +0 -21
- pulumi_kubernetes/resource/v1beta1/_inputs.py +0 -3867
- pulumi_kubernetes/resource/v1beta1/outputs.py +0 -3334
- {pulumi_kubernetes-4.19.0.dist-info → pulumi_kubernetes-4.19.0a1726527720.dist-info}/top_level.txt +0 -0
pulumi_kubernetes/__init__.py
CHANGED
|
@@ -120,12 +120,6 @@ _utilities.register(
|
|
|
120
120
|
"mod": "admissionregistration.k8s.io/v1alpha1",
|
|
121
121
|
"fqn": "pulumi_kubernetes.admissionregistration.v1alpha1",
|
|
122
122
|
"classes": {
|
|
123
|
-
"kubernetes:admissionregistration.k8s.io/v1alpha1:MutatingAdmissionPolicy": "MutatingAdmissionPolicy",
|
|
124
|
-
"kubernetes:admissionregistration.k8s.io/v1alpha1:MutatingAdmissionPolicyBinding": "MutatingAdmissionPolicyBinding",
|
|
125
|
-
"kubernetes:admissionregistration.k8s.io/v1alpha1:MutatingAdmissionPolicyBindingList": "MutatingAdmissionPolicyBindingList",
|
|
126
|
-
"kubernetes:admissionregistration.k8s.io/v1alpha1:MutatingAdmissionPolicyBindingPatch": "MutatingAdmissionPolicyBindingPatch",
|
|
127
|
-
"kubernetes:admissionregistration.k8s.io/v1alpha1:MutatingAdmissionPolicyList": "MutatingAdmissionPolicyList",
|
|
128
|
-
"kubernetes:admissionregistration.k8s.io/v1alpha1:MutatingAdmissionPolicyPatch": "MutatingAdmissionPolicyPatch",
|
|
129
123
|
"kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicy": "ValidatingAdmissionPolicy",
|
|
130
124
|
"kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBinding": "ValidatingAdmissionPolicyBinding",
|
|
131
125
|
"kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBindingList": "ValidatingAdmissionPolicyBindingList",
|
|
@@ -386,16 +380,6 @@ _utilities.register(
|
|
|
386
380
|
"kubernetes:coordination.k8s.io/v1alpha1:LeaseCandidatePatch": "LeaseCandidatePatch"
|
|
387
381
|
}
|
|
388
382
|
},
|
|
389
|
-
{
|
|
390
|
-
"pkg": "kubernetes",
|
|
391
|
-
"mod": "coordination.k8s.io/v1alpha2",
|
|
392
|
-
"fqn": "pulumi_kubernetes.coordination.v1alpha2",
|
|
393
|
-
"classes": {
|
|
394
|
-
"kubernetes:coordination.k8s.io/v1alpha2:LeaseCandidate": "LeaseCandidate",
|
|
395
|
-
"kubernetes:coordination.k8s.io/v1alpha2:LeaseCandidateList": "LeaseCandidateList",
|
|
396
|
-
"kubernetes:coordination.k8s.io/v1alpha2:LeaseCandidatePatch": "LeaseCandidatePatch"
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
383
|
{
|
|
400
384
|
"pkg": "kubernetes",
|
|
401
385
|
"mod": "coordination.k8s.io/v1beta1",
|
|
@@ -849,29 +833,9 @@ _utilities.register(
|
|
|
849
833
|
"kubernetes:resource.k8s.io/v1alpha3:ResourceClaimTemplateList": "ResourceClaimTemplateList",
|
|
850
834
|
"kubernetes:resource.k8s.io/v1alpha3:ResourceClaimTemplatePatch": "ResourceClaimTemplatePatch",
|
|
851
835
|
"kubernetes:resource.k8s.io/v1alpha3:ResourceSlice": "ResourceSlice",
|
|
852
|
-
"kubernetes:resource.k8s.io/v1alpha3:ResourceSliceList": "ResourceSliceList",
|
|
853
836
|
"kubernetes:resource.k8s.io/v1alpha3:ResourceSlicePatch": "ResourceSlicePatch"
|
|
854
837
|
}
|
|
855
838
|
},
|
|
856
|
-
{
|
|
857
|
-
"pkg": "kubernetes",
|
|
858
|
-
"mod": "resource.k8s.io/v1beta1",
|
|
859
|
-
"fqn": "pulumi_kubernetes.resource.v1beta1",
|
|
860
|
-
"classes": {
|
|
861
|
-
"kubernetes:resource.k8s.io/v1beta1:DeviceClass": "DeviceClass",
|
|
862
|
-
"kubernetes:resource.k8s.io/v1beta1:DeviceClassList": "DeviceClassList",
|
|
863
|
-
"kubernetes:resource.k8s.io/v1beta1:DeviceClassPatch": "DeviceClassPatch",
|
|
864
|
-
"kubernetes:resource.k8s.io/v1beta1:ResourceClaim": "ResourceClaim",
|
|
865
|
-
"kubernetes:resource.k8s.io/v1beta1:ResourceClaimList": "ResourceClaimList",
|
|
866
|
-
"kubernetes:resource.k8s.io/v1beta1:ResourceClaimPatch": "ResourceClaimPatch",
|
|
867
|
-
"kubernetes:resource.k8s.io/v1beta1:ResourceClaimTemplate": "ResourceClaimTemplate",
|
|
868
|
-
"kubernetes:resource.k8s.io/v1beta1:ResourceClaimTemplateList": "ResourceClaimTemplateList",
|
|
869
|
-
"kubernetes:resource.k8s.io/v1beta1:ResourceClaimTemplatePatch": "ResourceClaimTemplatePatch",
|
|
870
|
-
"kubernetes:resource.k8s.io/v1beta1:ResourceSlice": "ResourceSlice",
|
|
871
|
-
"kubernetes:resource.k8s.io/v1beta1:ResourceSliceList": "ResourceSliceList",
|
|
872
|
-
"kubernetes:resource.k8s.io/v1beta1:ResourceSlicePatch": "ResourceSlicePatch"
|
|
873
|
-
}
|
|
874
|
-
},
|
|
875
839
|
{
|
|
876
840
|
"pkg": "kubernetes",
|
|
877
841
|
"mod": "scheduling.k8s.io/v1",
|
pulumi_kubernetes/_utilities.py
CHANGED
|
@@ -264,7 +264,7 @@ def call_plain(
|
|
|
264
264
|
output = pulumi.runtime.call(tok, props, res, typ)
|
|
265
265
|
|
|
266
266
|
# Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
267
|
-
result, known, secret, _ = _sync_await(asyncio.
|
|
267
|
+
result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output)))
|
|
268
268
|
|
|
269
269
|
problem = None
|
|
270
270
|
if not known:
|
|
@@ -3079,7 +3079,7 @@ if not MYPY:
|
|
|
3079
3079
|
|
|
3080
3080
|
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
|
|
3081
3081
|
|
|
3082
|
-
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{
|
|
3082
|
+
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
|
|
3083
3083
|
|
|
3084
3084
|
Clients should expect to handle additional values by ignoring any values not recognized.
|
|
3085
3085
|
|
|
@@ -3114,7 +3114,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3114
3114
|
|
|
3115
3115
|
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
|
|
3116
3116
|
|
|
3117
|
-
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{
|
|
3117
|
+
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
|
|
3118
3118
|
|
|
3119
3119
|
Clients should expect to handle additional values by ignoring any values not recognized.
|
|
3120
3120
|
|
|
@@ -3183,7 +3183,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
|
|
|
3183
3183
|
|
|
3184
3184
|
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
|
|
3185
3185
|
|
|
3186
|
-
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{
|
|
3186
|
+
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
|
|
3187
3187
|
|
|
3188
3188
|
Clients should expect to handle additional values by ignoring any values not recognized.
|
|
3189
3189
|
|
|
@@ -3229,7 +3229,7 @@ if not MYPY:
|
|
|
3229
3229
|
|
|
3230
3230
|
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
|
|
3231
3231
|
|
|
3232
|
-
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{
|
|
3232
|
+
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
|
|
3233
3233
|
|
|
3234
3234
|
Clients should expect to handle additional values by ignoring any values not recognized.
|
|
3235
3235
|
|
|
@@ -3264,7 +3264,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3264
3264
|
|
|
3265
3265
|
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
|
|
3266
3266
|
|
|
3267
|
-
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{
|
|
3267
|
+
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
|
|
3268
3268
|
|
|
3269
3269
|
Clients should expect to handle additional values by ignoring any values not recognized.
|
|
3270
3270
|
|
|
@@ -3333,7 +3333,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
|
|
|
3333
3333
|
|
|
3334
3334
|
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
|
|
3335
3335
|
|
|
3336
|
-
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{
|
|
3336
|
+
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
|
|
3337
3337
|
|
|
3338
3338
|
Clients should expect to handle additional values by ignoring any values not recognized.
|
|
3339
3339
|
|
|
@@ -2577,7 +2577,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2577
2577
|
|
|
2578
2578
|
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
|
|
2579
2579
|
|
|
2580
|
-
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{
|
|
2580
|
+
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
|
|
2581
2581
|
|
|
2582
2582
|
Clients should expect to handle additional values by ignoring any values not recognized.
|
|
2583
2583
|
|
|
@@ -2634,7 +2634,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
|
|
|
2634
2634
|
|
|
2635
2635
|
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
|
|
2636
2636
|
|
|
2637
|
-
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{
|
|
2637
|
+
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
|
|
2638
2638
|
|
|
2639
2639
|
Clients should expect to handle additional values by ignoring any values not recognized.
|
|
2640
2640
|
|
|
@@ -2695,7 +2695,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2695
2695
|
|
|
2696
2696
|
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
|
|
2697
2697
|
|
|
2698
|
-
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{
|
|
2698
|
+
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
|
|
2699
2699
|
|
|
2700
2700
|
Clients should expect to handle additional values by ignoring any values not recognized.
|
|
2701
2701
|
|
|
@@ -2752,7 +2752,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
|
|
|
2752
2752
|
|
|
2753
2753
|
"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
|
|
2754
2754
|
|
|
2755
|
-
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{
|
|
2755
|
+
"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
|
|
2756
2756
|
|
|
2757
2757
|
Clients should expect to handle additional values by ignoring any values not recognized.
|
|
2758
2758
|
|
|
@@ -104,6 +104,10 @@ class ValidatingAdmissionPolicyBinding(pulumi.CustomResource):
|
|
|
104
104
|
"""
|
|
105
105
|
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
|
|
106
106
|
|
|
107
|
+
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.
|
|
108
|
+
|
|
109
|
+
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
110
|
+
|
|
107
111
|
:param str resource_name: The name of the resource.
|
|
108
112
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
109
113
|
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
@@ -120,6 +124,10 @@ class ValidatingAdmissionPolicyBinding(pulumi.CustomResource):
|
|
|
120
124
|
"""
|
|
121
125
|
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
|
|
122
126
|
|
|
127
|
+
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.
|
|
128
|
+
|
|
129
|
+
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
130
|
+
|
|
123
131
|
:param str resource_name: The name of the resource.
|
|
124
132
|
:param ValidatingAdmissionPolicyBindingInitArgs args: The arguments to use to populate this resource's properties.
|
|
125
133
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -110,6 +110,10 @@ class ValidatingAdmissionPolicyBindingPatch(pulumi.CustomResource):
|
|
|
110
110
|
additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
111
111
|
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
|
|
112
112
|
|
|
113
|
+
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.
|
|
114
|
+
|
|
115
|
+
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
116
|
+
|
|
113
117
|
:param str resource_name: The name of the resource.
|
|
114
118
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
115
119
|
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
@@ -132,6 +136,10 @@ class ValidatingAdmissionPolicyBindingPatch(pulumi.CustomResource):
|
|
|
132
136
|
additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
133
137
|
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
|
|
134
138
|
|
|
139
|
+
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.
|
|
140
|
+
|
|
141
|
+
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
142
|
+
|
|
135
143
|
:param str resource_name: The name of the resource.
|
|
136
144
|
:param ValidatingAdmissionPolicyBindingPatchArgs args: The arguments to use to populate this resource's properties.
|
|
137
145
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -5,12 +5,6 @@
|
|
|
5
5
|
from ... import _utilities
|
|
6
6
|
import typing
|
|
7
7
|
# Export this package's modules as members:
|
|
8
|
-
from .MutatingAdmissionPolicy import *
|
|
9
|
-
from .MutatingAdmissionPolicyBinding import *
|
|
10
|
-
from .MutatingAdmissionPolicyBindingList import *
|
|
11
|
-
from .MutatingAdmissionPolicyBindingPatch import *
|
|
12
|
-
from .MutatingAdmissionPolicyList import *
|
|
13
|
-
from .MutatingAdmissionPolicyPatch import *
|
|
14
8
|
from .ValidatingAdmissionPolicy import *
|
|
15
9
|
from .ValidatingAdmissionPolicyBinding import *
|
|
16
10
|
from .ValidatingAdmissionPolicyBindingList import *
|