From 415b9ed485cf7b1b01f5806427bee9a592b9178a Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Tue, 14 Nov 2023 00:38:35 +0100 Subject: [PATCH] feat(apps): Add Gitea and Monitoring --- apps/gitea.yaml | 24 ++++++++++++++++++++++++ apps/monitoring.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 apps/gitea.yaml create mode 100644 apps/monitoring.yaml diff --git a/apps/gitea.yaml b/apps/gitea.yaml new file mode 100644 index 0000000..46031c9 --- /dev/null +++ b/apps/gitea.yaml @@ -0,0 +1,24 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: gitea + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: https://git.halia.dev/athens-school/gitea.git + targetRevision: k3s + path: manifests + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=false + - ApplyOutOfSyncOnly=true + - PruneLast=true + destination: + server: https://kubernetes.default.svc + namespace: gitea diff --git a/apps/monitoring.yaml b/apps/monitoring.yaml new file mode 100644 index 0000000..88ed47e --- /dev/null +++ b/apps/monitoring.yaml @@ -0,0 +1,25 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: monitoring + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: https://git.halis.io/athens-school/monitoring.git + targetRevision: master + path: manifests + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=false + - ApplyOutOfSyncOnly=true + - PruneLast=true + - Replace=true + destination: + server: https://kubernetes.default.svc + namespace: monitoring