Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Mar 21, 2025

Backport of #3409

@ghost ghost added kind/backport This PR provides functionality previously merged into master. release-note/bug This PR fixes an issue in a previous release of Tetragon. labels Mar 21, 2025
@ghost ghost self-requested a review as a code owner March 21, 2025 17:16
@ghost ghost requested review from will-isovalent and removed request for a team March 21, 2025 17:16
[ upstream commit: 1df304f ]
[ backporter's notes:
  On the upstream branch this change was done in a different file, pod.go, as
  the functions got moved there in the meantime. ]

The K8sWatcher.FindPod method first tries to find a pod using index, then, if
unsuccessful, falls back to walking the entire pods list. This fallback was
incorrect - fix it.

Signed-off-by: Anna Kapuscinska <[email protected]>
@ghost ghost merged commit c9a01f3 into cilium:v1.2 Mar 25, 2025
36 checks passed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/backport This PR provides functionality previously merged into master. release-note/bug This PR fixes an issue in a previous release of Tetragon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant