mirror of
https://github.com/thanos-io/kube-thanos.git
synced 2026-05-12 23:46:13 +02:00
store: Add min/max time flag configuration
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
This commit is contained in:
parent
cb03ac9512
commit
0efc16233e
@ -29,6 +29,7 @@ We use *breaking* word for marking changes that are not backward compatible (rel
|
||||
- [#192](https://github.com/thanos-io/kube-thanos/pull/192) sidecar: Add pod discovery
|
||||
- [#194](https://github.com/thanos-io/kube-thanos/pull/194) Allow configuring --label and --receive.tenant-label-name flags.
|
||||
- [#209](https://github.com/thanos-io/kube-thanos/pull/209) Allow configuring --label and --refresh flags of bucket web.
|
||||
- [#213](https://github.com/thanos-io/kube-thanos/pull/213) Allow configuring `--min-time` and `--max-time` of store.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@ -22,6 +22,8 @@
|
||||
http: 10902,
|
||||
},
|
||||
tracing: {},
|
||||
minTime: '',
|
||||
maxTime: '',
|
||||
|
||||
memcachedDefaults+:: {
|
||||
config+: {
|
||||
|
||||
@ -83,6 +83,14 @@ function(params) {
|
||||
if std.length(ts.config.bucketCache) > 0 then [
|
||||
'--store.caching-bucket.config=' + std.manifestYamlDoc(ts.config.bucketCache),
|
||||
] else []
|
||||
) + (
|
||||
if std.length(ts.config.minTime) > 0 then [
|
||||
'--min-time=' + ts.config.minTime,
|
||||
] else []
|
||||
) + (
|
||||
if std.length(ts.config.maxTime) > 0 then [
|
||||
'--max-time=' + ts.config.maxTime,
|
||||
] else []
|
||||
) + (
|
||||
if std.length(ts.config.tracing) > 0 then [
|
||||
'--tracing.config=' + std.manifestYamlDoc(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user