Skip to content

Commit

Permalink
Merge pull request #1 from jimeh/master
Browse files Browse the repository at this point in the history
Fix template command to not print list of deleted files
  • Loading branch information
rkt2spc authored Mar 27, 2020
2 parents 5f91bdf + 735ac58 commit 6901402
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,9 @@ EOF
${HELM_BIN} ${TILLER_HOST:+--host "$TILLER_HOST" }"$cmd" $subcmd "$@" "${cmdopts[@]}"
helm_exit_code=$?
# cleanup on-the-fly decrypted files
[[ ${#decfiles[@]} -gt 0 ]] && rm -v "${decfiles[@]}"
local rmflags=(-v)
if [ "$cmd" == "template" ]; then rmflags=(); fi
[[ ${#decfiles[@]} -gt 0 ]] && rm "${rmflags[@]}" "${decfiles[@]}"
}

helm_command() {
Expand Down

0 comments on commit 6901402

Please sign in to comment.