Skip to content

Commit 25b9b56

Browse files
committed
fix NOTES.txt
1 parent 7525ff1 commit 25b9b56

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

osm-seed/templates/NOTES.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
1. Get the application URL by running these commands:
2-
{{- if .Values.ingress.enabled }}
3-
{{- range .Values.ingress.hosts }}
4-
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}{{ $.Values.ingress.path }}
5-
{{- end }}
6-
{{- else if contains "minikube" .Values.cloudProvider }}
2+
{{- if contains "minikube" .Values.cloudProvider }}
73
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "osm-seed.fullname" . }}-web)
84
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
95
echo http://$NODE_IP:$NODE_PORT
@@ -17,4 +13,4 @@
1713
You can watch the status of by running 'kubectl get svc -w {{ template "osm-seed.fullname" . }}'
1814
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "osm-seed.fullname" . }}-web -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
1915
echo http://$SERVICE_IP
20-
{{- end }}
16+
{{- end }}

0 commit comments

Comments
 (0)