From 50144aad0332692059534acd574fcf141307ef2d Mon Sep 17 00:00:00 2001 From: Salim Salaues Date: Mon, 23 Nov 2020 23:43:50 -0800 Subject: [PATCH] fix: ingress path issue Signed-off-by: Salim Salaues --- pkg/chartutil/create.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index 6cd0a00ea..331b2c7e0 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -242,7 +242,7 @@ spec: http: paths: {{- range .paths }} - - path: {{ . }} + - path: {{ .path }} backend: serviceName: {{ $fullName }} servicePort: {{ $svcPort }} @@ -379,7 +379,7 @@ const defaultNotes = `1. Get the application URL by running these commands: {{- if .Values.ingress.enabled }} {{- range $host := .Values.ingress.hosts }} {{- range .paths }} - http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ . }} + http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }} {{- end }} {{- end }} {{- else if contains "NodePort" .Values.service.type }}