1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 12:48:45 +00:00

Add CoreDNS to mirrored images

This commit is contained in:
Sebastiaan van Steenis
2019-04-09 00:26:39 +02:00
committed by Alena Prokharchyk
parent db1c229e45
commit 4fbbfbed06

View File

@@ -20,6 +20,7 @@ func Mirror(image string) string {
image = strings.Replace(image, "alpine/git", "rancher/alpine-git", 1)
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)
Mirrors[image] = orig
return image