From 6e80f44ff5cdfc96969d28c83f73e819b0d5f448 Mon Sep 17 00:00:00 2001 From: Marc Lallaouret Date: Fri, 26 Nov 2021 17:35:43 +0100 Subject: [PATCH] [sonatype-nexus] Improve ingress tls hosts configuration Signed-off-by: Marc Lallaouret --- charts/sonatype-nexus/templates/ingress.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/sonatype-nexus/templates/ingress.yaml b/charts/sonatype-nexus/templates/ingress.yaml index c9bfd7e..8dd640a 100644 --- a/charts/sonatype-nexus/templates/ingress.yaml +++ b/charts/sonatype-nexus/templates/ingress.yaml @@ -62,11 +62,11 @@ spec: {{- if .Values.nexusProxy.env.nexusHttpHost }} - {{ .Values.nexusProxy.env.nexusHttpHost }} {{- end }} + {{- with .Values.ingress.tls.hosts }} + {{- toYaml . | nindent 6 }} + {{- end }} {{- if .Values.ingress.tls.secretName }} secretName: {{ .Values.ingress.tls.secretName | quote }} {{- end }} - {{- with .Values.ingress.tls.hosts }} - {{- toYaml . | nindent 4 }} - {{- end -}} {{- end -}} {{- end }}