Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When a CRD is present in a bundle, but not referenced in the CRD, confusing error about mismatched versions occurs. #172

Open
flickerfly opened this issue Oct 29, 2019 · 0 comments

Comments

@flickerfly
Copy link

I upgraded a CSV and copied in the CRDs. I had one that isn't mentioned in the CSV in the folder with a spec.version that mentioned a previous version. operator-courier verify would complain

ERROR: CRD.spec.version does not match CSV.spec.crd.owned.version

This confused me for awhile until I realized the other CRD was in the directory and removed it to clear the error.

Two suggestions:

  1. As there can be multiple CRDs on an operator, could the CRD in conflict with the CSV be mentioned by some identifier like name?
  2. Alert on a CRD not mentioned in the CSV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant