set +eux
-K8S_VERSION=1.28
-K8S_PACKAGE_VERSION="$K8S_VERSION".2-1.1
+K8S_VERSION=1.29
+K8S_PACKAGE_VERSION="$K8S_VERSION".3-1.1
# installs kubernetes packages
function install_kube() {
[ -z "${DEBUG_INSTALL}" ] || DEBUG end of function
}
-#Install Helm v3
-#Helm releases can be found here: https://github.com/helm/helm/releases
-function install_helm() {
- [ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function
- HELM_VERSION="v3.11.3"
- if ! [[ "$(helm version --short 2>/dev/null)" =~ ^v3.* ]]; then
- # Helm is not installed. Install helm
- echo "Helm3 is not installed, installing ..."
- curl https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz --output helm-${HELM_VERSION}.tar.gz
- tar -zxvf helm-${HELM_VERSION}.tar.gz
- sudo mv linux-amd64/helm /usr/local/bin/helm
- rm -r linux-amd64
- rm helm-${HELM_VERSION}.tar.gz
- else
- echo "Helm3 is already installed. Skipping installation..."
- fi
- helm version || FATAL_TRACK k8scluster "Could not obtain helm version. Maybe helm client was not installed"
- helm repo add stable https://charts.helm.sh/stable || FATAL_TRACK k8scluster "Helm repo stable could not be added"
- helm repo update || FATAL_TRACK k8scluster "Helm repo stable could not be updated"
- [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function
-}
-
function install_k8s_storageclass() {
[ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function
# Openebs versions can be found here: https://github.com/openebs/openebs/releases
remove_k8s_namespace osm
-install_helm
+# install_helm has been moved to install_helm_client.sh, run from full_install_osm.sh,
+# but tracking is still here because the installation analytics still expects it
track k8scluster install_helm_ok
install_k8s_storageclass