File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Entries should include a reference to the pull request that introduced the chang
1313
1414## Unreleased
1515
16+ - [ BUGFIX] Don't mark loki.storage.bucketNames.chunks as required, if an s3 url is provided. [ #19873 ] ( https://github.com/grafana/loki/pull/19873 )
1617
1718## 6.46.0
1819
Original file line number Diff line number Diff line change 217217 s3forcepathstyle: true
218218 insecure: true
219219{ {- else if (eq (include " loki.isUsingObjectStorage" . ) " true" ) -} }
220- { {- $bucketName := required " Please define loki.storage.bucketNames.chunks" (dig " storage" " bucketNames" " chunks" " " .Values.loki) } }
220+ { {- $bucketName := " " } }
221+ { {- if not (or (dig " aws" " s3" " " .Values.loki.storage_config) (dig " aws" " bucketnames" " " .Values.loki.storage_config)) -} }
222+ { {- $bucketName = required " Please define loki.storage.bucketNames.chunks" (dig " storage" " bucketNames" " chunks" " " .Values.loki) } }
223+ { {- end -} }
221224{ {- include " loki.lokiStorageConfig" (dict " ctx" . " bucketName" $bucketName ) | nindent 0 } }
222225{ {- else if .Values.loki.storage.filesystem } }
223226filesystem:
You can’t perform that action at this time.
0 commit comments