UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 7b1eb3f1 authored by Kevin Scheunemann's avatar Kevin Scheunemann Committed by Michael Martin
Browse files

change the helm dependency logic to only include minio-operator if minio (tenant) is enabled

parent 85d0b476
No related branches found
No related tags found
1 merge request!5733change the helm dependency logic to only include minio-operator if minio (tenant) is enabled
......@@ -82,11 +82,9 @@ spec:
- name: kyverno-policies
namespace: {{ .Release.Namespace }}
{{- end }}
{{- with .Values.loki.objectStorage }}
{{- if and (eq $.Values.loki.strategy "scalable") (not (and .endpoint .bucketNames)) }}
{{- if .Values.addons.minioOperator.enabled }}
- name: minio-operator
namespace: {{ $.Release.Namespace }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
......@@ -165,14 +165,6 @@ gateway:
fieldPath: status.podIP
{{- end }}
{{- with .Values.loki.objectStorage }}
{{- if and (eq $.Values.loki.strategy "scalable") (not (and .endpoint .region)) }}
minio:
enabled: true
{{- end }}
{{- end }}
# Allows users to deploy distributed mode but calls out that we do not support it
{{- if (eq .Values.loki.strategy "distributed") }}
deploymentMode: Distributed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment