1+ {{- $tlsEnabled := include "postgresql-trino-gateway.tlsEnabled" . }}
12{{ .Chart.Name }} {{ .Chart.AppVersion }} installed as release {{ .Release.Name }}.
23
34Gateway is listening on port {{ .Values.service.port }}, forwarding to:
@@ -8,7 +9,7 @@ Gateway is listening on port {{ .Values.service.port }}, forwarding to:
89Auth posture:
910{{- if .Values.auth.enabled }}
1011 - Cleartext password challenge to PG clients, forwarded to Trino as Basic auth.
11- {{- if eq (include "postgresql-trino-gateway. tlsEnabled" .) "true" }}
12+ {{- if $ tlsEnabled }}
1213 - Listener TLS: enabled (plaintext clients refused at handshake).
1314 {{- else }}
1415 - Listener TLS: NOT configured. The gateway will refuse to start.
@@ -20,15 +21,15 @@ Auth posture:
2021
2122Connect from inside the cluster:
2223
23- psql -h {{ include "postgresql-trino-gateway.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local \
24+ {{ if $tlsEnabled }}PGSSLMODE=require {{ end }} psql -h {{ include "postgresql-trino-gateway.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local \
2425 -p {{ .Values.service.port }} \
2526 -U {{ .Values.trino.user }} \
2627 -d {{ .Values.trino.catalog }}
2728
2829Connect from outside (port-forward):
2930
3031 kubectl --namespace {{ .Release.Namespace }} port-forward svc/{{ include "postgresql-trino-gateway.fullname" . }} {{ .Values.service.port }}:{{ .Values.service.port }}
31- psql -h 127.0.0.1 -p {{ .Values.service.port }} -U {{ .Values.trino.user }} -d {{ .Values.trino.catalog }}
32+ {{ if $tlsEnabled }}PGSSLMODE=require {{ end }} psql -h 127.0.0.1 -p {{ .Values.service.port }} -U {{ .Values.trino.user }} -d {{ .Values.trino.catalog }}
3233
3334For Power BI Report Server in DirectQuery mode, point the PostgreSQL
3435connector at the Service host/port above (or expose via an L4
0 commit comments