Customizing the Left Navigation
This guide explains how to customize the Administrator view and Projects view left navigation by modifying custom-navconfig-platform and custom-navconfig-project ConfigMaps.
TOC
Where to configure
In the cpaas-system namespace of the global cluster, you can find:
custom-navconfig-platform: for Administrator view navigation customizationcustom-navconfig-project: for Projects view navigation customization
Basic operation example
Example: Hide the Licenses menu
To hide Licenses in the Administrator view, add the following to custom-navconfig-platform:
Field description
buildIn: Modifies built-in navigation.license_manage: The Licenses menu.hidden: true: Hides this navigation item.
Refresh your browser to see changes after editing.
Supported customization capabilities
You can:
- Hide navigation items
- Add custom top-level navigation
- Modify navigation labels
- Modify navigation icons
Example configuration:
Reference
Navigation Configuration Structure Example
The following YAML illustrates the navigation structure syntax with comments to guide users on how to write and understand navigation configurations:
- name: Unique identifier for navigation. Displays as is if no translation is found.
- icon: Optional navigation icon.
- children: List of sub-navigation items.
- href: Route path or external URL.
- label: Optional display label that overrides the default translation.
- gate: Optional feature flag that controls whether this navigation item is displayed.
Default left navigation
Below are the full name, href, gate, and structure references for direct copy and modification.
Administrator view
Projects view