File tree Expand file tree Collapse file tree 2 files changed +18
-18
lines changed
jsonnet/kube-prometheus/components Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ local kp =
1616 prometheus+: {
1717 thanos: {
1818 baseImage: 'quay.io/thanos/thanos' ,
19- version: 'v0.8.1' ,
20- objectStorageConfig: {
21- key: 'thanos.yaml' ,
22- name: 'thanos-objstore-config' ,
19+ version: 'v0.8.1' ,
20+ objectStorageConfig: {
21+ key: 'thanos.yaml' ,
22+ name: 'thanos-objstore-config' ,
2323 },
2424 },
2525 },
Original file line number Diff line number Diff line change @@ -128,20 +128,20 @@ function(params) {
128128 port: 9090 ,
129129 protocol: 'TCP' ,
130130 }],
131- }] + ( if p._config.thanos != null then
132- [{
133- from: [{
134- podSelector: {
135- matchLabels: {
136- 'app.kubernetes.io/name' : 'thanos-query' ,
137- },
138- },
139- }],
140- ports: [{
141- port: 10901 ,
142- protocol: 'TCP' ,
143- }],
144- }] else []),
131+ }] + (if p._config.thanos != null then
132+ [{
133+ from: [{
134+ podSelector: {
135+ matchLabels: {
136+ 'app.kubernetes.io/name' : 'thanos-query' ,
137+ },
138+ },
139+ }],
140+ ports: [{
141+ port: 10901 ,
142+ protocol: 'TCP' ,
143+ }],
144+ }] else []),
145145 },
146146 },
147147
You can’t perform that action at this time.
0 commit comments