From a8e8c3062f297f793d014d9d2ff2f26f6020cbd1 Mon Sep 17 00:00:00 2001 From: Santi Lertsumran Date: Fri, 13 Sep 2024 13:56:56 +0700 Subject: [PATCH] ci: add config port postgres --- infra/app.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infra/app.scala b/infra/app.scala index d53b0df..22e62dd 100644 --- a/infra/app.scala +++ b/infra/app.scala @@ -71,6 +71,8 @@ object AppDeployment: val appNamespace = Namespace(name) + val postgresPort = args.postgresArgs.port + val containerPort = args.appArgs.containerPort val servicePort = args.appArgs.servicePort val ingressHost = args.appArgs.host @@ -101,6 +103,7 @@ object AppDeployment: | databases: | - crappy | postgresVersion: 16 + | port: ${postgresPort} | instances: | - name: "pgha1" | replicas: 2