diff --git a/crates/cuddle-clusters/src/catalog/postgres_database.rs b/crates/cuddle-clusters/src/catalog/postgres_database.rs index 0d22ea5..a1319a7 100644 --- a/crates/cuddle-clusters/src/catalog/postgres_database.rs +++ b/crates/cuddle-clusters/src/catalog/postgres_database.rs @@ -101,7 +101,7 @@ metadata: data: DATABASE_TYPE: postgresql DATABASE_HOST: {{ environment }}.postgresql.kjuulh.app - DATABASE_PORT: {{ port }} + DATABASE_PORT: "{{ port }}" DATABASE_USER: {{ vars.cuddle_vars.service | replace("-", "_") }} DATABASE_DB: {{ vars.cuddle_vars.service | replace("-", "_") }} diff --git a/crates/cuddle-clusters/tests/with_postgres_database/expected/dev/cuddle-postgres.yaml b/crates/cuddle-clusters/tests/with_postgres_database/expected/dev/cuddle-postgres.yaml index dbef0ec..15f6ec4 100644 --- a/crates/cuddle-clusters/tests/with_postgres_database/expected/dev/cuddle-postgres.yaml +++ b/crates/cuddle-clusters/tests/with_postgres_database/expected/dev/cuddle-postgres.yaml @@ -7,6 +7,6 @@ metadata: data: DATABASE_TYPE: postgresql DATABASE_HOST: dev.postgresql.kjuulh.app - DATABASE_PORT: 5433 + DATABASE_PORT: "5433" DATABASE_USER: service DATABASE_DB: service