From f4c76e893174a42801ea45bd1bc028e951430be2 Mon Sep 17 00:00:00 2001 From: "raul.oliveira" Date: Thu, 20 Jun 2024 22:30:49 -0300 Subject: [PATCH] Add https port to the service --- charts/trino/templates/service.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/trino/templates/service.yaml b/charts/trino/templates/service.yaml index a3e7d6b2..dbcf22fa 100644 --- a/charts/trino/templates/service.yaml +++ b/charts/trino/templates/service.yaml @@ -14,6 +14,12 @@ spec: targetPort: http protocol: TCP name: http + {{- if .Values.server.config.https.enabled }} + - port: {{ .Values.server.config.https.port }} + targetPort: {{ .Values.server.config.https.port }} + protocol: TCP + name: https + {{- end }} {{- if .Values.jmx.exporter.enabled }} - port: {{ .Values.jmx.exporter.port }} targetPort: jmx-exporter