UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

dig some values in case the values are not set

Merged Michael Martin requested to merge fix-thanos-values into master
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -42,7 +42,7 @@ istio:
- istio-system/{{ default "public" .Values.addons.thanos.ingress.gateway }}
{{- with .Values.addons.thanos.objectStorage }}
{{- if or (dig "minio" "enabled" false $.Values.addons.thanos.values) (and (eq $.Values.addons.thanos.strategy "scalable") (not (and .endpoint .region))) }}
{{- if and (eq $.Values.addons.thanos.strategy "scalable") (not (and .Values.addons.thanos.objectStorage.endpoint .Values.addons.thanos.objectStorage.region)) }}
minio:
enabled: true
{{- end }}
Loading