fix(argo): let the tombstones read what they promise to protect #468
Loading…
Reference in a new issue
No description provided.
Delete branch "sean/tombstone-read-grants"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Both retirement Jobs failed on their OWN reads. The RBAC is pinned by resourceNames so neither Job can touch the object that must survive -- right, and it also meant neither could SEE it. The API answered 403 and each read that as absence. Neither was true: all three ArgoCD CRDs are present and binjovi-deploy-argocd is ten days old with the agent running as it. argo-crd-retire had already deleted all eleven Argo CRDs (and the Workflow CRD took the 62 leftover objects with it) before failing its post-condition; binjovi-argo-rbac-retire refused before deleting anything, which is exactly what it was asked to do. The fix is a read grant, not a looser fence: verbs [get] on precisely the protected objects, still absent from every delete grant, and 403 now separate from 404 with its own message. https://claude.ai/code/session_01KZoQin34jeyt6nDGqvJA76
d17cdee62b59b34c368d