Files
cozystack/hack
Aleksei Sviridkin f73ffc54a8 test(cacert): surface cleanup failures in the writer-policy suite
The script step grants the tenant default ServiceAccount Secret write via a
RoleBinding so its probe requests reach admission, and Chainsaw does not
reclaim objects created with kubectl inside a script step, so a trap prunes
them by hand. Masking those deletes with `|| true` let a failed delete
leave the elevated RoleBinding behind for the next suite. Run every delete,
preserve the test's own exit status, and fail the step on a genuine cleanup
error instead of swallowing it.

Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-07-21 17:16:48 +03:00
..
2026-02-17 22:54:12 +01:00