This commit is contained in:
Hyatt 2023-10-22 14:01:45 -05:00
parent 3459a1133e
commit 209ed2e264
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -68,8 +68,7 @@ def readSecret (Map config) {
def output = sh( def output = sh(
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"
kubectl get secret "${config.secret}" -o jsonpath={".data.${safeSecretID}"} | base64 -d kubectl get secret "${config.secret}" -o jsonpath={".data.${safeSecretID}"} | base64 -d
""" """
) )