diff options
Diffstat (limited to 'jjb/yardstick/yardstick-get-k8s-conf.sh')
-rwxr-xr-x | jjb/yardstick/yardstick-get-k8s-conf.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jjb/yardstick/yardstick-get-k8s-conf.sh b/jjb/yardstick/yardstick-get-k8s-conf.sh new file mode 100755 index 000000000..e93367f9a --- /dev/null +++ b/jjb/yardstick/yardstick-get-k8s-conf.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -e + +dest_path="$HOME/admin.conf" + +if [[ "${DEPLOY_SCENARIO:0:2}" == "k8" ]];then + juju scp kubernetes-master/0:config "${dest_path}" +fi |