make rbac rules example consistent
@@ -20,7 +20,7 @@ func Example() {
// +kubebuilder:controller:group=foo,version=v1beta1,kind=Bar,resource=bars
// +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:informers:group=apps,version=v1,kind=Deployment
- // +kubebuilder:rbac:groups="",resources=pods,verbs=get;watch;list
+ // +kubebuilder:rbac:groups=core,resources=pods,verbs=get;watch;list
// +kubebuilder:informers:group=core,version=v1,kind=Pod
type FooController struct{}
}
