-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Automate Uncommenting Webhook Blocks in kustomize.yaml
When Scaffolding Webhooks
#4422
Comments
kustomize.yaml
When Scaffolding Webhookskustomize.yaml
When Scaffolding Webhooks
Hey @camilamacedo86 , can you please assign this to me ? |
@Dhairya-Dudhatra you can comment |
/assign |
What we must do: If we run The, we will uncomment (if not yet) in the config/default/kustomize.ymal
Then:
Since when it happens the project will need to have the dependency with webhooks and we are uncomment the metrics as well, we need to uncomment the following in the
So that we ensure that all places that will benefit from using cert-manager will be uncommented, and we are making the process easier for our users. |
What do you want to happen?
Currently, when scaffolding webhooks (default or conversion or validation), users need to manually uncomment the relevant blocks in the
config/default/kustomization.yaml
file. This process can be automated to improve the user experience.Problem
kustomization.yaml
file.Solution
Automate Uncommenting:
kustomization.yaml
during webhook scaffolding.pkg/plugins/golang/v4/scaffolds/webhook.go
Raise Warnings:
Remove Shell Script Dependencies in CI:
Benefits
kustomization.yaml
when scaffolding webhooks.kubebuilder
users.Extra Labels
No response
The text was updated successfully, but these errors were encountered: