Skip to content

Commit

Permalink
chore: add instillCoreHost setting for mgmt-backend
Browse files Browse the repository at this point in the history
  • Loading branch information
donch1989 committed Apr 11, 2024
1 parent ceb0531 commit 0507456
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/core/templates/mgmt-backend/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" . }}
Expand Down
1 change: 1 addition & 0 deletions charts/core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 0507456

Please sign in to comment.