Skip to content

Commit ce6e5e0

Browse files
committed
Just use the klass db user
1 parent 678f95e commit ce6e5e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.nais/test/klass-forvaltning.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
- name: SPRING_PROFILES_ACTIVE
2626
value: frontend, postgres, small-import, skip-indexing, ad-offline, embedded-solr
2727
envFrom:
28-
- secret: google-sql-klass-klass-klass-forvaltning-2cf28af1
28+
- secret: google-sql-klass
2929
filesFrom:
3030
- mountPath: /var/run/secrets/nais.io/sqlcertificate
3131
secret: sqeletor-klass-827ec8ec

klass-forvaltning/src/main/resources/application-postgres.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# custom properties used when "postgres" Profile is used
2-
spring.datasource.url=${NAIS_DATABASE_KLASS_FORVALTNING_KLASS_JDBC_URL}
2+
spring.datasource.url=${NAIS_DATABASE_KLASS_KLASS_JDBC_URL}
33
spring.datasource.driver-class-name=org.postgresql.Driver
44
flyway.enabled=false
55
spring.jpa.hibernate.ddl-auto=none

0 commit comments

Comments
 (0)