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

helm template --output-dir multiple runs will produce incorrect manifests #12988

Open
sstarcher opened this issue Apr 26, 2024 · 0 comments
Open
Labels
bug Categorizes issue or PR as related to a bug. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

Comments

@sstarcher
Copy link
Contributor

Running helm template csi-secrets-store secrets-store-csi-driver/secrets-store-csi-driver --output-dir blah

Will produce correct manifests, but if you run it a second time any files that contain helm hooks will get appended to and will have duplicate contents. I would expect the files to be identical if you ran the command multiple times.

These will be the files that keep getting appended

        modified:   blah/secrets-store-csi-driver/templates/crds-upgrade-hook.yaml
        modified:   blah/secrets-store-csi-driver/templates/keep-crds-upgrade-hook.yaml

Output of helm version:

3.14.1

Output of kubectl version:

1.29.2

Cloud Provider/Platform (AKS, GKE, Minikube etc.):

N/A

@gjenkins8 gjenkins8 added the bug Categorizes issue or PR as related to a bug. label May 2, 2024
@gjenkins8 gjenkins8 added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Projects
None yet
Development

No branches or pull requests

2 participants