diff --git a/vars/declarativeFunctions.groovy b/vars/declarativeFunctions.groovy index f5daf1d..a269aca 100644 --- a/vars/declarativeFunctions.groovy +++ b/vars/declarativeFunctions.groovy @@ -42,7 +42,7 @@ def createSecret (Map config) { ]) { sh """ set +x - printf '%s\n' \"" + config.secret + "\" | kubectl apply -f -" + printf '%s\n' "${config.secret}" | kubectl apply -f - """ } }