Basic usage¶
For create database, user and secret create Odyssey resource.
Basic manifest may contain only maxConnections field.
The password can be specified in the password field.
Otherwise, it will be generated automatically.
| odyssey.yaml | |
|---|---|
1 2 3 4 5 6 7 | |
Melete will create a new database and user named default.my-service in the postgres cluster.
Melete will then create a secret called my-service-odyssey with the following fields:
DB_HOSTDB_PORTDB_NAMEDB_USERNAMEDB_PASSWORD
For information about additional fields see Odyssey.