Merge pull request #2371 from kubernetes/prydonius-patch-1

fix(create): incorrect URL in default NOTES.txt
pull/2377/head
Matt Butcher 8 years ago committed by GitHub
commit 75632025b8

@ -195,7 +195,7 @@ const defaultNotes = `1. Get the application URL by running these commands:
{{- else if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT/login
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get svc -w {{ template "fullname" . }}'

Loading…
Cancel
Save