[feature]: Specify failurepolicy when MutatingWebhookConfiguration is createdSee original GitHub issue
Is your feature request related to a problem? Please describe.
I’m trying to create a mutator on a pod, which works only while my operator is running. When the operator dies, for example, restarting the deployment, the pods can’t be created because the
failurePolicy is set to
Fail, the default. When the pod starts up after changing it manually it gets reset to Fail.
Describe the solution you would like
Have a method called on the webhook that will allow us to configure the webhook and other objects that get installed in the cluster.
- Created 7 months ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
A pull request is created. It also addresses #525, something that was also causing me pains. I implemented that as an opt-in feature since it would delete the existing webhooks and recreate them on startup to guarantee an expected state.
Awesome. I’ll try and get a PR up in the next couple of days. I was thinking of a new interface that could optionally be implemented that would be called. Should be pretty easy to follow.