Commit 58a0129
authored
Resolve references hooks (#294)
Issue #, if available: aws-controllers-k8s/community#1180
Description of changes:
* This patch adds support for two custom hooks "pre_resolve_references" and "post_resolve_references"
* These hooks are needed to support TargetRef inside APIGatewayv2 Route resource where "integrations/" prefix is added before the referred IntegrationID.
* This patch also sets ResourceSynced condition to false when LateInitialization fails. This will help remove custom ResourceSynced condition handling inside `reconciler.go`
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.1 parent ce5dc75 commit 58a0129
File tree
3 files changed
+17
-0
lines changed- pkg/generate/ack
- templates/pkg/resource
3 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
113 | 122 | | |
114 | 123 | | |
115 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
| |||
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| 217 | + | |
216 | 218 | | |
217 | 219 | | |
218 | 220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
| |||
0 commit comments