Skip to content

Commit

Permalink
change/gcp-postgres-15 (#3611)
Browse files Browse the repository at this point in the history
Bump GCP PSQL to POSTGRES_15.
  • Loading branch information
rfc3092 authored Sep 10, 2024
1 parent 81e9387 commit 3ffd91b
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 49 deletions.
2 changes: 1 addition & 1 deletion apps/app-tilgang-analyse-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- host: api.github.com
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: testnav-app-tilgang-analyse-service-db
Expand Down
2 changes: 1 addition & 1 deletion apps/brreg-stub/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spring:
database:
enabled: false
datasource:
url: jdbc:tc:postgresql:12:///test_database
url: jdbc:tc:postgresql:15:///test_database
username: user
password: password
jpa:
Expand Down
2 changes: 1 addition & 1 deletion apps/bruker-service/config.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
max: 1
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: testnav-bruker-service-dev-db
Expand Down
2 changes: 1 addition & 1 deletion apps/bruker-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
path: /internal/metrics
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: testnav-bruker-service-db
Expand Down
2 changes: 1 addition & 1 deletion apps/dolly-backend/config.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ spec:
memory: 2048Mi
gcp:
sqlInstances:
- type: POSTGRES_14
- type: POSTGRES_15
tier: db-custom-1-3840
name: testnav-dolly-backend-dev
databases:
Expand Down
2 changes: 1 addition & 1 deletion apps/dolly-backend/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spec:
memory: 8192Mi
gcp:
sqlInstances:
- type: POSTGRES_14
- type: POSTGRES_15
tier: db-custom-2-7680
name: testnav-dolly-backend
databases:
Expand Down
4 changes: 2 additions & 2 deletions apps/dolly-backend/src/test/resources/application-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ spring:
enabled: false
datasource:
type: org.springframework.jdbc.datasource.SimpleDriverDataSource
url: jdbc:tc:postgresql:14.4:///dollyDB?TC_REUSABLE=true # 14.4 er versjon p.t. i dev-gcp.
url: jdbc:tc:postgresql:15:///dollyDB?TC_REUSABLE=true
username: user
password: pass
flyway:
enabled: true
url: jdbc:tc:postgresql:14.4:///dollyDB?TC_REUSABLE=true # 14.4 er versjon p.t. i dev-gcp.
url: jdbc:tc:postgresql:15:///dollyDB?TC_REUSABLE=true
user: user
password: pass
2 changes: 1 addition & 1 deletion apps/generer-organisasjon-populasjon-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
- application: testnav-orgnummer-service
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: testnav-generer-organisasjon-populasjon-db
Expand Down
2 changes: 1 addition & 1 deletion apps/inntektsmelding-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- host: testnav-inntektsmelding-generator-service.intern.dev.nav.no
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: testnav-inntektsmelding-service-db
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion apps/organisasjon-bestilling-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
- host: testnorge-batch-adeo-proxy.dev-fss-pub.nais.io
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: organisasjon-bestilling-db
Expand Down
2 changes: 1 addition & 1 deletion apps/organisasjon-faste-data-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
cluster: dev-gcp
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: testnav-organisasjon-faste-data-db
Expand Down
2 changes: 1 addition & 1 deletion apps/organisasjon-forvalter/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
- application: testnav-tps-messaging-service
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: organisasjon-forvalter-db
Expand Down
2 changes: 1 addition & 1 deletion apps/orgnummer-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
- "https://testnav-orgnummer-service.intern.dev.nav.no"
gcp:
sqlInstances:
- type: POSTGRES_14
- type: POSTGRES_15
tier: db-custom-1-3840
name: testnav-orgnummer-pool
databases:
Expand Down
2 changes: 1 addition & 1 deletion apps/pdl-forvalter/config.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ spec:
- host: testnav-pdl-proxy.dev-fss-pub.nais.io
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: testnav-pdl-forvalter-dev-db
2 changes: 1 addition & 1 deletion apps/pdl-forvalter/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
- host: testnav-pdl-proxy.dev-fss-pub.nais.io
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: testnav-pdl-forvalter-db
2 changes: 1 addition & 1 deletion apps/person-faste-data-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
cluster: dev-fss
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: testnav-person-faste-data-db
Expand Down
2 changes: 1 addition & 1 deletion apps/testnav-ident-pool/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
cluster: dev-gcp
gcp:
sqlInstances:
- type: POSTGRES_14
- type: POSTGRES_15
tier: db-custom-1-3840
name: testnav-identpool
databases:
Expand Down
2 changes: 1 addition & 1 deletion apps/udi-stub/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spring:
token: "test"
enabled: false
datasource:
url: jdbc:tc:postgresql:14.4:///test?TC_REUSABLE=true # 14.4 er versjon p.t. i dev-gcp.
url: jdbc:tc:postgresql:15:///test?TC_REUSABLE=true
username: user
password: pass
jpa:
Expand Down
2 changes: 1 addition & 1 deletion apps/varslinger-service/config.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
tenant: nav.no
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: testnav-varslinger-db-dev
Expand Down
2 changes: 1 addition & 1 deletion apps/varslinger-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
tenant: nav.no
gcp:
sqlInstances:
- type: POSTGRES_12
- type: POSTGRES_15
tier: db-custom-1-3840
databases:
- name: testnav-varslinger-db
Expand Down

0 comments on commit 3ffd91b

Please sign in to comment.