When deploying a MongoDB resource to a newly installed Operator and OpsManager the user has to
Create an Organization, API keys and IP whitelisting in OpsManager
Create a Secret and ConfigMap with the data returned from OpsManager
Specify this Configmap as "configMapRef" in the MongoDB resource.
Please provide a k8s native way to deploy a MongoDB instance without any interaction towards the OpsManager API. The MongoDB Operator should create the Organization, API keys and IP whitelisting in OpsManager and create the secret and configmap.
Option 1: Create a CRD "MongoDBOpsManagerOrganization" that has a reference to a secret (containing the private key) and an IP whitelist as parameter. The MongoDB resource then references this MongoDBOpsManagerOrganization
Option 2: The MongoDB Operator automatically creates an Organization per Namespace containing MongoDB resources. The user does not need to create any Organization, API keys, IP whitelisting, Secret and ConfigMaps.