Skip to content

Commit

Permalink
Use new add-on name for microk8s.
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Huang <haicha.tw@gmail.com>
  • Loading branch information
huaichehuang committed Jul 23, 2024
1 parent b7261c6 commit e350c69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install/primehub-install
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ check::microk8s() {

check::microk8s::addon "rbac"
check::microk8s::addon "dns"
check::microk8s::addon "storage"
check::microk8s::addon "hostpath-storage"
}

check::k8s::cluster() {
Expand Down Expand Up @@ -482,8 +482,8 @@ create::singlenode() {
local status=$(microk8s.status --format short --wait-ready)

if echo ${status} | grep "storage: disabled" > /dev/null; then
info "[Enable] microk8s addon: storage"
microk8s.enable storage
info "[Enable] microk8s addon: hostpath-storage"
microk8s.enable hostpath-storage
fi

if echo ${status} | grep "dns: disabled" > /dev/null; then
Expand Down

0 comments on commit e350c69

Please sign in to comment.