We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3645df3 commit 0dd9583Copy full SHA for 0dd9583
controller/konnect/index_kongroute.go
@@ -51,10 +51,8 @@ func kongRouteRefersToKongService(object client.Object) []string {
51
return nil
52
}
53
54
- namespace := route.Namespace
55
- if svcRef.NamespacedRef.Namespace != "" {
56
- namespace = svcRef.NamespacedRef.Namespace
57
- }
+ // NOTE: We currently do not allow cross namespace references between KongRoute and KongService.
+ // https://github.com/Kong/kubernetes-configuration/issues/106 tracks the implementation.
58
59
- return []string{namespace + "/" + svcRef.NamespacedRef.Name}
+ return []string{route.Namespace + "/" + svcRef.NamespacedRef.Name}
60
0 commit comments