Skip to content

Commit bcd4f81

Browse files
authored
Update release blog for cel section
1 parent 2a8d704 commit bcd4f81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/en/blog/_posts/2023-08-15-kubernetes-1.28-blog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ The [Common Expression Language (CEL)](https://github.com/google/cel-go) can be
7474

7575
CRDs need direct support for non-trivial validation. While admission webhooks do support CRDs validation, they significantly complicate the development and operability of CRDs.
7676

77+
In 1.28, two optional fields `reason` and `fieldPath` were added to allow user to specify the failure reason and fieldPath when validation failed.
78+
7779
For more information, read [validation rules](/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#validation-rules) in the CRD documentation.
7880

7981
## ValidatingAdmissionPolicies graduate to beta
@@ -84,7 +86,7 @@ This builds on the capabilities of the CRD Validation Rules feature that graduat
8486

8587
This will lower the infrastructure barrier to enforcing customizable policies as well as providing primitives that help the community establish and adhere to the best practices of both K8s and its extensions.
8688

87-
To use [ValidatingAdmissionPolicies](/docs/reference/access-authn-authz/validating-admission-policy/), you need to enable the `admissionregistration.k8s.io/v1beta1` API group in your cluster's control plane.
89+
To use [ValidatingAdmissionPolicies](/docs/reference/access-authn-authz/validating-admission-policy/), you need to enable both the `admissionregistration.k8s.io/v1beta1` API group and the `ValidatingAdmissionPolicy` feature gate in your cluster's control plane.
8890

8991
## Match conditions for admission webhooks
9092

0 commit comments

Comments
 (0)