Skip to content

Commit

Permalink
Merge pull request #2232 from paulfantom/scrape-configs
Browse files Browse the repository at this point in the history
explicitly enable ScrapeConfig support
  • Loading branch information
paulfantom authored Nov 1, 2023
2 parents b9d1ff5 + ec915f7 commit 8b73d18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jsonnet/kube-prometheus/components/prometheus.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ function(params) {
probeNamespaceSelector: {},
ruleNamespaceSelector: {},
ruleSelector: p._config.ruleSelector,
scrapeConfigSelector: {},
scrapeConfigNamespaceSelector: {},
serviceMonitorSelector: {},
serviceMonitorNamespaceSelector: {},
nodeSelector: { 'kubernetes.io/os': 'linux' },
Expand Down
2 changes: 2 additions & 0 deletions manifests/prometheus-prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ spec:
memory: 400Mi
ruleNamespaceSelector: {}
ruleSelector: {}
scrapeConfigNamespaceSelector: {}
scrapeConfigSelector: {}
securityContext:
fsGroup: 2000
runAsNonRoot: true
Expand Down

0 comments on commit 8b73d18

Please sign in to comment.