summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2019-03-22 16:20:45 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2019-03-22 19:04:17 +0400
commit1a28b61ccb46ee45dfee6e38fa29aff5c76cb69c (patch)
treeca6751c6372e7c380b3b30f882667e2adf3f51cc /utils
parent7486614fbc3e92820c8627bdb6bd7eb252b2ab49 (diff)
[fuel] Handle kubernetes config
Change-Id: I87b7d74b22341d9c091c16436a9d4a6cfce173d5 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/fetch_k8_conf.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/fetch_k8_conf.sh b/utils/fetch_k8_conf.sh
index 32c07f8b6..b3be0d6e1 100755
--- a/utils/fetch_k8_conf.sh
+++ b/utils/fetch_k8_conf.sh
@@ -59,6 +59,9 @@ if [ "$installer_type" == "compass" ]; then
info "Fetch admin.conf successfully"
elif [ "$installer_type" == "joid" ]; then
info "Do nothing, config file has been provided in $HOME/joid_config/config for joid"
+elif [ "$installer_type" == "fuel" ]; then
+ info "Getting kubernetes config ..."
+ docker cp fuel:/opt/kubernetes.config $dest_path
else
error "Installer $installer_type is not supported by this script"
fi