Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3070

Console-operator should check if provisioned cluster is HyperShift

XMLWordPrintable

    • HAC Infra - Sprint 215

      Console-operator should check the Infrastructure config if the cluster is not provisioned by HyperShift. For that the operator needs to check  Infrastructure.Status.ControlPlaneToplogy field in the https://github.com/openshift/api/blob/master/config/v1/types_infrastructure.go#L92

      If the TopologyMode is set to "External" that means that the cluster was provisioned by Hypershift.

      The TopologyMode needs to be passed to the console via console-config.yaml that console-operator is generating. Ideally the TopologyMode should be a new field under ClusterInfo type.

       

      Acceptance criteria:

      • console-operator should check the Infrastructure config for TopologyMode and generate the console-config.yaml with that value
      • add new `TopologyMode` field under ClusterInfo type
      • add e2e tests

              jhadvig@redhat.com Jakub Hadvig
              jhadvig@redhat.com Jakub Hadvig
              Yanping Zhang Yanping Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: