Merge pull request #929 from paulfantom/thanos-fix

Do not include thanos config when thanos is not used.
This commit is contained in:
Kemal Akkoyun
2021-02-11 15:35:37 +01:00
committed by GitHub
2 changed files with 1 additions and 2 deletions

View File

@@ -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,
}, },
}, },

View File

@@ -44,5 +44,4 @@ spec:
serviceAccountName: prometheus-k8s serviceAccountName: prometheus-k8s
serviceMonitorNamespaceSelector: {} serviceMonitorNamespaceSelector: {}
serviceMonitorSelector: {} serviceMonitorSelector: {}
thanos: {}
version: 2.24.0 version: 2.24.0