Skip to content

Commit ab609d6

Browse files
ivanmatmatioktalz
authored andcommitted
BUG: support same backends configurations pointing to different services in same ingress
1 parent 1388bca commit ab609d6

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
@@ -106,7 +106,7 @@ func (n ingressNetworkingV1Strategy) ConvertIngress() *Ingress {
106106
logger.Errorf("backend in ingress '%s/%s' should have service but none found", n.ig.GetNamespace(), n.ig.GetName())
107107
continue
108108
}
109-
pathKey := pathType + "-" + k8sPath.Path + "-" + k8sPath.Backend.Service.Port.Name
109+
pathKey := pathType + "-" + k8sPath.Path + "-" + k8sPath.Backend.Service.Name + "-" + k8sPath.Backend.Service.Port.Name
110110
paths[pathKey] = &IngressPath{
111111
Path: k8sPath.Path,
112112
PathTypeMatch: pathType,

0 commit comments

Comments
 (0)