@@ -46,16 +46,16 @@ type FluentBitReconciler struct {
4646 Namespaced bool
4747}
4848
49- // +kubebuilder:rbac:groups=fluentbit.fluent.io,resources=fluentbits;fluentbitconfigs;inputs;filters;outputs,verbs=get;list;watch;create;update;patch;delete
50- // +kubebuilder:rbac:groups=apps,resources=daemonsets,verbs=get;list;watch;create;update;patch;delete
51- // +kubebuilder:rbac:groups=core,resources=serviceaccounts,verbs=get;list;watch;create;update;patch;delete
52- // +kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch;create;update;patch;delete
53- // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=clusterroles,verbs=create;list;get;watch;patch
54- // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=clusterrolebindings,verbs=create;list;get;watch;patch
55- // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=roles,verbs=create;list;get;watch;patch
56- // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=rolebindings,verbs=create;list;get;watch;patch
49+ // +kubebuilder:rbac:groups=fluentbit.fluent.io,resources=fluentbits,verbs=get;list;watch;update
50+ // +kubebuilder:rbac:groups=fluentbit.fluent.io,resources=fluentbits/finalizers,verbs=update
51+ // +kubebuilder:rbac:groups=apps,resources=daemonsets,verbs=get;list;watch;create;patch;delete
52+ // +kubebuilder:rbac:groups=core,resources=serviceaccounts,verbs=get;list;watch;create;patch;delete
53+ // +kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch;create;patch;delete
54+ // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=clusterroles,verbs=create;get;list;watch;patch
55+ // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=clusterrolebindings,verbs=create;get;list;watch;patch
56+ // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=roles,verbs=create;delete;get;list;watch;patch
57+ // +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=rolebindings,verbs=create;delete;get;list;watch;patch
5758// +kubebuilder:rbac:groups=core,resources=pods,verbs=get
58- // +kubebuilder:rbac:groups=core,resources=events,verbs=list;watch
5959
6060// Reconcile is part of the main kubernetes reconciliation loop which aims to
6161// move the current state of the cluster closer to the desired state.
0 commit comments