Skip to content

Commit fe68263

Browse files
committed
feat(helm): do not mark loki.storage.bucketNames.chunks as required, if minio is used.
Signed-off-by: Jan-Otto Kröpke <[email protected]>
1 parent a2c4ea6 commit fe68263

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

production/helm/loki/ci/non-default-values.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ loki:
66
commonConfig:
77
replication_factor: 1
88
useTestSchema: true
9-
storage:
10-
bucketNames:
11-
chunks: chunks
12-
ruler: ruler
139
tenants:
1410
- name: "test-user-1"
1511
password: "test-password-1"

production/helm/loki/templates/_helpers.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ Generated storage config for loki common config
208208
object_store:
209209
{{- include "loki.thanosStorageConfig" (dict "ctx" . "bucketName" $bucketName) | nindent 2 }}
210210
{{- else if .Values.minio.enabled -}}
211-
{{- $bucketName := required "Please define loki.storage.bucketNames.chunks" (dig "storage" "bucketNames" "chunks" "" .Values.loki) }}
212211
s3:
213212
endpoint: {{ include "loki.minio" $ }}
214213
bucketnames: chunks

0 commit comments

Comments
 (0)