Description of problem: - The prometheus metrics endpoint is not protected by RBAC, leading to anonymous external users being able to scrape metrics information about the cluster. - See also BZ: 1889488 ("The metrics endpoint for the Scheduler is not protected by RBAC") Version-Release number of selected component (if applicable): - Tested on 4.4.27, 4.5.18 How reproducible: - Always Steps to Reproduce: 1. Install OCP 2. curl -k https://prometheus-k8s-openshift-monitoring.apps.CLUSTERID.example.com/metrics Actual results: - metrics are shown Expected results: - No data should be shown as an unauthenticated user Additional info:
*** This bug has been marked as a duplicate of bug 1964334 ***