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
commit 2a66bb88b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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