The dbos-secrets chart
Description
This chart creates the secrets to store sensible data into Secret objects. It contains:
the 'pullers' to fetch the docker images
the passwords to connect to every Optimization Server application component.
WARNING: for production usage, all the default passwords should be overridden!
The chart supports an "auto" keyword to let Helm generate a random 32 characters length password.
Example: values.yaml
keycloak:
adminPassword: auto Configuration
Pullers
Configure your image puller:
pullers:
- name: product-dbos-prod-docker-group.decisionbrain.cloud/dbos-secret # do not change this.
dockerconfigjson: XXXXX
- name: product-dbos-cplex-prod-docker-group.decisionbrain.cloud/dbos-secret # if you have purchased a Cplex license
dockerconfigjson: XXXXXWhere 'XXXXX' is the token you have been given to access the DecisionBrain's docker repositories.
RabbitMQ
Secret name: rabbitmq
| Parameter | Secret key | Description | Default value |
|---|---|---|---|
| rabbitmq.enabled | - | True if RabbitMQ is installed with dbos-infra | true |
| rabbitmq.rootUsername | rabbitmq-root-password | The password of the root user | rabbit-r00t-us3rn4m3 |
| rabbitmq.rootPassword | rabbitmq-root-username | The username of the root user | rabbit-r00t-p4ssw0rd |
Keycloak
Secret name: keycloak
| Parameter | Secret key | Description | Default value |
|---|---|---|---|
| keycloak.enabled | - | True if Keycloak is installed with dbos-infra | true |
| keycloak.adminPassword | keycloak-admin-password | The password of the admin user | keycloak-r00t-us3rn4m3 |
| keycloak.adminUsername | keycloak-admin-username | The username of the admin user | keycloak-r00t-p4ssw0rd |
MongoDB
Secret name: mongo
| Parameter | Secret key | Description | Default value |
|---|---|---|---|
| mongo.enabled | - | True if MongoDB is installed with dbos-infra | true |
| mongo.rootUsername | mongo-initdb-root-username | The username of the root user | mongo-r00t-us3rn4m3 |
| mongo.rootPassword | mongo-initdb-root-password | The password of the root user | mongo-r00t-p4ssw0rd |
| mongo.databases.dbos.database | mongodb-dbos-database | The name of the dbos database | optimserver-master-db |
| mongo.databases.dbos.username | mongodb-dbos-username | The username to connect to the dbos database | optimserver |
| mongo.databases.dbos.password | mongodb-dbos-password | The password to connect to the dbos database | optimserver |
The chart can also create other database connection parameters. the dbos database is defined in the values.yaml with:
mongo:
databases:
dbos:
database: optimserver-master-db
username: optimserver
password: optimserverBut 2 different databases could be created with:
mongo:
databases:
dbos:
database: optimserver-master-db
username: optimserver
password: optimserver
myotherdb:
database: myotherdbname
username: myotherdbusername
password: myotherdbpasswordthe dbos-infra chart references The 'mongo' secret when it installs MongoDB and creates the databases.
PostGres
Secret name: postgres
| Parameter | Secret key | Description | Default value |
|---|---|---|---|
| postgres.enabled | - | True if PostGres is installed with dbos-infra | true |
| postgres.rootUsername | postgres-admin-username | The username of the admin user | postgres-r00t-us3rn4m3 |
| postgres.rootPassword | postgres-admin-password | The password of the admin user | postgres-r00t-p4ssw0rd |
| postgres.databases.keycloak.database | postgres-keycloak-database | The name of the keycloak database | keycloak |
| postgres.databases.keycloak.username | postgres-keycloak-username | The username to connect to the keycloak database | keycloak |
| postgres.databases.keycloak.password | postgres-keycloak-password | The password to connect to the keycloak database | keycloak |
The chart can also create other database connection parameters. the keycloak database is defined in the values.yaml with:
postgres:
databases:
keycloak:
database: keycloak
username: keycloak
password: keycloakBut 2 different databases could be created with:
postgres:
databases:
keycloak:
database: keycloak
username: keycloak
password: keycloak
myotherdb:
database: myotherdbname
username: myotherdbusername
password: myotherdbpasswordthe dbos-infra chart references The 'postgres' secret when it installs Postgres and creates the databases.
Deployment
First installation
Use the command:
helm install dbos-secrets ./dbos-secrets -f values.yamlOr
helm install dbos-secrets decisionbrain/dbos-secrets --version 4.4.0 -f values.yamlIf you added the DecisionBrain Helm registry
Update
WARNING: you must NOT update this chart using auto generated passwords. This would erase the existing passwords and break the installation environment.
Use the command:
helm upgrade dbos-secrets ./dbos-secrets -f values.yamlOr
helm upgrade dbos-secrets decisionbrain/dbos-secrets --version 4.4.0 -f values.yamlIf you added the DecisionBrain Helm registry