-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
pkg: don't cache Host identity rule matches #30548
Conversation
/test |
@squeed 👋 does this need anything beyond a rebase + green CI? |
This pull request has been automatically marked as stale because it |
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.
Looks good as far as I can tell. Given that this is a bug fix, can we please move this forward?
@squeed Anything I can do to assist with this PR? I'm happy to rebase and trigger CI if this helps. |
argh sorry, fell off my radar. I'll get it fixed. |
fcaed18
to
b0c99be
Compare
/test |
Unlike every other identity, the set of labels for the reserved:host identity is mutable. That means that rules should not cache matches for this identity. So, clean up the code around determining matches. Signed-off-by: Casey Callendrello <cdc@isovalent.com>
b0c99be
to
191358e
Compare
Aha, missed a test case. Fixed now, with minor unit test fixes. |
/test |
I was poking around the codebase and noticed this issue.
Unlike every other identity, the set of labels for the reserved:host identity is mutable. That means that rules should not cache matches for this identity.
So, clean up the code around determining matches.