Unverified Commit 2a344c0e authored by Martin Hickey's avatar Martin Hickey Committed by GitHub

Merge pull request #5898 from Aisuko/defaultNotes

Change port forward command order in default note
parents ea4c4f5a 2868aed3
......@@ -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 "<CHARTNAME>.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 }}
`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment