mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
Mirror to rancher support for minio
Also disable coredns mirror for images that were already shipped
This commit is contained in:
@@ -21,6 +21,7 @@ func Mirror(image string) string {
|
||||
image = strings.Replace(image, "prom/", "rancher/prom-", 1)
|
||||
image = strings.Replace(image, "quay.io/pires", "rancher", 1)
|
||||
image = strings.Replace(image, "coredns/", "rancher/coredns-", 1)
|
||||
image = strings.Replace(image, "minio/", "rancher/minio-", 1)
|
||||
|
||||
Mirrors[image] = orig
|
||||
return image
|
||||
|
Reference in New Issue
Block a user