operator-controller
operator-controller copied to clipboard
Failed operator installation has upgrade constraints
What I did:
- Created the operatorhubio
Catalog - Created an
Operatorwithspec.packageName: prometheusandspec.version: 0.37.0 - Waited for an installation failure (due to 0.37.0 using non-v1 CRD)
- Patched
Operatortospec.version: 0.65.1
What happened:
- Resolution failure. Resolver reported that only 0.37.0 and 0.47.0 were viable candidates.
What I expected:
- Resolution success for 0.65.1.
It seems like the upgrade edge constraint should be against the currently successfully installed version. For failures on the initial install, there is no successfully installed version, so I should be able to select any other version. For upgrade failures from A to B, I should be able to choose other successors of A (not successors of B).