From 9bfd26dea9178b1e2e224bbc225c84489bd22b0d Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Wed, 28 Aug 2019 10:38:33 +0200 Subject: [PATCH] ksonnet: remove prefix from kvstore.consul settings in loki config prefix has been removed as a field in Cortex and needs to be removed from the ksonnet as well. --- production/ksonnet/loki/config.libsonnet | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/production/ksonnet/loki/config.libsonnet b/production/ksonnet/loki/config.libsonnet index 29bdf24caa14..260018a28baf 100644 --- a/production/ksonnet/loki/config.libsonnet +++ b/production/ksonnet/loki/config.libsonnet @@ -117,7 +117,6 @@ store: 'consul', consul: { host: 'consul.%s.svc.cluster.local:8500' % $._config.namespace, - prefix: '', httpclienttimeout: '20s', consistentreads: true, }, @@ -144,7 +143,7 @@ service: 'memcached-client', }, }, - } + + } + (if std.count($._config.enabledBackends, 'gcs') > 0 then { gcs: $._config.client_configs.gcs, } else {}) +