Make argocd metrics work

This commit is contained in:
Stefan Reimer 2020-08-16 19:25:07 +01:00
parent 0db65bd060
commit 1398484af8
2 changed files with 7 additions and 3 deletions

View File

@ -11,3 +11,4 @@
## Resources ## Resources
- https://argoproj.github.io/argo-cd/operator-manual/metrics/ - https://argoproj.github.io/argo-cd/operator-manual/metrics/
- https://raw.githubusercontent.com/argoproj/argo-cd/master/examples/dashboard.json

View File

@ -164,11 +164,14 @@ kubezero:
argo-cd: argo-cd:
controller: controller:
metrics: {{ .Values.metrics.enabled }} metrics:
enabled: {{ .Values.metrics.enabled }}
repoServer: repoServer:
metrics: {{ .Values.metrics.enabled }} metrics:
enabled: {{ .Values.metrics.enabled }}
server: server:
metrics: {{ .Values.metrics.enabled }} metrics:
enabled: {{ .Values.metrics.enabled }}
{{- with index .Values "argo-cd" "server" }} {{- with index .Values "argo-cd" "server" }}
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}