fix: pin chart to exact latest version at provision time, fix health check URL
Some checks failed
Build & Release / build (push) Has been cancelled

This commit is contained in:
Ryan Moon
2026-04-03 21:13:52 -05:00
parent 1910a18699
commit d0f520ee02
3 changed files with 25 additions and 7 deletions

View File

@@ -140,7 +140,7 @@ export async function customerRoutes(app: FastifyInstance) {
await createCustomerDnsRecord(slug);
await setStep("dns", "done");
addCustomerChart(slug, body.appVersion);
await addCustomerChart(slug, body.appVersion);
await setStep("chart", "done");
await db`UPDATE customers SET status = 'provisioned', updated_at = NOW() WHERE slug = ${slug}`;
@@ -299,7 +299,7 @@ export async function customerRoutes(app: FastifyInstance) {
const dbUrl = new URL(secrets["database-url"]);
await addCustomerToPool(slug, dbUrl.password);
addCustomerChart(slug, "*");
await addCustomerChart(slug, "*");
await db`UPDATE customers SET status = 'provisioned', updated_at = NOW() WHERE slug = ${slug}`;
app.log.info({ slug }, "customer reactivated");
return reply.code(200).send({ slug, status: "provisioned" });