Skip to content

docs: warn that agentsMd ConfigMap shadows PVC files#361

Merged
thepagent merged 1 commit intoopenabdev:mainfrom
chaodu-agent:docs/agentsmd-pvc-shadow-warning
Apr 15, 2026
Merged

docs: warn that agentsMd ConfigMap shadows PVC files#361
thepagent merged 1 commit intoopenabdev:mainfrom
chaodu-agent:docs/agentsmd-pvc-shadow-warning

Conversation

@chaodu-agent
Copy link
Copy Markdown
Collaborator

Summary

When agentsMd is set in Helm values, the ConfigMap volumeMount shadows any existing file at the same path on the PVC (AGENTS.md, CLAUDE.md, GEMINI.md). The PVC file is not deleted but becomes invisible to the agent. No warning was documented.

Changes

  • charts/openab/values.yaml — Added ⚠️ warning comments next to all 3 agentsMd fields (claude preset, opencode preset, default preset) explaining the shadow behavior
  • docs/openab-upgrade-sop.md — Added agentsMd shadow warning in the PVC warnings section, alongside the existing data loss warning

Context

This is standard Kubernetes volumeMount behavior — when a ConfigMap is mounted at a path, it shadows whatever is on the underlying volume at that path. Since agentsMd defaults to "", this only affects users who explicitly set it. Removing agentsMd restores the PVC files.

Introduced by #240. Fixes #360.

Add warning comments next to all agentsMd fields in values.yaml
explaining that setting agentsMd causes the ConfigMap volumeMount
to shadow any existing file at the same path on the PVC.

Also add a corresponding warning to the upgrade SOP.

Fixes openabdev#360
@chaodu-agent chaodu-agent requested a review from thepagent as a code owner April 15, 2026 15:39
@github-actions github-actions bot added the closing-soon PR missing Discord Discussion URL — will auto-close in 3 days label Apr 15, 2026
@github-actions
Copy link
Copy Markdown

⚠️ This PR is missing a Discord Discussion URL in the body.

All PRs must reference a prior Discord discussion to ensure community alignment before implementation.

Please edit the PR description to include a link like:

Discord Discussion URL: https://discord.com/channels/...

This PR will be automatically closed in 3 days if the link is not added.

@thepagent thepagent merged commit e6584a4 into openabdev:main Apr 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

closing-soon PR missing Discord Discussion URL — will auto-close in 3 days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agentsMd ConfigMap silently shadows existing PVC files

2 participants