From 28478f5922bf364191a0c89a48adbf976de23ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Thu, 8 Aug 2024 08:14:43 +0200 Subject: [PATCH] Add space dir tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Otto Kröpke --- tests/unit/template.bats | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/unit/template.bats b/tests/unit/template.bats index c002a6bc..eb1be017 100755 --- a/tests/unit/template.bats +++ b/tests/unit/template.bats @@ -428,6 +428,11 @@ key2: value" 2>&1 assert_success + run env HELM_DATA_HOME="${HELM_DATA_HOME}" WSLENV="HELM_DATA_HOME/p:${WSLENV}" "${HELM_BIN}" plugin list + + assert_output --partial "secrets" + assert_success + run env HELM_PLUGINS="${HELM_PLUGINS}" WSLENV="HELM_PLUGINS:${WSLENV}" "${HELM_BIN}" --debug secrets template "${TEST_TEMP_DIR}/chart" -f "${VALUES_PATH}" 2>&1 assert_output -e "\[helm-secrets\] Decrypt: .*${VALUES}"