Skip to content

cec: fix missing call to injectCiliumEnvoyFilters #39127

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

Conversation

mhofstetter
Copy link
Member

PR #37868 introduced the possibility to control Cilium Envoy filter injection via annotation.

But the PR missed one occurrence that is still only checking for len(spec.Services) > 0 instead of calling injectCiliumEnvoyFilters.

This commit fixes this.

@mhofstetter mhofstetter added the release-note/misc This PR makes changes that have no direct user impact. label Apr 24, 2025
@mhofstetter mhofstetter requested review from a team as code owners April 24, 2025 07:06
@mhofstetter mhofstetter requested a review from jrajahalme April 24, 2025 07:06
PR cilium#37868 introduced the possibility to control Cilium Envoy filter
injection via annotation.

But the PR missed one occurrence that is still only checking for
`len(spec.Services) > 0` instead of calling `injectCiliumEnvoyFilters`.

This commit fixes this.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter force-pushed the pr/mhofstetter/cec-fix-inject-cilium-filters branch from 696efad to 83fdd3b Compare April 30, 2025 18:53
@mhofstetter
Copy link
Member Author

/test

@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 May 5, 2025
@julianwiedmann
Copy link
Member

@mhofstetter I was going to press the button, but then noticed the failing workflow. Do you think it's related to this PR?

@mhofstetter
Copy link
Member Author

@mhofstetter I was going to press the button, but then noticed the failing workflow. Do you think it's related to this PR?

Thanks! No shouldn't be related to this change - but I re-ran the test.

@julianwiedmann julianwiedmann added this pull request to the merge queue May 5, 2025
Merged via the queue into cilium:main with commit 5dd5dc4 May 5, 2025
66 of 67 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/cec-fix-inject-cilium-filters branch May 5, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

3 participants