Errors while generating olm bundle for `apigateway-controller-v0.0.2`
Closed this issue · 0 comments
ack-bot commented
Errors while generating olm bundle for apigateway-controller-v0.0.2
stdout for olm-create-bundle.sh apigateway v0.0.2
:
Building release artifacts for apigateway-v0.0.2
Generating common custom resource definitions
stderr for olm-create-bundle.sh apigateway v0.0.2
:
/home/prow/go/pkg/mod/k8s.io/api@v0.31.0/core/v1/doc.go:21:1: missing argument "" (at <input>)
/home/prow/go/pkg/mod/k8s.io/api@v0.31.0/core/v1/doc.go:21:1: missing argument "" (at <input>)
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".ConditionStatus
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".ConditionStatus
github.com/aws-controllers-k8s/runtime/apis/core/v1alpha1:-: unable to locate schema for type "k8s.io/api/core/v1".ConditionStatus
Error: not all generators ran successfully
run `controller-gen crd:allowDangerousTypes=true paths=./... output:crd:artifacts:config=/home/prow/go/src/github.com/aws-controllers-k8s/code-generator/scripts/../../apigateway-controller/helm/crds -w` to see all available markers, or `controller-gen crd:allowDangerousTypes=true paths=./... output:crd:artifacts:config=/home/prow/go/src/github.com/aws-controllers-k8s/code-generator/scripts/../../apigateway-controller/helm/crds -h` for usage
Steps for closing this issue:
- Checkout
code-generator
andapigateway-controller
repositories - From code-generator repo, execute
./scripts/olm-create-bundle.sh apigateway v0.0.2
- Checkout
community-operators
andcommunity-operators-prod
repositories - Copy
manifests
,metadata
andtests
directories from
apigateway-controller/olm/bundle/
intocommunity-operators/operators/ack-apigateway-controller/0.0.2
- Copy
bundle.Dockerfile
fromapigateway-controller/olm/
into
community-operators/operators/ack-apigateway-controller/0.0.2
- Create a new pull request with these changes for
community-operators
- Copy contents from
apigateway-controller/olm/bundle/
into
community-operators-prod/operators/ack-apigateway-controller/0.0.2
- Copy
bundle.Dockerfile
fromapigateway-controller/olm/
into
community-operators-prod/operators/ack-apigateway-controller/0.0.2
- Create a new pull request with these changes for
community-operators-prod
- Mention this issue number in the both pull requests
- When both PRs are merged, close this issue
For more guidance, create an issue
or reach out on Slack.