Skip to content

Commit ccb9d94

Browse files
authored
fix NOTE.txt (#4515)
1 parent 0a072f7 commit ccb9d94

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ci/helm-chart/templates/NOTES.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "code-server.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
1616
echo http://$SERVICE_IP:{{ .Values.service.port }}
1717
{{- else if contains "ClusterIP" .Values.service.type }}
18-
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}")
1918
echo "Visit http://127.0.0.1:8080 to use your application"
20-
kubectl port-forward $POD_NAME 8080:80
19+
kubectl port-forward --namespace {{ .Release.Namespace }} service/{{ include "code-server.fullname" . }} 8080:http
2120
{{- end }}
2221

2322
Administrator credentials:

0 commit comments

Comments
 (0)