From 1a522a240d2f75b5e49529e134a712f26255e01e Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Fri, 13 Sep 2024 21:28:43 +0200 Subject: [PATCH] Add longhorn back --- longhorn/helm-longhorn.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 longhorn/helm-longhorn.yaml diff --git a/longhorn/helm-longhorn.yaml b/longhorn/helm-longhorn.yaml new file mode 100644 index 0000000..c10ced0 --- /dev/null +++ b/longhorn/helm-longhorn.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: helm-longhorn + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + syncPolicy: + syncOptions: + - CreateNamespace=true + project: default + sources: + - chart: longhorn + repoURL: https://charts.longhorn.io/ + targetRevision: v1.7.1 # Replace with the Longhorn version you'd like to install or upgrade to + helm: + values: | + preUpgradeChecker: + jobEnabled: false + parameters: + - name: csi.kubeletRootDir + value: "/var/snap/microk8s/common/var/lib/kubelet" + destination: + server: https://kubernetes.default.svc + namespace: longhorn-system \ No newline at end of file