Skip to content

fix: remove lifecycle Pod Patch subscription #378

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

fix: remove lifecycle Pod Patch subscription #378

wants to merge 2 commits into from

Conversation

mnencia
Copy link
Member

@mnencia mnencia commented May 30, 2025

We cannot inject our sidecar during a PATCH call because Pods are mostly immutable. The combination of CREATE and EVALUATE is sufficient to instruct CNPG to roll out the pods if they need to update the sidecar.

Closes #377

@mnencia mnencia requested a review from a team as a code owner May 30, 2025 12:18
armru
armru previously approved these changes May 30, 2025
Signed-off-by: Armando Ruocco <[email protected]>
@armru armru changed the title fix: inject the sidecar only during Pod/Job creation fix: remove lifecycle Pod Patch subscription May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] The sidecar doesn't work well with env injected by mutation hooks
2 participants