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

The guide of "Disabling CRD upgrade safety preflight check" is not correct

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 1
    • Important
    • None
    • None
    • None
    • None
    • OSDOCS Sprint 275
    • 1
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/extensions/cluster-extensions#disabling-crd-preflight_crd-upgrade-safety
        
        The guide of "Disabling CRD upgrade safety preflight check" is not correct.
      
      It should be:
      The custom resource definition (CRD) upgrade safety preflight check can be disabled by setting the install.preflight.crdUpgradeSafety.enforcement to be None of the ClusterExtension
      
      And the example of ClusterExtension is not correct
      It should be 
      apiVersion: olm.operatorframework.io/v1
      kind: ClusterExtension
      metadata:
        name: clusterextension-sample
      spec:
        namespace: default
        serviceAccount:
          name: sa-example
        source:
          sourceType: "Catalog"
          catalog:
            packageName: argocd-operator
            version: 0.6.0
        install:
          preflight:
            crdUpgradeSafety:
              enforcement: None

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

          4.19

      How reproducible:

          always

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              rhn-support-mipeter Michael Peter
              rhn-support-xzha Xia Zhao
              None
              None
              Xia Zhao Xia Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: