Skip to content

Commit 8ec89c8

Browse files
ivanmatmatioktalz
authored andcommitted
BUG: support same backends configurations pointing to different services in same ingress
1 parent 7f146e3 commit 8ec89c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/store/convert.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (n ingressNetworkingV1Strategy) ConvertIngress() *Ingress {
8484
logger.Errorf("backend in ingress '%s/%s' should have service but none found", n.ig.GetNamespace(), n.ig.GetName())
8585
continue
8686
}
87-
pathKey := pathType + "-" + k8sPath.Path + "-" + k8sPath.Backend.Service.Port.Name
87+
pathKey := pathType + "-" + k8sPath.Path + "-" + k8sPath.Backend.Service.Name + "-" + k8sPath.Backend.Service.Port.Name
8888
paths[pathKey] = &IngressPath{
8989
Path: k8sPath.Path,
9090
PathTypeMatch: pathType,

0 commit comments

Comments
 (0)