mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-26 08:51:33 +02:00
Merge pull request #929 from paulfantom/thanos-fix
Do not include thanos config when thanos is not used.
This commit is contained in:
commit
2a66bb88b5
@ -274,7 +274,7 @@ function(params) {
|
|||||||
runAsNonRoot: true,
|
runAsNonRoot: true,
|
||||||
fsGroup: 2000,
|
fsGroup: 2000,
|
||||||
},
|
},
|
||||||
thanos: p.config.thanos,
|
[if std.objectHas(params, 'thanos') then 'thanos']: p.config.thanos,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -44,5 +44,4 @@ spec:
|
|||||||
serviceAccountName: prometheus-k8s
|
serviceAccountName: prometheus-k8s
|
||||||
serviceMonitorNamespaceSelector: {}
|
serviceMonitorNamespaceSelector: {}
|
||||||
serviceMonitorSelector: {}
|
serviceMonitorSelector: {}
|
||||||
thanos: {}
|
|
||||||
version: 2.24.0
|
version: 2.24.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user