Secrets should be quiet.

This commit is contained in:
Hyatt 2022-04-01 21:23:39 -05:00
parent d9bed23d6b
commit f99bfb5653
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -40,7 +40,10 @@ def createSecret (Map config) {
serverUrl: config.kubeURL,
namespace: config.namespace
]) {
sh "printf '%s\n' \"" + config.secret + "\" | kubectl apply -f -"
sh """
set +x
printf '%s\n' \"" + config.secret + "\" | kubectl apply -f -"
"""
}
}