Commit Graph

9 Commits

Author SHA1 Message Date
Jacob Blain Christen
618b0f98bf
registry mirror repository rewrites (#3064)
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>
2021-03-15 16:17:27 -07:00
galal-hussein
bdf9dd2bca go mod vendor 2019-11-15 21:52:07 -07:00
Erik Wilson
3c65daa0ab Update vendor from go 1.12.12 2019-10-25 13:16:33 -07:00
Erik Wilson
72fbfa5cfd Update vendor 2019-10-17 19:54:56 -07:00
galal-hussein
f8ec6f905a Vendor update 2019-10-10 03:34:35 +02:00
Erik Wilson
262a4950bf Separate CNI plugin dependencies
Because:
- Current CNI plugins produces an error on Raspbian:
  `failed to create bridge \"cni0\": could not add \"cni0\": operation not supported"`
- Dependencies for CNI plugins may interfere with containerd dependencies.

This change will compile and download CNI plugins separately, and will
downgrade CNI plugins to v0.7.6 for compatability with armv7.
2019-10-02 18:48:30 -07:00
Darren Shepherd
661988fb38 Update vendor 2019-09-27 16:54:32 -07:00
Darren Shepherd
d246c89254 go mod vendor 2019-09-05 15:16:39 -07:00
Darren Shepherd
fa08d6076c Update vendor 2019-01-11 21:58:27 -07:00