KubeSphere 4.2.0 introduces a redesigned UI, and the extension entry mount strategy has changed: topbar and project are no longer supported.
menus.parent uses topbar or project.ExtensionEntry is created in the cluster and spec.entries[].parent uses topbar or project.topbar and project will no longer be displayed.parent fields in menus.ExtensionEntry.spec.entries[].parent fields.menus and ExtensionEntry exist, verify ExtensionEntry first (it has higher priority and menus will be ignored).Migrate topbar to global
parent from topbar to global for extension entries (including both menus and ExtensionEntry).topbar experience.Migrate project to workspace
parent from project to workspace for extension entries (including both menus and ExtensionEntry).topbar as an example) Before upgrade (menus):
const menus = [
{
parent: 'topbar',
name: 'example',
title: 'EXAMPLE',
},
];
After upgrade (menus):
const menus = [
{
parent: 'global',
name: 'example',
title: 'EXAMPLE',
},
];
Before upgrade (ExtensionEntry):
spec:
entries:
- parent: "topbar"
name: "example"
title: "EXAMPLE"
After upgrade (ExtensionEntry):
spec:
entries:
- parent: "global"
name: "example"
title: "EXAMPLE"