mirror of https://github.com/containers/image.git
registries.conf: prefixes: subdomain matching
Mention that wildcarded prefixes match an arbitrary number of subdomains. Closes: #1397 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
parent
4604555516
commit
f93baa51d7
|
|
@ -43,6 +43,8 @@ also include wildcarded subdomains in the format `*.example.com`.
|
||||||
The wildcard should only be present at the beginning as shown in the formats
|
The wildcard should only be present at the beginning as shown in the formats
|
||||||
above. Other cases will not work. For example, `*.example.com` is valid but
|
above. Other cases will not work. For example, `*.example.com` is valid but
|
||||||
`example.*.com`, `*.example.com/foo` and `*.example.com:5000/foo/bar:baz` are not.
|
`example.*.com`, `*.example.com/foo` and `*.example.com:5000/foo/bar:baz` are not.
|
||||||
|
Note that `*` matches an arbitary number of subdomains. `*example.com` will hence
|
||||||
|
match `bar.example.com`, `foo.bar.example.com` and so on.
|
||||||
|
|
||||||
As a special case, the `prefix` field can be missing; if so, it defaults to the value
|
As a special case, the `prefix` field can be missing; if so, it defaults to the value
|
||||||
of the `location` field (described below).
|
of the `location` field (described below).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue