Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-71236

MicroShift should align with OCP FeatureGate validation policies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.21.z
    • MicroShift
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • uShift Sprint 282
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      OCP allows users to change from any FeatureSet to CustomNoUpgrade and disallows users changing from CustomNoUpgrade to any other FeatureSet.
      
      OCP also allows users to make changes to CustomNoUpgrade enabled and disabled lists.
      
      MicroShift diverges from this pattern in that it does not allow FeatureGates/Sets to be changed after they are set. MicroShift does not allow changes to CustomNoUpgrade enabled/disabled lists.

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          100%

      Steps to Reproduce:

      1. Create config drop-in 
      
      $ cat > /etc/microshift/config.d/features.yaml <<'EOF'
      apiServer:
        featureGates:
          featureSet: "CustomNoUpgrade"
          customNoUpgrade: 
            enabled: ["FakeFeatureGate"]
      EOF     
      
      2. Restart MicroShift
      3. Make a change to the custom featureGate list(s)
      
      $ cat > /etc/microshift/config.d/features.yaml <<'EOF'
      apiServer:
        featureGates:
          featureSet: "CustomNoUpgrade"
          customNoUpgrade: 
          enabled: ["FakeFeatureGate", "AnotherFakeFeatureGate"]
      EOF          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              jcope@redhat.com Jon Cope
              jcope@redhat.com Jon Cope
              None
              None
              John George John George
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: