-
Notifications
You must be signed in to change notification settings - Fork 335
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-cp) possible to delete resources on Zone CP #2665
Conversation
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Codecov Report
@@ Coverage Diff @@
## master #2665 +/- ##
==========================================
- Coverage 51.97% 51.96% -0.01%
==========================================
Files 871 871
Lines 49512 49521 +9
==========================================
Hits 25733 25733
- Misses 21699 21711 +12
+ Partials 2080 2077 -3
Continue to review full report at Codecov.
|
Was it intentional to remove the "Skip validation on default mesh" logic? Apart from that question, looks good to me. |
Are we sure the update operations on zone CPs are also disabled? Also, what is the error message that we return when an UPDATE/DELETE operation is performed on the zone CPs? |
@parkanzky yes, it was intentional. Before service accounts, we were using |
|
Let's update the message to: "Operation not allowed. {project-name} resources like {resource-name} can be updated or deleted only from the GLOBAL control plane and not from a ZONE control plane." |
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Summary
Webhook didn't check DELETE operations on Zone CP
Full changelog
Issues resolved
N/A
Documentation
N/A
Testing
Backwards compatibility
backport-to-stable
label if the code is backwards compatible. Otherwise, list breaking changes.