fix(argo-cd): ArgoCD application controller - metrics application labels (#1167)

* application controller metrics application labels changed from map to list.
Updated templating to set the correct arguments.

Signed-off-by: Aaron Jones <aaron.jones@fundingcircle.com>

* bring 'metrics-application-labels' outside of range block

Signed-off-by: Aaron Jones <aaron.jones@fundingcircle.com>

* Revert "bring 'metrics-application-labels' outside of range block"

This reverts commit c245db6d31bf06b681e224d3c9d75bb6b2ff16e0.

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Aaron Jones 2022-03-12 18:59:04 +00:00 committed by GitHub
parent 8b26bed62f
commit dde043a055
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -57,9 +57,9 @@ spec:
- --loglevel
- {{ .Values.controller.logLevel }}
{{- if .Values.controller.metrics.applicationLabels.enabled }}
- --metrics-application-labels
{{- range .Values.controller.metrics.applicationLabels.labels }}
- {{- toYaml . | nindent 8 }}
- --metrics-application-labels
- {{ . }}
{{- end }}
{{- end }}
{{- if or (and .Values.redis.enabled (not $redisHa.enabled)) (and $redisHa.enabled $redisHa.haproxy.enabled) }}