Repository navigation
fix(k8s): Drop the tests that assert values of manifests and config - #6075
Conversation
Gray cases of #6060 for the owner (1 of 2)These tests still read a committed manifest or config file. Each one holds a safety rule, or agrees code with a manifest at run time, so this pull request keeps it unchanged. No final choice is made here. Decisions: delete (a CI validator or another check covers it), move (to a gate row, a policy or a load-time check in Kubernetes manifests and chart values
|
Gray cases of #6060 for the owner (2 of 2)Commands, monitoring, dashboards and tools
Workflows, images, Renovate and repository config
Removed for Renovate (owner, 22:55Z)
The FORM tests (code that takes a committed file as input, such as the CronJob templates of the roadmap Jobs and |
0a73db1 to
6a3e22a
Compare
Gray cases of #6060: addendum after the rebase
|
|
Owner decision, 2026-11-17 ~00:15Z (direct answer to the question of the agent), recorded here: Question: #6075 deletes about 100 tests that guard security or privacy controls: network policies, "a pod mounts no service account token", "config holds no credential", digest pins of actions and images, "LiteLLM telemetry off", prune protection, and the Grafana and Loki CVE chart checks. None of them blocks a Renovate update, and CI runs no tool yet that replaces most of them (kube-linter is not in CI, #6068). Answer: "Delete them all now." Merge #6075 as it is. Trivy config and review are the checks of these controls until #6068 and the other tools land. Follow-up: #6068 (kube-linter in CI) now carries the controls that these tests held. It needs priority. |
6a3e22a to
80135f1
Compare
|
Rebased onto #6070 and #6073. This PR also deletes the two manifest value tests of #6070, The red checks of the last run (Changed-Test Independence, MCP Server Image, Service Image Tests shard 6, Tests & Coverage) all come from the kubectl ignores of |
be190b6 to
bc36e44
Compare
|
Pull request #6075 has merge conflicts with |
Delete the tests, and the parts of tests, that read a committed manifest, ConfigMap template, gateway or Renovate config, workflow, Dockerfile or other config file and assert a value in it. A Renovate update of a pin then needs no test change. deploy-stack reads each chart version from the Argo CD Application of the tree, so the code holds no version. The test-tree row refuses a new test that reads a committed config file, and docs/TESTING.md states the rules.
bc36e44 to
b47e00e
Compare
|
Rebased onto main after #6069, #6078, #6081 and #6087 (head
#6078 adds roadmap stage tests that test code with built input, and #6087 changes two kept perimeter tests ( |
🤖 I have created a release *beep* *boop* --- ## [0.169.3](v0.169.2...v0.169.3) (2026-11-17) ### Bug Fixes * **k8s:** drop the pin checks of SearXNG and the chart tables ([#6069](#6069)) ([be2b4c1](be2b4c1)), closes [#6063](#6063) * **k8s:** Drop the tests that assert values of manifests and config ([#6075](#6075)) ([d4968f6](d4968f6)) * **k8s:** Keep the default perimeter off the planner run pod ([#6087](#6087)) ([19bfec3](19bfec3)) * **roadmap:** Keep refine decisions in stage plan ([#6078](#6078)) ([88aa191](88aa191)) * **roadmap:** Stop plan rules that ask for config value tests ([#6091](#6091)) ([2b4ae1f](2b4ae1f)) --- 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 CI job ran kube-linter, and #6075 deleted the tests of the security controls of the manifests. `devops k8s lint` with no target now builds each path source of the Argo CD Applications with Kustomize and lints the builds with `.kube-linter.yaml`. A new `kube-linter` row of `devops ci` runs it in Static Analysis, which installs the pinned kube-linter. The 56 findings are fixed (explicit RollingUpdate on 7 workloads) or annotated with `ignore-check.kube-linter.io/<check>`, a reason and an issue; the tier render keeps such an annotation. Checked now: pod isolation, no token on the default ServiceAccount, non-root, read-only root, privilege escalation, no `latest` tag, requests, limits, probes, rollout, PVC prune protection. Not yet: rule ports and peers (#4407), digests (#6067), drop ALL and seccomp (trivy config), Namespace prune (kept tests), charts (#6106). design.md maps each control. Closes #6068 Change: `openspec/changes/archive/2026-11-17-6068-kube-linter-in-ci/`
Tests read committed manifests and config files (Helm values, Argo CD Applications, ConfigMap templates, the gateway and Renovate config, workflows, Dockerfiles) and asserted chosen values: versions, digests, models, limits, ports and keys. A Renovate update of a pin failed them although no code changed. This change deletes those tests, and the fixtures, helpers and dead code that only they used. Tests that hold a safety rule, or agree code with a manifest at run time, stay unchanged as gray cases for the owner.
deploy-stack now reads each chart version from the Argo CD Application of the tree, so the code holds no version, and the gate that held the Crawl4AI image to a constant goes. A new check of the test-tree row refuses a new test that reads a committed config file, with a count for each module that only falls. docs/TESTING.md states the rules.
Closes #6060
Change:
openspec/changes/archive/2026-11-16-6060-drop-config-value-tests/