Skip to content

Commit 47e750b

Browse files
authored
Merge pull request #219 from bells17/fix-rbac-example
🐛 Fix rbac example
2 parents 5fb900e + 6714f6d commit 47e750b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/controller-gen/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func main() {
205205
Long: "Generate Kubernetes API extension resources and code.",
206206
Example: ` # Generate RBAC manifests and crds for all types under apis/,
207207
# outputting crds to /tmp/crds and everything else to stdout
208-
controller-gen rbac crd paths=./apis/... output:crd:dir=/tmp/crds output:stdout
208+
controller-gen rbac:roleName=<role name> crd paths=./apis/... output:crd:dir=/tmp/crds output:stdout
209209
210210
# Generate deepcopy implementations for a particular file
211211
controller-gen deepcopy paths=./apis/v1beta1/some_types.go

0 commit comments

Comments
 (0)