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
k8s: Use slim Node in LocalNode Resource and K8s watchers #25282
Conversation
/test |
4c67d77
to
e2fafc7
Compare
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!
e2fafc7
to
348a4b3
Compare
/test |
/test |
@joamaki None of the e2e tests were triggered for your last |
The struct wrapping and boxing of resource creates an unnecessary pointer indirection. Just newtyping Resource[T] is enough. Signed-off-by: Jussi Maki <jussi@isovalent.com>
The LocalNode resource now uses slim_corev1.Node which avoids the unnecessary conversions to it from v1.Node. Adds ProviderID to slim_corev1.Node as it was needed by BGP. Signed-off-by: Jussi Maki <jussi@isovalent.com>
348a4b3
to
82c748d
Compare
Huh, that's odd. I'll rebase and try again and if that doesn't do it, I'll close and reopen. |
/test |
We were performing unnecessary conversions from corev1.Node to slim_corev1.Node.
Only blocker for using slim_corev1.Node was the missing ProviderID.