Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-2834 Integrate multicluster POC frontend changes
  3. CONSOLE-2880

Fix: Requests for user settings config maps must always go to the hub cluster

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • Foundation
    • None
    • False
    • False
    • OCPSTRAT-402 - Unified Console
    • Undefined
    • HAC Infra - Sprint 213

      In the POC, requests for user settings config maps go to the spoke cluster, which fails since the user doesn't have permission causing console to white screen. The config maps can be stored on the hub cluster. That allows general preferences like the selected language to be used regardless of the selected cluster and avoids problems where the console service account doesn't have special authority on the spokes. The hooks we have will need to always request the config maps from the hub. This likely requires adding an optional property to `useK8sWatchResource` to specify a cluster.

      We might need to scope some preferences to a particular cluster. That is out of scope for this story, however.

      cc christianvogt rh-ee-jonjacks

            Unassigned Unassigned
            spadgett@redhat.com Samuel Padgett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: