From 2882a682720e8d854e41e22f7f278ec2a9c2ebc4 Mon Sep 17 00:00:00 2001 From: "Chang, Hui-Tang" Date: Mon, 12 Aug 2024 10:48:51 +0800 Subject: [PATCH] chore(helm): setup Artifact component infra --- charts/core/templates/pipeline-backend/configmap.yaml | 8 ++++++++ charts/core/values.yaml | 2 ++ 2 files changed, 10 insertions(+) diff --git a/charts/core/templates/pipeline-backend/configmap.yaml b/charts/core/templates/pipeline-backend/configmap.yaml index 75a50280..b8a3e047 100644 --- a/charts/core/templates/pipeline-backend/configmap.yaml +++ b/charts/core/templates/pipeline-backend/configmap.yaml @@ -37,6 +37,14 @@ data: cert: /etc/instill-ai/vdp/ssl/mgmt/tls.crt key: /etc/instill-ai/vdp/ssl/mgmt/tls.key {{- end }} + artifactbackend: + host: {{ default (include "core.artifactBackend" . ) .Values.pipelineBackend.artifactBackendHostOverride }} + publicport: {{ default (include "core.artifactBackend.publicPort" . ) .Values.pipelineBackend.artifactBackendPortOverride }} + {{- if .Values.internalTLS.enabled }} + https: + cert: /etc/instill-ai/vdp/ssl/artifact/tls.crt + key: /etc/instill-ai/vdp/ssl/artifact/tls.key + {{- end }} modelbackend: host: {{ default (include "core.modelBackend" . ) .Values.pipelineBackend.modelBackendHostOverride }} publicport: {{ default (include "core.modelBackend.publicPort" . ) .Values.pipelineBackend.modelBackendPortOverride }} diff --git a/charts/core/values.yaml b/charts/core/values.yaml index db7ff928..4448250e 100644 --- a/charts/core/values.yaml +++ b/charts/core/values.yaml @@ -455,6 +455,8 @@ pipelineBackend: maxUnavailable: modelBackendHostOverride: modelBackendPortOverride: + artifactBackendHostOverride: + artifactBackendPortOverride: # -- The configuration of model-backend modelBackend: # -- The image of model-backend