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

Job image pull secrets #227

Open
ceccone opened this issue Feb 19, 2024 · 1 comment
Open

Job image pull secrets #227

ceccone opened this issue Feb 19, 2024 · 1 comment

Comments

@ceccone
Copy link

ceccone commented Feb 19, 2024

Hello,

Similar to #213, I'm using the helm-controller in an air-gapped environment, and I'm trying to configure it to pull the job image from a private registry.
While I can override the job image using the spec.jobImage property in the HelmChart resource, I couldn't find a way to specify the necessary imagePullSecrets to access the private registry.
I've also tried to set the imagePullSecrets in the namespace default service account, but since helm-controller creates a service account for each job, this approach doesn't work.

Is there any other way to define imagePullSecrets for each job?

@taoyouh
Copy link

taoyouh commented Jun 15, 2024

I think this image is pulled by the container runtime on your node (agent). Maybe you could try this to set up the registry secrets:
https://docs.k3s.io/installation/private-registry

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

2 participants