Closed revolunet closed 3 years ago
make it straightforwad to integrate the default PG management :
in components/pg.ts :
components/pg.ts
if (env.env === "dev") { // create ephemeral database and related secret return createDatabaseAndSecret({ env }); } else { // attach an existing GIT-versionned preprod or prod secret return createDatabaseSecretFromYaml( `env/${env.env}/pg-user.sealed-secret.yaml` ); }
fixed in with a simpler API https://github.com/SocialGouv/kosko-charts/releases/tag/v9.0.0
make it straightforwad to integrate the default PG management :
in
components/pg.ts
: