Skip to content

Allow host+subpath as the source registry for registry-override #2135

@lsoica

Description

@lsoica

Currently, the --registry-override will respect the subpath when going from a host to a host+subpath but not the other way around.
(so --registry-override docker.io=mydomain.com/subpath works but --registry-override docker.io/subpath=mydomain.com doesn't)

The ask here is to extend the functionality with support for:

  • --registry-override docker.io/subpath=mydomain.com
  • --registry-override docker.io/subpath=mydomain.com/anothersubpat

Additional context

Slack thread https://kubernetes.slack.com/archives/C03B6BJAUJ3/p1699559557724489?thread_ts=1687158762.361229&cid=C03B6BJAUJ3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions