Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG/MINOR: prevents clash on custom routes names to avoid unecessary …
…restarts All custom routes are stored in the routes.CustomRoutes map using the backend name as the key (`ServiceNS_ServiceName_PortName`). When we encounter two distinct IngressRules, whether they are within the same Ingress or not, and they utilize different hosts or paths while pointing to the same Service, they end up sharing the same key in CustomRoutes. This similarity in keys results in comparison failures during every synchronization, requiring a hard reload of HAProxy. This PR addresses the issue by prepending the name of the Ingress resource to the keys in route.CustomRoutes to prevent these conflicts (`IngressName_ServiceNS_ServiceName_PortName`).
- Loading branch information