-
Notifications
You must be signed in to change notification settings - Fork 351
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 webhooks for consumer/tls/upstream #667
Conversation
Codecov Report
@@ Coverage Diff @@
## master #667 +/- ##
==========================================
- Coverage 34.77% 34.51% -0.26%
==========================================
Files 60 63 +3
Lines 5916 6078 +162
==========================================
+ Hits 2057 2098 +41
- Misses 3608 3729 +121
Partials 251 251
Continue to review full report at Codecov.
|
* Remove volumeMounts when webhook is disabled
I just found that there is already basic validation in CRDs, so could you provide some cases that can not be validated in CRD, then I will replace the logic in webhooks with yours. |
@fgksgf you can just fix the lint error. then we can move forward. |
I just didn't figure out why the linter report the error: There is no lint errors when I run |
@fgksgf I think, it's a GitHub Action's bug. I have trigerd it on my fork using same env. It can be pass. https://github.com/tao12345666333/ingress-controller/runs/3684766821?check_suite_focus=true |
Yes, I have checked the lint too, it can pass. If there is no other need to modify, we can merge this PR. cc @tao12345666333 @tokers @lingsamuel |
+1 can't repro. I triggered it again, let's see if it will pass. If not, we may need to create an ignore rule. |
+1 |
ApisixRoute v2beta2 version was introduced in #698 Let's merge this PR first, and then increase the coverage of v2beta2 in subsequent PRs. |
Added a new issue for tracking #703 |
Please answer these questions before submitting a pull request
Why submit this pull request?
Bugfix
New feature provided
Improve performance
Backport patches
Related issues
New feature or improvement
Add webhooks for consumer/tls/upstream.
TODO