-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
kustomize edit add generator #4343
Comments
Are you envisioning something similar to
If my understanding of the feature request is correct, I don't have any objections to this command being added to kustomize as a feature, especially since we already have a I would be happy to review and potentially accept a PR that implements this. If anyone is interested, you can look at the code in kustomize/commands/edit/add/addtransformer.go and copy most of the implementation from there - just change /triage accepted |
Exactly what I meant :)
Thanks! I may give it a shot myself, time permitting... |
I have created the PR for this feature here #4361 |
was this finally included? it seems an interesting feature, why we cannot add other resources but no generators with the edit add? |
Is your feature request related to a problem? Please describe.
When I have a large number of generators in a directory, it is cumbersome to add them all to kustomization.yaml by hand.
Describe the solution you'd like
Just like is already available for transformers, I would like the "kustomize edit add" command to support adding generators by wildcard.
Probably "kustomize edit remove generator" should be added too for consistency.
Describe alternatives you've considered
Writing my own script that does this.
The text was updated successfully, but these errors were encountered: