.
This commit is contained in:
parent
3459a1133e
commit
209ed2e264
@ -68,8 +68,7 @@ def readSecret (Map config) {
|
||||
def output = sh(
|
||||
returnStdout: true,
|
||||
script: """#Read Secret
|
||||
set +x
|
||||
echo "kubectl get secret \"${config.secret}\" -o jsonpath={\".data.${safeSecretID}\"} | base64 -d"
|
||||
set -x
|
||||
kubectl get secret "${config.secret}" -o jsonpath={".data.${safeSecretID}"} | base64 -d
|
||||
"""
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user