diff --git a/core-deployments.yaml b/core-deployments.yaml index d47ef9b..61223d1 100644 --- a/core-deployments.yaml +++ b/core-deployments.yaml @@ -53,32 +53,27 @@ spec: apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: rook + name: longhorn namespace: argocd spec: project: default sources: - - repoURL: https://charts.rook.io/release - chart: rook-ceph - targetRevision: 1.10.11 + - repoURL: https://charts.longhorn.io + chart: longhorn + targetRevision: 1.4.2 helm: - releaseName: rook-ceph - - repoURL: https://charts.rook.io/release - chart: rook-ceph-cluster - targetRevision: 1.10.11 - helm: - releaseName: rook-ceph-cluster + releaseName: longhorn-ceph valueFiles: - - $values/storage/values.yaml + - $values/longhorn/values.yaml - repoURL: https://git.ar21.de/yolokube/core-deployments.git targetRevision: HEAD ref: values - repoURL: https://git.ar21.de/yolokube/core-deployments.git targetRevision: HEAD - path: storage + path: longhorn destination: server: https://kubernetes.default.svc - namespace: rook-ceph + namespace: longhorn syncPolicy: syncOptions: - CreateNamespace=true diff --git a/longhorn/values.yaml b/longhorn/values.yaml new file mode 100644 index 0000000..673a110 --- /dev/null +++ b/longhorn/values.yaml @@ -0,0 +1,8 @@ +defaultSettings: + defaultDataPath: /storage1 + backupTarget: "s3://yolokube-backup@weur/" + backupTargetCredentialSecret: longhorn-backup-target + replicaAutoBalance: best-effort +ingress: + enabled: true + host: longhorn.services.yolokube.de \ No newline at end of file