Uploaded image for project: 'Service Binding'
  1. Service Binding
  2. APPSVC-1151

Extend the acceptance testing framework to support installing operator with both manual and automatic subscriptions

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • QE, Service Binding
    • None
    • 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

              pmacik@redhat.com Pavel Macik
              pmacik@redhat.com Pavel Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: