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

Removing verbose deletion as it breaks helm template functions. #149

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: 2 additions & 2 deletions secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ clean() {
return
fi
local basedir="$1"
find "$basedir" -type f -name "secrets*${DEC_SUFFIX}" -exec rm -v {} \;
find "$basedir" -type f -name "secrets*${DEC_SUFFIX}" -exec rm {} \;
}

helm_wrapper() {
Expand Down Expand Up @@ -460,7 +460,7 @@ 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[@]}"
[[ ${#decfiles[@]} -gt 0 ]] && rm "${decfiles[@]}"
}

helm_command() {
Expand Down