fix(argo-cd): Respect timezone during password mtime generation (#864)
Signed-off-by: cezhang <ce.zhang159357@gmail.com>
This commit is contained in:
parent
8125f928ea
commit
4e4c28a4dc
2 changed files with 3 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ data:
|
|||
{{- end }}
|
||||
{{- if .Values.configs.secret.argocdServerAdminPassword }}
|
||||
admin.password: {{ .Values.configs.secret.argocdServerAdminPassword | b64enc }}
|
||||
admin.passwordMtime: {{ default (date "2006-01-02T15:04:05Z" now) .Values.configs.secret.argocdServerAdminPasswordMtime | b64enc }}
|
||||
admin.passwordMtime: {{ default (dateInZone "2006-01-02T15:04:05Z" (now) "UTC") .Values.configs.secret.argocdServerAdminPasswordMtime | b64enc }}
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.configs.secret.extra }}
|
||||
{{ $key }}: {{ $value | b64enc }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue