As a devops,
I want Atlas Kubernetes Operator to manage users in the existing project
I want to disable project and cluster reconcilers,
So that atlas-kubernetes operator would not be able to mess with my existing project and clusters.
Implementation
setting manager env DISABLE_ATLAS_CLUSTER_RECONCILER = "true" (string) in the deployment YAML, Kustomization or Helm will disable the corresponding reconciler.
Same with DISABLE_ATLAS_PROJECT_RECONCILER and DISABLE_ATLAS_DATABASE_USER_RECONCILER
all Disable* flags are false if not set, for a backward compatibility
It will fix the first part of #265
This feature in action
$ kubectl logs -n atlas-operator deployment/mongodb-atlas-operator manager -f
2021-07-07T16:05:59.295Z INFO The AtlasClusterReconciler is disabled by the DISABLE_ATLAS_CLUSTER_RECONCILER configuration flag
2021-07-07T16:05:59.295Z INFO The AtlasProjectReconciler is disabled by the DISABLE_ATLAS_PROJECT_RECONCILER configuration flag
2021-07-07T16:05:59.295Z INFO MongoDB Atlas Operator version 0.5.1
story
As a devops, I want Atlas Kubernetes Operator to manage users in the existing project I want to disable project and cluster reconcilers, So that atlas-kubernetes operator would not be able to mess with my existing project and clusters.
Implementation
It will fix the first part of #265
This feature in action