Skip to content

Commit

Permalink
feat(): update mo-ob-opensource to 1.0.7 (#23)
Browse files Browse the repository at this point in the history
升级loki,支持 bucket sub path,该功能要在新版 loki 才有

https://grafana.com/docs/loki/latest/configure/#storage_config
  • Loading branch information
EZ4BRUCE authored Nov 13, 2024
1 parent e91ce3d commit 4cd090b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/mo-ob-opensource/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: mo-ob-opensource
description: mo-ob-opensource's Helm chart for Kubernetes
type: application
version: 1.0.6
version: 1.0.7
appVersion: 0.9.0
dependencies:
- condition: kube-prometheus-stack.enabled
Expand All @@ -12,7 +12,7 @@ dependencies:
- condition: loki.enabled
name: loki
repository: https://grafana.github.io/helm-charts
version: 6.4.1
version: 6.19.0
- condition: promtail.enabled
name: promtail
repository: https://grafana.github.io/helm-charts
Expand Down
4 changes: 3 additions & 1 deletion charts/mo-ob-opensource/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ loki:

# -- Additional query scheduler config
### use default config, old config not work in loki 3.0.0
#storage_config:
storage_config:
# bucket subpath
object_prefix: ""
# boltdb_shipper:
# active_index_directory: /var/loki/data/loki/boltdb-shipper-active
# cache_location: /var/loki/data/loki/boltdb-shipper-cache
Expand Down
1 change: 1 addition & 0 deletions dev/mo-ob-opensource.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ loki:
prefix: index_
period: 24h
storage_config:
object_prefix: loki-controlplane
aws:
s3: http://obtest-access:[email protected]/test-bucket
s3forcepathstyle: true
Expand Down

0 comments on commit 4cd090b

Please sign in to comment.