From e6b1d93c84de74bdb698326294ad2f17aa167b00 Mon Sep 17 00:00:00 2001 From: Thomas Blarre Date: Sat, 9 Nov 2024 22:16:03 +0000 Subject: [PATCH] Added nextcloud --- .../templates/nextcloud-main-chart.yaml | 4 ++-- .../templates/thomflix-requirements-app.yaml | 4 ++-- nextcloud-syncthing-argocd-apps/values.yaml | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/nextcloud-syncthing-argocd-apps/templates/nextcloud-main-chart.yaml b/nextcloud-syncthing-argocd-apps/templates/nextcloud-main-chart.yaml index 6404df0..788c013 100644 --- a/nextcloud-syncthing-argocd-apps/templates/nextcloud-main-chart.yaml +++ b/nextcloud-syncthing-argocd-apps/templates/nextcloud-main-chart.yaml @@ -89,8 +89,8 @@ spec: enabled: true existingClaim: {{ .Values.dataPvc.name }} destination: - server: https://kubernetes.default.svc # Targeting the current Kubernetes cluster - namespace: {{ .Values.mainNamespace }} + server: {{ .Values.destination.server }} + namespace: {{ .Values.destination.namespace }} syncPolicy: automated: prune: true # Automatically remove resources no longer in the repo diff --git a/nextcloud-syncthing-argocd-apps/templates/thomflix-requirements-app.yaml b/nextcloud-syncthing-argocd-apps/templates/thomflix-requirements-app.yaml index c4659ba..7f6885f 100644 --- a/nextcloud-syncthing-argocd-apps/templates/thomflix-requirements-app.yaml +++ b/nextcloud-syncthing-argocd-apps/templates/thomflix-requirements-app.yaml @@ -36,8 +36,8 @@ spec: storageClassName: {{ .Values.dataPvc.storageClassName }} size: {{ .Values.dataPvc.size }} destination: - server: {{ .Values.mainDestination }} - namespace: {{ .Values.mainNamespace }} + server: {{ .Values.destination.server }} + namespace: {{ .Values.destination.namespace }} syncPolicy: automated: prune: true # Automatically remove resources no longer in the repo diff --git a/nextcloud-syncthing-argocd-apps/values.yaml b/nextcloud-syncthing-argocd-apps/values.yaml index ac89981..0b5d573 100644 --- a/nextcloud-syncthing-argocd-apps/values.yaml +++ b/nextcloud-syncthing-argocd-apps/values.yaml @@ -2,6 +2,10 @@ argocd: namespace: argocd project: default +destination: + server: https://kubernetes.default.svc + namespace: nextcloud + nextcloud: enable: true dbCluster: