Skip to content

Commit 4cd090b

Browse files
authored
feat(): update mo-ob-opensource to 1.0.7 (#23)
升级loki,支持 bucket sub path,该功能要在新版 loki 才有 https://grafana.com/docs/loki/latest/configure/#storage_config
1 parent e91ce3d commit 4cd090b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

charts/mo-ob-opensource/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: mo-ob-opensource
33
description: mo-ob-opensource's Helm chart for Kubernetes
44
type: application
5-
version: 1.0.6
5+
version: 1.0.7
66
appVersion: 0.9.0
77
dependencies:
88
- condition: kube-prometheus-stack.enabled
@@ -12,7 +12,7 @@ dependencies:
1212
- condition: loki.enabled
1313
name: loki
1414
repository: https://grafana.github.io/helm-charts
15-
version: 6.4.1
15+
version: 6.19.0
1616
- condition: promtail.enabled
1717
name: promtail
1818
repository: https://grafana.github.io/helm-charts

charts/mo-ob-opensource/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ loki:
213213

214214
# -- Additional query scheduler config
215215
### use default config, old config not work in loki 3.0.0
216-
#storage_config:
216+
storage_config:
217+
# bucket subpath
218+
object_prefix: ""
217219
# boltdb_shipper:
218220
# active_index_directory: /var/loki/data/loki/boltdb-shipper-active
219221
# cache_location: /var/loki/data/loki/boltdb-shipper-cache

dev/mo-ob-opensource.dev.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ loki:
2323
prefix: index_
2424
period: 24h
2525
storage_config:
26+
object_prefix: loki-controlplane
2627
aws:
2728
s3: http://obtest-access:[email protected]/test-bucket
2829
s3forcepathstyle: true

0 commit comments

Comments
 (0)