diff --git a/test/e2e/testing-manifests/storage-csi/mock/csi-mock-driver.yaml b/test/e2e/testing-manifests/storage-csi/mock/csi-mock-driver.yaml index f5696bac6e4..7ec5f427b3e 100644 --- a/test/e2e/testing-manifests/storage-csi/mock/csi-mock-driver.yaml +++ b/test/e2e/testing-manifests/storage-csi/mock/csi-mock-driver.yaml @@ -53,7 +53,7 @@ spec: - mountPath: /registration name: registration-dir - name: mock - image: k8s.gcr.io/sig-storage/mock-driver:v4.0.2 + image: k8s.gcr.io/sig-storage/mock-driver:v4.1.0 args: - "--name=mock.storage.k8s.io" - "-v=3" # enabled the gRPC call logging @@ -70,11 +70,12 @@ spec: volumeMounts: - mountPath: /csi name: socket-dir + - mountPath: /etc/hooks + name: hooks - mountPath: /var/lib/kubelet/pods - mountPropagation: Bidirectional - name: mountpoint-dir - - name: hooks - mountPath: /etc/hooks + name: kubelet-pods-dir + - mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi + name: kubelet-csi-dir volumes: - hostPath: path: /var/lib/kubelet/plugins/csi-mock @@ -82,8 +83,14 @@ spec: name: socket-dir - hostPath: path: /var/lib/kubelet/pods + type: Directory + # mock driver doesn't make mounts and therefore doesn't need mount propagation. + # mountPropagation: Bidirectional + name: kubelet-pods-dir + - hostPath: + path: /var/lib/kubelet/plugins/kubernetes.io/csi type: DirectoryOrCreate - name: mountpoint-dir + name: kubelet-csi-dir - hostPath: path: /var/lib/kubelet/plugins_registry type: Directory