# Helm chart deployment

**URL:** <https://forums.percona.com/t/helm-chart-deployment/16737>\
**Category:** Percona Operator for MongoDB\
**Created:** [July 25, 2022, 1:43pm UTC](https://forums.percona.com/t/helm-chart-deployment/16737 "2022-07-25T13:43:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Baptiste\_PIN](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jean-baptiste_pin/32/7051_2.png) [@Jean-Baptiste\_PIN](https://forums.percona.com/u/Jean-Baptiste_PIN)\
**Post date:** [July 25, 2022, 1:43pm UTC](https://forums.percona.com/t/helm-chart-deployment/16737/1 "2022-07-25T13:43:38Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Sergey\_Pronin](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/sergey_pronin/32/14887_2.png) [@Sergey\_Pronin](https://forums.percona.com/u/Sergey_Pronin)\
**Post date:** [July 25, 2022, 5:08pm UTC](https://forums.percona.com/t/helm-chart-deployment/16737/2 "2022-07-25T17:08:59Z")

</div>

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:

> <https://github.com/percona/percona-helm-charts/blob/main/charts/psmdb-operator/templates/namespace.yaml>

and it does not make sense.

---

<div class="post-metadata">

**Author:** ![Jean-Baptiste\_PIN](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jean-baptiste_pin/32/7051_2.png) [@Jean-Baptiste\_PIN](https://forums.percona.com/u/Jean-Baptiste_PIN)\
**Post date:** [July 26, 2022, 7:50am UTC](https://forums.percona.com/t/helm-chart-deployment/16737/3 "2022-07-26T07:50:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ORich](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/orich/32/7918_2.png) [@ORich](https://forums.percona.com/u/ORich)\
**Post date:** [September 27, 2022, 8:53am UTC](https://forums.percona.com/t/helm-chart-deployment/16737/4 "2022-09-27T08:53:53Z")

</div>

> [@Helm chart psmdb-operator 1.13.0 - Not aligned with the rest of 1.13.0](https://forums.percona.com/t/helm-chart-psmdb-operator-1-13-0-not-aligned-with-the-rest-of-1-13-0/17675):
>
> Chart 1.13.0 looks not supporting cluster wide deployment as well as Deployment rendered by chart is missing here under env variables env: - name: LOG\_STRUCTURED value: 'false' - name: DISABLE\_TELEMETRY value: "false"
