File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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}')
You can’t perform that action at this time.
0 commit comments