[fuel] Pull kubernetes config for yardstick 06/67606/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 17 Apr 2019 09:48:16 +0000 (13:48 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 17 Apr 2019 09:48:16 +0000 (13:48 +0400)
Change-Id: I1eac73a57c034d177ec4a41b28148012dea5abcd
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
jjb/yardstick/yardstick-get-k8s-conf.sh

index 116d2f0..82744a4 100755 (executable)
@@ -9,5 +9,8 @@ if [[ "${DEPLOY_SCENARIO:0:2}" == "k8" ]];then
     elif [[ ${INSTALLER_TYPE} == 'compass' ]];then
         echo "Copy admin.conf to ${dest_path}"
         docker cp compass-tasks:/opt/admin.conf "${dest_path}"
+    elif [[ ${INSTALLER_TYPE} == 'fuel' ]];then
+        echo "Getting kubernetes config ..."
+        docker cp -L fuel:/opt/kubernetes.config "${dest_path}"
     fi
 fi