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,node: Reuse retrieveNodeInformation to retrieve node labels #11659
k8s,node: Reuse retrieveNodeInformation to retrieve node labels #11659
Conversation
3b64732
to
e3ac7a3
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.
one question inline, looks good otherwise
Signed-off-by: Paul Chaignon <paul@cilium.io>
e3ac7a3
to
80b6348
Compare
When creating the host endpoint, we need to retrieve existing node labels. Instead of making a new API call, we can reuse retrieveNodeInformation() to get those labels. Signed-off-by: Paul Chaignon <paul@cilium.io>
80b6348
to
b202364
Compare
test-me-please |
I think this is ready to merge. I filled #11698 for the test failing on |
Great, merging. |
When creating the host endpoint, we need to retrieve existing node labels. Instead of making a new API call, we can reuse
retrieveNodeInformation()
to get those labels.@tgraf In #11543, you mentioned it would be best to reuse
retrieveNodeInformation()
. Is this what you had in mind?Would it be worth adding these labels to
CiliumNode
as well?