Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
fix: add dekorate env for Spring active profile
Browse files Browse the repository at this point in the history
  • Loading branch information
metacosm committed Sep 5, 2019
1 parent f712d5d commit e042c07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ spring.datasource.password=${DB_PASSWORD}
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.hibernate.ddl-auto=create
dekorate.component.exposeService=true
dekorate.component.name={{.OutDir}}
dekorate.component.name={{.OutDir}}
dekorate.component.envs[0].name=SPRING_PROFILES_ACTIVE
dekorate.component.envs[0].value=kubernetes
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ spring.datasource.password=${DB_PASSWORD}
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.hibernate.ddl-auto=create
dekorate.component.exposeService=true
dekorate.component.name={{.OutDir}}
dekorate.component.name={{.OutDir}}
dekorate.component.envs[0].name=SPRING_PROFILES_ACTIVE
dekorate.component.envs[0].value=kubernetes

0 comments on commit e042c07

Please sign in to comment.