diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index b6dffb231..bdcdc6e97 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -243,7 +243,7 @@ spec: http: paths: {{- range .paths }} - - path: {{ . }} + - path: {{ .path }} backend: serviceName: {{ $fullName }} servicePort: {{ $svcPort }} @@ -380,7 +380,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 }}