-
Notifications
You must be signed in to change notification settings - Fork 327
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
fix(kuma-dp) validate the DP proxy type #2186
Conversation
Thanks for fixing this! Look good, but probably it makes sense to move this check to |
Ah I see. I agree it makes sense to validate there as well. I'd like to also keep the validation in |
@lobkovilya I updated the validation PTAL |
Validate that the kuma-dp proxy type must be "ingress" or "dataplane". Add dataplane configuration validation to ensure the proxy type is both valid and supported. Signed-off-by: James Peach <james.peach@konghq.com>
Codecov Report
@@ Coverage Diff @@
## master #2186 +/- ##
==========================================
+ Coverage 51.75% 52.06% +0.31%
==========================================
Files 909 913 +4
Lines 40998 41040 +42
==========================================
+ Hits 21218 21367 +149
+ Misses 17744 17614 -130
- Partials 2036 2059 +23
Continue to review full report at Codecov.
|
Validate that the kuma-dp proxy type must be "ingress" or "dataplane". Add dataplane configuration validation to ensure the proxy type is both valid and supported. Signed-off-by: James Peach <james.peach@konghq.com> (cherry picked from commit 8b13853)
Validate that the kuma-dp proxy type must be "ingress" or "dataplane". Add dataplane configuration validation to ensure the proxy type is both valid and supported. Signed-off-by: James Peach <james.peach@konghq.com> (cherry picked from commit 8b13853) Co-authored-by: James Peach <james.peach@konghq.com>
Summary
Validate that the kuma-dp proxy type nust be "ingress" or "dataplane".
Full changelog
--proxy-type
flag validationIssues resolved
N/A
Documentation
N/A
Testing