feat: add extra env support for helm chart (#2340)

This commit is contained in:
majinghe
2026-03-30 22:03:36 +08:00
committed by GitHub
parent 0fb070e912
commit d56e839f20
5 changed files with 16 additions and 2 deletions
+4
View File
@@ -89,6 +89,10 @@ spec:
containerPort: {{ .Values.service.endpoint.port }}
- name: console
containerPort: {{ .Values.service.console.port }}
{{- with .Values.extraEnv }}
env:
{{- toYaml . | nindent 12 }}
{{- end }}
envFrom:
- configMapRef:
name: {{ include "rustfs.fullname" . }}-config
+4
View File
@@ -108,6 +108,10 @@ spec:
containerPort: {{ .Values.service.endpoint.port }}
- name: console
containerPort: {{ .Values.service.console.port }}
{{- with .Values.extraEnv }}
env:
{{- toYaml . | nindent 12 }}
{{- end }}
envFrom:
- configMapRef:
name: {{ include "rustfs.fullname" . }}-config