We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5fb900e + 6714f6d commit 47e750bCopy full SHA for 47e750b
1 file changed
cmd/controller-gen/main.go
@@ -205,7 +205,7 @@ func main() {
205
Long: "Generate Kubernetes API extension resources and code.",
206
Example: ` # Generate RBAC manifests and crds for all types under apis/,
207
# outputting crds to /tmp/crds and everything else to stdout
208
- 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
209
210
# Generate deepcopy implementations for a particular file
211
controller-gen deepcopy paths=./apis/v1beta1/some_types.go
0 commit comments