[stable/sonatype-nexus] Fix #11193 (#11833)

* patch #11193

Signed-off-by: Fernando Mendoza <fermendozarcs@gmail.com>

* chart version bump

Signed-off-by: Fernando Mendoza <fermendozarcs@gmail.com>

* cosmetic refactor

Signed-off-by: Fernando Mendoza <fermendozarcs@gmail.com>
This commit is contained in:
Fernando Mendoza
2019-03-19 07:42:29 -07:00
committed by Kubernetes Prow Robot
parent e9d3614281
commit 452e2b1816
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: sonatype-nexus
version: 1.16.2
version: 1.16.3
appVersion: 3.15.2-01
description: Sonatype Nexus is an open source repository manager
keywords:
@@ -11,6 +11,7 @@ metadata:
{{- end }}
spec:
rules:
{{- if .Values.nexusProxy.env.nexusHttpHost }}
- host: {{ .Values.nexusProxy.env.nexusHttpHost }}
http:
paths:
@@ -18,6 +19,8 @@ spec:
serviceName: {{ template "nexus.fullname" . }}
servicePort: {{ .Values.nexusProxy.port }}
path: {{ .Values.ingress.path }}
{{- end }}
{{- if .Values.nexusProxy.env.nexusDockerHost }}
- host: {{ .Values.nexusProxy.env.nexusDockerHost }}
http:
paths:
@@ -25,11 +28,16 @@ spec:
serviceName: {{ template "nexus.fullname" . }}
servicePort: {{ .Values.nexusProxy.port }}
path: {{ .Values.ingress.path }}
{{- end }}
{{- if .Values.ingress.tls.enabled }}
tls:
- hosts:
{{- if .Values.nexusProxy.env.nexusHttpHost }}
- {{ .Values.nexusProxy.env.nexusHttpHost }}
{{- end }}
{{- if .Values.nexusProxy.env.nexusDockerHost }}
- {{ .Values.nexusProxy.env.nexusDockerHost }}
{{- end }}
{{- if .Values.ingress.tls.secretName }}
secretName: {{ .Values.ingress.tls.secretName | quote }}
{{- end }}