Skip to content

Commit 8d02733

Browse files
authored
docs(agents): document stale Helm subchart cleanup (#1957)
Refs: #1947 Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent ed24031 commit 8d02733

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

  • .agents/skills/helm-dev-environment

.agents/skills/helm-dev-environment/SKILL.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,33 @@ mise run helm:k3s:status
212212

213213
---
214214

215+
## Helm Chart Checks
216+
217+
Run the chart lint task before changing Helm templates, values overlays, or
218+
Skaffold inputs:
219+
220+
```bash
221+
mise run helm:lint
222+
```
223+
224+
If Helm reports missing chart dependencies, remove the specific stale subchart
225+
archive or directory named by the error from `deploy/helm/openshell/charts/`,
226+
then rerun the lint task.
227+
228+
For example, when lint reports `chart metadata is missing these dependencies:
229+
postgresql`, remove stale PostgreSQL chart artifacts:
230+
231+
```bash
232+
rm -f deploy/helm/openshell/charts/postgresql-*.tgz
233+
rm -rf deploy/helm/openshell/charts/postgresql
234+
mise run helm:lint
235+
```
236+
237+
The `charts/` directory is ignored and regenerated by `helm dependency build`
238+
for dependencies still declared in `Chart.yaml`.
239+
240+
---
241+
215242
## Key Files
216243

217244
| Path | Purpose |

0 commit comments

Comments
 (0)