Repository navigation
Description
Headlamp lets a plugin add nodes and edges to its own Resource Map, and those nodes need not be Kubernetes objects. A behold plugin can add each object's outside dependencies (cloud identity, secret store, Git source) to that map, plus an "Outside the cluster" section on resource pages. Headlamp's desktop catalog shows Artifact Hub plugins marked official by default, so people find it without help. Part of #1049, phase 4.
Today
From the scoping report (Headlamp docs read 2026-11-14):
registerMapSource({ id, label, icon, useData })adds nodes and edges to the Resource Map. A node can be just anid, alabeland adetailsComponent.registerDetailsViewSectionreceives theresourceshown, andregisterPluginSettingsadds settings.- A plugin is a built
main.jsandpackage.jsonfrom@kinvolk/headlamp-plugin. That the host supplies React and MUI is from memory, not checked. - Listing needs
artifacthub-repo.ymlandartifacthub-pkg.ymlwith theheadlamp/plugin/archive-url,archive-checksum,version-compatanddistro-compatannotations, and archives from GitHub, GitLab or Bitbucket releases. Official status needs Verified Publisher first.
Change
- A plugin that registers a map source and a details section. Both run the placeholder rules and the browser cut on the objects Headlamp holds.
- The details section lists the outside dependencies as cards, with no graph viewer.
- A settings field for an optional export URL.
- The Artifact Hub files, a release workflow for the tarball and checksum, and the Verified Publisher and official requests.
- Code goes in
behold-surfaceswhen that repo exists.
Done when
- Headlamp desktop on a scratch k3d cluster (never a shared or real cloud cluster), holding a ServiceAccount annotated with an IAM role ARN, shows a node for that role linked to the ServiceAccount in the Resource Map.
- The ServiceAccount's page shows the "Outside the cluster" section with the role.
- The packaged tarball's checksum matches
artifacthub-pkg.yml. - The plugin appears on Artifact Hub. The maintainer does this step.
Depends on
"Neighbourhood cut that runs in the browser, keyed by Kubernetes identity". "Placeholder cards from live objects for what they name outside the cluster". A first version needs neither INTENTIUS/chant#5098 nor INTENTIUS/chant#5099.
Not in this issue
The full viewer on a sidebar route, which waits for the phase 2 single-file viewer. Swapping placeholders for Terraform resources from a published export, which needs the phase 2 graph document and the mixed graph joins.
Activity
feat: estate-read batch 3, SVG, the GitHub Action, graph.json, MCP vi…
fix(surfaces): release archives are byte-identical on any machine: st…
release behold 0.32.0 (#1098)