headlamp icon indicating copy to clipboard operation
headlamp copied to clipboard

frontend: Add /crs page to display a list of all instantiated custom resources.

Open Guilamb opened this issue 6 months ago • 11 comments

Description

This pull request addresses the issue of restricted user access to custom resources and the need to view only the instantiated custom resources (#955 ), by introducing a new /crs page in Headlamp that displays a list of all instantiated custom resources, that can be filtered by category.

The /crs page provides users with the capability to view their Resource Status and Definitions without requiring the development of a custom UI. It also allows users to filter namespaces, similar to the existing functionality for Workloads, ensuring restricted permissions are maintained.

cr

Changes

To implement this feature, the following changes were made:

  • Added a page that list instantiated Custom resources
    • Used a ResourceListView with its namespaceFilter
  • Added a route and a sideBarItem

Fixes: #1962 Signed-off-by: guilhane [email protected]

Guilamb avatar Aug 01 '24 13:08 Guilamb