mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
operator: add missing IaaDevicePlugin finalizers RBAC
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
parent
033783459f
commit
34baf982b8
@ -172,6 +172,12 @@ rules:
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- iaadeviceplugins/finalizers
|
||||
verbs:
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
|
@ -41,6 +41,7 @@ const (
|
||||
|
||||
// +kubebuilder:rbac:groups=deviceplugin.intel.com,resources=iaadeviceplugins,verbs=get;list;watch;create;update;patch;delete
|
||||
// +kubebuilder:rbac:groups=deviceplugin.intel.com,resources=iaadeviceplugins/status,verbs=get;update;patch
|
||||
// +kubebuilder:rbac:groups=deviceplugin.intel.com,resources=iaadeviceplugins/finalizers,verbs=update
|
||||
|
||||
// SetupReconciler creates a new reconciler for IaaDevicePlugin objects.
|
||||
func SetupReconciler(mgr ctrl.Manager, namespace string, withWebhook bool) error {
|
||||
|
Loading…
Reference in New Issue
Block a user