Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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