Closed Sgitario closed 1 year ago
Kudos, SonarCloud Quality Gate passed!
We were wrong about reverting this change. From OpenShift docs:
targetPort is the target port on pods that is selected by the service that this route points to.
So, we should keep using the container port, not the host-port.
By the way, this was spotted by one test we have in our CI :)
This reverts commit 21ef3c382db86394fed765eabb3b30eb8609baf1.