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

Unable to handle sidecar container correctly #772

Open
ademariag opened this issue Oct 18, 2024 · 0 comments
Open

Unable to handle sidecar container correctly #772

ademariag opened this issue Oct 18, 2024 · 0 comments

Comments

@ademariag
Copy link

I have switched to use sidecar containers, and keel seems to be having issues updating these deployments.

time="2024-10-18T13:49:32Z" level=error msg="provider.kubernetes: got error while updating resource" deployment=molgen error="Deployment.apps \"molgen\" is invalid: [spec.template.spec.initContainers[0].livenessProbe: Forbidden: may not be set for init containers without restartPolicy=Always, spec.template.spec.initContainers[0].readinessProbe: Forbidden: may not be set for init containers without restartPolicy=Always]" kind=deployment namespace=nitrogen update="nitrogen->nitrogen"

The restart policy is correctly set (restartPolicy=Always) but somehow it gets dropped by keel

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

No branches or pull requests

1 participant