Uploaded image for project: 'Operator Runtime'
  1. Operator Runtime
  2. OPRUN-3066

[upstream] Add semver upgrade edge generation support

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • Upstream
    • 3
    • False
    • None
    • False
    • OCPSTRAT-78 - [Phase 2 MVP/Tech Preview] OLM 1.0 - Extension updates (F10)
    • INKEY$ (OPRUN 243)

      Description:

      Implement semver upgrade edge generation function as discussed in the RFC.

      Background:

      Please read RFC for better formatting and full scope. The excerpt below is just to indicate the scope covered by this specific issue.

      Need to implement semver upgrade edge generation function as discussed in the RFC.

      Semver

      Semver based implementation is expected to:

      • Satisfy the interface discussed above
                 type Successors func(currentBundle string) []string
      • Return a list of successor bundles based on semver. The list will not include bundle versions outside the major version of the installed bundle. (In semver a new major version is intended to indicate breaking changes, and we don’t want to default to that behavior. Future iterations may include knobs to extend this behavior.)
      • This mode will not allow downgrading.

      As part of this issue we also need to make sure that ForceSemverUpgradeConstraints feature gate is respected:

      The solver needs to be able to switch between upgrade constraint semantics based on rules defined above (see Fig 1).

       

      Acceptance Criteria:

            mradchuk@redhat.com Mikalai Radchuk
            agreene1991 Alexander Greene (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: