SocialGouv / kosko-charts

The Social Gouv Kosko Charts
http://socialgouv.github.io/kosko-charts
Apache License 2.0
9 stars 2 forks source link

fix: PG API #451

Closed revolunet closed 3 years ago

revolunet commented 3 years ago

make it straightforwad to integrate the default PG management :

in 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`
  );
}
revolunet commented 3 years ago

fixed in with a simpler API https://github.com/SocialGouv/kosko-charts/releases/tag/v9.0.0