How to disable Service banner from master nodes in OCP 4
Issue
- How to disable Service Banner in RHOCP master nodes.
-
If any user, be it authenticated or unauthenticated, accesses the URL
https://[master-node-ip]:6443/version
, the version details can be known:$ curl -k https://master-0.cluster.redhat.com:6443/version { "major": "1", "minor": "21", "gitVersion": "v1.21.1+9807387", "gitCommit": "98073871f173baaa04dc2bafab50effd62c308a6", "gitTreeState": "clean", "buildDate": "2021-08-06T14:06:43Z", "goVersion": "go1.16.6", "compiler": "gc", "platform": "linux/amd64" }
-
Is the above a security concern?
Environment
- Red hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.