Repository navigation
fix(k8s): Take the k8s area of the config-read list to zero - #6124
Conversation
Decisions for the k8s area of #6082The body of a pull request holds at most 1,000 characters, so the table is here and in
Also deleted, because the guard did not count them (reads through the Spec scenarios: 31 capabilities changed in the archived change. Each scenario whose test went names a validator ( Guard gaps left for the next areas: |
5c641cb to
dc807c3
Compare
Check resultsHead commit:
Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/44020692049/job/133829232030 Skipped check: Dependency Freshness |
97410e0 to
7ef1680
Compare
|
Pull request #6124 has merge conflicts with |
7ef1680 to
f9631a8
Compare
Rebase onto
|
| Capability | Requirements of the delta | Resolution |
|---|---|---|
cluster-image-registry |
"Gitea's container registry is on" | main renamed it "Gitea serves the container registry of the cluster" (port-forward, GET /v2/ gives 401). Delta dropped. |
crawl4ai-service |
Pod Security, the token and the switches, only the roadmap Service calls, DNS and public web only | main text kept (rollout status and jsonpath, devops k8s lint, devops k8s crawl4ai-check, a kubectl run probe pod with nc). The delta of "The deploy stack and the kustomizations list every file" stays: main did not change it, and it named the deleted test. |
gitea-forge |
5 (namespace, data, closed forge, rootless, perimeter) | main renamed all 5 with command proofs (--dry-run=server probe, kubectl get, port-forward, rollout status, nc probe pods). Delta file dropped. |
gitops-host-overrides |
"The app-of-apps applies the homelab Applications server-side" | main renamed it "Argo CD applies three homelab Applications server-side" (--show-managed-fields). Delta dropped. |
grafana-image-renderer |
5 | main text kept. The scenario "a test reads the cluster Secret table" stays on both sides, because a test of the source table covers it. Delta file dropped. |
k8s-network-policies |
4 | main text kept. Delta file dropped. |
llm-gateway-database |
the CloudNativePG dashboard | main text kept (devops grafana dashboards lint, devops grafana search). Delta dropped. |
local-path-volume-placement |
REMOVED "A pod that mounts a claim does not run on the control-plane node" + ADDED "A pod on a claim keeps off the control-plane node" | main already removed the old title and added "A pod on a claim requires a node off the control plane" with kubectl get pods proofs. Both blocks dropped, so the spec holds no second copy of the rule. |
qdrant-read-only-key |
"Qdrant reads a read-only key", "The pod config names the Qdrant Service" | main text kept (port-forward, search 200, upsert 403). main removed the second because it only restates a file value. Delta file dropped. |
renovate-service |
5 | main text kept. The delta of "No upgrade task runs until the token is out of its reach" stays: main did not change it, and its scenario said "the test fails". |
searxng-service |
7 MODIFIED, 2 REMOVED (the engines that never answer, the document of the kept engines) | main text kept for the 7, and main already removed the 2. The delta of "The deploy stack and the kustomizations list every file" stays. |
service-account-tokens |
REMOVED "A pod that does not call the Kubernetes API mounts no ServiceAccount token" + ADDED "A pod mounts a ServiceAccount token only when a role binds its ServiceAccount" | main renamed the rule "A pod with no role mounts no ServiceAccount token" (kubectl get pods,rolebindings,clusterrolebindings). Both blocks dropped. The REMOVED "The check finds each token that a pod mounts" stays: the check was a helper of the deleted token tests of tests/invariants/test_k8s_manifests.py. |
The deltas of the other 19 capabilities (and the 4 kept blocks above) touch requirements that main did not change, so they stay as they were. proposal.md and design.md of the change now name this split.
tests/gate/tree_checks/config_reads.toml: no conflict. feat(service): Run the Service rows under a Kubernetes Lease #6099 was already in the old merge base, so the counts of the branch hold. Thetest-treerow passes.- Census
git grep -c -i "a test reads" -- openspec/specs: 218 onmain, 209 on the branch.
Checks
uv run devops ci --check --only test-tree,k8s,kube-linter,openspec,docs: all 5 rows pass. The 17 changed test modules and the tests of src/devops_cli/k8s/configmap.py: 241 passed.
On GitHub, head f9631a883: 25 of 25 checks pass. Plan Check, Tests on Main, Test Job Duration and Dependency Freshness skip, as they did before the rebase. The pull request stays ready. Only the review of a person is open.
The scenarios of the image, release pin and devcontainer specs said "a test reads" a file. Each one now names a validator, a dry run, an install, an image build or a live check as its proof (#6080). No scenario enters a pod with kubectl exec. #6124 already gave the Ollama and Traefik pins a kubectl get live check, so their scenarios stay. Closes #6125
…6126) The image, release pin and devcontainer specs said "a test reads" a file. #6060 removes such tests, and the stage and refine jobs copy the living specs. Each scenario of 7 capabilities now names its proof in the form of #6080: `image-pins`, `devcontainer validate`, a dry run of `deploy-stack` or `install-tools`, an install, an image build, or a live check (`kubectl get` of the pod image against the floor or `helm show chart`, never `kubectl exec`; `findmnt`, `pids.max`). #6124 already gave the Ollama and Traefik pins a `kubectl get` check, so their scenarios stay. - 3 requirements that only restate a file, or ask for a deleted test, go. - 5 requirements come back under a new name, because OpenSpec keeps each scenario name of a MODIFIED requirement. Census `git grep -c -i "a test reads" -- openspec/specs`: the area falls from 18 to 0, all specs from 209 to 191. Part of #6083. Closes #6125 Change: `openspec/changes/archive/2026-11-17-6125-image-pin-spec-proofs/`
🤖 I have created a release *beep* *boop* --- ## [0.171.0](v0.170.0...v0.171.0) (2026-11-17) ### Features * **roadmap:** Run review scanners in the runner pod ([#6114](#6114)) ([ddde85a](ddde85a)) * **service:** Roll the Service with a surge release ([#6146](#6146)) ([a459b65](a459b65)) ### Bug Fixes * **k8s:** Run kube-linter on the Argo CD builds in CI ([#6112](#6112)) ([dba90f1](dba90f1)), closes [#6068](#6068) * **k8s:** Take the k8s area of the config-read list to zero ([#6124](#6124)) ([0857ee5](0857ee5)), closes [#6119](#6119) * **roadmap:** judge a pyproject tool setting by its diff ([#6089](#6089)) ([0a787eb](0a787eb)), closes [#3491](#3491) * **roadmap:** Name both command registration forms ([#6148](#6148)) ([0d3b1e1](0d3b1e1)) * **roadmap:** Read the files of a named pull request ([#6144](#6144)) ([5a29fed](5a29fed)) * **roadmap:** refuse a placeholder group title in a plan ([#6092](#6092)) ([cfd820b](cfd820b)) * **service:** the metrics row sends too many counted requests ([#6095](#6095)) ([b3fc5dc](b3fc5dc)) --- 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>
No test asserts a value of a manifest or config (#6060). Part of #6082: this is the k8s area. The 141 allow-listed tests of the area go: 91 are deleted, 49 test source code on a fixture (the CronJob templates of the roadmap Jobs, an Applications tree, an Ollama profile, an RBAC binding, a settings mapping), and 1 compares the README with the Secret table. The ConfigMap render of deploy-stack now refuses a template key that no setting declares. The guard also counts the readers of tests/support/k8s_tree and judges a path whole. The allow list falls from 554 tests in 89 modules to 411 in 65. Each spec scenario whose test went names a validator or a live check. The decision table is in the design of the change.
Closes #6119
Change:
openspec/changes/archive/2026-11-17-6119-k8s-config-reads/