Helm chart deployment

Hi there,

I’m wondering why the chart create the namespace that is given on watchNamespace ? This should not be the chart responsibility to create the namespace.
I do install it with argocd and everytime I’m updating the deployment, the namespace is deleted… loosing my data etc…

1 Like

Frankly speaking for MongoDB Operator watchNamespace flag does not make any sense.
It does not support cluster-wide (multi-namespace deployment) mode yet, but it is coming in version 1.13.

So for now the best way would be to skip this flag.
But looking at our yaml manifest I see that we indeed create the namespace:

and it does not make sense.

1 Like

Also the cronjob is created with
Service Account: percona-server-mongodb-operator
But the helm chart never create this service account nor the rbac?

1 Like