Skip to content

Commit

Permalink
Replace https with http
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenvw committed May 31, 2019
1 parent 4b4beb1 commit 7b494ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ echo https://${ST2WEB_IP}/

{{- else if contains "ClusterIP" .Values.st2web.service.type }}

echo https://127.0.0.1:8443
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ .Release.Name }}-st2web{{ template "enterpriseSuffix" . }} 8443:443
echo http://127.0.0.1:8080
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ .Release.Name }}-st2web{{ template "enterpriseSuffix" . }} 8080:80

{{- else if contains "NodePort" .Values.st2web.service.type }}

export ST2WEB_IP=$(minikube ip 2>/dev/null || kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
export ST2WEB_PORT="$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ .Release.Name }}-st2web{{ template "enterpriseSuffix" . }})"
echo https://${ST2WEB_IP}:${ST2WEB_PORT}/
echo http://${ST2WEB_IP}:${ST2WEB_PORT}/

{{- end }}

Expand Down

0 comments on commit 7b494ac

Please sign in to comment.