mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-05 14:42:05 +09:00
The operator deletes spec.secrets.users (defaulted to the global percona-server-mongodb-users) as part of the delete-psmdb-pvc finalizer flow. With the default value, deleting one MongoDB release in a namespace would remove the secret shared with any other MongoDB release there. Override spec.secrets.users with a release-scoped name so each release owns its own secret and uninstalls do not collide. Signed-off-by: Arsolitt <arsolitt@gmail.com>