Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zendesk/helm-secrets
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1a9ce3b62d947ca85c7d6321397344faac9e631e
Choose a base ref
..
head repository: zendesk/helm-secrets
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 43266d74520ddba7fd4b8dd75c4b19921a74c557
Choose a head ref
Showing with 5 additions and 2 deletions.
  1. +5 −2 secrets.sh
7 changes: 5 additions & 2 deletions secrets.sh
Original file line number Diff line number Diff line change
@@ -290,7 +290,7 @@ helm_wrapper() {
j=0

#cleanup on-the-fly decrypted files
trap 'xargs -a "${decrypted_files}" -0 rm -fv > /dev/stderr; rm -f "${decrypted_files}"' EXIT
trap 'xargs -0 rm -fv > /dev/stderr < "${decrypted_files}"; rm -f "${decrypted_files}"' EXIT

while [ $j -lt $argc ]; do
case "$1" in
@@ -307,7 +307,7 @@ helm_wrapper() {
if decrypt_helper "${file}"; then
file_dec="$(file_dec_name "${file}")"
set -- "$@" "$file_dec"

echo "[helm-secrets] Decrypt: ${file}" >/dev/stderr
printf '%s\0' "${file_dec}" >>"${decrypted_files}"
else
set -- "$@" "$file"
@@ -325,7 +325,10 @@ helm_wrapper() {
j=$((j + 1))
done

echo
"${HELM_BIN}" ${TILLER_HOST:+--host "$TILLER_HOST"} "$@"
echo
echo "[helm-secrets] Remove decrypted files:" >/dev/stderr
}

helm_command() {