k8s/helm/setup/longhorn/install.sh

13 lines
251 B
Bash
Executable file

#!/bin/bash
CHART_VERSION=1.4.2
helm repo add longhorn https://charts.longhorn.io
helm repo update
helm upgrade --install \
longhorn \
longhorn/longhorn \
-n longhorn-system \
--version ${CHART_VERSION} \
--create-namespace \
--cleanup-on-fail