kubernetes/pkg/volume/iscsi
Jan Safranek 9a9c216825 iscsi: don't write json medata file when the volume is already mounted.
iSCSI volume plugin persists volume metadata into global mount directory,
before it is mounted. Content of the directory is shadowed by the volume
mount. Therefore kubelet should not write metadata to the directory when a
second pod uses the same volume on the same node.

1. The metadata were already persisted before mounting the volume for the
first pod.
2. The global mount directory has the volume mounted, so any write there
would write to the volume, which is undesirable.
2020-06-17 20:09:54 +02:00
..
attacher.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
BUILD Run hack/update-vendor.sh 2020-05-16 07:54:33 -04:00
disk_manager.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
doc.go
iscsi_test.go Fix staticcheck failures for pkg/volume/... 2020-04-09 22:08:07 +02:00
iscsi_util_test.go Fix staticcheck failures for pkg/volume/... 2020-04-09 22:08:07 +02:00
iscsi_util.go iscsi: don't write json medata file when the volume is already mounted. 2020-06-17 20:09:54 +02:00
iscsi.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
OWNERS delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00