From 4df31ddaf698367e1c5001d0c2c43b572a7d5115 Mon Sep 17 00:00:00 2001 From: Raffael H Date: Wed, 11 Oct 2023 12:00:19 +0200 Subject: [PATCH] Add argo applications --- apps/user-demo.yaml | 24 ++++++++++++++++++++++ apps/user-prom-stack.yaml | 42 +++++++++++++++++++++++++++++++++++++++ user-umbrella.yaml | 21 ++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 apps/user-demo.yaml create mode 100644 apps/user-prom-stack.yaml create mode 100644 user-umbrella.yaml diff --git a/apps/user-demo.yaml b/apps/user-demo.yaml new file mode 100644 index 0000000..0dd8d6c --- /dev/null +++ b/apps/user-demo.yaml @@ -0,0 +1,24 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: -demo + namespace: argocd +spec: + destination: + namespace: + server: https://kubernetes.default.svc + project: default + source: + repoURL: 'https://gitea.training.cluster.acend.ch//prometheus-training-lab-setup' + path: charts/user-monitoring-demo/ + targetRevision: main + helm: + values: | + user: + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - Replace=true \ No newline at end of file diff --git a/apps/user-prom-stack.yaml b/apps/user-prom-stack.yaml new file mode 100644 index 0000000..7bbc4d8 --- /dev/null +++ b/apps/user-prom-stack.yaml @@ -0,0 +1,42 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: -prom-stack + namespace: argocd +spec: + destination: + namespace: -monitoring + server: https://kubernetes.default.svc + project: default + source: + repoURL: 'https://gitea.training.cluster.acend.ch//prometheus-training-lab-setup' + path: charts/user-monitoring/ + targetRevision: main + helm: + values: | + user: + # alertmanager + alertmanager: + enabled: false + # grafana + grafana: + enabled: false + # prometheus + prometheus: + enabled: false + # pushgateway + pushgateway: + enabled: false + # thanos-ruler + ruler: + enabled: false + # thanos-query + query: + enabled: false + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - Replace=true \ No newline at end of file diff --git a/user-umbrella.yaml b/user-umbrella.yaml new file mode 100644 index 0000000..eacda7e --- /dev/null +++ b/user-umbrella.yaml @@ -0,0 +1,21 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: -umbrella + namespace: argocd +spec: + destination: + namespace: argocd + server: https://kubernetes.default.svc + project: default + source: + repoURL: 'https://gitea.training.cluster.acend.ch//prometheus-training-lab-setup' + path: apps/ + targetRevision: main + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - Replace=true \ No newline at end of file