From c9d553f3c6cb8207d10ea0128c08408be7c2d7d5 Mon Sep 17 00:00:00 2001 From: ArkaSaha30 Date: Thu, 16 Feb 2023 23:48:32 +0530 Subject: [PATCH] Update registry k8s.gcr.io -> registry.k8s.io Signed-off-by: ArkaSaha30 --- cluster/addons/pdcsi-driver/pd-csi.yaml | 8 ++++---- cluster/gce/manifests/pdcsi-controller.yaml | 10 +++++----- cmd/auth-provider-gcp/provider/provider_test.go | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cluster/addons/pdcsi-driver/pd-csi.yaml b/cluster/addons/pdcsi-driver/pd-csi.yaml index 31eb85e99b..34b5696661 100644 --- a/cluster/addons/pdcsi-driver/pd-csi.yaml +++ b/cluster/addons/pdcsi-driver/pd-csi.yaml @@ -24,7 +24,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.5.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.0 name: csi-driver-registrar volumeMounts: - mountPath: /csi @@ -35,7 +35,7 @@ spec: - --v=5 - --endpoint=unix:/csi/csi.sock - --run-controller-service=false - image: k8s.gcr.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.4.0 + image: registry.k8s.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.4.0 name: gce-pd-driver securityContext: privileged: true @@ -122,7 +122,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.5.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.0 name: csi-driver-registrar volumeMounts: - mountPath: /csi @@ -133,7 +133,7 @@ spec: - --v=5 - --endpoint=unix:/csi/csi.sock - --run-controller-service=false - image: k8s.gcr.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.4.0 + image: registry.k8s.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.4.0 name: gce-pd-driver volumeMounts: - mountPath: C:\var\lib\kubelet diff --git a/cluster/gce/manifests/pdcsi-controller.yaml b/cluster/gce/manifests/pdcsi-controller.yaml index a523248ffd..e438ac92f7 100644 --- a/cluster/gce/manifests/pdcsi-controller.yaml +++ b/cluster/gce/manifests/pdcsi-controller.yaml @@ -29,7 +29,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: k8s.gcr.io/sig-storage/csi-provisioner:v3.1.0 + image: registry.k8s.io/sig-storage/csi-provisioner:v3.1.0 livenessProbe: failureThreshold: 1 httpGet: @@ -62,7 +62,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: k8s.gcr.io/sig-storage/csi-attacher:v3.4.0 + image: registry.k8s.io/sig-storage/csi-attacher:v3.4.0 livenessProbe: failureThreshold: 1 httpGet: @@ -95,7 +95,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: k8s.gcr.io/sig-storage/csi-resizer:v1.4.0 + image: registry.k8s.io/sig-storage/csi-resizer:v1.4.0 livenessProbe: failureThreshold: 1 httpGet: @@ -128,7 +128,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: k8s.gcr.io/sig-storage/csi-snapshotter:v4.0.1 + image: registry.k8s.io/sig-storage/csi-snapshotter:v4.0.1 name: csi-snapshotter volumeMounts: - mountPath: /csi @@ -141,7 +141,7 @@ spec: - --endpoint=unix:/csi/csi.sock - --cloud-config=/etc/gce.conf - --run-node-service=false - image: k8s.gcr.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.4.0 + image: registry.k8s.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.4.0 name: gce-pd-driver volumeMounts: - mountPath: /csi diff --git a/cmd/auth-provider-gcp/provider/provider_test.go b/cmd/auth-provider-gcp/provider/provider_test.go index 46923ba83e..f1d6f82787 100644 --- a/cmd/auth-provider-gcp/provider/provider_test.go +++ b/cmd/auth-provider-gcp/provider/provider_test.go @@ -35,7 +35,7 @@ const ( email = "1234@project.gserviceaccount.com" expectedUsername = "_token" expectedCacheKey = credentialproviderapi.ImagePluginCacheKeyType - dummyImage = "k8s.gcr.io/pause" + dummyImage = "registry.k8s.io/pause" ) func hasURL(url string, response *credentialproviderapi.CredentialProviderResponse) bool {