From 417928276086c5dcef5ffb490c82bf69822d7bb6 Mon Sep 17 00:00:00 2001 From: Vic Iglesias Date: Tue, 1 Nov 2016 16:14:45 -0700 Subject: [PATCH] Dont use privileged port in port-forward of default chart --- 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 6ca38aafc..0fb97eb99 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -152,8 +152,8 @@ const defaultNotes = `1. Get the application URL by running these commands: echo http://$SERVICE_IP:{{ .Values.Master.ServicePort }} {{- else if contains "ClusterIP" .Values.service.type }} export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "fullname" . }}" -o jsonpath="{.items[0].metadata.name}") - echo http://127.0.0.1:{{ .Values.service.externalPort }} - kubectl port-forward $POD_NAME {{ .Values.service.externalPort }}:{{ .Values.service.externalPort }} + echo "Visit http://127.0.0.1:8080 to use your application" + kubectl port-forward $POD_NAME 8080:{{ .Values.service.externalPort }} {{- end }} `