From 1bf67826463eceef7974bfc6204279e0cc8dc61d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Andreas=20S=C3=B8rs=C3=A6ther?= Date: Fri, 5 Jul 2024 10:57:52 +0200 Subject: [PATCH] Oppgrader til postgres 15 i dev --- .nais/dev.yml | 1 + .nais/nais.yml | 2 +- .nais/prod.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.nais/dev.yml b/.nais/dev.yml index 70f3de11..51153c8e 100644 --- a/.nais/dev.yml +++ b/.nais/dev.yml @@ -15,3 +15,4 @@ db-tier: db-f1-micro memory-limit: 3000Mi memory-requests: 1000Mi unleash-environment: development +postgres-version: POSTGRES_15 diff --git a/.nais/nais.yml b/.nais/nais.yml index 400e4c72..2097bdec 100644 --- a/.nais/nais.yml +++ b/.nais/nais.yml @@ -62,7 +62,7 @@ spec: leaderElection: true gcp: sqlInstances: - - type: POSTGRES_11 + - type: {{postgres-version}} tier: {{db-tier}} databases: - name: tiltak-refusjon diff --git a/.nais/prod.yml b/.nais/prod.yml index 1c657c69..1158dcf9 100644 --- a/.nais/prod.yml +++ b/.nais/prod.yml @@ -15,3 +15,4 @@ db-tier: db-custom-2-7680 memory-limit: 6000Mi memory-requests: 4000Mi unleash-environment: production +postgres-version: POSTGRES_11