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

policy: mapstate should respect authType in dataPath equality #23780

Merged

Conversation

mhofstetter
Copy link
Member

Policy MapState needs to respect property authType when checking it for dataPath equality. Without this change, changing the auth type on existing CiliumNetworkPolicies isn't reflected in the eBPF policy map.

Policy MapState needs to respect property authType when checking
it for dataPath equality. Without this change, changing the
auth type on existing CiliumNetworkPolicies isn't reflected
in the eBPF policy map.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter added the release-note/bug This PR fixes an issue in a previous release of Cilium. label Feb 15, 2023
@mhofstetter mhofstetter requested a review from a team as a code owner February 15, 2023 13:04
Copy link
Member

@jrajahalme jrajahalme 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 this bug fix :-)

@mhofstetter
Copy link
Member Author

/test

@mhofstetter
Copy link
Member Author

/ci-verifier

@mhofstetter
Copy link
Member Author

/test-runtime

Copy link
Member

@aditighag aditighag left a comment

Choose a reason for hiding this comment

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

Just a nit. Please fix it before merging the PR. Doesn't need a 2nd pass from me, and no need to run the full CI again.

Screen Shot 2023-02-16 at 6 40 04 AM

pkg/policy/mapstate.go Show resolved Hide resolved
@maintainer-s-little-helper maintainer-s-little-helper bot added ready-to-merge This PR has passed all tests and received consensus from code owners to merge. labels Feb 16, 2023
Copy link
Member

@pchaigno pchaigno left a comment

Choose a reason for hiding this comment

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

I think we need a release note in the PR description to clarify the impact of this bug for users.

@pchaigno pchaigno removed the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 16, 2023
Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter added release-note/misc This PR makes changes that have no direct user impact. and removed release-note/bug This PR fixes an issue in a previous release of Cilium. labels Feb 16, 2023
@mhofstetter
Copy link
Member Author

I think we need a release note in the PR description to clarify the impact of this bug for users.

i don't think it's necessary due to the fact that this isn't a user facing feature yet. i changed the label to release-note/misc

@pchaigno pchaigno merged commit 99f5bb9 into cilium:master Feb 16, 2023
@mhofstetter mhofstetter deleted the pr/mhofstetter/policy-mapstate-authdiff branch February 16, 2023 17:58
@mhofstetter mhofstetter added the area/servicemesh GH issues or PRs regarding servicemesh label Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/servicemesh GH issues or PRs regarding servicemesh 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