update secrets fetching condition

pull/81/head
Muhammad Atif Ali 2 years ago
parent 33bb8f41fb
commit cb2e629c5f
No known key found for this signature in database

@ -39,9 +39,9 @@ export VAULT_TOKEN=${VAULT_TOKEN}
printf "🔎 Verifying Vault address and token ...\n\n" printf "🔎 Verifying Vault address and token ...\n\n"
vault status vault status
# Set secrets if $SECRETS is set # Skip fetching secrets if SECRETS is {}
if [ -z "${SECRETS}" ]; then if [ "${SECRETS}" = "{}" ]; then
printf "\n🔑 No secrets to set ...\n\n" printf "\n🔑 No secrets to fetch.\n\n"
exit 0 exit 0
fi fi

Loading…
Cancel
Save