From ccb9d948c07e8ca79f11737341148a5b07d33e44 Mon Sep 17 00:00:00 2001 From: Jinu Date: Wed, 17 Nov 2021 01:46:39 +0900 Subject: [PATCH] fix NOTE.txt (#4515) --- ci/helm-chart/templates/NOTES.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/helm-chart/templates/NOTES.txt b/ci/helm-chart/templates/NOTES.txt index 17c25f64..45c9aed3 100644 --- a/ci/helm-chart/templates/NOTES.txt +++ b/ci/helm-chart/templates/NOTES.txt @@ -15,9 +15,8 @@ export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "code-server.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}') echo http://$SERVICE_IP:{{ .Values.service.port }} {{- else if contains "ClusterIP" .Values.service.type }} - export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "code-server.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") echo "Visit http://127.0.0.1:8080 to use your application" - kubectl port-forward $POD_NAME 8080:80 + kubectl port-forward --namespace {{ .Release.Namespace }} service/{{ include "code-server.fullname" . }} 8080:http {{- end }} Administrator credentials: