From: Patricia Reinoso Date: Tue, 14 Mar 2023 16:06:32 +0000 (+0000) Subject: Set K8s 1.26 in charmed OSM installation X-Git-Tag: release-v14.0-start~104 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=57b89ae46f768a725e2ca7f01f7dfa97254e049a;p=osm%2Fdevops.git Set K8s 1.26 in charmed OSM installation storage is deprecated: replaced by hostpath-storage Change-Id: I11dd6fc2c18f89c289ad80da696929a7c0236d63 Signed-off-by: Patricia Reinoso --- diff --git a/installers/charmed_install.sh b/installers/charmed_install.sh index eafbddd5..7b0c48f8 100755 --- a/installers/charmed_install.sh +++ b/installers/charmed_install.sh @@ -20,7 +20,7 @@ JUJU_VERSION=2.9 JUJU_AGENT_VERSION=2.9.34 K8S_CLOUD_NAME="k8s-cloud" KUBECTL="microk8s.kubectl" -MICROK8S_VERSION=1.23 +MICROK8S_VERSION=1.26 OSMCLIENT_VERSION=latest IMAGES_OVERLAY_FILE=~/.osm/images-overlay.yaml PASSWORD_OVERLAY_FILE=~/.osm/password-overlay.yaml @@ -137,7 +137,7 @@ EOF else sg ${KUBEGRP} -c "echo ${DEFAULT_IP}-${DEFAULT_IP} | microk8s.enable metallb" sg ${KUBEGRP} -c "microk8s.enable ingress" - sg ${KUBEGRP} -c "microk8s.enable storage dns" + sg ${KUBEGRP} -c "microk8s.enable hostpath-storage dns" TIME_TO_WAIT=30 start_time="$(date -u +%s)" while true