Uploaded image for project: 'OpenShift Cloud'
  1. OpenShift Cloud
  2. OCPCLOUD-1187

Refactor IsCloudProviderExternal to use Infrastructure.Status and add Azure Stack Hub

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • CLOUD Sprint 203, CLOUD Sprint 204, CLOUD Sprint 205

      Currently theĀ  library-go method IsCloudProviderExternal uses only the status.Platform to determine whether the external CCMs are available for the cloud provider. This field is being deprecated and is not sufficient to fully determine the platform, it should be refactored to utilize the full Status field from the Infrastructure resource .

      Given that this work will impact the Azure Stack Hub addition, it is advised that ASH be added in the same work that refactors the function.

      DoD

      • IsCloudProviderExternal refactored to use Infrastructure.Status
      • Azure Stack Hub added to IsCloudProviderExternal
      • Tests updated to include new usages
      • Ensure we fix up any places that are currently using this (CCCMO, in-flight KCMO and MCO changes)

            dgrigore Danil Grigorev (Inactive)
            mimccune@redhat.com Michael McCune
            Zhaohua Sun Zhaohua Sun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: