From b66c749590dee35a4a7d9782208601013b2fdcbe Mon Sep 17 00:00:00 2001
From: Michael Polenchuk <mpolenchuk@mirantis.com>
Date: Wed, 17 Apr 2019 13:48:16 +0400
Subject: [fuel] Pull kubernetes config for yardstick

Change-Id: I1eac73a57c034d177ec4a41b28148012dea5abcd
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
---
 jjb/yardstick/yardstick-get-k8s-conf.sh | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'jjb')

diff --git a/jjb/yardstick/yardstick-get-k8s-conf.sh b/jjb/yardstick/yardstick-get-k8s-conf.sh
index 116d2f0d0..82744a4ee 100755
--- a/jjb/yardstick/yardstick-get-k8s-conf.sh
+++ b/jjb/yardstick/yardstick-get-k8s-conf.sh
@@ -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
-- 
cgit