Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-2415

[DynamicPlugin] Add OCP version checking logic to reconcile dynamic plugin resources

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Undefined
    • None
    • None
    • Operator
    • None
    • 2
    • False
    • None
    • True
    • Users who are on gitops-operator <1.7 and OCP >= 4.15 will be forced to upgrade if they want to use the Environments feature on Developer tab.
    • GITOPS Sprint 227

    Description

      Story (Required)

      As a developer trying to deploy dynamic plugin I want add logic to decide whether or not to reconcile dynamic plugin resource base off the OCP version

      In order to avoid two "Environments" buttons from both static plugin and dynamic plugin which confuses users, we need to add a logic to decide whether or not to reconcile dynamic plugin resources.

      Background (Required)

      GITOPS-2369

      Out of scope

      Removing static plugin is out of scope of this story.

      Approach (Required)

      By adding a OCP version check to conditionally reconcile dynamic plugin related resources.

      Dependencies

      GITOPS-1323: Make GitOps Operator change to pull in/install the dynamic plugin

      Acceptance Criteria (Mandatory)

      1. Validate that on OCP 4.15 or greater, the Console Plugin section exists on the gitops-operator installation page. Set it to Enable and confirm on the Developer tab, "Environments" button is on the left menu.
      2. Validate that on OCP 4.14 or lower, the Console Plugin section doesn't exist on the gitops-operator installation page. Check only one "Environments" button exists on the Developer tab, "Environments" button is on the left menu.

       

      Attachments

        Activity

          People

            yicai@redhat.com Yi Cai
            yicai@redhat.com Yi Cai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d