operator-framework / operator-courier

Build, verify and push operators
Apache License 2.0
41 stars 53 forks source link

verify does not validate acceptable spec.maturity values #167

Open eriknelson opened 4 years ago

eriknelson commented 4 years ago

We had set our spec.maturity value to release, only to discover the installplan will fail to install based on the following error:

spec.maturity in body should be one of [planning pre-alpha alpha beta stable mature inactive deprecated]

Expected outcome: operator-courier should fail a CSV with invalid maturity.

Actual outcome: No failure:

# operator-courier verify ./mig-operator; echo $?  
0