-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Look for annotation on NAD to set transfer route #1244
Conversation
The Plan controller will now look for an annotation `forklift.konveyor.io/route` on the NetworkAttachmentDefinition that was specified as the transfer network for the Plan. The annotation is expected to have a single IP address as its value, which will be set as the default route when configuring the secondary network on the importer pods. The annotation is optional, but if it is present then the Plan validator will ensure that its value is a valid IP address. Signed-off-by: Sam Lucidi <slucidi@redhat.com>
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1244 +/- ##
==========================================
- Coverage 15.65% 15.61% -0.04%
==========================================
Files 112 112
Lines 23130 23188 +58
==========================================
Hits 3620 3620
- Misses 19222 19280 +58
Partials 288 288
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah right direction but I'm bit worried about backwards compatibility. Could we also support the old multus annotation when the route is not specified?
Signed-off-by: Sam Lucidi <slucidi@redhat.com>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The Plan controller will now look for an annotation
forklift.konveyor.io/route
on the NetworkAttachmentDefinition that was specified as the transfer network for the Plan.The annotation is expected to have a single IP address as its value, which will be set as the default route when configuring the secondary network on the importer pods.
The annotation is optional, but if it is present then the Plan validator will ensure that its value is a valid IP address.
Replaces #1241