archyufa dbd958d31d [k8s] Add Dashboard UI v1.4 addon to K8s Cluster
This patch introduces kubernetes-dashboard addon
to k8s murano application.
By default this option is enabled, but user can
disable it in dynamic UI corresponding form

Co-Authored-By: ddovbii <ddovbii@mirantis.com>

Change-Id: Id03aed1c5e3c356421beef7b5110d03c2f07d47d
2016-10-11 16:56:27 +00:00

9 lines
254 B
Bash

#!/bin/bash
# $1 - IP
sed -i.bak "s/%%MASTER_IP%%/$1/g" addons/kube-dashboard-addon.yaml
cp -f addons/kube-dashboard-addon.yaml /etc/kubernetes/addons
/opt/bin/kubectl create -f /etc/kubernetes/addons/kube-dashboard-addon.yaml >> /tmp/murano-kube.log