community
community copied to clipboard
Errors while generating `s3-controller` for ACK runtime `v0.20.1`, code-generator `v0.20.1`
Errors while generating s3-controller for ACK runtime v0.20.1, code-generator v0.20.1
stdout for make build-controller:
building ack-generate ... ok.
==== building s3-controller ====
Copying common custom resource definitions into s3
Building Kubernetes API objects for s3
Generating deepcopy code for s3
stderr for make build-controller:
github.com/aws-controllers-k8s/s3-controller/apis/v1alpha1:-: invalid pointer element type: invalid type
Error: not all generators ran successfully
run `controller-gen object:headerFile=/home/prow/go/src/github.com/aws-controllers-k8s/code-generator/scripts/../templates/boilerplate.txt paths=./... -w` to see all available markers, or `controller-gen object:headerFile=/home/prow/go/src/github.com/aws-controllers-k8s/code-generator/scripts/../templates/boilerplate.txt paths=./... -h` for usage
make: *** [Makefile:41: build-controller] Error 1
Steps for closing this issue:
- Update s3-controller
go.modfile to updateaws-controllers-k8s/runtimeto v0.20.1 - Run
go mod tidyfor s3-controller - Successfully generate the service controller locally using latest release of
aws-controllers-k8s/code-generator - Run
make testfor s3-controller - Run
make kind-testfromaws-controllers-k8s/test-infrarepository for s3-controller - When kind test is successful, Create new pull request for s3-controller
- Mention this issue number in the pull request
- When the above PR is merged, close this issue
For more guidance, create an issue or reach out on Slack.