1
0
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:
Alena Prokharchyk
2019-04-26 11:44:31 -07:00
parent b6af1f0199
commit 2fad56290d
2 changed files with 12 additions and 11 deletions

View File

@@ -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