Skip to content
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

node: Add WireguardPubKey to ToCiliumNode #16420

Merged
merged 2 commits into from Jun 8, 2021

Conversation

gandro
Copy link
Member

@gandro gandro commented Jun 3, 2021

This ensures the WireGuard public key is preserved when converting a
nodeTypes.Node object to a CiliumNode CRD. This conversion is currently
is only used for attaching external workloads (which has no support for
WireGuard at the moment anyways), but it might be used in other places in the
future, therefore we should ensure that it propagates all information
correctly.

I discovered this while validating WireGuard support in Clustermesh.
This PR does not fix any outstanding bugs.

@gandro gandro added area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. release-note/misc This PR makes changes that have no direct user impact. labels Jun 3, 2021
@gandro gandro requested a review from a team as a code owner June 3, 2021 14:56
@gandro
Copy link
Member Author

gandro commented Jun 3, 2021

test-me-please

Copy link
Member

@aanm aanm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the entry:

/pkg/node @cilium/agent 

to the CODEOWNERS file? Thanks

This ensures the WireGuard public key is preserved when coverting a
nodeTypes.Node object to a CiliumNode CRD. This conversion is currently
only used for attaching external workloads (which has no support for
WireGuard at the moment), but it might be used for other reasons in the
future, therefore we should ensure that it propagates all information
correctly.

Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
@gandro gandro force-pushed the pr/gandro/wireguard-in-tociliumnode branch from 3d0c39e to 45e71d1 Compare June 7, 2021 08:33
@gandro gandro requested a review from a team as a code owner June 7, 2021 08:33
@gandro gandro requested a review from aditighag June 7, 2021 08:33
@gandro gandro requested a review from aanm June 7, 2021 08:33
@gandro
Copy link
Member Author

gandro commented Jun 7, 2021

test-me-please

Edit: GitHub Image builder wasn't triggered. Had to close/reopen the PR.

@gandro gandro closed this Jun 7, 2021
@gandro gandro reopened this Jun 7, 2021
@gandro
Copy link
Member Author

gandro commented Jun 7, 2021

test-me-please

@gandro gandro removed the request for review from aditighag June 7, 2021 15:29
@gandro gandro added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jun 8, 2021
@aanm aanm merged commit cff14da into cilium:master Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants