Revert "Change port forward command order in default note"

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
pull/5901/head
Matthew Fisher 6 years ago
parent 6c88a429ff
commit d93b660c62
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -276,8 +276,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}")
kubectl port-forward $POD_NAME 8080:80
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl port-forward $POD_NAME 8080:80
{{- end }}
`

Loading…
Cancel
Save