update config properties
This commit is contained in:
10
src/main/resources/application-k3s-cluster.yml
Normal file
10
src/main/resources/application-k3s-cluster.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
spring:
|
||||
cloud:
|
||||
kubernetes:
|
||||
discovery:
|
||||
all-namespaces: false
|
||||
service-labels:
|
||||
spring-boot: true
|
||||
eureka:
|
||||
client:
|
||||
enabled: false
|
||||
@@ -10,25 +10,26 @@ management:
|
||||
env:
|
||||
post:
|
||||
enabled: true
|
||||
logfile:
|
||||
external-file: '/app/log/${spring.application.name}.log'
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
health:
|
||||
show-details: always
|
||||
|
||||
logging:
|
||||
file:
|
||||
name: '/app/log/${spring.application.name}.log'
|
||||
|
||||
spring:
|
||||
profiles:
|
||||
active: native
|
||||
cloud:
|
||||
kubernetes:
|
||||
discovery:
|
||||
enabled: false
|
||||
all-namespaces: false
|
||||
service-labels:
|
||||
spring-boot: true
|
||||
enabled: false
|
||||
config:
|
||||
server:
|
||||
git:
|
||||
uri: file://opt/config
|
||||
native:
|
||||
search-locations: ${CONFIG_NATIVE_SEARCH_LOCATION:/opt/config}
|
||||
health:
|
||||
enabled: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user