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 · 1 comment
Open

Unable to handle sidecar container correctly #772

ademariag opened this issue Oct 18, 2024 · 1 comment

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

@david-garcia-garcia
Copy link
Collaborator

@ademariag new beta release should fix this per @jessica-ng comment, you can try that.

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 a pull request may close this issue.

2 participants