1
0
mirror of https://github.com/rancher/types.git synced 2025-09-26 04:38:17 +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 37857085a9
commit 83c1f6b59f

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