Files
cozystack/pkg
IvanHunters 7e117559d8 fix(credentials): delete a leftover account Secret only at its read resourceVersion
store.Ensure replaced a leftover account Secret under a UID-only delete precondition, so a concurrent create or mint that adopted and re-passworded the leftover between the read and the delete, keeping its UID but changing its resourceVersion, had its Secret deleted anyway. The delete now carries the resourceVersion read with the UID, so it fails rather than destroy a Secret a live release owns.

Assisted-by: LLM
Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>
2026-11-18 08:50:44 +03:00
..