Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

property

value to be set

remark

Default value in chart

global.mongodbConnectionSecretName

The name of the secret containing the mongodb connection string.

Opaqe secret with key connection-string in the data section.

The connection string contains the username and password of the mongodb user to use.

<release name>-mongodb-connection-secret

mongodb.enabled

false

Deactivates the deployment of mongodb in the cluster.

true

platform.useShortDBNames

true

Mongo Atlas limits the length of data base names to 38 bytes (instead of 63). Therefore this flag must be true if Mongo Atlas DB is used.

false

platform.useShortMwhIds

true

Mongo Atlas limits the length of collections. Therefor this flag must be set to true Mongo Atlas DB is used.

false

To create the secret for the mongdb connection string, you can use this command:

Code Block
kubectl create secret generic <mongodbConnectionSecretName> --from-literal=connection-string=<mongodb connection string> -n smartfacts
  • Replace <mongodbConnectionSecretName>with the name of the secret you have set in the values file, or <release name>-mongodb-connection-secret if you did not set the property mongodbConnectionSecretName.

  • Replace <mongodb connection string> with the Mongodb connection string