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

Add encryption support to cmapisrv-mock #122

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

giorio94
Copy link
Member

@giorio94 giorio94 commented Sep 5, 2024

Extend the cmapisrv-mock to take the encryption mode as parameter, and populate the encryption-related fields of the mocked resources based on that. This allows to use the cmapisrv-mock when Cilium is configured with either IPSec or WireGuard encryption. Additionally, allow to configure the annotations associated with the mocked nodes,
as potentially necessary when certain features are enabled.

Extend the cmapisrv-mock to take the encryption mode as parameter, and
populate the encryption-related fields of the mocked resources based on
that. This allows to use the cmapisrv-mock when Cilium is configured
with either IPSec or WireGuard encryption.

Signed-off-by: Marco Iorio <[email protected]>
Allow to configure the annotations associated with the mocked nodes,
as potentially necessary when certain features are enabled.

Signed-off-by: Marco Iorio <[email protected]>
@giorio94 giorio94 marked this pull request as ready for review September 5, 2024 10:21
@giorio94 giorio94 requested a review from learnitall September 5, 2024 10:21
Copy link
Collaborator

@learnitall learnitall left a comment

Choose a reason for hiding this comment

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

One small question, but LGTM!

@giorio94 giorio94 merged commit e791109 into cilium:main Sep 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants