1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 05:09:10 +00:00

Add nodelocaldns options

This commit is contained in:
Sebastiaan van Steenis
2019-09-17 15:47:34 +02:00
committed by Alena Prokharchyk
parent cd2fb55386
commit d01bb50887
2 changed files with 11 additions and 1 deletions

View File

@@ -13,7 +13,9 @@ func Mirror(image string) string {
image = strings.Replace(image, "gcr.io/google_containers", "rancher", 1)
image = strings.Replace(image, "quay.io/coreos/", "rancher/coreos-", 1)
image = strings.Replace(image, "quay.io/calico/", "rancher/calico-", 1)
image = strings.Replace(image, "k8s.gcr.io/", "rancher/nginx-ingress-controller-", 1)
image = strings.Replace(image, "plugins/docker", "rancher/plugins-docker", 1)
image = strings.Replace(image, "k8s.gcr.io/defaultbackend", "rancher/nginx-ingress-controller-", 1)
image = strings.Replace(image, "k8s.gcr.io/k8s-dns-node-cache", "rancher/k8s-dns-node-cache", 1)
image = strings.Replace(image, "plugins/docker", "rancher/plugins-docker", 1)
image = strings.Replace(image, "kibana", "rancher/kibana", 1)
image = strings.Replace(image, "jenkins/", "rancher/jenkins-", 1)