Merge pull request #929 from paulfantom/thanos-fix
Do not include thanos config when thanos is not used.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user