Skip to content

Commit

Permalink
create: include the namespace in NOTES.txt for LoadBalancer status (h…
Browse files Browse the repository at this point in the history
…elm#5055)

Signed-off-by: Kévin Dunglas <dunglas@gmail.com>
  • Loading branch information
dunglas authored and Matthew Fisher committed Dec 14, 2018
1 parent c7009a1 commit 9aa7730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chartutil/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const defaultNotes = `1. Get the application URL by running these commands:
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 {{ include "<CHARTNAME>.fullname" . }}'
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "<CHARTNAME>.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "<CHARTNAME>.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
Expand Down

0 comments on commit 9aa7730

Please sign in to comment.