Loading...
Loading...
Create and manage Infrahub custom menus. Use when designing navigation menus, organizing node types in the UI, or customizing the Infrahub web interface sidebar.
npx skill4agent add opsmill/infrahub-skills infrahub-menu-creator| Priority | Category | Prefix | Description |
|---|---|---|---|
| CRITICAL | Format | | apiVersion, kind, spec |
| CRITICAL | Properties | | name, namespace, label, kind |
| HIGH | Hierarchy | | Nesting, group headers, data |
| HIGH | Icons | | MDI icon reference, choices |
| MEDIUM | Schema | | include_in_menu, kind links |
| LOW | Patterns | | Flat menu, comments, links |
---
apiVersion: infrahub.app/v1
kind: Menu
spec:
data:
- namespace: Dcim
name: DeviceMenu
label: "Devices"
icon: "mdi:server"
kind: DcimDevice # Links to schema node list viewapiVersionkind: Menuspec.datanamenamespacerules/format-structure.mdrules/item-properties.mdrules/hierarchy-nesting.mdrules/icons-reference.md$schemaapiVersionkindspec.infrahub.ymlmenus:rules/format-structure.mdinclude_in_menu: falserules/schema-integration.md---