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
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, onlyx-kubernetes-preserve-unknown-fieldsoperatorhub/kubernetes/release-artifacts/bundle/manifests/— sameThis 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
/kind bug