Skip to content
Snippets Groups Projects
Commit 228f8ffd authored by Prem Saraswat's avatar Prem Saraswat
Browse files

Add support for feature-flags in Prometheus

parent e481cbd7
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ local defaults = {
namespaces: ['default', 'kube-system', defaults.namespace],
replicas: 2,
externalLabels: {},
enableFeatures: [],
commonLabels:: {
'app.kubernetes.io/name': 'prometheus',
'app.kubernetes.io/version': defaults.version,
......@@ -278,6 +279,7 @@ function(params) {
labels: p._config.commonLabels,
},
externalLabels: p._config.externalLabels,
enableFeatures: p._config.enableFeatures,
serviceAccountName: 'prometheus-' + p._config.name,
podMonitorSelector: {},
podMonitorNamespaceSelector: {},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment