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

auth: delete cache-entry on ErrKeyNotExist #26342

Conversation

mhofstetter
Copy link
Member

In the unlikely event of trying to delete an auth map entry which is no longer present in the auth map, the entry should also be removed from the auth map cache. Currently it gets kept in the cache, which would result in unnecessary retries.

In the unlikely event of trying to delete an auth map entry which is no
longer present in the auth map, the entry should also be removed from
the auth map cache. Currently it gets kept in the cache, which would
result in unnecessary retries.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter added kind/bug This is a bug in the Cilium logic. release-note/bug This PR fixes an issue in a previous release of Cilium. area/servicemesh GH issues or PRs regarding servicemesh feature/authentication labels Jun 19, 2023
@mhofstetter mhofstetter requested a review from a team as a code owner June 19, 2023 08:09
@mhofstetter
Copy link
Member Author

/test

Copy link
Member

@meyskens meyskens left a comment

Choose a reason for hiding this comment

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

Simple but sane change, LGTM

@mhofstetter
Copy link
Member Author

/ci-ginkgo

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jun 19, 2023
@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 Jun 19, 2023
@borkmann borkmann merged commit 31ff4cf into cilium:main Jun 20, 2023
63 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/authmap-cache-update-onkeynotfound branch June 20, 2023 14:56
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 feature/authentication kind/bug This is a bug in the Cilium logic. 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

3 participants