@@ -246,8 +246,8 @@ var Addons = map[string]*Addon{
246246 "Alpine" : "alpine:3.6@sha256:66790a2b79e1ea3e1dabac43990c54aca5d1ddf268d9a5a0285e4167c8b24475" ,
247247 "Kibana" : "kibana/kibana:5.6.2@sha256:cd948a9bda4622f1437afc4a3e78be6c8c25fc62f40aa0376f3d690f2436568f" ,
248248 }, map [string ]string {
249- "Elasticsearch" : "k8s.gcr .io" ,
250- "FluentdElasticsearch" : "k8s.gcr .io" ,
249+ "Elasticsearch" : "registry.k8s .io" ,
250+ "FluentdElasticsearch" : "registry.k8s .io" ,
251251 "Kibana" : "docker.elastic.co" ,
252252 "Alpine" : "docker.io" ,
253253 }),
@@ -446,8 +446,8 @@ var Addons = map[string]*Addon{
446446 "NvidiaDriverInstaller" : "minikube-nvidia-driver-installer:e2d9b43228decf5d6f7dce3f0a85d390f138fa01" ,
447447 "Pause" : "pause:2.0@sha256:9ce5316f9752b8347484ab0f6778573af15524124d52b93230b9a0dcc987e73e" ,
448448 }, map [string ]string {
449- "NvidiaDriverInstaller" : "k8s.gcr .io" ,
450- "Pause" : "k8s.gcr .io" ,
449+ "NvidiaDriverInstaller" : "registry.k8s .io" ,
450+ "Pause" : "registry.k8s .io" ,
451451 }),
452452 "nvidia-gpu-device-plugin" : NewAddon ([]* BinAsset {
453453 MustBinAsset (addons .NvidiaGpuDevicePluginAssets ,
@@ -458,7 +458,7 @@ var Addons = map[string]*Addon{
458458 }, false , "nvidia-gpu-device-plugin" , "3rd party (Nvidia)" , "" , "https://minikube.sigs.k8s.io/docs/tutorials/nvidia_gpu/" , map [string ]string {
459459 "NvidiaDevicePlugin" : "nvidia-gpu-device-plugin@sha256:4b036e8844920336fa48f36edeb7d4398f426d6a934ba022848deed2edbf09aa" ,
460460 }, map [string ]string {
461- "NvidiaDevicePlugin" : "k8s.gcr .io" ,
461+ "NvidiaDevicePlugin" : "registry.k8s .io" ,
462462 }),
463463 "logviewer" : NewAddon ([]* BinAsset {
464464 MustBinAsset (addons .LogviewerAssets ,
@@ -591,7 +591,7 @@ var Addons = map[string]*Addon{
591591 "GCPAuthWebhook" : "k8s-minikube/gcp-auth-webhook:v0.0.14@sha256:60fc3f336083dcd0a472caa51edfbf497d4df37115bb65e2d12739ed461db925" ,
592592 }, map [string ]string {
593593 "GCPAuthWebhook" : "gcr.io" ,
594- "KubeWebhookCertgen" : "k8s.gcr .io" ,
594+ "KubeWebhookCertgen" : "registry.k8s .io" ,
595595 }),
596596 "volumesnapshots" : NewAddon ([]* BinAsset {
597597 // make sure the order of apply. `csi-hostpath-snapshotclass` must be the first position, because it depends on `snapshot.storage.k8s.io_volumesnapshotclasses`
@@ -948,8 +948,8 @@ func GenerateTemplateData(addon *Addon, cc *config.ClusterConfig, netInfo Networ
948948 // tl;dr If the user specified a custom image remove the default registry
949949 // Without the line below, if you try to overwrite an image the default registry is still used in the templating
950950 // Example - image name: MetricsScraper, default registry: docker.io, default image: kubernetesui/metrics-scraper
951- // Passed on addon enable: --images=MetricsScraper=k8s.gcr .io/echoserver:1.4
952- // Without this line the resulting image would be docker.io/k8s.gcr .io/echoserver:1.4
951+ // Passed on addon enable: --images=MetricsScraper=registry.k8s .io/echoserver:1.4
952+ // Without this line the resulting image would be docker.io/registry.k8s .io/echoserver:1.4
953953 if _ , ok := cc .CustomAddonImages [name ]; ok {
954954 opts .Registries [name ] = ""
955955 }
0 commit comments