We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d95a53 commit 3d63772Copy full SHA for 3d63772
jsonnet/kube-thanos/kube-thanos-query.libsonnet
@@ -11,6 +11,7 @@ local defaults = {
11
replicaLabels: error 'must provide replicaLabels',
12
stores: ['dnssrv+_grpc._tcp.thanos-store.%s.svc.cluster.local' % defaults.namespace],
13
externalPrefix: '',
14
+ prefixHeader: '',
15
autoDownsampling: true,
16
resources: {},
17
queryTimeout: '',
@@ -114,6 +115,11 @@ function(params) {
114
115
'--web.external-prefix=' + tq.config.externalPrefix,
116
] else []
117
) +
118
+ (
119
+ if tq.config.prefixHeader != '' then [
120
+ '--web.prefix-header=' + tq.config.prefixHeader,
121
+ ] else []
122
+ ) +
123
(
124
if tq.config.queryTimeout != '' then [
125
'--query.timeout=' + tq.config.queryTimeout,
0 commit comments