Skip to content

flakey behavior using Dockerhub credentials for ImageRepository #781

@jwtracy

Description

@jwtracy

I have valid .dockerconfigjson credentials in an image pull secret I'm using for an ImageRepository.

This works a lot of the time but not all the time. eg:

Events:
  Type     Reason               Age                  From                        Message
  ----     ------               ----                 ----                        -------
  Normal   Succeeded            54m (x6 over 20h)    image-reflector-controller  no new tags found, next scan in 10m0s
  Normal   Succeeded            34m (x28 over 19h)   image-reflector-controller  successful scan: found 7 tags
  Warning  ReadOperationFailed  11m (x227 over 21h)  image-reflector-controller  scan failed: GET https://auth.docker.io/token?scope=repository%!A(MISSING)getirwin%!F(MISSING)antalya%!A(MISSING)pull&service=registry.docker.io: unexpected status code 401 U
nauthorized: {"details":"incorrect username or password"}

I'm not sure why this is. My imagerepository.spec.interval is set to 10 min. Could this be too frequent? I am not seeing 429 errors from Dockerhub.

Loving the image controllers suite of tools but could use some help getting this more reliable. Will take a look at the code myself if I have the time this week or next.

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