Skip to content

Commit dcec332

Browse files
Add tlsPort for service
1 parent a542c5b commit dcec332

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

charts/trino/templates/configmap-coordinator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ data:
6262
memory.heap-headroom-per-node={{ .Values.coordinator.config.memory.heapHeadroomPerNode }}
6363
{{- end }}
6464
{{- if .Values.server.config.https.internal }}
65-
discovery.uri=https://localhost:{{ .Values.service.port }}
65+
discovery.uri=https://localhost:{{ .Values.service.tlsPort }}
6666
{{- else }}
6767
discovery.uri=http://localhost:{{ .Values.service.port }}
6868
{{- end }}

charts/trino/templates/configmap-worker.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ data:
5959
{{- end }}
6060
{{- if .Values.server.config.https.internal }}
6161
internal-communication.https.required=true
62-
discovery.uri=https://{{ template "trino.fullname" . }}:{{ .Values.service.port }}
62+
discovery.uri=https://{{ template "trino.fullname" . }}:{{ .Values.service.tlsPort }}
6363
http-server.https.enabled=true
6464
http-server.https.port={{ .Values.server.config.https.port }}
6565
{{- else }}

charts/trino/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ service:
429429
annotations: {}
430430
type: ClusterIP
431431
port: 8080
432+
tlsPort: 8443
432433
# service.nodePort -- The port the service listens on the host, for the `NodePort` type. If not set, Kubernetes will
433434
# [allocate a port
434435
# automatically](https://kubernetes.io/docs/concepts/services-networking/service/#nodeport-custom-port).

0 commit comments

Comments
 (0)