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
Cassandra reaper deployments initContainer image version doesn't update on helm chart upgrade #1554
Comments
Seems But in case of fresh installation it creates So might be something similar can be done for initContainers as we can see for containers in
|
I've observed the same behavior @Shivam0609 👍 Would you be willing to send a PR with a fix and a test for that fix? |
Will try to give you fix @adejanovski |
I'm not getting time to work on this @adejanovski will you be able to help here for the fix. |
Bug Report
Describe the bug
When upgrading k8ssandra helm chart from v1.5.0 to v1.5.2 , reaper-operator is not updating the
cassandra-reaper
initContainer image while main container image gets updated.To Reproduce
Steps to reproduce the behavior:
cassandra-reaper
deployment images version (containers & initContainers) - should be 3.1.1 for both imagescassandra-reaper
deployment images version (containers & initContainers) - should be 3.2.1 for both image, but initContainers image is still on version 3.1.1 which is vulnerable image.Expected behavior
Post upgrade to k8ssandra v1.5.2, cassandra-reaper's container and initContainer images must be on version 3.2.1
Cassandra reaper image 3.2.1 released in v1.5.2 of k8ssandra chart fixes a Critical vulnerability
CVE-2022-42889
incassandra-reaper
image. But chart upgrade partially fixes this vulnerability in cassandra-reaper as initContainer image is still on vulnerable version.Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
(root:~) kubectl version --short Client Version: v1.23.9 Server Version: v1.23.13-eks-fb459a0
Additional context
The text was updated successfully, but these errors were encountered: