feat(argo-cd): add flag and labels for application labels (#1021)

* add flag and labels for application labels

Signed-off-by: Antoine Bourayne <antoine.bourayne@octo.com>

* upgrade chart version

Signed-off-by: Antoine Bourayne <antoine.bourayne@octo.com>

Co-authored-by: Antoine Bourayne <antoine.bourayne@octo.com>
Co-authored-by: Marko Bevc <marko@scalefactory.com>
This commit is contained in:
antoinebourayne 2021-11-24 17:30:09 +01:00 committed by GitHub
parent 46d43f8af3
commit 7ddcd377f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 2 deletions

View file

@ -54,6 +54,12 @@ spec:
- {{ .Values.controller.logFormat }}
- --loglevel
- {{ .Values.controller.logLevel }}
{{- if .Values.controller.metrics.applicationLabels.enabled }}
- --metrics-application-labels
{{- range .Values.controller.metrics.applicationLabels.labels }}
- {{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- if or (and .Values.redis.enabled (not $redisHa.enabled)) (and $redisHa.enabled $redisHa.haproxy.enabled) }}
- --redis
- {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }}