From 39482969013f47f6e88a044cd40afc574b217684 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sat, 21 Dec 2024 22:32:28 +0100 Subject: [PATCH] feat(apps): Update general configuration --- apps/gitea.yaml | 2 +- apps/headlamp.yaml | 24 ++++++++++++++++++++++++ apps/monitoring.yaml | 2 +- apps/synapse.yaml | 24 ++++++++++++++++++++++++ 4 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 apps/headlamp.yaml create mode 100644 apps/synapse.yaml diff --git a/apps/gitea.yaml b/apps/gitea.yaml index 85d2427..e25adff 100644 --- a/apps/gitea.yaml +++ b/apps/gitea.yaml @@ -8,7 +8,7 @@ metadata: spec: project: default source: - repoURL: https://git.halis.io/athens-school/gitea.git + repoURL: https://git.halis.io/athens-school/gitea targetRevision: k3s path: manifests syncPolicy: diff --git a/apps/headlamp.yaml b/apps/headlamp.yaml new file mode 100644 index 0000000..77b5ed2 --- /dev/null +++ b/apps/headlamp.yaml @@ -0,0 +1,24 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: headlamp + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: https://git.halis.io/athens-school/headlamp + targetRevision: master + path: manifests + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=false + - ApplyOutOfSyncOnly=true + - PruneLast=true + destination: + server: https://kubernetes.default.svc + namespace: headlamp diff --git a/apps/monitoring.yaml b/apps/monitoring.yaml index 88ed47e..243add1 100644 --- a/apps/monitoring.yaml +++ b/apps/monitoring.yaml @@ -8,7 +8,7 @@ metadata: spec: project: default source: - repoURL: https://git.halis.io/athens-school/monitoring.git + repoURL: https://git.halis.io/athens-school/monitoring targetRevision: master path: manifests syncPolicy: diff --git a/apps/synapse.yaml b/apps/synapse.yaml new file mode 100644 index 0000000..524c5e3 --- /dev/null +++ b/apps/synapse.yaml @@ -0,0 +1,24 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: synapse + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: https://git.halis.io/athens-school/synapse.git + targetRevision: master + path: manifests + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=false + - ApplyOutOfSyncOnly=true + - PruneLast=true + destination: + server: https://kubernetes.default.svc + namespace: synapse