This commit is contained in:
2023-10-22 13:57:31 -05:00
parent e43f1af83f
commit 3459a1133e

View File

@ -69,7 +69,7 @@ def readSecret (Map config) {
returnStdout: true, returnStdout: true,
script: """#Read Secret script: """#Read Secret
set +x 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 kubectl get secret "${config.secret}" -o jsonpath={".data.${safeSecretID}"} | base64 -d
""" """
) )