summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2019-03-28 18:36:41 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2019-03-28 18:38:05 +0400
commit2b65471f6b3f7684f4f9f66dd338d13a93e7b852 (patch)
tree752a35d370fcd7baaf6517ff9933c7b558fd6e21 /jjb/functest
parentbb29dd01208fec13dc606626d4bf07245ef61783 (diff)
[fuel] Follow symlink to get k8s config
Change-Id: Icd7aef4c5a328e5e92e9740de3737a82acc71f8b Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'jjb/functest')
-rwxr-xr-xjjb/functest/functest-k8.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/functest/functest-k8.sh b/jjb/functest/functest-k8.sh
index 8561b02f3..a4d80e10b 100755
--- a/jjb/functest/functest-k8.sh
+++ b/jjb/functest/functest-k8.sh
@@ -24,7 +24,7 @@ elif [[ ${INSTALLER_TYPE} == 'fuel' ]]; then
admin_conf_file_vol="-v ${HOME}/admin.conf:/root/.kube/config"
KUBE_MASTER_URL=$(awk '/server:/ {print $2}' ${HOME}/admin.conf | grep -Fv localhost)
KUBE_MASTER_IP=$(echo $KUBE_MASTER_URL | grep -Po '(\d+\.){3}\d+')
- for k in KUBERNETES_PROVIDER KUBE_MASTER_URL KUBE_MASTER_IP; do
+ for k in KUBE_MASTER_URL KUBE_MASTER_IP; do
echo "export $k=${!k}" >> $rc_file
done
else