Skip to content

Commit

Permalink
Merge pull request #364 from stlaz/metrics_client_cert
Browse files Browse the repository at this point in the history
Bug 1986829: metrics: use client cert auth for metrics scraping
  • Loading branch information
openshift-ci[bot] committed Jul 31, 2021
2 parents 8507529 + 4ce7ecd commit f1812bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ spec:
tlsConfig:
caFile: /etc/prometheus/configmaps/serving-certs-ca-bundle/service-ca.crt
serverName: metrics.openshift-kube-scheduler-operator.svc
certFile: /etc/prometheus/secrets/metrics-client-certs/tls.crt
keyFile: /etc/prometheus/secrets/metrics-client-certs/tls.key
jobLabel: component
namespaceSelector:
matchNames:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ spec:
tlsConfig:
caFile: /etc/prometheus/configmaps/serving-certs-ca-bundle/service-ca.crt
serverName: scheduler.openshift-kube-scheduler.svc
certFile: /etc/prometheus/secrets/metrics-client-certs/tls.crt
keyFile: /etc/prometheus/secrets/metrics-client-certs/tls.key
namespaceSelector:
matchNames:
- openshift-kube-scheduler
Expand Down

0 comments on commit f1812bc

Please sign in to comment.