Closed awisniew90 closed 3 years ago
@awisniew90 I think this got fixed in PR https://github.com/redhat-developer/kam/pull/233 and should be available in kam v0.0.32
Verified that v0.0.32 is using the correct port 8000 now. Any reason why the port value is still hard coded rather than using the http-listener label?
@awisniew90 I agree, the route should have the port name instead of the hardcoded number
port:
targetPort: http-listener
Closed by #247
Describe the bug The gitops-webhook-event-listener-route that is bootstrapped is using a targetPort value of 8080 which isnt corrently hitting the event listener pod on port 8000. This is causing the git webhook to fail with an HTTP 503.
To Reproduce Steps to reproduce the behavior: (Following these instructions: https://github.com/redhat-developer/kam/tree/master/docs/journey/day1)
kam bootstrap ...
Expected behavior The gitops-webhook-event-listener-route that is generated should have a targetPort value of the http-listener label. This would line up with the el-cicd-event-listener service's spec and correctly route the request to the pod's port 8000: