From 490c9f18f9b04ca7f03c789791e366eaee7ebd5c Mon Sep 17 00:00:00 2001 From: Vivien Bakke Date: Tue, 24 Sep 2024 09:33:48 +0200 Subject: [PATCH] fix: use gcr_image_repo variable --- .../templates/vsphere-csi-controller-deployment.yml.j2 | 4 ++-- .../csi_driver/vsphere/templates/vsphere-csi-node.yml.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 4c721be1744..6a1f3196322 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 @@ -99,7 +99,7 @@ spec: name: socket-dir {% endif %} - name: vsphere-csi-controller - image: registry.k8s.io/csi-vsphere/driver:{{ vsphere_csi_controller }} + image: {{ kube_image_repo }}/csi-vsphere/driver:{{ vsphere_csi_controller }} args: - "--fss-name=internal-feature-states.csi.vsphere.vmware.com" - "--fss-namespace={{ vsphere_csi_namespace }}" @@ -168,7 +168,7 @@ spec: - name: socket-dir mountPath: {{ csi_endpoint }} - name: vsphere-syncer - image: registry.k8s.io/csi-vsphere/syncer:{{ vsphere_syncer_image_tag }} + image: {{ kube_image_repo }}/csi-vsphere/syncer:{{ vsphere_syncer_image_tag }} args: - "--leader-election" - "--leader-election-lease-duration=30s" diff --git a/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-node.yml.j2 b/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-node.yml.j2 index 6cac5dfafe3..080ae8f9604 100644 --- a/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-node.yml.j2 +++ b/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-node.yml.j2 @@ -62,7 +62,7 @@ spec: - --mode=kubelet-registration-probe initialDelaySeconds: 3 - name: vsphere-csi-node - image: registry.k8s.io/csi-vsphere/driver:{{ vsphere_csi_driver_image_tag }} + image: {{ gcr_image_repo }}/csi-vsphere/driver:{{ vsphere_csi_driver_image_tag }} imagePullPolicy: {{ k8s_image_pull_policy }} args: - "--fss-name=internal-feature-states.csi.vsphere.vmware.com"