Mikko Ylinen
d63037c2e1
Move to Admission v1 API
...
Update to controller-runtime v0.7.0 and Admission types to v1 with it.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-12-17 11:02:21 +02:00
Dmitry Rozhkov
7e621f7905
upgrade controller-gen to v0.4.1
...
The new versions adds admissionReviewVersions annotation and makes it
mandatory.
2020-11-18 11:44:37 +02:00
Mikko Ylinen
e054440a32
webhooks: move to admissionregistration.k8s.io/v1
...
With controller-gen 0.4.0, admissionregistration defaults to v1 API.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-10-14 14:48:40 +03:00
Mikko Ylinen
d8cd5814d7
operator: regenerate CRDs and small webhook/controller updates
...
this commits also changes validatePluginImage() to allow
image version as a parameter so that it can be used by by
other webooks too.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-08-31 11:29:04 +03:00
Dmitry Rozhkov
6b2fa0a264
operator: initial version with gpu and qat controllers
2020-06-25 13:48:41 +03:00