From f45f52a996a53a0520adb17e43e10a06a495bcfa Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 8 Jul 2020 11:28:12 +0000 Subject: [PATCH] Fix bug 1129: juju_addk8s requires the storage class Change-Id: I8b59e83526ba7f73dd90dba86ae7bce990199e0f Signed-off-by: garciadeblas --- installers/full_install_osm.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 49d5fa22..e0ee3cff 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -429,7 +429,7 @@ function juju_createcontroller() { } function juju_addk8s() { - cat .kube/config | juju add-k8s $OSM_VCA_K8S_CLOUDNAME --controller $OSM_STACK_NAME + cat .kube/config | juju add-k8s $OSM_VCA_K8S_CLOUDNAME --controller $OSM_STACK_NAME --storage openebs-hostpath } function juju_createproxy() { @@ -1154,7 +1154,7 @@ EOF track install_k8s init_kubeadm $OSM_DOCKER_WORK_DIR/cluster-config.yaml kube_config_dir - install_k8s_storage_class + install_k8s_storageclass track init_k8s else #install_docker_compose @@ -1167,8 +1167,6 @@ EOF track juju_addk8s install_helm track install_helm - install_k8s_storageclass - track install_k8s_storageclass fi [ -z "$DOCKER_NOBUILD" ] && generate_docker_images -- 2.25.1