From 2868aed3218db9c0519bc65208cda2c3790708bc Mon Sep 17 00:00:00 2001 From: Aisuko Date: Sat, 15 Jun 2019 15:03:28 +0800 Subject: [PATCH] Change port forward command order in default note Signed-off-by: Aisuko --- pkg/chartutil/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index 74607aff2..0a68856e2 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -257,8 +257,8 @@ const defaultNotes = `1. Get the application URL by running these commands: echo http://$SERVICE_IP:{{ .Values.service.port }} {{- else if contains "ClusterIP" .Values.service.type }} export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include ".name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") - echo "Visit http://127.0.0.1:8080 to use your application" kubectl port-forward $POD_NAME 8080:80 + echo "Visit http://127.0.0.1:8080 to use your application" {{- end }} `