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-12-10 03:23:13 +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
|