aws-controllers-k8s/community

Errors while generating olm bundle for `apigateway-controller-v0.0.2`

Closed this issue · 0 comments

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:

  1. Checkout code-generator and apigateway-controller repositories
  2. From code-generator repo, execute ./scripts/olm-create-bundle.sh apigateway v0.0.2
  3. Checkout community-operators and community-operators-prod repositories
  4. Copy manifests, metadata and tests directories from
    apigateway-controller/olm/bundle/ into community-operators/operators/ack-apigateway-controller/0.0.2
  5. Copy bundle.Dockerfile from apigateway-controller/olm/ into
    community-operators/operators/ack-apigateway-controller/0.0.2
  6. Create a new pull request with these changes for community-operators
  7. Copy contents from apigateway-controller/olm/bundle/ into
    community-operators-prod/operators/ack-apigateway-controller/0.0.2
  8. Copy bundle.Dockerfile from apigateway-controller/olm/ into
    community-operators-prod/operators/ack-apigateway-controller/0.0.2
  9. Create a new pull request with these changes for community-operators-prod
  10. Mention this issue number in the both pull requests
  11. When both PRs are merged, close this issue

For more guidance, create an issue
or reach out on Slack.