From a5ae45c9c0f17ce3fbb2570a3f5117ff5860abc7 Mon Sep 17 00:00:00 2001 From: Bob Killen Date: Mon, 13 Feb 2023 10:21:35 -0600 Subject: [PATCH] Update references from k8s.gcr.io to registry.k8s.io --- Makefile | 2 +- internal/controllers/component_customizer_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e5f72454a..9f9663940 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ ENVSUBST := $(abspath $(TOOLS_BIN_DIR)/envsubst) # Define Docker related variables. Releases should modify and double check these vars. REGISTRY ?= gcr.io/$(shell gcloud config get-value project) -PROD_REGISTRY ?= k8s.gcr.io/cluster-api +PROD_REGISTRY ?= registry.k8s.io/cluster-api STAGING_REGISTRY ?= gcr.io/k8s-staging-cluster-api STAGING_BUCKET ?= artifacts.k8s-staging-cluster-api.appspot.com diff --git a/internal/controllers/component_customizer_test.go b/internal/controllers/component_customizer_test.go index aed404429..09e3cff73 100644 --- a/internal/controllers/component_customizer_test.go +++ b/internal/controllers/component_customizer_test.go @@ -49,7 +49,7 @@ func TestCustomizeDeployment(t *testing.T) { Spec: corev1.PodSpec{ Containers: []corev1.Container{{ Name: "manager", - Image: "k8s.gcr.io/a-manager:1.6.2", + Image: "registry.k8s.io/a-manager:1.6.2", Env: []corev1.EnvVar{ { Name: "test1", @@ -451,7 +451,7 @@ func TestCustomizeDeployment(t *testing.T) { Containers: []corev1.Container{ { Name: "manager", - Image: "k8s.gcr.io/a-manager:1.6.2", + Image: "registry.k8s.io/a-manager:1.6.2", Env: []corev1.EnvVar{ { Name: "test1",