From 5fe02ca6b24437cc03a5a2b1202f3ab2ed4ca682 Mon Sep 17 00:00:00 2001 From: Andre Leite Date: Fri, 18 Sep 2026 14:17:29 -0300 Subject: [PATCH 1/2] Adding extra Env --- .../templates/mattermost-operator/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/mattermost-operator/templates/mattermost-operator/deployment.yaml b/charts/mattermost-operator/templates/mattermost-operator/deployment.yaml index a2a6446ad..7063a91e4 100644 --- a/charts/mattermost-operator/templates/mattermost-operator/deployment.yaml +++ b/charts/mattermost-operator/templates/mattermost-operator/deployment.yaml @@ -43,6 +43,9 @@ spec: value: "{{ .Values.mattermostOperator.env.maxReconcilingConcurrency }}" - name: REQUEUE_ON_LIMIT_DELAY value: "{{ .Values.mattermostOperator.env.requeuOnLimitDelay }}" + {{- if .Values.mattermostOperator.extraEnv }} + {{- toYaml .Values.mattermostOperator.extraEnv | nindent 8 }} + {{- end }} image: "{{ .Values.mattermostOperator.image.repository }}:{{ .Values.mattermostOperator.image.tag }}" imagePullPolicy: "{{ .Values.mattermostOperator.image.pullPolicy }}" name: {{ template "mattermost-operator.name" . }} From c1c5b2af4b999c47277642c84a9608e9257cf283 Mon Sep 17 00:00:00 2001 From: Andre Leite Date: Fri, 18 Sep 2026 14:30:21 -0300 Subject: [PATCH 2/2] OPERATOR_IMAGE is now rendered directly in the chart template --- .../templates/mattermost-operator/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/mattermost-operator/templates/mattermost-operator/deployment.yaml b/charts/mattermost-operator/templates/mattermost-operator/deployment.yaml index 7063a91e4..00024c8f1 100644 --- a/charts/mattermost-operator/templates/mattermost-operator/deployment.yaml +++ b/charts/mattermost-operator/templates/mattermost-operator/deployment.yaml @@ -43,6 +43,8 @@ spec: value: "{{ .Values.mattermostOperator.env.maxReconcilingConcurrency }}" - name: REQUEUE_ON_LIMIT_DELAY value: "{{ .Values.mattermostOperator.env.requeuOnLimitDelay }}" + - name: OPERATOR_IMAGE + value: "{{ .Values.mattermostOperator.image.repository }}:{{ .Values.mattermostOperator.image.tag }}" {{- if .Values.mattermostOperator.extraEnv }} {{- toYaml .Values.mattermostOperator.extraEnv | nindent 8 }} {{- end }}