diff --git a/deploy/longhorn/kustomization.yaml b/deploy/longhorn/kustomization.yaml new file mode 100644 index 0000000..dbace52 --- /dev/null +++ b/deploy/longhorn/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - longhorn-deploy.yaml diff --git a/deploy/longhorn/longhorn-deploy.yaml b/deploy/longhorn/longhorn-deploy.yaml new file mode 100644 index 0000000..9107d8c --- /dev/null +++ b/deploy/longhorn/longhorn-deploy.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.8.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