...
property | value to be set | remark | Default value in chart |
---|---|---|---|
| The name of the secret containing the mongodb connection string. | Opaqe secret with key The connection string contains the username and password of the mongodb user to use. |
|
| false | Deactivates the deployment of mongodb in the cluster. | true |
| 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 |
| 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 propertymongodbConnectionSecretName
.Replace
<mongodb connection string>
with the Mongodb connection string