store: Add min/max time flag configuration

Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
This commit is contained in:
Frederic Branczyk 2021-03-22 09:25:43 +01:00
parent cb03ac9512
commit 0efc16233e
No known key found for this signature in database
GPG Key ID: 576DA6AF8CB9027F
3 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -22,6 +22,8 @@
http: 10902,
},
tracing: {},
minTime: '',
maxTime: '',
memcachedDefaults+:: {
config+: {

View File

@ -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(