Skip to content

Commit 5be11fd

Browse files
author
Gereon Frey
committed
Remove local routes when creating a route table
This is the issue that made the e2e tests fail.
1 parent 94de6b4 commit 5be11fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/resource/route_table/hooks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (rm *resourceManager) syncRoutes(
6565

6666
switch {
6767
case delta == nil:
68-
toAdd = desired.ko.Spec.Routes
68+
toAdd = removeLocalRoute(desired.ko.Spec.Routes)
6969
case delta.DifferentAt("Spec.Routes"):
7070
for _, diff := range delta.Differences {
7171
if diff.Path.Contains("Spec.Routes") {

0 commit comments

Comments
 (0)