Uploaded image for project: 'OpenShift Over the Air'
  1. OpenShift Over the Air
  2. OTA-1600

Tech Preview: 'oc adm upgrade recommend' should not error about --accept when the feature-gate is off

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • None
    • None

      Refining OTA-1532's implementation, when OC_ENABLE_CMD_UPGRADE_RECOMMEND_ACCEPT is not set to true, the --accept option does not exist. In that case, we don't want to error with:

      error: issues that apply to this cluster but which were not included in --accept: ConditionalUpdateRisk
      

      Instead, we just want to exit happily, because we've already mentioned the issue earlier in the message.

              trking W. Trevor King
              trking W. Trevor King
              None
              None
              Jian Li Jian Li
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: