Commit 1a3fbf1f authored by Renaud Gaubert's avatar Renaud Gaubert

Update e2e tests to include CSI

parent 229418f2
...@@ -29,7 +29,6 @@ go_test( ...@@ -29,7 +29,6 @@ go_test(
embed = [":go_default_library"], embed = [":go_default_library"],
deps = [ deps = [
"//pkg/kubelet/apis/pluginregistration/v1:go_default_library", "//pkg/kubelet/apis/pluginregistration/v1:go_default_library",
"//vendor/github.com/fsnotify/fsnotify:go_default_library",
"//vendor/github.com/stretchr/testify/require:go_default_library", "//vendor/github.com/stretchr/testify/require:go_default_library",
"//vendor/k8s.io/klog:go_default_library", "//vendor/k8s.io/klog:go_default_library",
], ],
......
...@@ -60,7 +60,7 @@ spec: ...@@ -60,7 +60,7 @@ spec:
volumes: volumes:
- name: registration-dir - name: registration-dir
hostPath: hostPath:
path: /var/lib/kubelet/plugins/ path: /var/lib/kubelet/plugins_registry/
type: Directory type: Directory
- name: kubelet-dir - name: kubelet-dir
hostPath: hostPath:
......
...@@ -65,6 +65,6 @@ spec: ...@@ -65,6 +65,6 @@ spec:
type: DirectoryOrCreate type: DirectoryOrCreate
name: mountpoint-dir name: mountpoint-dir
- hostPath: - hostPath:
path: /var/lib/kubelet/plugins path: /var/lib/kubelet/plugins_registry
type: Directory type: Directory
name: registration-dir name: registration-dir
...@@ -53,7 +53,7 @@ var _ = framework.KubeDescribe("Device Plugin [Feature:DevicePlugin][NodeFeature ...@@ -53,7 +53,7 @@ var _ = framework.KubeDescribe("Device Plugin [Feature:DevicePlugin][NodeFeature
var _ = framework.KubeDescribe("Device Plugin [Feature:DevicePluginProbe][NodeFeature:DevicePluginProbe][Serial]", func() { var _ = framework.KubeDescribe("Device Plugin [Feature:DevicePluginProbe][NodeFeature:DevicePluginProbe][Serial]", func() {
f := framework.NewDefaultFramework("device-plugin-errors") f := framework.NewDefaultFramework("device-plugin-errors")
testDevicePlugin(f, true, "/var/lib/kubelet/plugins/") testDevicePlugin(f, true, "/var/lib/kubelet/plugins_registry")
}) })
func testDevicePlugin(f *framework.Framework, enablePluginWatcher bool, pluginSockDir string) { func testDevicePlugin(f *framework.Framework, enablePluginWatcher bool, pluginSockDir string) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment