Skip to content

Commit

Permalink
make rbac rules example consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
pwittrock authored and droot committed May 18, 2018
1 parent 6bf0d3b commit 6e01188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gen/controller/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
}

0 comments on commit 6e01188

Please sign in to comment.