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