Skip to content

Commit

Permalink
bindata: patch oauth-apiserver service
Browse files Browse the repository at this point in the history
The oauth-apiserver ServiceMonitor is not able to find the
oauth-apiserver Service because the label selectors don't match causing
no metrics to be collected for the apiserver.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
  • Loading branch information
dgrisonnet committed Jun 20, 2023
1 parent f2b4701 commit 00c2268
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindata/oauth-apiserver/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ metadata:
service.alpha.openshift.io/serving-cert-secret-name: serving-cert
prometheus.io/scrape: "true"
prometheus.io/scheme: https
labels:
app: openshift-oauth-apiserver
spec:
selector:
apiserver: "true"
Expand Down
2 changes: 2 additions & 0 deletions pkg/operator/assets/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 00c2268

Please sign in to comment.