Repository navigation
Description
Part of #28
Why
The coordinator's statement on #63: CRC runs argocd; apply stays in the chart as an acknowledged deviation only until the design's delivery is proven on CRC. Its third-pass bug (#75: a :retry that deleted an unconfirmed namespace) shows the cost of carrying a second write path.
Acceptance criteria
-
helm templatewithdelivery.mode=applyfails as an unknown value, shown by a new test incmapi/tests/service/test_review_g_chart.py, not written yet - No
cmapi-delivererobject renders under any values, shown by a new test incmapi/tests/service/test_review_g_chart.py, not written yet -
tests/servicehas no apply-mode path, shown by a new test incmapi/tests/service/, not written yet
Tasks
- Wait for Argo CD on CRC for the argocd delivery: the install, the Application per cluster, the AppProject and the repository credential (#63 design step) #64: a namespace request goes through approval, PR, merge and a real Argo CD sync on CRC.
- Remove
delivery.mode: apply,ApplyDelivery, thecmapi-delivererClusterRole and its acknowledgement. - Remove the deliverer Secret mount, and the tests that cover the apply mode.
- Keep the
ValidatingAdmissionPolicyfor Argo CD's controller (Argo CD's controller needs a narrowed ClusterRole: the containment policy alone does not hold it (#63 design step) #65).
Definition of done
- Mockup approved, or the work has no screen and no API shape
- Draft pull request open
- Build: tests fail before the change and pass after it
- Review ruled
- Merged with its proof
- Released on the default branch
Class
TDT. The apply mode is an acknowledged deviation, and the task removes it.
Source
Once a namespace request has gone through approval, PR, merge and a real Argo CD sync on CRC (#64), remove delivery.mode: apply, ApplyDelivery, the cmapi-deliverer ClusterRole and its acknowledgement, the deliverer Secret mount, and the tests that cover them; keep the ValidatingAdmissionPolicy for Argo CD's controller (#65).
How to prove. helm template with delivery.mode=apply fails as an unknown value; no cmapi-deliverer object renders under any values; tests/service has no apply-mode path.
The tracker's Wave 4 removes the charts and maps each test to its YAML replacement. The helm template proof then needs its plain YAML form.
Activity