File tree 2 files changed +14
-7
lines changed
2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 26
26
auth_password : somesecretvalue
27
27
obj :
28
28
provider :
29
- # s3:
30
- # secretAccessKey: somesecretvalue
31
29
linode :
32
30
secretAccessKey : somesecretvalue
33
- # azureBlob:
34
- # aadClientSecret: somesecretvalue
35
31
platformBackups :
36
32
persistentVolumes :
37
33
linodeApiToken : justanapitokenhere
Original file line number Diff line number Diff line change @@ -29,18 +29,26 @@ loki:
29
29
configs:
30
30
- from: 2020-09-07
31
31
store: boltdb-shipper
32
+ {{- if $useObjectStorage }}
32
33
object_store: s3
34
+ {{- else }}
35
+ object_store: filesystem
36
+ {{- end }}
33
37
schema: v11
34
38
index:
35
39
prefix: loki_index_
36
40
period: 24h
37
- {{- if $useObjectStorage }}
38
41
storageConfig:
39
42
boltdb_shipper:
40
43
active_index_directory: /var/loki/index
41
44
cache_location: /var/loki/index_cache
42
45
resync_interval: 5s
46
+ {{- if $useObjectStorage }}
43
47
shared_store: s3
48
+ {{- else }}
49
+ shared_store: filesystem
50
+ {{- end }}
51
+ {{- if $useObjectStorage }}
44
52
aws:
45
53
{{- if eq $obj.type "minioLocal" }}
46
54
s3: http://otomi-admin:{{ $v.otomi.adminPassword }}@minio.minio.svc.cluster.local.:9000/{{ $bu.loki }}
56
64
backoff_config:
57
65
min_period: 2s
58
66
max_period: 5s
59
- {{- end }}
60
- {{- end }}
67
+ {{- end }}
68
+ {{- else }}
69
+ filesystem:
70
+ directory: "/var/loki/chunks"
71
+ {{- end }}
61
72
62
73
structuredConfig:
63
74
auth_enabled: true
You can’t perform that action at this time.
0 commit comments