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

pkg/k8s: set right logic to ignore ipcache errors #16286

Merged
merged 1 commit into from
May 26, 2021

Conversation

aanm
Copy link
Member

@aanm aanm commented May 25, 2021

The logic to ignore errors is inverted and the errors are still being
printed as warnings. This commit inverts the logic so that only relevant
warnings are printed.

Fixes: 0ab4fa1 ("pkg/k8s: ignore certain ipcache errors")
Fixes: 465cac1 ("pkg/k8s: ignore overwrite source "custom-resource" with "k8s" errors")
Signed-off-by: André Martins andre@cilium.io

Fix "unable to update ipcache map entry on pod add" harmless log warnings

The logic to ignore errors is inverted and the errors are still being
printed as warnings. This commit inverts the logic so that only relevant
warnings are printed.

Fixes: 0ab4fa1 ("pkg/k8s: ignore certain ipcache errors")
Fixes: 465cac1 ("pkg/k8s: ignore overwrite source "custom-resource" with "k8s" errors")
Signed-off-by: André Martins <andre@cilium.io>
@aanm aanm 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. needs-backport/1.10 labels May 25, 2021
@aanm aanm requested review from a team and brb May 25, 2021 00:10
@aanm
Copy link
Member Author

aanm commented May 26, 2021

test-me-please

@aanm aanm requested a review from brb May 26, 2021 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is a bug in the Cilium logic. release-note/bug This PR fixes an issue in a previous release of Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants