Skip to content

Commit ec0c1e1

Browse files
author
Nishant Burte
committed
Route addition in routeTable changes CR spec
This fix accomodates an aws api bug so as to prevent routeTable CR spec from changing. Details explained in the issue description.
1 parent 7c29604 commit ec0c1e1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ack_generate_info:
2-
build_date: "2024-09-12T18:02:26Z"
2+
build_date: "2024-09-17T17:43:02Z"
33
build_hash: f8f98563404066ac3340db0a049d2e530e5c51cc
44
go_version: go1.22.6
55
version: v0.38.1

templates/hooks/route_table/sdk_read_many_post_set_output.go.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// then assign resource's tags to maintain tag order
99
ko.Spec.Tags = r.ko.Spec.Tags
1010
}
11-
11+
1212
// Even if route is created with arguments as VPCEndpointID,
1313
// when aws api is called to describe the route (inside skdFind), it
1414
// returns VPCEndpointID as GatewayID. Due to this bug, spec section for
@@ -20,4 +20,5 @@
2020
ko.Spec.Routes[i].VPCEndpointID = route.GatewayID
2121
ko.Spec.Routes[i].GatewayID = nil
2222
}
23-
}
23+
}
24+

0 commit comments

Comments
 (0)