New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature implementation: Validation rules for Custom Resource Definitions using the CEL expression language #106051
Conversation
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/cel/compilation.go
Outdated
Show resolved
Hide resolved
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go
Outdated
Show resolved
Hide resolved
c36bccd
to
b243523
Compare
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values.go
Show resolved
Hide resolved
Done reviewing, looks like we're in the home stretch: one bug to fix before merge: two follow-up issues to open/track before beta:
The test coverage here is excellent, thanks for diligently adding that as you went |
Pushed a commit to address this. (There is also some API doc grammar fixes that are quite minor).
Tracking issue: #106440 Tracking issue: #106438 (both issues are being added to the KEP graduation criteria via kubernetes/enhancements#3039) Huge thanks for the review @liggitt! |
…tions extension fields
…ensions and CEL property name escaping
Rebased and squashed. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jpbetz, liggitt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
Authors: @cici37, @jpbetz
What type of PR is this?
/kind feature /kind api-change
What this PR does / why we need it:
Add x-kubernetes-validator to CRD for expression validation.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: