amazon-apigateway-ingress-controller
amazon-apigateway-ingress-controller copied to clipboard
missing argument "roleName"
when I run "make docker-build", I get below error. Could you please supply a solution? Thanks a lot.
go generate ./pkg/... ./cmd/... go fmt ./pkg/... ./cmd/... go vet ./pkg/... ./cmd/... go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go rbac Error: unable to parse option "rbac": [missing argument "roleName" (at )] Usage: controller-gen [flags]
Examples:
# Generate RBAC manifests and crds for all types under apis/,
# outputting crds to /tmp/crds and everything else to stdout
controller-gen rbac:roleName=
# Generate deepcopy/runtime.Object implementations for a particular file
controller-gen object paths=./apis/v1beta1/some_types.go
# Generate OpenAPI v3 schemas for API packages and merge them into existing CRD manifests
controller-gen schemapatch:manifests=./manifests output:dir=./manifests paths=./pkg/apis/...
# Run all the generators for a given project
controller-gen paths=./apis/...
# Explain the markers for generating CRDs, and their arguments
controller-gen crd -ww
Flags: -h, --detailed-help count print out more detailed help (up to -hhh for the most detailed output, or -hhhh for json output) --help print out usage and a summary of options --version show version -w, --which-markers count print out all markers available with the requested generators (up to -www for the most detailed output, or -wwww for json output)
Options
generators
+webhook package generates (partial) {Mutating,Validating}WebhookConfiguration objects.
+schemapatch:manifests=
generic
+paths=<[]string> package represents paths and go-style path patterns to use as package roots.
output rules (optionally as output:
+output:artifacts[:code=
+output:stdout package outputs everything to standard-out, with no separation.
run controller-gen rbac -w to see all available markers, or controller-gen rbac -h for usage
exit status 1
make: *** [manifests] Error 1