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

Cannot overwrite default sidecar image #2245

Closed
alice-vsk opened this issue Jul 27, 2024 · 2 comments
Closed

Cannot overwrite default sidecar image #2245

alice-vsk opened this issue Jul 27, 2024 · 2 comments

Comments

@alice-vsk
Copy link

In our company we have to use offline images from our repository by security reasons.
So in version 5.0.11 we have downloaded all necessary minio images and set variable MINIO_OPERATOR_IMAGE just as described here.

Now in version 6.0.1 it seems it's kind of broken because after setting this variable pod in tenant namespace keeps trying to download init and sidecar images from quay.io/minio/operator-sidecar:v6.0.0.

Expected Behavior

We set MINIO_OPERATOR_IMAGE environment variable with our repository and init and sidecar images downloading from there.

Current Behavior

We set MINIO_OPERATOR_IMAGE environment variable with our repository and init and sidecar images still downloading from the default repository.

Steps to Reproduce (for bugs)

  1. Install minio-operator and minio-tenant with helm using non-default images in values.yaml

Our Environment

  • Version used (minio-operator): v6.0.1
  • Environment name and version: kubernetes v1.28.6
  • Server type and version: CentOS Linux release 7.9.2009
  • Operating System and version (uname -a): 5.4.278-1.el7.elrepo.x86_64
@ramondeklein
Copy link
Contributor

Not sure if you're using Helm to install the operator, but then you could use the image.repository and sidecarImage.repository values. If you prefer to use environment variables, then please set OPERATOR_SIDECAR_IMAGE to the sidecar image.

@alice-vsk
Copy link
Author

Yes, we're using helm.
It seems adding sidecarImage.repository has helped.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants