Skip to content

Commit

Permalink
explicitly enable ScrapeConfig support
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Oct 7, 2023
1 parent 1706065 commit ec915f7
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 ec915f7

Please sign in to comment.