Commit Graph

10 Commits

Author SHA1 Message Date
Ed Bartosh
cec004c398 lint: enable wsl check
Fixes: #392

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2021-12-17 11:48:48 +02:00
Ed Bartosh
b1c52850fe
Merge pull request #760 from hj-johannes-lee/envtest
envtest: add DlbDevicePlugin tests
2021-11-29 14:46:03 +02:00
Hyeongju Johannes Lee
f6c3f17549 ci: use 1.22.1 ver of K8s instead of 1.20.2
Update suite_test to support kubernetes 1.21+ version

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2021-11-26 05:02:09 -08:00
Hyeongju Johannes Lee
66fd91a695 envtest: add DlbDevicePlugin tests
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2021-11-25 09:23:08 -08:00
Mikko Ylinen
b66b217f06 move to k8s.io v1.21.1 and controller-runtime v0.9.0
with the updated controller-runtime, new ginkgo is pulled in and it
warns about a few to-be-deprecated functions. This commit fixes those
too as they were rather small changes.

Smalle delay is added AfterEach() device plugin controller test as
they became flaky after the envtest updates (DaemonSet deletion failed).

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-06-09 16:36:05 +03:00
Mikko Ylinen
37618d4f85 operator: move deviceplugin/v1 CRDs to cluster scope
The device plugins daemonsets are cluster wide and currently only
one device plugin instance per device is possible so making the
corresponding deviceplugin/v1 CRDs non-namespaced (i.e., scope: cluster)
fits better.

Previously, the device plugin daemonset was deployed in the same
namespace as the CR for that device but with the cluster scoped CRDs
we default to use the same namespace as the operator, unless overridden
via DEVICEPLUGIN_NAMESPACE env variable or a command line parameter
to operator manager deployment.

Three additional changes in this commit:
- enable DSA envtest tests
- update controller-runtime to v0.8.1
- change device plugin envtest suite to use klog/v2

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-02-11 11:41:47 +02:00
Dmitry Rozhkov
5f0da56045 Upgrade to k8s v1.19.3 2020-11-10 16:09:20 +02:00
Mikko Ylinen
33a4f8f546 sgx: add SgxDevicePlugin CRD and admission webhook
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-10 15:31:26 +03:00
Dmitry Rozhkov
200e2f8181 operator: add simple FPGA operator combined with FPGA webhook 2020-08-18 17:32:23 +03:00
Dmitry Rozhkov
6b2fa0a264 operator: initial version with gpu and qat controllers 2020-06-25 13:48:41 +03:00