UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit f29faf67 authored by Michael Martin's avatar Michael Martin
Browse files

Merge branch...

Merge branch '1473-unable-to-disable-minio-when-loki-strategy-is-set-to-scalable-and-not-setting-values-for-both' into 'master'

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

Closes #1473

See merge request !5733
parents 47132f80 7b1eb3f1
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
Pipeline #3941912 passed
......@@ -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