Skip to content

Commit

Permalink
Add HELM_SECRETS_DECRYPT_SECRETS_IN_TMP_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Aug 14, 2023
1 parent 56ed84b commit 63df213
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/template.bats
Original file line number Diff line number Diff line change
Expand Up @@ -2055,7 +2055,8 @@ load '../bats/extensions/bats-file/load'

create_chart "${TEST_TEMP_DIR}"

run env HELM_SECRETS_DECRYPT_SECRETS_IN_TMP_DIR=true "${HELM_BIN}" secrets template "${TEST_TEMP_DIR}/chart" -f "${VALUES_PATH}" 2>&1
run env HELM_SECRETS_DECRYPT_SECRETS_IN_TMP_DIR=true WSLENV="HELM_SECRETS_DECRYPT_SECRETS_IN_TMP_DIR:${WSLENV}" \
"${HELM_BIN}" secrets template "${TEST_TEMP_DIR}/chart" -f "${VALUES_PATH}" 2>&1

assert_output -e "\[helm-secrets\] Decrypt: .*${VALUES}"
assert_output --partial "port: 81"
Expand Down

0 comments on commit 63df213

Please sign in to comment.