From a432a6025f23ac629e2627adcc481e5fa3774a7c Mon Sep 17 00:00:00 2001 From: Gary Date: Mon, 18 Nov 2024 12:25:35 +0800 Subject: [PATCH] feat(blob/artifact): add blob domain in config (#1154) Because blob service in artifact need the config to know the its domain This commit add the blob domain in config for different environment --- charts/core/templates/artifact-backend/configmap.yaml | 4 +++- charts/core/values.yaml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/core/templates/artifact-backend/configmap.yaml b/charts/core/templates/artifact-backend/configmap.yaml index 7108acf7..95b9bdb3 100644 --- a/charts/core/templates/artifact-backend/configmap.yaml +++ b/charts/core/templates/artifact-backend/configmap.yaml @@ -88,4 +88,6 @@ data: host: {{ template "core.milvus" . }} port: {{ template "core.milvus.port" . }} filetoembeddingworker: - numberofworkers: {{ .Values.artifactBackend.numberOfWorkers }} \ No newline at end of file + numberofworkers: {{ .Values.artifactBackend.numberOfWorkers }} + blob: + hostport: {{ .Values.artifactBackend.blob.hostport }} diff --git a/charts/core/values.yaml b/charts/core/values.yaml index 387d2743..aad6418d 100644 --- a/charts/core/values.yaml +++ b/charts/core/values.yaml @@ -621,6 +621,8 @@ artifactBackend: rootpwd: minioadmin bucketname: instill-ai-knowledge-bases numberOfWorkers: 20 + blob: + hostport: http://localhost:8080 # -- The configuration of console console: # -- Enable console deployment or not