Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend: Details: Make multi cluster aware #2520

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Commits on Nov 4, 2024

  1. frontend: DetailsGrid: Fix for using a specific cluster

    This is because in multi cluster mode the "cluster" that is used
    is not the correct one (it is all of them).
    
    Signed-off-by: René Dudfield <[email protected]>
    illume committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    8a08b9b View commit details
    Browse the repository at this point in the history
  2. frontend: router: Fix createRouteURL to take query params

    Also add some documentation and a return type for the function.
    
    Signed-off-by: René Dudfield <[email protected]>
    illume committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    53c602e View commit details
    Browse the repository at this point in the history
  3. frontend: KubeObject: Add cluster query param to getDetailsLink

    This allows links to Details views to have the cluster from where
    the resource lives in when in multi cluster mode. This allows
    the URL to contain the multiple clusters and for the URL to still
    know which of the multiple clusters to look.
    
    Signed-off-by: René Dudfield <[email protected]>
    illume committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    3b2b822 View commit details
    Browse the repository at this point in the history
  4. frontend: k8s: Add useClusterFromURLVar to get cluster

    From the ?cluster= in a URL search paramater.
    
    Signed-off-by: René Dudfield <[email protected]>
    illume committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    81d82be View commit details
    Browse the repository at this point in the history
  5. frontend: Resource: Add support for cluster via URL var

    This is so that in multi cluster mode the URL can keep the group
    of clusters in the URL, but the details still know which cluster
    to use for fetching details.
    
    Signed-off-by: René Dudfield <[email protected]>
    illume committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    e139586 View commit details
    Browse the repository at this point in the history