dump_vars
fi
-# Check if helm is installed
-helm > /dev/null 2>&1
-if [ $? != 0 ] ; then
- echo "Helm is not installed, installing ....."
- curl https://get.helm.sh/helm-v3.7.2-linux-amd64.tar.gz --output helm-v3.7.2.tar.gz
- tar -zxvf helm-v3.7.2.tar.gz
- sudo mv linux-amd64/helm /usr/local/bin/helm
- rm -r linux-amd64
- rm helm-v3.7.2.tar.gz
-fi
-
# Create monitoring namespace
echo "Creating namespace $NAMESPACE"
kubectl create namespace $NAMESPACE