-
Notifications
You must be signed in to change notification settings - Fork 690
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
apis: add kubebuilder regex validation for timeout strings #2913
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2913 +/- ##
==========================================
- Coverage 76.33% 76.30% -0.04%
==========================================
Files 83 83
Lines 6344 6344
==========================================
- Hits 4843 4841 -2
- Misses 1407 1408 +1
- Partials 94 95 +1
|
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 would be great to have functional tests for this to cover as well.
Yep, good idea. Still need to wrap my brain around how to add new test cases there as I haven't done it yet. |
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, nice work.
406ebe3
to
fc20477
Compare
@stevesloka I'll file a followup issue to look at adding an integration test for this. |
Adds kubebuilder regex validations for all timeout string API fields. Closes projectcontour#2728 Signed-off-by: Steve Kriss <krisss@vmware.com>
fc20477
to
9479e63
Compare
ignoring SNI integration test flake. |
Adds kubebuilder regex validations for all timeout string API
fields.
Closes #2728
Signed-off-by: Steve Kriss krisss@vmware.com