From 299080ac577a72914a3adb5141820fe88da1c2f1 Mon Sep 17 00:00:00 2001 From: David Young Date: Fri, 5 Nov 2021 05:33:37 +1300 Subject: [PATCH] Permit passing ENV vars to console (#889) Signed-off-by: David Young --- helm/minio-operator/templates/console-deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm/minio-operator/templates/console-deployment.yaml b/helm/minio-operator/templates/console-deployment.yaml index 22033d26c44..c6f0fe8b942 100644 --- a/helm/minio-operator/templates/console-deployment.yaml +++ b/helm/minio-operator/templates/console-deployment.yaml @@ -54,6 +54,9 @@ spec: env: - name: CONSOLE_OPERATOR_MODE value: "on" + {{- with .Values.console.env }} + {{ toYaml . | nindent 10 }} + {{- end }} resources: {{- toYaml .Values.console.resources | nindent 12 }} {{- with .Values.console.initContainers }}