From 6f6a68726a2fae6e76abe4c9953602867d88f5c6 Mon Sep 17 00:00:00 2001 From: Benjamin Starks <benjamin.starks@omnifederal.com> Date: Wed, 22 Jan 2025 12:53:32 +0000 Subject: [PATCH] Add ability to disable minio-operator dependency for MM --- chart/templates/mattermost/helmrelease.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/chart/templates/mattermost/helmrelease.yaml b/chart/templates/mattermost/helmrelease.yaml index 407db9c6b3..9a5dadd728 100644 --- a/chart/templates/mattermost/helmrelease.yaml +++ b/chart/templates/mattermost/helmrelease.yaml @@ -60,11 +60,9 @@ spec: - name: mattermost-operator namespace: {{ .Release.Namespace }} - {{- with .Values.addons.mattermost.objectStorage }} - {{- if not (and .endpoint .accessKey .accessSecret .bucket) }} - - name: minio-operator - namespace: {{ $.Release.Namespace }} - {{- end }} + {{- if .Values.addons.minioOperator.enabled }} + - name: minio-operator + namespace: {{ $.Release.Namespace }} {{- end }} {{- if and .Values.addons.mattermost.elasticsearch.enabled .Values.elasticsearchKibana.enabled }} -- GitLab