From 584a3ba8173171e56f93b84b0b477ea15b62d90f Mon Sep 17 00:00:00 2001 From: Justen Walker Date: Thu, 7 Dec 2023 14:22:53 -0500 Subject: [PATCH] fix(chart): use http scheme for INTERNAL_API_HOST --- charts/airbyte/templates/env-configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/airbyte/templates/env-configmap.yaml b/charts/airbyte/templates/env-configmap.yaml index 8e12e9032cc..d1dd46722ad 100644 --- a/charts/airbyte/templates/env-configmap.yaml +++ b/charts/airbyte/templates/env-configmap.yaml @@ -24,7 +24,7 @@ data: DB_DOCKER_MOUNT: airbyte_db GCS_LOG_BUCKET: {{ .Values.global.logs.gcs.bucket | quote }} GOOGLE_APPLICATION_CREDENTIALS: {{ include "airbyte.gcpLogCredentialsPath" . | quote }} - INTERNAL_API_HOST: {{ .Release.Name }}-airbyte-server-svc:{{ .Values.server.service.port }} + INTERNAL_API_HOST: {{ printf "http://%s-airbyte-server-svc:-%d" .Release.Name (index .Values "server" "service" "port") }} {{- if eq (index .Values "workload-api-server" "enabled") true }} # Temporary conditional for OSS deploys. Eventually, the workload-api will be present in OSS deploys and the else # block can be removed