Merge pull request #5755 from tillepille/master

Use .Values.service.port  also in the pre-generated ingress
pull/5715/head
Matthew Fisher 6 years ago committed by GitHub
commit b496f85bc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -130,6 +130,7 @@ const defaultIgnore = `# Patterns to ignore when building packages.
const defaultIngress = `{{- if .Values.ingress.enabled -}}
{{- $fullName := include "<CHARTNAME>.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
@ -160,7 +161,7 @@ spec:
- path: {{ . }}
backend:
serviceName: {{ $fullName }}
servicePort: http
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}

Loading…
Cancel
Save