style: fmt code

This commit is contained in:
Vladislav Polyakov
2022-04-19 10:48:24 +03:00
parent 35bb9f3ee8
commit 76f1ba051a
2 changed files with 18 additions and 18 deletions

View File

@@ -16,10 +16,10 @@ local kp =
prometheus+: {
thanos: {
baseImage: 'quay.io/thanos/thanos',
version: 'v0.8.1',
objectStorageConfig: {
key: 'thanos.yaml',
name: 'thanos-objstore-config',
version: 'v0.8.1',
objectStorageConfig: {
key: 'thanos.yaml',
name: 'thanos-objstore-config',
},
},
},

View File

@@ -128,20 +128,20 @@ function(params) {
port: 9090,
protocol: 'TCP',
}],
}] + ( if p._config.thanos != null then
[{
from: [{
podSelector: {
matchLabels: {
'app.kubernetes.io/name': 'thanos-query',
},
},
}],
ports: [{
port: 10901,
protocol: 'TCP',
}],
}] else []),
}] + (if p._config.thanos != null then
[{
from: [{
podSelector: {
matchLabels: {
'app.kubernetes.io/name': 'thanos-query',
},
},
}],
ports: [{
port: 10901,
protocol: 'TCP',
}],
}] else []),
},
},