Skip to content

Commit

Permalink
use csi-plugin image for the node-init instead of busybox (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 authored Jun 28, 2022
1 parent dcde2fd commit 950a65c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion controllers/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
2 changes: 1 addition & 1 deletion controllers/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 950a65c

Please sign in to comment.