Skip to content

Commit

Permalink
Merge pull request #219 from bells17/fix-rbac-example
Browse files Browse the repository at this point in the history
🐛 Fix rbac example
  • Loading branch information
k8s-ci-robot authored Jun 6, 2019
2 parents 5fb900e + 6714f6d commit 47e750b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/controller-gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func main() {
Long: "Generate Kubernetes API extension resources and code.",
Example: ` # Generate RBAC manifests and crds for all types under apis/,
# outputting crds to /tmp/crds and everything else to stdout
controller-gen rbac crd paths=./apis/... output:crd:dir=/tmp/crds output:stdout
controller-gen rbac:roleName=<role name> crd paths=./apis/... output:crd:dir=/tmp/crds output:stdout
# Generate deepcopy implementations for a particular file
controller-gen deepcopy paths=./apis/v1beta1/some_types.go
Expand Down

0 comments on commit 47e750b

Please sign in to comment.