From 950a65cef7d9ae7ca02d0f7b5185ba09b2014f3c Mon Sep 17 00:00:00 2001 From: Stefan Majer Date: Tue, 28 Jun 2022 07:42:20 +0200 Subject: [PATCH] use csi-plugin image for the node-init instead of busybox (#41) --- controllers/images.go | 1 - controllers/resources.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/images.go b/controllers/images.go index f4e78c9..26392ed 100644 --- a/controllers/images.go +++ b/controllers/images.go @@ -9,5 +9,4 @@ const ( csiNodeDriverRegistrarImage = "k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.5.1" snapshotControllerImage = "k8s.gcr.io/sig-storage/snapshot-controller:v4.1.0" csiSnapshotterImage = "k8s.gcr.io/sig-storage/csi-snapshotter:v4.1.0" - busyboxImage = "busybox:1.32" ) diff --git a/controllers/resources.go b/controllers/resources.go index abe5f3c..d8d2dec 100644 --- a/controllers/resources.go +++ b/controllers/resources.go @@ -569,7 +569,7 @@ var ( nodeInitContainer = corev1.Container{ Name: "init-nvme-tcp", - Image: busyboxImage, + Image: lbCSIPluginImage, ImagePullPolicy: corev1.PullIfNotPresent, SecurityContext: &corev1.SecurityContext{Privileged: pointer.Bool(true)}, VolumeMounts: []corev1.VolumeMount{