Repository navigation
Description
Friction
Getting a shell in a cluster pod needs kubectl exec from a workstation with a kubeconfig for the cluster. Argo CD already shows every pod its Applications manage, but its web terminal is off: the argo-cd chart defaults configs.cm."exec.enabled" to false, and k8s/argocd/values.yaml does not set it.
Evidence
- Argo CD's web terminal is disabled until
argocd-cmholdsexec.enabled: "true"(operator manual, Web-based Terminal). - The pinned chart (
argo-cd10.9.6, Argo CD v3.5.3) addscreateonpods/execto theargocd-serverClusterRole and Role only when that key renders as"true"(templates/argocd-server/clusterrole.yaml,role.yaml).helm templatewith the repository's values and the key set shows both rules. - Argo CD v3.5.3's built-in policy holds
p, role:admin, exec, create, */*, allowandg, admin, role:admin(assets/builtin-policy.csv), so the admin user needs no added RBAC policy. - The
argocd-serverDeployment carrieschecksum/cm, so the change rolls the server, as the manual's restart step asks. - The
argocdApplication self-heals frommain, so the setting has to land in git: a live patch toargocd-cmwould be reverted.
Remedy
Set configs.cm."exec.enabled": "true" in k8s/argocd/values.yaml, which devops k8s deploy-stack and the self-managed argocd Application both read. Add a test in tests/test_k8s_argocd_apps.py pinning the value as the string "true", and a line in k8s/README.md naming the pod's Terminal tab.
The terminal runs as the pod's ServiceAccount. It gives role:admin no more than it already has, since an admin can sync any manifest in the homelab project.
Proposed design
Problem statement
Argo CD's web terminal is disabled by default, requiring manual configuration to enable shell access to pods managed by Applications. Users cannot easily access shells in cluster pods without setting up kubectl access and kubeconfig on their workstations.
Acceptance criteria
- Criterion 1: The Argo CD web terminal is enabled by default in the k8s/argocd/values.yaml configuration
Verification: Running 'helm template' with k8s/argocd/values.yaml should show 'exec.enabled: "true"' in the argocd-cm ConfigMap - Criterion 2: A test verifies that the exec.enabled value is set to 'true' in the Argo CD configuration
Verification: Running 'pytest tests/test_k8s_argocd_apps.py::test_chart_pvc_and_crd_safety_values' should pass and confirm the setting - Criterion 3: The k8s/README.md documentation includes a reference to the Terminal tab for accessing pods
Verification: The README.md file should contain a line mentioning the Terminal tab in Argo CD's web UI
Key questions
- What is the current value of configs.cm."exec.enabled" in k8s/argocd/values.yaml?: The current value is not set, as it defaults to false in the argo-cd chart and is not configured in the repository's values file. [sources: k8s/argocd/values.yaml]
- Should this change be made in a single PR?: Yes, this can be delivered in one pull request as it involves only configuration changes and tests. (proposed)
Open questions
- What happens when exec.enabled is set to true in argocd-cm? (missing verified source)
- How does the admin user gain access to the terminal with this setting? (missing verified source)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 16, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
The candidate adds a new feature to enable Argo CD's web terminal.This improves developer experience but is not critical for core functionality.Provides useful access to pods for debugging, but not essential for system operation.Involves a simple configuration change and adds tests and documentation.feat(k8s): argo cd's web terminal opens a shell in any pod an applica…
dan-petty commentedon Oct 16, 2026
What changed
#1586, merged into
release/v0.2.36as 1904550.4 file(s) changed.
How it was verified
Check runs at 158aac2:
No task file.
feat(release): v0.2.36 (#1615)