-
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
target helm chart directory should be configurable #4320
Comments
Hi @bavarianbidi, We use the kubebuilder/testdata/project-v4/Makefile Lines 129 to 133 in 40db2b8
By default, this is the most logical place. However, if you want to add an OPTIONAL flag to the plugin to allow people to output the chart elsewhere, please go forward with it. It seems like a nice improvement 🚀 . The flag would need to be added at: And here: Then, we need to track this info in the kubebuilder/pkg/plugins/golang/deploy-image/v1alpha1/api.go Lines 193 to 218 in 40db2b8
See how this results in the Then, we would also need to add a condition to retrieve this value when present for the command Similar to what we do for the deploy image here: kubebuilder/pkg/cli/alpha/internal/generate.go Lines 297 to 313 in 40db2b8
Looking forward to see your PR 🥇 |
What do you want to happen?
I gave the very early
helm.kubebuilder.io/v1-alpha
plugin a try.One downside with the generated manifests is the current chosen file path for the helm charts.
All the content of the generated helm charts goes to
./dist
folder on.(xref: relevant code places).
I very often use goreleaser for the release process.
And per default, all the generated build artifacts will be placed under the
./dist
folder. As these generated artifacts should not get tracked by git, we ignore the entire./dist
folder in our.gitignore
file.Per documentation, it's possible in
goreleaser
to change that location (xref: goreleaser doc).But as i do not prefer to change locations from an existing integrated tool, just because of integrating a new tool i would like to see to make the target folder configurable 🙏
I can take over the implementation if wanted
Extra Labels
No response
The text was updated successfully, but these errors were encountered: