Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix [opm alpha bundle validate error] (#1104)
After run olm.sh。minio-operator.clusterserviceversion.yaml will be generated。but when I try to validate it [opm alpha bundle validate --tag image:tag], I found this: Error: Bundle validation errors: Error: Value { Tenant tenants.minio.min.io v1}: CRD tenants.minio.min.io/v1 is present in bundle "minio-operator.vx.x.x" but not defined in CSV 。 To solve this, I change template.When olm.sh run: yq eval-all -i ". as \$item ireduce ({}; . * \$item )" bundles/$RELEASE/manifests/minio-operator.clusterserviceversion.yaml resources/templates/olm-template.yaml it can generate right minio-operator.clusterserviceversion.yaml。
- Loading branch information