mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-30 07:09:51 +00:00
Support repository regex rewrite rules when fetching image content.
Example configuration:
```yaml
# /etc/rancher/k3s/registries.yaml
mirrors:
"docker.io":
endpoint:
- "https://registry-1.docker.io/v2"
rewrite:
"^library/alpine$": "my-org/alpine"
```
This will instruct k3s containerd to fetch content for `alpine` images
from `docker.io/my-org/alpine` instead of the default
`docker.io/library/alpine` locations.
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
20 lines
706 B
Modula-2
20 lines
706 B
Modula-2
module github.com/containerd/continuity
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/golang/protobuf v1.2.0
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/sirupsen/logrus v1.7.0
|
|
github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee
|
|
github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95 // indirect
|
|
github.com/stretchr/testify v1.4.0 // indirect
|
|
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd // indirect
|
|
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
|
|
golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3
|
|
)
|