Fix typo error. Remove dependency about spring-cloud-kubernetes-core as the starter will import it. Add enricher configuration to get rid of the 24 chars limit
<artifactId>spring-cloud-kubernetes-example-reload</artifactId>
- <name>Spring Cloud Kubernetes :: Examples :: Reload</name>
- <description>Example demostrating how to use the configuration reload feature.</description>
+ <name>Spring Cloud Kubernetes :: Examples :: Reload ConfigMap</name>
+ <description>Example demonstrating how to use the configuration reload feature.</description>
<dependencyManagement>
<dependencies>
<dependencies>
<dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-kubernetes-core</artifactId>
- <version>${project.version}</version>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter</artifactId>
</dependency>
-
<dependency>
<groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter</artifactId>
+ <artifactId>spring-boot-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-kubernetes-config</artifactId>
+ <version>${project.version}</version>
</dependency>
<dependency>
</goals>
</execution>
</executions>
+ <configuration>
+ <enricher>
+ <config>
+ <fmp-controller>
+ <name>spring-cloud-reload</name>
+ </fmp-controller>
+ <fmp-service>
+ <name>spring-cloud-reload</name>
+ </fmp-service>
+ </config>
+ </enricher>
+ </configuration>
</plugin>
</plugins>
</build>
