-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
2
-
False
-
None
-
False
-
AppSvc Sprint 222
Story (Required)
We need a way in acceptance testing framework to install operators at the non-latest version and make sure the OLM does not update it to the latest automatically.
Background (Required)
Currently, the acceptance testing framework supports only installing operator via automatic subscriptions (via Operator.install_operator_subscription() method). In case we need to install an operator with a particular non-latest version (such as in case of Crunchy Postgres Operator the OLM will start automatically updating the operator to the latest version as soon as it is installed, which can result in unexpected behavior and test failures.
Approach(Required)
Extend the Operator.install_operator_subscription() method with additional optional parameter (with "Automatic" as the default) such as install_mode="Automatic" that will affect the installed Subscription resource. The method also must automatically approve the related InstallPlan if install_mode is "Manual".
Acceptance Criteria
Operator.install_operator_subscription() method is extedned and supports both "Manual" and "Automatic" (default) subscriptions.
INVEST Checklist
Dependencies identified
Blockers noted and expected delivery timelines set
Design is implementable
Acceptance criteria agreed upon
Story estimated
Legend
Unknown
Verified
Unsatisfied