style: fmt code
This commit is contained in:
@@ -16,10 +16,10 @@ local kp =
|
|||||||
prometheus+: {
|
prometheus+: {
|
||||||
thanos: {
|
thanos: {
|
||||||
baseImage: 'quay.io/thanos/thanos',
|
baseImage: 'quay.io/thanos/thanos',
|
||||||
version: 'v0.8.1',
|
version: 'v0.8.1',
|
||||||
objectStorageConfig: {
|
objectStorageConfig: {
|
||||||
key: 'thanos.yaml',
|
key: 'thanos.yaml',
|
||||||
name: 'thanos-objstore-config',
|
name: 'thanos-objstore-config',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -128,20 +128,20 @@ function(params) {
|
|||||||
port: 9090,
|
port: 9090,
|
||||||
protocol: 'TCP',
|
protocol: 'TCP',
|
||||||
}],
|
}],
|
||||||
}] + ( if p._config.thanos != null then
|
}] + (if p._config.thanos != null then
|
||||||
[{
|
[{
|
||||||
from: [{
|
from: [{
|
||||||
podSelector: {
|
podSelector: {
|
||||||
matchLabels: {
|
matchLabels: {
|
||||||
'app.kubernetes.io/name': 'thanos-query',
|
'app.kubernetes.io/name': 'thanos-query',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
ports: [{
|
ports: [{
|
||||||
port: 10901,
|
port: 10901,
|
||||||
protocol: 'TCP',
|
protocol: 'TCP',
|
||||||
}],
|
}],
|
||||||
}] else []),
|
}] else []),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user