From e758e222fb0658262157438a623122612b9e181c Mon Sep 17 00:00:00 2001 From: ahmadali shafiee Date: Wed, 16 Jan 2019 18:58:16 +0330 Subject: [PATCH] update notes ingress reference Signed-off-by: Ahmadali Shafiee --- 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 b88dca966..9af4b8f45 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -245,8 +245,8 @@ spec: const defaultNotes = `1. Get the application URL by running these commands: {{- if .Values.ingress.enabled }} {{- range $host := .Values.ingress.hosts }} - {{- range $.Values.ingress.paths }} - http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host }}{{ . }} + {{- range .paths }} + http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ . }} {{- end }} {{- end }} {{- else if contains "NodePort" .Values.service.type }}