Skip to content

Commit

Permalink
Added deprecated rules field in order to fix prod issue.
Browse files Browse the repository at this point in the history
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
  • Loading branch information
bwplotka committed Apr 22, 2022
1 parent 6328583 commit 654fadb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jsonnet/kube-thanos/kube-thanos-query.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ local defaults = {
replicas: error 'must provide replicas',
replicaLabels: error 'must provide replicaLabels',
stores: ['dnssrv+_grpc._tcp.thanos-store.%s.svc.cluster.local' % defaults.namespace],
rules: [], // TODO(bwplotka): This is deprecated, switch to endpoints while ready.
externalPrefix: '',
prefixHeader: '',
autoDownsampling: true,
Expand Down Expand Up @@ -112,6 +113,9 @@ function(params) {
] + [
'--store=%s' % store
for store in tq.config.stores
] + [
'--rules=%s' % store
for store in tq.config.rules
] +
(
if tq.config.externalPrefix != '' then [
Expand Down

0 comments on commit 654fadb

Please sign in to comment.