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

add: enable webhook patching with flag #6396

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KrishnaSindhur
Copy link

@KrishnaSindhur KrishnaSindhur commented Dec 1, 2024

Includes a flag in the operator to the webhook patching

Checklist

Fixes #6184

Comment on lines +66 to +69
{
Name: cm.APIServiceName,
Type: rotator.APIService,
},
Copy link
Member

Choose a reason for hiding this comment

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

This new flag should enable/disable only the webhook, the apiservice has to be patched always when the patcher is active (managed by the flag --enable-cert-rotation=true). This new feature should be a fine grain configuration to disable the webhook patching for installations where webhooks aren't deployed

@JorTurFer
Copy link
Member

Nice addition! I think that we should document it also as part of docs (maybe here) and support it in our helm chart (disabling the patching when the webhooks aren't deployed)

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.

Certificate generation should respect the state of the webhooks
2 participants