Issue
MongoDB charm removes users it did not create can occur when
- client application creates users
OR
- mongos-k8s router creates users for client applications
and then a relation event on the database interface occurs. This triggers MongoDB charm to remove any users it is not aware of.
Notes
Please note this issue is also present on the VM charm.
Possible fix
have MongoDB charm only process users that has created.
Issue
MongoDB charm removes users it did not create can occur when
OR
and then a relation event on the
databaseinterface occurs. This triggers MongoDB charm to remove any users it is not aware of.Notes
Please note this issue is also present on the VM charm.
Possible fix
have MongoDB charm only process users that has created.