Skip to content

Commit

Permalink
Load configserver only in production and move refreshable prod proper…
Browse files Browse the repository at this point in the history
…ties to wahlrecht-prod
  • Loading branch information
2martens committed Aug 16, 2023
1 parent e88d98e commit 499c85a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions module-deploy/k8s/prod/application-prod.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions module-server/src/main/resources/application-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
spring:
config:
import:
- "classpath:config/wahlrecht.yaml"
- "optional:configserver:http://configserver:8888/config"
2 changes: 2 additions & 0 deletions module-server/src/main/resources/config/wahlrecht-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
de.twomartens.wahlrecht:
greeting: "Moin %s"

0 comments on commit 499c85a

Please sign in to comment.