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