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>
<artifactId>ec-config-server</artifactId>
<version>1.0.2</version>
<version>1.0.3-SNAPSHOT</version>
<licenses>
<license>

View File

@@ -3,7 +3,7 @@
if test "${SPRING_PROFILES_ACTIVE}" != '';
then
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
if test "${LOCAL_DOCKER_ENV}" = 'true';

View File

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