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

Image pull secret not added for setup credentials job #190

Open
johnny-gossick opened this issue Jun 5, 2024 · 1 comment
Open

Image pull secret not added for setup credentials job #190

johnny-gossick opened this issue Jun 5, 2024 · 1 comment

Comments

@johnny-gossick
Copy link

The setup credentials job is missing the image pool secret set here.

If the user sets a custom image repository here and their registry requires authentication, the setup credentials job will throw an image ImagePullBackOff and not be able to start.

@dbblackdiamond
Copy link

I am running into the same issue. The reason for this is that the template for the setup credentials job doesn't include any key inheriting its value from the values.yaml file. It could be fixed by adding a pullSecretName to spec.template.spec with a value of {{ .Values.Image.pullSecretName }}. This way, the pullSecretName defined in the values.yaml file get passed all the way to the setup credential job.

I can create a PR for this if there is consensus that it is the best way forward.

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