Can someone tell me if the following is possible? ...
# rke2
f
Can someone tell me if the following is possible? I'm trying to have both possibilities: 1.
<http://registery.labo.bi/path/user/image|registery.labo.bi/path/user/image>
specifying the registry 2.
user/image
that tries all the registries until it finds the right one (by useing the
*
wildcard)
/etc/rancher/rke2/registries.yaml
Copy code
yaml
mirrors:
  "<http://docker.io|docker.io>":
    endpoint:
      - "<http://registery.labo.bi/docker>"
  "<http://quay.io|quay.io>":
    endpoint:
      - "<http://registery.labo.bi/quay>"
  "<http://registry.k8s.io|registry.k8s.io>":
    endpoint:
      - "<http://registery.labo.bi/kubernetes>"
  "<http://k8s.gcr.io|k8s.gcr.io>":
    endpoint:
      - "<http://registery.labo.bi/kubernetes>"
  "<http://ghcr.io|ghcr.io>":
    endpoint:
      - "<http://registery.labo.bi/github>"
  "<http://gcr.io|gcr.io>":
    endpoint:
      - "<http://registery.labo.bi/google>"
  "<http://nvcr.io|nvcr.io>":
    endpoint:
      - "<http://registery.labo.bi/nvidia>"
  "<http://mcr.microsoft.com|mcr.microsoft.com>":
    endpoint:
      - "<http://registery.labo.bi/azure>"
  "public.ecr.aws":
    endpoint:
      - "<http://registery.labo.bi/ecr>"
  "<http://registry.gitlab.com|registry.gitlab.com>":
    endpoint:
      - "<http://registery.labo.bi/gitlab>"
  "*":
    endpoint:
      - "<http://registery.labo.bi/docker>"
      - "<http://registery.labo.bi/quay>"
      - "<http://registery.labo.bi/kubernetes>"
      - "<http://registery.labo.bi/kubernetes>"
      - "<http://registery.labo.bi/github>"
      - "<http://registery.labo.bi/google>"
      - "<http://registery.labo.bi/nvidia>"
      - "<http://registery.labo.bi/azure>"
      - "<http://registery.labo.bi/ecr>"
      - "<http://registery.labo.bi/gitlab>"
configs:
  "*":
    tls:
      insecure_skip_verify: true