Skip to content
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) suport dry run #906

Merged
merged 1 commit into from
Jul 15, 2020
Merged

fix(kuma-cp) suport dry run #906

merged 1 commit into from
Jul 15, 2020

Conversation

nickolaev
Copy link
Contributor

@nickolaev nickolaev commented Jul 15, 2020

Summary

Follow K8s docs to add sideEffects field to the webhook deployments:

https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/

This allows for enabling dry run commands in Kuma enabled Kubernetes clusters.

Issues resolved

Fix #828

Documentation

  • Not needed

Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
@nickolaev nickolaev requested a review from a team as a code owner July 15, 2020 12:45
@nickolaev nickolaev merged commit dc493fe into master Jul 15, 2020
@nickolaev nickolaev deleted the feat/support_dry_run branch July 15, 2020 20:06
@traviswt
Copy link

The dry run still fails on Kuma resources. Missing the "sideEffects: None" on the "validator.kuma-admission.kuma.io" in the "kuma-validating-webhook-configuration" "ValidatingWebhookConfiguration".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Admission Webhook does not support dry run
3 participants