|
|
@ -221,7 +221,7 @@ const defaultNotes = `1. Get the application URL by running these commands:
|
|
|
|
{{- else if contains "ClusterIP" .Values.service.type }}
|
|
|
|
{{- else if contains "ClusterIP" .Values.service.type }}
|
|
|
|
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
|
|
|
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
|
|
|
echo "Visit http://127.0.0.1:8080 to use your application"
|
|
|
|
echo "Visit http://127.0.0.1:8080 to use your application"
|
|
|
|
kubectl port-forward $POD_NAME 8080:{{ .Values.service.externalPort }}
|
|
|
|
kubectl port-forward $POD_NAME 8080:{{ .Values.service.internalPort }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
`
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
|
|