From ddbb85a535ba1d5c1c073e45a7eb8fadf1bd18c8 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Wed, 1 Nov 2023 22:35:59 +0100 Subject: [PATCH] Try installing prometheus directly from helm chart --- argocd/app-of-apps/test/templates/applications.yaml | 2 +- argocd/app-of-apps/test/values.yaml | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/argocd/app-of-apps/test/templates/applications.yaml b/argocd/app-of-apps/test/templates/applications.yaml index 1b3bf41..05b5b75 100644 --- a/argocd/app-of-apps/test/templates/applications.yaml +++ b/argocd/app-of-apps/test/templates/applications.yaml @@ -19,7 +19,7 @@ spec: repoURL: {{ .repoURL }} targetRevision: {{ .targetRevision }} {{- if .repoURL | contains "chart" }} - chart: {{ .name }} + chart: {{ .chart | default .name }} {{- else }} path: argocd/{{ .name }}/{{ $.Values.overall.environment }} {{- end }} diff --git a/argocd/app-of-apps/test/values.yaml b/argocd/app-of-apps/test/values.yaml index 555f23e..bf364fe 100644 --- a/argocd/app-of-apps/test/values.yaml +++ b/argocd/app-of-apps/test/values.yaml @@ -28,7 +28,14 @@ applications: targetRevision: main namespace: vault-secrets-operator-system createNamespace: true - repoURL: https://git.2martens.de/2martens/ + repoURL: https://git.2martens.de/2martens/cloud-configuration.git + - name: prometheus + project: default + targetRevision: 25.4.x + namespace: observability + createNamespace: true + repoURL: https://prometheus-community.github.io/helm-charts + chart: prometheus-community/prometheus overall: