Skip to content

OLM bundle manifests missing OpenAPI schemas #3872

Description

@vdemeester

Description

PR #3340 added controller-gen generated OpenAPI schemas to all operator CRDs in config/base/generated-crds/ and Helm charts. However, the OLM bundle manifests still have no schemas:

  • operatorhub/openshift/release-artifacts/bundle/manifests/ — all CRDs have 0 properties, only x-kubernetes-preserve-unknown-fields
  • operatorhub/kubernetes/release-artifacts/bundle/manifests/ — same

This means users installing via OLM don't benefit from the OpenAPI schema work.

Expected

OLM bundle CRD manifests should include the same structural schemas as the generated CRDs and Helm charts.

How to verify

# These should have properties, not just preserve-unknown-fields
grep -c 'properties:' operatorhub/openshift/release-artifacts/bundle/manifests/operator.tekton.dev_tektonconfigs.yaml
# Currently returns 0

/kind bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions