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

Added ipset.Save() at the start of syncNetworkPolicyChains #1806

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

rbrtbnfgl
Copy link
Contributor

This PR should fixes #1732 to refresh the rules before syncing the policy.

Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
Copy link
Collaborator

@aauren aauren left a comment

Choose a reason for hiding this comment

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

Thanks for contributing this @rbrtbnfgl!

It looks good to me from a code point of view and also passed all of the standard Kubernetes network integration tests. So I think we're good to go here.

After we get some feedback from @alexcriss or others that are a part of #1732 that this fixes the issue I'll merge and tag it.

@aauren aauren merged commit d1982eb into cloudnativelabs:master Feb 13, 2025
7 checks passed
@rbrtbnfgl rbrtbnfgl deleted the fix_ipset_save branch February 13, 2025 10:15
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.

Race condition between netpol and IPVS based ipset updates
2 participants