Skip to content

Commit 712e9c0

Browse files
committed
Fix rendering notes for load-balancer service
1 parent e5b3f6b commit 712e9c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/gateway/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You can get the Trino Gateway endpoints by running these commands:
1313
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
1414
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w trino-gateway'
1515
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} trino-gateway --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
16-
echo http://$SERVICE_IP:'{{ .Values.service.ports | first | get "port" }}'
16+
echo http://$SERVICE_IP:'{{ index .Values.service.ports 0 "port" }}'
1717
{{- else if contains "ClusterIP" .Values.service.type }}
1818
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "trino-gateway.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
1919
export PORT=$(kubectl get pod --namespace test $POD_NAME -o jsonpath='{.spec.containers[0].ports[0].containerPort}')

0 commit comments

Comments
 (0)