From e103737798e462b5cc00737b520d52b51ddf4379 Mon Sep 17 00:00:00 2001 From: Aarushi Date: Tue, 15 Oct 2024 14:21:37 +0100 Subject: [PATCH] use configmap in builder --- .../infra/helm/autogpt-builder/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autogpt_platform/infra/helm/autogpt-builder/templates/deployment.yaml b/autogpt_platform/infra/helm/autogpt-builder/templates/deployment.yaml index cf9ec7901946..cd8ecabda1e0 100644 --- a/autogpt_platform/infra/helm/autogpt-builder/templates/deployment.yaml +++ b/autogpt_platform/infra/helm/autogpt-builder/templates/deployment.yaml @@ -32,6 +32,9 @@ spec: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: - name: {{ .Chart.Name }} + envFrom: + - configMapRef: + name: {{ include "autogpt-builder.fullname" . }}-config securityContext: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"