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

Clear --cloud-provider and --cloud-config flags from KCM/KAS

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • CLOUD Sprint 250, CLOUD Sprint 251, CLOUD Sprint 252, CLOUD Sprint 253, CLOUD Sprint 254

      Background

      KCM and KAS previously relied on having the `{}cloud-provider` and `{-}-cloud-config` flags set. However, these are no longer required as there is no cloud provider code in either binary.

      Both operators rely on the config observer in library go to set these flags.

      In the future, if these values are set, even to the empty string, then startup will fail.

      The config observer sets keys and values for a map (see), we need to make sure the keys for these two flags are deleted rather than set to a specific value.

      Steps

      • Update the logic in the config observer to remove the `{}cloud-config` and `{-}-cloud-provider` flag, neither should be set going forward
      • Update KAS and KCM operators to include the new logic.

      Stakeholders

      • Cluster Infra
      • API team
      • Workloads team

      Definition of Done

      • Clusters do not set `{}cloud-provider` or `{-}-cloud-config` on KAS and KCM
      • Docs
      • <Add docs requirements for this card>
      • Testing
      • <Explain testing that will be added>

            rh-ee-nbrubake Nolan Brubaker
            joelspeed Joel Speed
            Zhaohua Sun Zhaohua Sun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: