operator-controller icon indicating copy to clipboard operation
operator-controller copied to clipboard

Failed operator installation has upgrade constraints

Open joelanford opened this issue 2 years ago • 0 comments

What I did:

  1. Created the operatorhubio Catalog
  2. Created an Operator with spec.packageName: prometheus and spec.version: 0.37.0
  3. Waited for an installation failure (due to 0.37.0 using non-v1 CRD)
  4. Patched Operator to spec.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).

joelanford avatar Sep 20 '23 03:09 joelanford