Skip to content

workflow.imagePullSecrets not respected during pod scheduling #40

@lukg-adw

Description

@lukg-adw

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions