This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 155
helm_wrapper does a verbose rm for cleanup interfering with templating #126
Comments
+1 really block from using tools like Tilt (tilt.dev). Where we generate k8 specs via |
jimeh
added a commit
to jimeh/helm-secrets
that referenced
this issue
Sep 23, 2019
For all wrapped Helm commands the list of decrypted files is printed as they get removed at the end of plugin execution. For the `template` command this is undesired, as it means you cannot simply run `helm secrets template` and get valid YAML output. This change suppresses the output of deleted files for the `template` only, meaning it does not alter the behavior of other commands, but just fixes the `template` command to work as I imagine most people would expect it to work. [Fixes issues zendesk#126 and zendesk#132]
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Due to the verbose flag in the cleanup code for helm_wrapper, decrypted filenames are output:
This means you can't run
helm secrets template -f values.yaml -f secrets.yaml ./ > template.yaml
without having to edit the file.Removing the -v would fix this, or adding a new flag to run a silent cleanup. I suspect the goal is to avoid new flags which may interfere with helm compatibility?
The text was updated successfully, but these errors were encountered: