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

Fix template command to not print list of deleted files #1

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

rkt2spc
Copy link
Owner

@rkt2spc rkt2spc commented Mar 27, 2020

For all wrapped Helm commands the list of decrypted files are 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
command 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]

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]
@rkt2spc rkt2spc merged commit 6901402 into rkt2spc:master Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants