From 3459a1133e4a3b5ca5a4d46d73f7139994c5cdf6 Mon Sep 17 00:00:00 2001 From: nhyatt Date: Sun, 22 Oct 2023 13:57:31 -0500 Subject: [PATCH] . --- vars/declarativeFunctions.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/declarativeFunctions.groovy b/vars/declarativeFunctions.groovy index db764b1..97446d2 100644 --- a/vars/declarativeFunctions.groovy +++ b/vars/declarativeFunctions.groovy @@ -69,7 +69,7 @@ def readSecret (Map config) { returnStdout: true, script: """#Read Secret set +x - echo "kubectl get secret "${config.secret}" -o jsonpath={".data.${safeSecretID}"} | base64 -d" + echo "kubectl get secret \"${config.secret}\" -o jsonpath={\".data.${safeSecretID}\"} | base64 -d" kubectl get secret "${config.secret}" -o jsonpath={".data.${safeSecretID}"} | base64 -d """ )