diff --git a/charts/core/templates/mgmt-backend/configmap.yaml b/charts/core/templates/mgmt-backend/configmap.yaml index e4e68799..f2822b38 100644 --- a/charts/core/templates/mgmt-backend/configmap.yaml +++ b/charts/core/templates/mgmt-backend/configmap.yaml @@ -19,6 +19,7 @@ data: cert: /etc/instill-ai/core/ssl/mgmt/tls.crt key: /etc/instill-ai/core/ssl/mgmt/tls.key {{- end }} + instillcorehost: {{ .Values.mgmtBackend.instillCoreHost }} pipelinebackend: host: {{ template "core.pipelineBackend" . }} publicport: {{ template "core.pipelineBackend.publicPort" . }} diff --git a/charts/core/values.yaml b/charts/core/values.yaml index 2a4a21ae..232ed888 100644 --- a/charts/core/values.yaml +++ b/charts/core/values.yaml @@ -311,6 +311,7 @@ mgmtBackend: configPath: /mgmt-backend/config/config.yaml # -- The database migration version dbVersion: 5 + instillCoreHost: # -- Set the service account to be used, default if left empty serviceAccountName: "" # -- Mount the service account token diff --git a/docker-compose.yml b/docker-compose.yml index 093df427..bbc0a6f6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -75,6 +75,7 @@ services: CFG_SERVER_USAGE_ENABLED: ${USAGE_ENABLED} CFG_SERVER_EDITION: ${EDITION} CFG_SERVER_DEFAULTUSERUID: ${DEFAULT_USER_UID} + CFG_SERVER_INSTILLCOREHOST: http://${INSTILL_CORE_HOST}:${API_GATEWAY_PORT} CFG_PIPELINEBACKEND_HOST: ${PIPELINE_BACKEND_HOST} CFG_PIPELINEBACKEND_PUBLICPORT: ${PIPELINE_BACKEND_PUBLICPORT} CFG_DATABASE_HOST: ${POSTGRESQL_HOST}