Merge pull request #11 from 3dwardch3ng/develop

release
This commit is contained in:
2024-08-30 17:14:39 +10:00
committed by GitHub
3 changed files with 4 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
</parent> </parent>
<artifactId>ec-config-server</artifactId> <artifactId>ec-config-server</artifactId>
<version>1.0.2</version> <version>1.0.3-SNAPSHOT</version>
<licenses> <licenses>
<license> <license>

View File

@@ -3,7 +3,7 @@
if test "${SPRING_PROFILES_ACTIVE}" != ''; if test "${SPRING_PROFILES_ACTIVE}" != '';
then then
echo "spring active profile is "$SPRING_PROFILES_ACTIVE echo "spring active profile is "$SPRING_PROFILES_ACTIVE
JAVA_OPTIONS="$JAVA_OPTIONS -Dspring.profiles.active=cloud,native,$SPRING_PROFILES_ACTIVE" JAVA_OPTIONS="$JAVA_OPTIONS -Dspring.profiles.active=native,$SPRING_PROFILES_ACTIVE"
fi fi
if test "${LOCAL_DOCKER_ENV}" = 'true'; if test "${LOCAL_DOCKER_ENV}" = 'true';

View File

@@ -1,7 +1,9 @@
spring: spring:
cloud: cloud:
kubernetes: kubernetes:
enabled: true
discovery: discovery:
enabled: true
all-namespaces: false all-namespaces: false
service-labels: service-labels:
spring-boot: true spring-boot: true