Skip to content

Commit

Permalink
Update PostgreSQL configuration in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ppawlowski committed Feb 5, 2024
1 parent a72b2d9 commit eae694d
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions helm/flowforge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,24 +187,21 @@ editors:
name: editors
```
### Postgresql
- `postgresql.host` - the hostname of an external PostgreSQL database (default not set)
- `postgresql.port` - the port of an external PostgreSQL database (default `5432`)
- `postgresql.ssl` - sets the connection to the database to use SSL/TLS (default `false`)
- `postgresql.auth.username` - the username to use to connect to the database (default `forge`)
- `postgresql.auth.password` - the password to use to connect to the database (default `Zai1Wied`)
- `postgresql.auth.database` - the database to use (default `flowforge`)
- `postgresql.auth.postgresPassword` - the password to use for the postgres user (default `Moomiet0`)
- `postgresql.auth.existingSecret` - the name of an Kubernetes secret object, within same namespace, with database credentials (default not set)

Note: External secret must contain the following keys:
- `password` - the password to use to connect to the database (equivalent to `postgresql.auth.password` key)
- `postgress-password` - the password to use for the postgres user (equivalent to `postgresql.auth.postgresPassword` key)

Example for creating a external secret via `kubectl`:
```bash
kubectl create secret generic database-credentials --from-literal=postgress-password=rootPassword --from-literal=password=applicationPassword
```
### Postgresql
- `postgresql.host` - the hostname of an external PostgreSQL database (default not set)
- `postgresql.port` - the port of an external PostgreSQL database (default `5432`)
- `postgresql.ssl` - sets the connection to the database to use SSL/TLS (default `false`)
- `postgresql.auth.username` - the username to use to connect to the database (default `forge`)
- `postgresql.auth.password` - the password to use to connect to the database (default `Zai1Wied`)
- `postgresql.auth.database` - the database to use (default `flowforge`)
- `postgresql.auth.postgresPassword` - the password to use for the postgres user (default `Moomiet0`)
- `postgresql.auth.existingSecret` - the name of an Kubernetes secret object with database credentials (If `postgresql.auth.existingSecret` is set, `postgresql.auth.password` and `postgresql.auth.postgresPassword` values are ignored; default not set)


Note: External secret must contain following keys:
- `password` - the password to use to connect to the database (equivalent to `postgresql.auth.password` key)
- `postgress-password` - the password to use for the postgres user (equivalent to `postgresql.auth.postgresPassword` key)


### Liveness, readiness and startup probes

Expand Down

0 comments on commit eae694d

Please sign in to comment.