-
-
Save marcguilera/b73e2b0d9b5367ac1da7c0e10a7e2f4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
spring: | |
application: | |
name: service | |
cloud: | |
kubernetes: | |
config: | |
enabled: false | |
kubernetes: | |
enabled: true | |
namespace: platform | |
configmap: ${spring.application.name}-config | |
--- | |
spring: | |
config: | |
activate: | |
on-profile: kubernetes | |
cloud: | |
kubernetes: | |
reload: | |
enabled: ${kubernetes.enabled} | |
config: | |
enabled: ${kubernetes.enabled} | |
namespace: ${kubernetes.namespace} | |
useNameAsPrefix: false | |
includeProfileSpecificSources: false | |
name: ${kubernetes.configmap} | |
# also tried with sources array |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment