This commit is contained in:
Aaron Riedel 2023-06-19 04:43:29 +02:00
parent 115c128c60
commit cf6a1f0922
Signed by: aaron
GPG key ID: 643004654D40D577
2 changed files with 16 additions and 13 deletions

View file

@ -53,32 +53,27 @@ spec:
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: rook name: longhorn
namespace: argocd namespace: argocd
spec: spec:
project: default project: default
sources: sources:
- repoURL: https://charts.rook.io/release - repoURL: https://charts.longhorn.io
chart: rook-ceph chart: longhorn
targetRevision: 1.10.11 targetRevision: 1.4.2
helm: helm:
releaseName: rook-ceph releaseName: longhorn-ceph
- repoURL: https://charts.rook.io/release
chart: rook-ceph-cluster
targetRevision: 1.10.11
helm:
releaseName: rook-ceph-cluster
valueFiles: valueFiles:
- $values/storage/values.yaml - $values/longhorn/values.yaml
- repoURL: https://git.ar21.de/yolokube/core-deployments.git - repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD targetRevision: HEAD
ref: values ref: values
- repoURL: https://git.ar21.de/yolokube/core-deployments.git - repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD targetRevision: HEAD
path: storage path: longhorn
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: rook-ceph namespace: longhorn
syncPolicy: syncPolicy:
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true

8
longhorn/values.yaml Normal file
View file

@ -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