Skip to content

Commit 5182627

Browse files
committed
fix(helm): do not mark loki.storage.bucketNames.ruler as required, if rulerConfig.storage.type is local
Signed-off-by: Jan-Otto Kröpke <[email protected]>
1 parent 019d6b4 commit 5182627

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

production/helm/loki/templates/_helpers.tpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,9 @@ filesystem:
229229
Storage config for ruler
230230
*/}}
231231
{{- define "loki.rulerStorageConfig" -}}
232-
{{- if .Values.minio.enabled -}}
232+
{{- if eq .Values.loki.rulerConfig.storage.type "local" -}}
233+
type: "local"
234+
{{- else if .Values.minio.enabled -}}
233235
type: "s3"
234236
s3:
235237
bucketnames: ruler

0 commit comments

Comments
 (0)