Allow glob URLs as well as prefix-matched paths in container auth file

Solution Verified - Updated -

Issue

  • In Kubernetes, the container auth files supports the use of glob URLs as well as prefix-matched paths (see Interpretation of config.json ). This is useful as many Enterprise Image Registry are using subdomain to separate tenants. Unfortunately, this approach is breaking once buildah, skopeo or podman comes into play because they are not able to process the auth file, when it contains glob patterns for subdomain for Image Registry subdomains.
  • Does podman, buildah and other container tooling support glob URLs as well as prefix-matched paths in auth file?
  • Can I use wildcard in the podman auth file in order to avoid listing many subdomains in the auth file?

Environment

  • Red Hat Enterprise Linux (RHEL) 7, 8 and 9
    • podman
    • skopeo
    • buildah
  • Red Hat OpenShift Container Platform (RHOCP) 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content