Description of problem: Able to access MCS port on the master from a hostnetwork pod. Had AWS cluster.
Looks good on OpenshiftSDN though.
Version-Release number of selected component (if applicable):4.8.0-0.nightly-2021-05-14-075932
How reproducible:Always (regression)
Steps to Reproduce:
1.Create a hostnetwork pod in a test project
2.curl -I https://<master_node_ip>:22623/config/master -k
Actual results: Step 2 returns HTTP/1.1 200 OK
Expected results: Connection should be refused
Additional info: Let me know if any specific logs are needed
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.