mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/sonatype-nexus] Fix ingress when proxy service is renamed (#14437)
When renaming the proxy service, ingress should map the new name instead of the default one. Signed-off-by: Guillaume Perrin <guillaume28.perrin@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
19d306e590
commit
ae36a617ab
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: sonatype-nexus
|
||||
version: 1.18.3
|
||||
version: 1.18.4
|
||||
appVersion: 3.15.2-01
|
||||
description: Sonatype Nexus is an open source repository manager
|
||||
keywords:
|
||||
|
||||
@@ -16,7 +16,11 @@ spec:
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
{{- if .Values.nexusProxy.svcName }}
|
||||
serviceName: {{ .Values.nexusProxy.svcName }}
|
||||
{{- else }}
|
||||
serviceName: {{ template "nexus.fullname" . }}
|
||||
{{- end }}
|
||||
servicePort: {{ .Values.nexusProxy.port }}
|
||||
path: {{ .Values.ingress.path }}
|
||||
{{- end }}
|
||||
@@ -25,7 +29,11 @@ spec:
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
{{- if .Values.nexusProxy.svcName }}
|
||||
serviceName: {{ .Values.nexusProxy.svcName }}
|
||||
{{- else }}
|
||||
serviceName: {{ template "nexus.fullname" . }}
|
||||
{{- end }}
|
||||
servicePort: {{ .Values.nexusProxy.port }}
|
||||
path: {{ .Values.ingress.path }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user