-
Notifications
You must be signed in to change notification settings - Fork 593
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
feat: add CRD validation expression for KongPlugin
and KongClusterPlugin
config
and configFrom
fields
#5119
feat: add CRD validation expression for KongPlugin
and KongClusterPlugin
config
and configFrom
fields
#5119
Conversation
0030a65
to
51f13ca
Compare
KongPlugin
and KongClusterPlugin
config
and configFrom
fields
…gin config and configFrom fields
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5119 +/- ##
=======================================
+ Coverage 75.7% 77.8% +2.1%
=======================================
Files 167 167
Lines 18911 18908 -3
=======================================
+ Hits 14320 14718 +398
+ Misses 3770 3359 -411
- Partials 821 831 +10
☔ View full report in Codecov by Sentry. |
51f13ca
to
e3fcc28
Compare
Co-authored-by: Grzegorz Burzyński <[email protected]>
…set-config-or-configFrom
…set-config-or-configFrom
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This marks a fresh beginning for CEL in KIC.
What this PR does / why we need it:
This PR adds CRD validation expression to
KongPlugin
andKongClusterPlugin
to enforce only one ofconfig
andconfigFrom
fields to be set using the CRD validation expressions.Which issue this PR fixes:
Related to #5062 (just a small part of it).
Special notes for your reviewer:
PR Readiness Checklist:
Complete these before marking the PR as
ready to review
:CHANGELOG.md
release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR