mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-21 20:23:39 +09:00
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>