fix(argo-cd): Fix certificate template secretTemplateAnnotations null (#2909)

Signed-off-by: eddyfussel <28265760+eddyfussel@users.noreply.github.com>
This commit is contained in:
eddyfussel 2024-09-02 17:33:07 +02:00 committed by GitHub
parent d144195ff4
commit 3a1066cb5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -13,13 +13,13 @@ metadata:
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
spec:
{{- with .Values.server.certificate.secretTemplateAnnotations }}
secretTemplate:
{{- with .Values.server.certificate.secretTemplateAnnotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
secretName: argocd-server-tls
commonName: {{ .Values.server.certificate.domain | default .Values.global.domain }}
dnsNames: