diff --git a/chart/templates/mattermost/helmrelease.yaml b/chart/templates/mattermost/helmrelease.yaml
index 407db9c6b3079256ed05a953b4fa1b370d4a1868..9a5dadd728bea64a27c613d276b350919bbff6e6 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 }}