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

workflow.imagePullSecrets not respected during pod scheduling #40

Open
lukg-adw opened this issue Jul 12, 2024 · 1 comment
Open

workflow.imagePullSecrets not respected during pod scheduling #40

lukg-adw opened this issue Jul 12, 2024 · 1 comment

Comments

@lukg-adw
Copy link

Hi,
cwl code that im trying to run on our installation of zoo-project-dru requires images that are stored in the private docker repository

EOEPCA v1.4

according to documentation located under
https://github.com/ZOO-Project/charts/tree/main/zoo-project-dru

amongst other in values.yaml used for installation of zoo-project-dru i specified

workflow:
  imagePullSecrets:
  - name: regcred

Chart was installed using command:

helm -n proc --version 0.2.6 --values values.yaml --repo https://zoo-project.github.io/charts/ zoo-project-dru zoo-project-dru

secret was created in proc namespace using command:

kubectl create secret docker-registry -n proc regcred --docker-server=<registry_addr> --docker-username=<username> --docker-password=<pass>

Issue:
During job executions created pod is unable to pull image from private registry.

Error from job pod is as follows:
'state': {'running': None, 'terminated': None, 'waiting': {'message': 'rpc error: code = Unknown desc = failed to ' 'pull and unpack image ' '"registry/image:1": ' 'failed to resolve reference ' '"registry/image:1": ' 'pulling from host ' 'registry failed ' 'with status code [manifests 1]: 401 ' 'Unauthorized', 'reason': 'ErrImagePull'}}}

Expected behavior:
pull image from private registry using secret regcred and execute the job

@rconway
Copy link
Contributor

rconway commented Jul 15, 2024

@gfenoy @fabricebrito
Do you have comment on this?
Also, can we move it to the v1.4 ADES - zoo-project-dru I guess.

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