Skip to content

Commit 58eed7c

Browse files
committed
Added deprecated rules field in order to fix prod issue.
Signed-off-by: Bartlomiej Plotka <[email protected]>
1 parent 6328583 commit 58eed7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jsonnet/kube-thanos/kube-thanos-query.libsonnet

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ local defaults = {
1111
replicas: error 'must provide replicas',
1212
replicaLabels: error 'must provide replicaLabels',
1313
stores: ['dnssrv+_grpc._tcp.thanos-store.%s.svc.cluster.local' % defaults.namespace],
14+
rules: [], // TODO(bwplotka): This is deprecated, switch to endpoints while ready.
1415
externalPrefix: '',
1516
prefixHeader: '',
1617
autoDownsampling: true,
@@ -112,6 +113,9 @@ function(params) {
112113
] + [
113114
'--store=%s' % store
114115
for store in tq.config.stores
116+
] + [
117+
'--rules=%s' % store
118+
for store in tq.config.rules
115119
] +
116120
(
117121
if tq.config.externalPrefix != '' then [

0 commit comments

Comments
 (0)