-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add validation on akodeploymentconfig avi fields in webhook #94
Conversation
185e92c
to
02317b1
Compare
ba32f62
to
02317b1
Compare
Signed-off-by: Xudong Liu <xudongl@vmware.com>
Signed-off-by: Xudong Liu <xudongl@vmware.com>
Signed-off-by: Xudong Liu <xudongl@vmware.com>
Signed-off-by: Xudong Liu <xudongl@vmware.com>
Signed-off-by: Xudong Liu <xudongl@vmware.com>
Signed-off-by: Xudong Liu <xudongl@vmware.com>
Signed-off-by: Xudong Liu <xudongl@vmware.com>
Signed-off-by: Xudong Liu <xudongl@vmware.com>
c1e61e3
to
03cc15a
Compare
Codecov Report
@@ Coverage Diff @@
## main #94 +/- ##
==========================================
+ Coverage 16.31% 25.99% +9.67%
==========================================
Files 29 22 -7
Lines 2568 2270 -298
==========================================
+ Hits 419 590 +171
+ Misses 2115 1627 -488
- Partials 34 53 +19
Continue to review full report at Codecov.
|
Signed-off-by: Xudong Liu <xudongl@vmware.com>
this is great, can we formulate the validation rule as a readme under <proj_root>/docs? |
Sure thing, that is the next step, the document |
Signed-off-by: Xudong Liu <xudongl@vmware.com>
Signed-off-by: Xudong Liu xudongl@vmware.com
What this PR does / why we need it:
When users create or update
AKODeploymentConfig
objects, add validation on those changed fields, to ensure those input fields are validate and format is correct.Which issue(s) this PR fixes:
Fixes #
Describe testing done for PR:
Special notes for your reviewer:
Release note:
New PR Checklist