diff --git a/pom.xml b/pom.xml
index c57dac4..9bd5804 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
ec-config-server
- 1.0.2
+ 1.0.3-SNAPSHOT
diff --git a/script/entrypoint.sh b/script/entrypoint.sh
index af05428..9601404 100644
--- a/script/entrypoint.sh
+++ b/script/entrypoint.sh
@@ -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';
diff --git a/src/main/resources/application-k3s-cluster.yml b/src/main/resources/application-k3s.yml
similarity index 71%
rename from src/main/resources/application-k3s-cluster.yml
rename to src/main/resources/application-k3s.yml
index 9390a3c..2538b2a 100644
--- a/src/main/resources/application-k3s-cluster.yml
+++ b/src/main/resources/application-k3s.yml
@@ -1,7 +1,9 @@
spring:
cloud:
kubernetes:
+ enabled: true
discovery:
+ enabled: true
all-namespaces: false
service-labels:
spring-boot: true