Skip to content

Commit b8a56e9

Browse files
committed
Disbale spring-cloud-bindings when building images
It is not compatible with spring boot 4
1 parent 4657841 commit b8a56e9

File tree

2 files changed

+8
-0
lines changed
  • spring-cloud-kubernetes-controllers
  • spring-cloud-kubernetes-integration-tests

2 files changed

+8
-0
lines changed

spring-cloud-kubernetes-controllers/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
<artifactId>spring-boot-maven-plugin</artifactId>
2828
<configuration>
2929
<image>
30+
<env>
31+
<BP_SPRING_CLOUD_BINDINGS_DISABLED>true</BP_SPRING_CLOUD_BINDINGS_DISABLED>
32+
</env>
3033
<name>${env.IMAGE}</name>
3134
<pullPolicy>IF_NOT_PRESENT</pullPolicy>
3235
</image>

spring-cloud-kubernetes-integration-tests/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
<groupId>org.springframework.boot</groupId>
3434
<artifactId>spring-boot-maven-plugin</artifactId>
3535
<configuration>
36+
<image>
37+
<env>
38+
<BP_SPRING_CLOUD_BINDINGS_DISABLED>true</BP_SPRING_CLOUD_BINDINGS_DISABLED>
39+
</env>
40+
</image>
3641
<imageName>docker.io/springcloud/${project.artifactId}:${project.version}</imageName>
3742
</configuration>
3843
<executions>

0 commit comments

Comments
 (0)