# How to customise mongod options in Operator

**URL:** https://forums.percona.com/t/how-to-customise-mongod-options-in-operator/10873
**Category:** Percona Operator for MongoDB
**Created:** [June 15, 2021, 4:10am UTC](https://forums.percona.com/t/how-to-customise-mongod-options-in-operator/10873 "2021-06-15T04:10:18Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![kylem](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/kylem/32/3748_2.png) [@kylem](https://forums.percona.com/u/kylem)
#### Post date: [June 15, 2021, 4:10am UTC](https://forums.percona.com/t/how-to-customise-mongod-options-in-operator/10873/1 "2021-06-15T04:10:18Z")

</div>

Hi there,

I am using the Kubernetes MongoDB Operator.

> **[Custom Resource options](https://www.percona.com/doc/kubernetes-operator-for-psmongodb/operator.html#operator-mongod-section)**
>
> Custom Resource options

I would like to modify some net options which are passed to mongod, however they are not included in the available operator configuration. For example, I need to use a password for the certificates I am using.

So - how can I modify configuration options which aren’t available in cr.yaml?

Thanks

---

<div class="post-metadata">

### Author: ![kylem](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/kylem/32/3748_2.png) [@kylem](https://forums.percona.com/u/kylem)
#### Post date: [June 17, 2021, 2:32am UTC](https://forums.percona.com/t/how-to-customise-mongod-options-in-operator/10873/2 "2021-06-17T02:32:01Z")

</div>

Is this possible through config maps? There is a Jira issue to add documentation around this, which makes me think it might be possible

[https://jira.percona.com/browse/K8SPSMDB-172](https://jira.percona.com/browse/K8SPSMDB-172)

---

<div class="post-metadata">

### Author: ![kylem](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/kylem/32/3748_2.png) [@kylem](https://forums.percona.com/u/kylem)
#### Post date: [June 17, 2021, 4:42am UTC](https://forums.percona.com/t/how-to-customise-mongod-options-in-operator/10873/3 "2021-06-17T04:42:47Z")

</div>

It seems like the functionality I am trying to use has not been released yet. I am working from the Github repo which has confguration options available for the replica set, which seems to have been added here, however it is not working for me [K8SPSMDB-173: add mongod custom configuration via ConfigMaps by ollevche · Pull Request #671 · percona/percona-server-mongodb-operator · GitHub](https://github.com/percona/percona-server-mongodb-operator/pull/671/files)

I am guess I will need to use release 1.9.0 of the operator rather than 1.8.0. When will this version be released?

Thank you

---

<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: [June 21, 2021, 8:04am UTC](https://forums.percona.com/t/how-to-customise-mongod-options-in-operator/10873/4 "2021-06-21T08:04:58Z")

</div>

Hello @kylem ,

you are correct, it will be added to 1.9.0.  
The release will be at the beginning of July.

---

<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 12, 2021, 10:32am UTC](https://forums.percona.com/t/how-to-customise-mongod-options-in-operator/10873/5 "2021-07-12T10:32:32Z")

</div>

@kylem 1.9.0 was released. Please let me know if the issue is resolved now.

---

<div class="post-metadata">

### Author: ![kylem](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/kylem/32/3748_2.png) [@kylem](https://forums.percona.com/u/kylem)
#### Post date: [July 12, 2021, 8:39pm UTC](https://forums.percona.com/t/how-to-customise-mongod-options-in-operator/10873/6 "2021-07-12T20:39:30Z")

</div>

Hi @Sergey_Pronin - yes, configuration of mongod works great after the latest release.

Cheers
