From 6423993d5c2a8eeb8f1330cdc7d87133ab7aa88d Mon Sep 17 00:00:00 2001 From: Angelos Kolaitis Date: Fri, 2 Dec 2022 16:24:57 +0200 Subject: [PATCH] Do not fail if community addons cannot be enabled (#55) --- controllers/cloudinit/scripts/20-microk8s-enable.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/cloudinit/scripts/20-microk8s-enable.sh b/controllers/cloudinit/scripts/20-microk8s-enable.sh index 6840cdc..5e7c978 100644 --- a/controllers/cloudinit/scripts/20-microk8s-enable.sh +++ b/controllers/cloudinit/scripts/20-microk8s-enable.sh @@ -8,7 +8,7 @@ # - microk8s apiserver is up and running # enable community addons, this is for free and avoids confusion if addons are failing to install -microk8s enable community +microk8s enable community || true while [[ "$@" != "" ]]; do microk8s enable "$1"