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

Medusa Purge Job does not use imageRepository overrides #1230

Open
andreasgeisslerdt opened this issue Mar 5, 2024 · 2 comments
Open

Medusa Purge Job does not use imageRepository overrides #1230

andreasgeisslerdt opened this issue Mar 5, 2024 · 2 comments
Labels
assess Issues in the state 'assess' bug Something isn't working

Comments

@andreasgeisslerdt
Copy link

What happened?

Running a cassandra cluster in a closed environment with local image registry requires the setting of the
local registry, e.g. in K8ssandraCluster:

  medusa:
    containerImage:
      registry: registry.local.de

or k8ssandraOperator:

image:
  registry: registry.local.de
  registryOverride: registry.local.de

This works for the Backups/Restores, but not for the Purge Jobs.
Here it is hardcoded and cannot be overwritten:

Containers: []corev1.Container{

							Containers: []corev1.Container{
								{
									Name:                     "k8ssandra-purge-backups",
									Image:                    "bitnami/kubectl:1.17.3",
									ImagePullPolicy:          corev1.PullIfNotPresent,
									TerminationMessagePath:   "/dev/termination-log",

Did you expect to see something different?

Registry and imagePullSecret should be set in Job Template

  • K8ssandra Operator version:

v1.12.0

@andreasgeisslerdt andreasgeisslerdt added the bug Something isn't working label Mar 5, 2024
@adejanovski adejanovski added the assess Issues in the state 'assess' label Mar 5, 2024
@yagnasivasai
Copy link

I am also facing this issue, I cant override this default image.. Any solution to this?

@saranya-nallasamy
Copy link

Hi Team, Could you pls update us on, How to change default images?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assess Issues in the state 'assess' bug Something isn't working
Projects
Status: Assess/Investigate
Development

No branches or pull requests

4 participants