diff --git a/chart/templates/logging/loki/loki-helmrelease.yaml b/chart/templates/logging/loki/loki-helmrelease.yaml index e932099b80b5e867a8828e71de0a6b21972675c0..038162f20ef191783295819580188b1a127d54dc 100644 --- a/chart/templates/logging/loki/loki-helmrelease.yaml +++ b/chart/templates/logging/loki/loki-helmrelease.yaml @@ -55,11 +55,13 @@ spec: - name: kyvernopolicies namespace: {{ .Release.Namespace }} {{- end }} + {{- if (eq .Values.loki.strategy "scalable") }} {{- with .Values.loki.objectStorage }} {{- if not (and .endpoint .accessKey .accessSecret .bucketNames) }} - name: minio-operator namespace: {{ $.Release.Namespace }} {{- end }} {{- end }} + {{- end }} {{- end }} {{- end }}