Skip to content

Commit b31fd65

Browse files
authored
Remove unused hostpaths '/dev/log' & '/var/log' from nodeserver (#70)
1 parent 4202601 commit b31fd65

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

controllers/syncer/csi_node.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -284,14 +284,6 @@ func (s *csiNodeSyncer) getVolumeMountsFor(name string) []corev1.VolumeMount {
284284
Name: "fuse-device",
285285
MountPath: "/dev/fuse",
286286
},
287-
{
288-
Name: "log-dev",
289-
MountPath: "/dev/log",
290-
},
291-
{
292-
Name: "host-log",
293-
MountPath: "/host/var/log",
294-
},
295287
{
296288
Name: "coscsi-socket-path",
297289
MountPath: "/var/lib/coscsi-sock",
@@ -332,8 +324,6 @@ func (s *csiNodeSyncer) ensureVolumes() []corev1.Volume {
332324
ensureVolume("registration-dir", ensureHostPathVolumeSource("/var/lib/kubelet/plugins_registry", "Directory")),
333325
ensureVolume("kubelet-dir-ibm", ensureHostPathVolumeSource("/var/data/kubelet", "DirectoryOrCreate")),
334326
ensureVolume("fuse-device", ensureHostPathVolumeSource("/dev/fuse", "")),
335-
ensureVolume("log-dev", ensureHostPathVolumeSource("/dev/log", "")),
336-
ensureVolume("host-log", ensureHostPathVolumeSource("/var/log", "")),
337327
ensureVolume("coscsi-socket-path", ensureHostPathVolumeSource("/var/lib/coscsi-sock", "Directory")),
338328
ensureVolume("coscsi-mounter-config-path", ensureHostPathVolumeSource("/var/lib/coscsi-config", "DirectoryOrCreate")),
339329
}

0 commit comments

Comments
 (0)