diff --git a/jsonnet/kube-prometheus/components/prometheus.libsonnet b/jsonnet/kube-prometheus/components/prometheus.libsonnet index d537f3bcf98f2b7f206625f2aa576206fca92cd4..3c0e6bfcbde9eaa5b81972df8248fa5d7b674922 100644 --- a/jsonnet/kube-prometheus/components/prometheus.libsonnet +++ b/jsonnet/kube-prometheus/components/prometheus.libsonnet @@ -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: {},