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

Downstream Testing of OCP max version

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None

      Test 1:

      1. Create a Bundle with the following property:

       

      apiVersion: operators.coreos.com/v1alpha1

      kind: ClusterServiceVersion

      metadata:

       annotations:

         olm.properties: '[\{"type": "olm.maxOpenShiftVersion", "value": "4.17"}]'

       

      Note the value needs to be equal to the cluster version this is being tested on.

       

      1. Apply a ClusterExtension resource that installs the bundle
      2. Query the operator conditions to ensure that:
      3. Upgradeable is set to false
      4. Reason is “IncompatibleOperatorsInstalled”
      5. Message is the name of the bundle name

       

      Test 2

      Same as test 1 but with two bundles. Message should have names in alphabetical order.

       

      Test 3

      Apply a bundle without the annotation. Upgradeable should be True.

              lgallett Lance Galletti
              lgallett Lance Galletti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: