Hello there,
I have a set of containers that need to store settings in mongodb. Each container has a schema for their settings. I want to verify that users can only adjust the settings of a service in accordance with its schema.
My plan is to store the settings of each container in a separate collection and use the schema validation feature to enforce it. However means that each collection will only contain one document (the settings document).
Is this a common practice when storing settings in mongodb? Is it OK to have single document collections when using schema validation?