Skip to content

Commit a3118e7

Browse files
authored
Merge pull request #133 from navikt/db-mod
Upgrade Postgres in dev.
2 parents 3159ec3 + c2da78f commit a3118e7

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

deploy/dev.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ ingresses:
22
- https://kabal-smart-editor-api.intern.dev.nav.no
33
externalHosts:
44
springProfile: dev-gcp
5-
db_tier: db-custom-1-3840
5+
db_tier: db-f1-micro
66
db_size: 10
7-
db_ha: true
7+
db_ha: false
8+
db_type: POSTGRES_15
89
tenant: trygdeetaten.no
910

1011
envs:

deploy/nais.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
image: {{image}}
1313
gcp:
1414
sqlInstances:
15-
- type: POSTGRES_12
15+
- type: {{db_type}}
1616
maintenanceWindow:
1717
day: 1
1818
hour: 3

deploy/prod.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ springProfile: prod-gcp
55
db_tier: db-custom-4-15360
66
db_size: 10
77
db_ha: true
8+
db_type: POSTGRES_12
89
tenant: nav.no
910

1011
envs:
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
spring:
2+
datasource:
3+
hikari:
4+
maximum-pool-size: 5

src/test/kotlin/no/nav/klage/document/repositories/TestPostgresqlContainer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class TestPostgresqlContainer private constructor() :
66
PostgreSQLContainer<TestPostgresqlContainer?>(IMAGE_VERSION) {
77

88
companion object {
9-
private const val IMAGE_VERSION = "postgres:12.6"
9+
private const val IMAGE_VERSION = "postgres:15.4"
1010

1111
private val CONTAINER: TestPostgresqlContainer = TestPostgresqlContainer()
1212

0 commit comments

Comments
 (0)