k8s/helm/longhorn/install.sh

13 lines
252 B
Bash
Raw Normal View History

2024-03-09 21:04:40 +00:00
#!/bin/bash
2024-11-04 22:01:06 +00:00
CHART_VERSION=1.7.2
2024-03-09 21:04:40 +00:00
2024-03-09 22:59:52 +00:00
#helm repo add longhorn https://charts.longhorn.io
2024-11-04 22:01:06 +00:00
helm repo update
2024-03-09 21:04:40 +00:00
helm upgrade --install \
longhorn \
longhorn/longhorn \
-n longhorn-system \
--version ${CHART_VERSION} \
--create-namespace \
--cleanup-on-fail