From 16628ac541ffce1668625dfe4616baeac823d501 Mon Sep 17 00:00:00 2001 From: kolorful Date: Mon, 31 Jul 2023 13:57:33 -0500 Subject: [PATCH] Helm: make webapp container port configurable --- charts/airbyte-webapp/templates/deployment.yaml | 2 +- charts/airbyte-webapp/values.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/airbyte-webapp/templates/deployment.yaml b/charts/airbyte-webapp/templates/deployment.yaml index 1db50651ba3..f10b90181c1 100644 --- a/charts/airbyte-webapp/templates/deployment.yaml +++ b/charts/airbyte-webapp/templates/deployment.yaml @@ -141,7 +141,7 @@ spec: {{- end }} ports: - name: http - containerPort: 80 + containerPort: {{ .Values.containerHTTPPort }} protocol: TCP {{- if .Values.resources }} resources: {{- toYaml .Values.resources | nindent 10 }} diff --git a/charts/airbyte-webapp/values.yaml b/charts/airbyte-webapp/values.yaml index 3e012890855..4995c343961 100644 --- a/charts/airbyte-webapp/values.yaml +++ b/charts/airbyte-webapp/values.yaml @@ -73,6 +73,9 @@ readinessProbe: failureThreshold: 3 successThreshold: 1 +## webapp.containerHTTPPort HTTP port of the webapp container +containerHTTPPort: 80 + ## webapp.service.type The service type to use for the webapp service ## webapp.service.port The service port to expose the webapp on ## webapp.service.annotations Annotations for the webapp service resource