fix(argo-cd): Deprecate logLevel and logFormat values for dex and notifications controller (#3209)

* fix(argo-cd): Deprecate logLevel and logFormat values for dex and notifications controller

These are deprecated in favor of corresponding settings in `config.params`, to match with
the official docs: https://argo-cd.readthedocs.io/en/stable/operator-manual/argocd-cmd-params-cm-yaml/

The same changes were previously done for all other components much earlier in
https://github.com/argoproj/argo-helm/pull/1267
and then these params were removed in https://github.com/argoproj/argo-helm/pull/2407

Signed-off-by: Mikhail Zholobov <legal90@gmail.com>

* chore(argo-cd): Bump argo-cd chart version

Signed-off-by: Mikhail Zholobov <legal90@gmail.com>

---------

Signed-off-by: Mikhail Zholobov <legal90@gmail.com>
This commit is contained in:
Mikhail Zholobov 2025-03-31 22:39:17 +02:00 committed by GitHub
parent 0ee7597512
commit 54b6a57d3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 42 additions and 16 deletions

View file

@ -66,11 +66,15 @@ spec:
args:
- /usr/local/bin/argocd-notifications
- --metrics-port={{ .Values.notifications.containerPorts.metrics }}
- --loglevel={{ default .Values.global.logging.level .Values.notifications.logLevel }}
- --logformat={{ default .Values.global.logging.format .Values.notifications.logFormat }}
- --namespace={{ include "argo-cd.namespace" . }}
- --argocd-repo-server={{ template "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }}
- --secret-name={{ .Values.notifications.secret.name }}
{{- with .Values.notifications.logLevel }}
- --loglevel={{ . | quote }}
{{- end }}
{{- with .Values.notifications.logFormat }}
- --logformat={{ . | quote }}
{{- end }}
{{- range .Values.notifications.extraArgs }}
- {{ . | squote }}
{{- end }}