Skip to content

Headlamp plugin with a map source, listed on Artifact Hub #1084

Closed

Description

@lex00

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 an id, a label and a detailsComponent. registerDetailsViewSection receives the resource shown, and registerPluginSettings adds settings.
  • A plugin is a built main.js and package.json from @kinvolk/headlamp-plugin. That the host supplies React and MUI is from memory, not checked.
  • Listing needs artifacthub-repo.yml and artifacthub-pkg.yml with the headlamp/plugin/archive-url, archive-checksum, version-compat and distro-compat annotations, 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-surfaces when 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

  1. added
    epic:surfaces
    wave:4
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic:surfaceswave:4

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions