Skip to content

Argo CD UI extension for 3.5 and later: an "Outside the cluster" tab #1085

Closed

Description

@lex00

A UI extension adds a tab on an Argo CD Application, and on each of its resources, showing the resource, its neighbours, and what it names outside the cluster. Argo CD has no extension catalog and an admin installs each one, so the deep link recipe (#1055) ships first. Part of #1049, phase 4.

Today

From the scoping report (Argo CD docs read 2026-11-14):

  • An extension is a file under /tmp/extensions in the argocd-server pod, named to match ^extension(.*)\.js$. It registers through the extensionsAPI global and uses the host's React.
  • registerResourceExtension(component, group, kind, tabTitle) adds a tab whose component receives application, resource and tree. Two points are from memory and need checking first: tree lacks full manifests, and a tab reads one through a same-origin API call.
  • Argo CD 3.5 moved to React 19. An extension that does not externalize react/jsx-runtime fails with a TypeError.
  • The argocd-extension-installer init container takes EXTENSION_NAME, EXTENSION_URL, EXTENSION_VERSION, an optional EXTENSION_CHECKSUM_URL, and EXTENSION_JS_VARS, read as window.<NAME>_VARS.
  • just e2e-argo-estate uses a scratch k3d cluster but installs Argo CD v2.13.3 core-install, which has no API server or UI.

Change

  • A tab for every kind (**) and for argoproj.io Application, built against React 19 with react and react/jsx-runtime external.
  • It runs the placeholder rules and the browser cut on the manifests it reads, and lists the results as cards.
  • A default export URL from EXTENSION_JS_VARS, overridden by an Application annotation.
  • A variant of the e2e script that installs full Argo CD at a pinned 3.5 or later release on its own scratch k3d cluster.
  • A release workflow for the tar and checksum. Install docs for Helm values and kustomize.
  • Code goes in behold-surfaces when that repo exists.

Done when

  • On that scratch cluster (never a shared or real cloud cluster), installed through the installer, a ServiceAccount's tab shows its annotated cloud identity as a card.
  • The Application tab lists every resource's outside dependencies.
  • The browser console shows no TypeError on the pinned release.

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 nothing from the mixed graph.

Not in this issue

A build for Argo CD 3.4 and older. A proxy extension backend. The full viewer, which waits for phase 2.

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