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

Enable webhook dry run on supported Kubernetes versions #3834

Merged

Conversation

charith-elastic
Copy link
Contributor

Adds the sideEffects: None field to the webhook declaration when the target Kubernetes version supports dry runs.

The Helm webhook template is intentionally kept at v1beta1 because it is used to generate the all-in-one.yaml, which needs to work on older Kubernetes versions as well.

Fixes #1233

@charith-elastic charith-elastic added >enhancement Enhancement of existing functionality v1.4.0 labels Oct 13, 2020
Copy link
Collaborator

@pebrc pebrc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@charith-elastic charith-elastic merged commit 2d6d228 into elastic:master Oct 19, 2020
@charith-elastic charith-elastic deleted the feature/webhook-dryrun branch October 19, 2020 07:14
@pebrc pebrc changed the title Enable webhook dry run on supported k8s versions Enable webhook dry run on supported Kubernetes versions Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement Enhancement of existing functionality v1.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

admission webhook "validation.elasticsearch.elastic.co" does not support dry run
2 participants