@@ -92,14 +92,14 @@ type ComponentReconciler struct {
9292// read only + watch access
9393// +kubebuilder:rbac:groups=storage.k8s.io,resources=storageclasses,verbs=get;list;watch
9494
95- // +kubebuilder:rbac:groups=core,resources=serviceaccounts,verbs=get;list;watch
96- // +kubebuilder:rbac:groups=core,resources=serviceaccounts/status ,verbs=get
95+ // +kubebuilder:rbac:groups=core,resources=serviceaccounts,verbs=get;list;watch;create;update;patch;delete
96+ // +kubebuilder:rbac:groups=core,resources=serviceaccounts/finalizers ,verbs=update
9797
98- // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=rolebindings ,verbs=get;list;watch
99- // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=rolebindings/status ,verbs=get
98+ // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=roles ,verbs=get;list;watch;create;update;patch;delete
99+ // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=roles/finalizers ,verbs=update
100100
101- // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=roles ,verbs=get;list;watch
102- // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=roles/status ,verbs=get
101+ // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=rolebindings ,verbs=get;list;watch;create;update;patch;delete
102+ // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=rolebindings/finalizers ,verbs=update
103103
104104// Reconcile is part of the main kubernetes reconciliation loop which aims to
105105// move the current state of the cluster closer to the desired state.
0 commit comments