From 183a988307d77e9c3959cf785c6cf8c3dba6a61c Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Fri, 6 Sep 2024 01:43:27 +0200 Subject: [PATCH] Add longhorn --- apps/templates/helm-cert-manager.yaml | 4 +++- apps/templates/helm-longhorn.yaml | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 apps/templates/helm-longhorn.yaml diff --git a/apps/templates/helm-cert-manager.yaml b/apps/templates/helm-cert-manager.yaml index 21ed4b4..efe8b01 100644 --- a/apps/templates/helm-cert-manager.yaml +++ b/apps/templates/helm-cert-manager.yaml @@ -21,4 +21,6 @@ spec: syncPolicy: syncOptions: - CreateNamespace=true - automated: {} \ No newline at end of file + automated: + prune: true + selfHeal: true \ No newline at end of file diff --git a/apps/templates/helm-longhorn.yaml b/apps/templates/helm-longhorn.yaml new file mode 100644 index 0000000..0f9f663 --- /dev/null +++ b/apps/templates/helm-longhorn.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: longhorn + namespace: argocd +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 + destination: + server: https://kubernetes.default.svc + namespace: longhorn-system \ No newline at end of file