mirror of https://github.com/k3s-io/k3s
Update e2e tests to include CSI
parent
229418f261
commit
1a3fbf1f13
|
@ -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:
|
||||||
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:
|
||||||
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
|
||||||
|
|
||||||
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) {
|
||||||
|
|
Loading…
Reference in New Issue