From 9b2a94410febe82d2a9111abc1cb84c0b157831d Mon Sep 17 00:00:00 2001 From: Waleed Malik Date: Wed, 12 Apr 2023 16:49:40 +0500 Subject: [PATCH] chore: migrate from k8s.gcr.io to registry.k8s.io --- pkg/yurtappmanager/apis/apps/v1alpha1/defaults.go | 2 +- .../webhook/yurtingress/yurtingress_webhook_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/yurtappmanager/apis/apps/v1alpha1/defaults.go b/pkg/yurtappmanager/apis/apps/v1alpha1/defaults.go index 145d863..b001c5b 100644 --- a/pkg/yurtappmanager/apis/apps/v1alpha1/defaults.go +++ b/pkg/yurtappmanager/apis/apps/v1alpha1/defaults.go @@ -23,7 +23,7 @@ import ( ) const ( - defaultIngressControllerImage string = "k8s.gcr.io/ingress-nginx/controller:v0.48.1" + defaultIngressControllerImage string = "registry.k8s.io/ingress-nginx/controller:v0.48.1" defaultIngressWebhookCertGenImage string = "docker.io/jettech/kube-webhook-certgen:v1.5.1" ) diff --git a/pkg/yurtappmanager/webhook/yurtingress/yurtingress_webhook_test.go b/pkg/yurtappmanager/webhook/yurtingress/yurtingress_webhook_test.go index e172a47..97bfad6 100644 --- a/pkg/yurtappmanager/webhook/yurtingress/yurtingress_webhook_test.go +++ b/pkg/yurtappmanager/webhook/yurtingress/yurtingress_webhook_test.go @@ -34,8 +34,8 @@ var defaultYurtIngress = &v1alpha1.YurtIngress{ }, Spec: v1alpha1.YurtIngressSpec{ Replicas: 1, - IngressControllerImage: "k8s.gcr.io/ingress-nginx/controller:v0.49.0", - IngressWebhookCertGenImage: "k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v0.49.0", + IngressControllerImage: "registry.k8s.io/ingress-nginx/controller:v0.49.0", + IngressWebhookCertGenImage: "registry.k8s.io/ingress-nginx/kube-webhook-certgen:v0.49.0", Pools: []v1alpha1.IngressPool{{Name: "beijing"}}, }, }