Skip to content
Snippets Groups Projects
Unverified Commit 76f1ba05 authored by Vladislav Polyakov's avatar Vladislav Polyakov
Browse files

style: fmt code

parent 35bb9f3e
No related branches found
No related tags found
No related merge requests found
......@@ -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',
},
},
},
......
......@@ -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 []),
},
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment