File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ build-ack-generate: ## Build ack-generate binary
26
26
@go build ${GO_TAGS} ${GO_LDFLAGS} -o bin/ack-generate cmd/ack-generate/main.go
27
27
@echo " ok."
28
28
29
- build-controller : build-ack-generate # # Generate controller code for SERVICE
29
+ build-controller : # # Generate controller code for SERVICE
30
30
@./scripts/install-controller-gen.sh
31
31
@./scripts/build-controller.sh $(AWS_SERVICE )
32
32
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ Environment variables:
51
51
ACK_GENERATE_CONFIG_PATH: Specify a path to the generator config YAML file to
52
52
instruct the code generator for the service.
53
53
Default: services/{SERVICE}/generator.yaml
54
+ TEMPLATES_DIR: Overrides the directory containg ack-generate templates
55
+ Default: $TEMPLATES_DIR
54
56
K8S_RBAC_ROLE_NAME: Name of the Kubernetes Role to use when generating
55
57
the RBAC manifests for the custom resource
56
58
definitions.
75
77
76
78
from the root directory or install ack-generate using:
77
79
78
- go get -u github.com/aws-controllers-k8s/code-generator/cmd/ack-generate" 1>&2
80
+ go get -u -tags codegen github.com/aws-controllers-k8s/code-generator/cmd/ack-generate" 1>&2
79
81
exit 1;
80
82
fi
81
83
fi
You can’t perform that action at this time.
0 commit comments