Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

feat(builder): Use configmap for builder (#8343)

Aarushid46219c80f69
diff --git a/autogpt_platform/infra/helm/autogpt-builder/templates/deployment.yaml b/autogpt_platform/infra/helm/autogpt-builder/templates/deployment.yaml
index cf9ec79019..cd8ecabda1 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 }}"