Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tls config for the service monitor (#5282)
This is identical to how the API server handles configuring its service monitor and it also is using service serving certs. Also remove some complication from the `newServiceMonitor` function and remove the http port from the config as metrics are only served over https. Resolves https://issues.redhat.com/browse/MGMT-14756
- Loading branch information
Showing
2 changed files
with
33 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters