From 46b1b7ab34e1fe9799d280e131b951446fc28795 Mon Sep 17 00:00:00 2001 From: Kenichi Omichi Date: Sun, 5 Dec 2021 23:42:32 -0800 Subject: [PATCH] Fix k8scsi/csi-resizer repo (#8270) If trying to pull k8scsi/csi-resizer image from gcr.io, we face the error like: $ docker pull gcr.io/k8scsi/csi-resizer:v1.0.0 Error response from daemon: Head https://gcr.io/v2/k8scsi/csi-resizer/ manifests/v1.0.0: unknown: Project 'project:k8scsi' not found or deleted. $ We can pull the image from quay.io instead. This fixes the issue. --- .../vsphere/templates/vsphere-csi-controller-deployment.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-deployment.yml.j2 b/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-deployment.yml.j2 index bef228922..3e3b276b9 100644 --- a/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-deployment.yml.j2 +++ b/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-deployment.yml.j2 @@ -53,7 +53,7 @@ spec: name: socket-dir {% if external_vsphere_version >= "7.0" %} - name: csi-resizer - image: {{ gcr_image_repo }}/k8scsi/csi-resizer:{{ vsphere_csi_resizer_tag }} + image: {{ quay_image_repo }}/k8scsi/csi-resizer:{{ vsphere_csi_resizer_tag }} args: - "--v=4" - "--timeout=300s"