2024-03-09 21:04:40 +00:00
|
|
|
#!/bin/bash
|
2024-07-31 19:44:04 +00:00
|
|
|
CHART_VERSION=1.6.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
|
|
|
|
#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
|