File tree Expand file tree Collapse file tree 6 files changed +8
-51
lines changed Expand file tree Collapse file tree 6 files changed +8
-51
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
17
17
- Disable dashboards by default ([ #1 ] )
18
18
- Upgrade to v0.18.0 ([ #2 ] )
19
+ - Update dependencies ([ #6 ] )
19
20
20
21
### Fixed
21
22
@@ -28,3 +29,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
28
29
[ #3 ] : https://github.com/projectsyn/component-thanos/pulls/3
29
30
[ #4 ] : https://github.com/projectsyn/component-thanos/pulls/4
30
31
[ #5 ] : https://github.com/projectsyn/component-thanos/pulls/5
32
+ [ #6 ] : https://github.com/projectsyn/component-thanos/pulls/6
Original file line number Diff line number Diff line change @@ -7,19 +7,7 @@ local kube = import 'lib/kube.libjsonnet';
7
7
local inv = kap.inventory();
8
8
local params = inv.parameters.thanos;
9
9
10
- local bucket = thanos.bucket(params.commonConfig + params.bucket) {
11
- deployment+: {
12
- spec+: {
13
- template+: {
14
- spec+: {
15
- securityContext+: {
16
- runAsUser: 10001 ,
17
- },
18
- },
19
- },
20
- },
21
- },
22
- };
10
+ local bucket = thanos.bucket(params.commonConfig + params.bucket);
23
11
24
12
if params.bucket.enabled then {
25
13
['bucket/' + name]: bucket[name]
Original file line number Diff line number Diff line change @@ -8,25 +8,14 @@ local inv = kap.inventory();
8
8
local params = inv.parameters.thanos;
9
9
10
10
local compactor = thanos.compact(params.commonConfig + params.compactor) {
11
- statefulSet+: {
12
- spec+: {
13
- template+: {
14
- spec+: {
15
- securityContext+: {
16
- runAsUser: 10001 ,
17
- },
18
- },
19
- },
20
- },
21
- },
22
11
alerts+: kube._Object('monitoring.coreos.com/v1' , 'PrometheusRule' , 'thanos-compactor-alerts' ) {
23
12
metadata+: {
24
13
namespace: params.namespace,
25
14
},
26
15
spec+: {
27
16
groups+:
28
17
std.filter (
29
- function (group) group.name == 'thanos-compact.rules ' ,
18
+ function (group) group.name == 'thanos-compact' ,
30
19
thanosMixin.prometheusAlerts.groups
31
20
),
32
21
},
Original file line number Diff line number Diff line change @@ -10,25 +10,14 @@ local params = inv.parameters.thanos;
10
10
local query = thanos.query(params.commonConfig + params.query {
11
11
[if params.store.enabled then 'stores' ]+: [ 'dnssrv+_grpc._tcp.thanos-store.%s.svc.cluster.local' % params.namespace ],
12
12
}) {
13
- deployment+: {
14
- spec+: {
15
- template+: {
16
- spec+: {
17
- securityContext+: {
18
- runAsUser: 10001 ,
19
- },
20
- },
21
- },
22
- },
23
- },
24
13
alerts+: kube._Object('monitoring.coreos.com/v1' , 'PrometheusRule' , 'thanos-query-alerts' ) {
25
14
metadata+: {
26
15
namespace: params.namespace,
27
16
},
28
17
spec+: {
29
18
groups+:
30
19
std.filter (
31
- function (group) group.name == 'thanos-query.rules ' ,
20
+ function (group) group.name == 'thanos-query' ,
32
21
thanosMixin.prometheusAlerts.groups
33
22
),
34
23
},
Original file line number Diff line number Diff line change @@ -8,25 +8,14 @@ local inv = kap.inventory();
8
8
local params = inv.parameters.thanos;
9
9
10
10
local store = thanos.store(params.commonConfig + params.store) {
11
- statefulSet+: {
12
- spec+: {
13
- template+: {
14
- spec+: {
15
- securityContext+: {
16
- runAsUser: 10001 ,
17
- },
18
- },
19
- },
20
- },
21
- },
22
11
alerts+: kube._Object('monitoring.coreos.com/v1' , 'PrometheusRule' , 'thanos-store-alerts' ) {
23
12
metadata+: {
24
13
namespace: params.namespace,
25
14
},
26
15
spec+: {
27
16
groups+:
28
17
std.filter (
29
- function (group) group.name == 'thanos-store.rules ' ,
18
+ function (group) group.name == 'thanos-store' ,
30
19
thanosMixin.prometheusAlerts.groups
31
20
),
32
21
},
Original file line number Diff line number Diff line change 8
8
"subdir" : " jsonnet/kube-thanos"
9
9
}
10
10
},
11
- "version" : " v0.17.0 "
11
+ "version" : " 24ddf6aef1b2302213e58891d60feae2b41c765f "
12
12
},
13
13
{
14
14
"source" : {
17
17
"subdir" : " mixin"
18
18
}
19
19
},
20
- "version" : " v0.17.2 "
20
+ "version" : " v0.18.0 "
21
21
}
22
22
],
23
23
"legacyImports" : true
You can’t perform that action at this time.
0 commit comments