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:
parent
0ee7597512
commit
54b6a57d3f
7 changed files with 42 additions and 16 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue