From b2e6911ca855b73ec39a78f217281b9f7d549474 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Sun, 16 Aug 2020 19:25:07 +0100 Subject: [PATCH] Make argocd metrics work --- charts/kubezero-argo-cd/README.md.gotmpl | 1 + deploy/templates/values.yaml | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/charts/kubezero-argo-cd/README.md.gotmpl b/charts/kubezero-argo-cd/README.md.gotmpl index 0f6b9f55..d0cf1072 100644 --- a/charts/kubezero-argo-cd/README.md.gotmpl +++ b/charts/kubezero-argo-cd/README.md.gotmpl @@ -11,3 +11,4 @@ ## Resources - https://argoproj.github.io/argo-cd/operator-manual/metrics/ +- https://raw.githubusercontent.com/argoproj/argo-cd/master/examples/dashboard.json diff --git a/deploy/templates/values.yaml b/deploy/templates/values.yaml index 15b9dac1..f93b3932 100644 --- a/deploy/templates/values.yaml +++ b/deploy/templates/values.yaml @@ -164,11 +164,14 @@ kubezero: argo-cd: controller: - metrics: {{ .Values.metrics.enabled }} + metrics: + enabled: {{ .Values.metrics.enabled }} repoServer: - metrics: {{ .Values.metrics.enabled }} + metrics: + enabled: {{ .Values.metrics.enabled }} server: - metrics: {{ .Values.metrics.enabled }} + metrics: + enabled: {{ .Values.metrics.enabled }} {{- with index .Values "argo-cd" "server" }} {{- toYaml . | nindent 4 }} {{- end }}