Use common args in compactor and index-gateway (#4824)

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
pull/4828/head
Danny Kopping 4 years ago committed by GitHub
parent 45ed6d560d
commit 34a012adcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      production/ksonnet/loki/boltdb_shipper.libsonnet
  2. 3
      production/ksonnet/loki/index-gateway.libsonnet

@ -41,8 +41,7 @@
pvc.mixin.spec.withStorageClassName($._config.compactor_pvc_class)
else {},
compactor_args:: if $._config.using_boltdb_shipper then {
'config.file': '/etc/loki/config/config.yaml',
compactor_args:: if $._config.using_boltdb_shipper then $._config.commonArgs {
'boltdb.shipper.compactor.working-directory': '/data/compactor',
'boltdb.shipper.compactor.shared-store': $._config.boltdb_shipper_shared_store,
target: 'compactor',

@ -30,8 +30,7 @@
pvc.mixin.spec.withStorageClassName($._config.index_gateway_pvc_class)
else {},
index_gateway_args:: if $._config.use_index_gateway then {
'config.file': '/etc/loki/config/config.yaml',
index_gateway_args:: if $._config.use_index_gateway then $._config.commonArgs {
target: 'index-gateway',
} else {},

Loading…
Cancel
Save