diff --git a/jsonnet/kube-prometheus/components/prometheus.libsonnet b/jsonnet/kube-prometheus/components/prometheus.libsonnet index 5532f532c1..3b7f5221de 100644 --- a/jsonnet/kube-prometheus/components/prometheus.libsonnet +++ b/jsonnet/kube-prometheus/components/prometheus.libsonnet @@ -340,6 +340,8 @@ function(params) { probeNamespaceSelector: {}, ruleNamespaceSelector: {}, ruleSelector: p._config.ruleSelector, + scrapeConfigSelector: {}, + scrapeConfigNamespaceSelector: {}, serviceMonitorSelector: {}, serviceMonitorNamespaceSelector: {}, nodeSelector: { 'kubernetes.io/os': 'linux' }, diff --git a/manifests/prometheus-prometheus.yaml b/manifests/prometheus-prometheus.yaml index 19aa3caec1..e1d631d5a4 100644 --- a/manifests/prometheus-prometheus.yaml +++ b/manifests/prometheus-prometheus.yaml @@ -38,6 +38,8 @@ spec: memory: 400Mi ruleNamespaceSelector: {} ruleSelector: {} + scrapeConfigNamespaceSelector: {} + scrapeConfigSelector: {} securityContext: fsGroup: 2000 runAsNonRoot: true