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

envoy: skip secret sync registration if l7-proxy is disabled #37348

Conversation

mhofstetter
Copy link
Member

Currently, having L7 proxy functionality disabled (--enable-l7-proxy=false) might lead to issues / panics when syncing secrets to Envoy fails due to the xdsServer (its mutators) not being fully initialized.

Therefore, this commit is adding an additionl config that checks that L7 proxy is enabled before registering the secret syncs.

Currently, having L7 proxy functionality disabled (`--enable-l7-proxy=false`)
might lead to issues / panics when syncing secrets to Envoy fails due to the
xdsServer (its mutators) not being fully initialized.

Therefore, this commit is adding an additional config that checks that L7 proxy
is enabled before registering the secret syncs.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter added area/proxy Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers. release-note/misc This PR makes changes that have no direct user impact. area/servicemesh GH issues or PRs regarding servicemesh labels Jan 30, 2025
@mhofstetter
Copy link
Member Author

/test

@mhofstetter mhofstetter marked this pull request as ready for review January 30, 2025 10:14
@mhofstetter mhofstetter requested a review from a team as a code owner January 30, 2025 10:14
@mhofstetter mhofstetter requested a review from sayboras January 30, 2025 10:14
@mhofstetter mhofstetter changed the title envoy: skip secret sync if l7-proxy is disabled envoy: skip secret sync registration if l7-proxy is disabled Jan 30, 2025
Copy link
Member

@sayboras sayboras left a comment

Choose a reason for hiding this comment

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

Thanks

@giorio94 giorio94 added the needs-backport/1.17 This PR / issue needs backporting to the v1.17 branch label Jan 30, 2025
@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 Jan 30, 2025
@julianwiedmann julianwiedmann added this pull request to the merge queue Jan 30, 2025
Merged via the queue into cilium:main with commit 6dd40e4 Jan 30, 2025
72 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/disable-agent-secretsync-if-l7proxy-disabled branch January 30, 2025 13:09
@giorio94 giorio94 mentioned this pull request Jan 31, 2025
20 tasks
@giorio94 giorio94 added backport-pending/1.17 The backport for Cilium 1.17.x for this PR is in progress. and removed needs-backport/1.17 This PR / issue needs backporting to the v1.17 branch labels Jan 31, 2025
@github-actions github-actions bot added backport-done/1.17 The backport for Cilium 1.17.x for this PR is done. and removed backport-pending/1.17 The backport for Cilium 1.17.x for this PR is in progress. labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/proxy Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers. area/servicemesh GH issues or PRs regarding servicemesh backport-done/1.17 The backport for Cilium 1.17.x for this PR is done. 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.

4 participants