Repository navigation
fix(k8s): namespace chart renders and add lint --no-charts - #7901
Conversation
Check resultsHead commit:
Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/46465717241/job/142013727688 Skipped check: Trivy |
|
Proof with the code of this branch on
The same renders with all charts, linted by kube-linter with no time limit at
So the default run of homelab still fails on the excepted chart findings. After a release with this change, homelab must change the recipe of |
🤖 I have created a release *beep* *boop* --- ## [0.263.1](v0.263.0...v0.263.1) (2026-11-30) ### Bug Fixes * **k8s:** namespace chart renders and add lint --no-charts ([#7901](#7901)) ([8f7654a](8f7654a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
With no TARGET,
devops k8s lintfailed on an environment tree whose charts another check lints.kubectl kustomizebuild of each chart render runs aNamespaceTransformerwithunsetOnly: true, so kube-linter finds the ServiceAccount and the NetworkPolicy of a chart pod.devops k8s lint --no-chartslints the path sources only and names each chart source that it did not lint. It is for a tree whose own check lints the charts, with its own exceptions. The default still renders and lints each chart source.The product reads no chart exception file of a tree: #6106 left those exceptions to the environment repository. A path folder with no kustomization that names no namespace still gets none (#7899).
Closes #7889
Change:
openspec/changes/archive/2026-11-30-7889-k8s-lint-chart-namespace/