diff --git a/README.adoc b/README.adoc
index 75986993..ee7640f4 100644
--- a/README.adoc
+++ b/README.adoc
@@ -7,7 +7,7 @@
Spring Cloud Kubernetes provide Spring Cloud common interfaces implementations to consume Kubernetes native services.
The main objective of the projects provided in this repository is to facilitate the integration of Spring Cloud/Spring Boot applications running inside Kubernetes.
-== DiscoveryClient for Kubernetes
+= DiscoveryClient for Kubernetes
This project provides an implementation of https://github.com/spring-cloud/spring-cloud-commons/blob/master/spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/DiscoveryClient.java[Discovery Client]
for http://kubernetes.io[Kubernetes].
@@ -18,17 +18,16 @@ to fetch the list of the endpoints defined for an application to be load balance
This is something that you get for free just by adding the following dependency inside your project:
-```xml
+[source,xml]
org.springframework.cloud
spring-cloud-starter-kubernetes
${latest.version}
-```
To enable loading of the `DiscoveryClient`, add `@EnableDiscoveryClient` to the according configuration or application class like this:
-```java
+[source,java]
@SpringBootApplication
@EnableDiscoveryClient
public class Application {
@@ -36,32 +35,30 @@ public class Application {
SpringApplication.run(Application.class, args);
}
}
-```
Then you can inject the client in your code simply by:
-```java
+[source,java]
@Autowired
private DiscoveryClient discoveryClient;
-```
If for any reason you need to disable the `DiscoveryClient` you can simply set the following property in `application.properties`:
-```
+----
spring.cloud.kubernetes.discovery.enabled=false
-```
+----
Some Spring Cloud components use the `DiscoveryClient` in order to obtain info about the local service instance. For
this to work you need to align the Kubernetes service name with the `spring.application.name` property.
-== Kubernetes PropertySource implementations
+= Kubernetes PropertySource implementations
The most common approach to configure your Spring Boot application is to create an `application.properties|yaml` or
an `application-profile.properties|yaml` file containing key-value pairs providing customization values to your
application or Spring Boot starters. Users may override these properties by specifying system properties or environment
variables.
-=== ConfigMap PropertySource
+== ConfigMap PropertySource
Kubernetes provides a resource named http://kubernetes.io/docs/user-guide/configmap/[ConfigMap] to externalize the
parameters to pass to your application in the form of key-value pairs or embedded `application.properties|yaml` files.
@@ -77,7 +74,7 @@ However, more advanced configuration are possible where multiple ConfigMaps can
This is made possible by the `spring.cloud.kubernetes.config.sources` list.
For example one could define the following ConfigMaps
-```yaml
+[source,yaml]
spring:
application:
name: cloud-k8s-app
@@ -94,7 +91,6 @@ spring:
# Spring Cloud Kubernetes will lookup a ConfigMap named c3 in namespace n3
- namespace: n3
name: c3
-```
In the example above, it `spring.cloud.kubernetes.config.namespace` had not been set,
then the ConfigMap named `c1` would be looked up in the namespace that the application runs
@@ -122,7 +118,7 @@ configuration.
This can be externalized to config map in `yaml` format:
-```yaml
+[source,yaml]
kind: ConfigMap
apiVersion: v1
metadata:
@@ -130,12 +126,11 @@ metadata:
data:
pool.size.core: 1
pool.size.max: 16
-```
Individual properties work fine for most cases but sometimes embedded `yaml` is more convenient. In this case we will
use a single property named `application.yaml` to embed our `yaml`:
- ```yaml
+[source,yaml]
kind: ConfigMap
apiVersion: v1
metadata:
@@ -146,11 +141,10 @@ data:
size:
core: 1
max:16
-```
The following also works:
- ```yaml
+[source,yaml]
kind: ConfigMap
apiVersion: v1
metadata:
@@ -161,14 +155,13 @@ data:
size:
core: 1
max:16
-```
Spring Boot applications can also be configured differently depending on active profiles which will be merged together
when the ConfigMap is read. It is possible to provide different property values for different profiles using an
`application.properties|yaml` property, specifying profile-specific values each in their own document
(indicated by the `---` sequence) as follows:
-```yaml
+[source,yaml]
kind: ConfigMap
apiVersion: v1
metadata:
@@ -191,22 +184,20 @@ data:
profiles: production
greeting:
message: Say Hello to the Ops
-```
In the above case, the configuration loaded into your Spring Application with the `development` profile will be:
-```yaml
+[source,yaml]
greeting:
message: Say Hello to the Developers
farewell:
message: Say Goodbye to the Developers
-```
+
whereas if the `production` profile is active, the configuration will be:
-```yaml
+[source,yaml]
greeting:
message: Say Hello to the Ops
farewell:
message: Say Goodbye
-```
If both profiles are active, the property which appears last within the configmap will overwrite preceding values.
@@ -215,7 +206,7 @@ To tell to Spring Boot which `profile` should be enabled at bootstrap, a system
command launching your Spring Boot application using an env variable that you will define with the OpenShift
`DeploymentConfig` or Kubernetes `ReplicationConfig` resource file as follows:
-```yaml
+[source,yaml]
apiVersion: v1
kind: DeploymentConfig
spec:
@@ -228,7 +219,6 @@ spec:
value: /deployments
- name: JAVA_OPTIONS
value: -Dspring.profiles.active=developer
-```
**Notes:**
- check the security configuration section, to access config maps from inside a pod you need to have the correct
@@ -245,7 +235,7 @@ Kubernetes service accounts, roles and role bindings.
| spring.cloud.kubernetes.config.enableApi | Boolean | true | Enable/Disable consuming ConfigMaps via APIs
|===
-=== Secrets PropertySource
+== Secrets PropertySource
Kubernetes has the notion of [Secrets](https://kubernetes.io/docs/concepts/configuration/secret/) for storing
sensitive data such as password, OAuth tokens, etc. This project provides integration with `Secrets` to make secrets
@@ -257,8 +247,7 @@ The `SecretsPropertySource` when enabled will lookup Kubernetes for `Secrets` fr
3. matching some labels
Please note that by default, consuming Secrets via API (points 2 and 3 above) **is not enabled** for security reasons
- and it is recommend that containers share secrets via mounted volumes. Otherwise proper RBAC security configurations must be provided
- to make sure that unauthorized access to Secrets occurs.
+ and it is recommend that containers share secrets via mounted volumes.
If the secrets are found their data is made available to the application.
@@ -267,13 +256,13 @@ If the secrets are found their data is made available to the application.
Let's assume that we have a spring boot application named ``demo`` that uses properties to read its database
configuration. We can create a Kubernetes secret using the following command:
-```
+----
oc create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
-```
+----
This would create the following secret (shown using `oc get secrets db-secret -o yaml`):
-```yaml
+[source,yaml]
apiVersion: v1
data:
password: cDQ1NXcwcmQ=
@@ -287,14 +276,12 @@ metadata:
selfLink: /api/v1/namespaces/default/secrets/db-secret
uid: 63c89263-6099-11e7-b3da-76d6186905a8
type: Opaque
-```
-
Note that the data contains Base64-encoded versions of the literal provided by the create command.
This secret can then be used by your application for example by exporting the secret's value as environment variables:
-```yaml
+[source,yaml]
apiVersion: v1
kind: Deployment
metadata:
@@ -314,7 +301,6 @@ spec:
secretKeyRef:
name: db-secret
key: password
-```
You can select the Secrets to consume in a number of ways:
@@ -361,7 +347,7 @@ https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-Configuration-Bi
Example of application using secrets (though it hasn't been updated to use the new `spring-cloud-kubernetes` project):
https://github.com/fabric8-quickstarts/spring-boot-camel-config[spring-boot-camel-config]
-=== PropertySource Reload
+== PropertySource Reload
Some applications may need to detect changes on external property sources and update their internal status to reflect the new configuration.
The reload feature of Spring Cloud Kubernetes is able to trigger an application reload when a related `ConfigMap` or
@@ -382,7 +368,8 @@ Example:
Assuming that the reload feature is enabled with default settings (*`refresh`* mode), the following bean will be refreshed when the config map changes:
-```java
+[source,java]
+----
@Configuration
@ConfigurationProperties(prefix = "bean")
public class MyConfig {
@@ -392,11 +379,12 @@ public class MyConfig {
// getter and setters
}
-```
+----
A way to see that changes effectively happen is creating another bean that prints the message periodically.
-```java
+[source,java]
+----
@Component
public class MyBean {
@@ -408,11 +396,12 @@ public class MyBean {
System.out.println("The message is: " + config.getMessage());
}
}
-```
+----
The message printed by the application can be changed using a `ConfigMap` as follows:
-```yaml
+[source,java]
+----
apiVersion: v1
kind: ConfigMap
metadata:
@@ -420,7 +409,7 @@ metadata:
data:
application.properties: |-
bean.message=Hello World!
-```
+----
Any change to the property named `bean.message` in the `ConfigMap` associated to the pod will be reflected in the
output. More generally speaking, changes associated to properties prefixed with the value defined by the `prefix`
@@ -455,7 +444,7 @@ This means, for example, that using polling on file mounted secret sources does
- Deleting a property or the whole config map does not restore the original state of the beans when using the *refresh* level.
-== Ribbon discovery in Kubernetes
+# Ribbon discovery in Kubernetes
Spring Cloud client applications calling a microservice should be interested on relying on a client load-balancing
@@ -466,20 +455,18 @@ about such endpoints.
The implementation is part of the following starter that you can use by adding its dependency to your pom file:
-```xml
+[source,xml]
org.springframework.cloud
- spring-cloud-starter-kubernetes-ribbon
+ spring-cloud-starter-kubernetes-netflix
${latest.version}
-```
When the list of the endpoints is populated, the Kubernetes client will search the registered endpoints living in
the current namespace/project matching the service name defined using the Ribbon Client annotation:
-```java
+[source,java]
@RibbonClient(name = "name-service")
-```
You can configure Ribbon's behavior by providing properties in your `application.properties` (via your application's
dedicated `ConfigMap`) using the following format: `.ribbon.` where:
@@ -506,7 +493,7 @@ Examples that are using this module for ribbon discovery are:
`spring.cloud.kubernetes.ribbon.enabled=false`.
-== Kubernetes Awareness
+= Kubernetes Awareness
All of the features described above will work equally well regardless of whether your application is running inside
Kubernetes or not. This is really helpful for development and troubleshooting.
@@ -516,13 +503,13 @@ as the code of the project relies on the
[Fabric8 Kubernetes Java client](https://github.com/fabric8io/kubernetes-client) which is a fluent DSL able to
communicate using `http` protocol to the REST API of Kubernetes Server.
-=== Kubernetes Profile Autoconfiguration
+== Kubernetes Profile Autoconfiguration
When the application runs as a pod inside Kubernetes a Spring profile named `kubernetes` will automatically get activated.
This allows the developer to customize the configuration, to define beans that will be applied when the Spring Boot application is deployed
within the Kubernetes platform *(e.g. different dev and prod configuration)*.
-== Pod Health Indicator
+= Pod Health Indicator
Spring Boot uses https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthEndpoint.java[HealthIndicator] to expose info about the health of an application.
That makes it really useful for exposing health related information to the user and are also a good fit for use as https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/[readiness probes].
@@ -533,17 +520,17 @@ The Kubernetes health indicator which is part of the core module exposes the fol
- flag that indicates if the Spring Boot application is internal or external to Kubernetes
-== Leader Election
+= Leader Election
-== Security Configurations inside Kubernetes
+# Security Configurations inside Kubernetes
-=== Namespace
+## Namespace
Most of the components provided in this project need to know the namespace. For Kubernetes (1.3+) the namespace is made available to pod as part of the service account secret and automatically detected by the client.
For earlier version it needs to be specified as an env var to the pod. A quick way to do this is:
-
+[source,yaml]
env:
- name: "KUBERNETES_NAMESPACE"
valueFrom:
@@ -551,46 +538,17 @@ For earlier version it needs to be specified as an env var to the pod. A quick w
fieldPath: "metadata.namespace"
-=== Service Account
+## Service Account
For distros of Kubernetes that support more fine-grained role-based access within the cluster, you need to make sure a pod that runs with spring-cloud-kubernetes has access to the Kubernetes API.
For any service accounts you assign to a deployment/pod, you need to make sure it has the correct roles. For example, you can add `cluster-reader` permissions to your `default` service account depending on the project you're in:
-== Examples
-
-Spring Cloud Kubernetes tries to make it transparent for your applications to consume Kubernetes Native Services
-following the Spring Cloud interfaces.
-
-In your applications, you need to add the **spring-cloud-kubernetes-discovery** dependency to your classpath and remove any other dependency that contains a **DiscoveryClient** implementation (ie. Eureka Discovery Client).
-The same applies for PropertySourceLocator, where you need to add to the classpath the **spring-cloud-kubernetes-config** and remove any other dependency that contains a **PropertySourceLocator** implementation (ie. Config Server Client).
-
-The following projects highlight the usage of these dependencies and demonstrate how these libraries can be used from any Spring Boot application.
+= Examples
List of examples using these projects:
-- https://github.com/spring-cloud/spring-cloud-kubernetes/tree/master/spring-cloud-kubernetes-examples[Spring Cloud Kubernetes Examples]: the ones located inside this repository.
-- Spring Cloud Kubernetes Full Example: Minions and Boss
- - https://github.com/salaboy/spring-cloud-k8s-minion[Minion]
- - https://github.com/salaboy/spring-cloud-k8s-boss[Boss]
-- Spring Cloud Kubernetes Full Example: https://github.com/salaboy/s1p_docs[SpringOne Platform Tickets Service]
-- https://github.com/salaboy/s1p_gateway[Spring Cloud Gateway with Spring Cloud Kubernetes Discovery and Config]
-- https://github.com/salaboy/showcase-admin-tool[Spring Boot Admin with Spring Cloud Kubernetes Discovery and Config]
-
-
-
-
-
-
-== Other Resources
-
-Here you can find other resources such as presentations(slides) and videos about Spring Cloud Kubernetes.
-
-- https://salaboy.com/2018/09/27/the-s1p-experience/[S1P Spring Cloud on PKS]
-- https://salaboy.com/2018/07/18/ljc-july-18-spring-cloud-docker-k8s/[Spring Cloud, Docker, Kubernetes -> London Java Community July 2018]
-
-
-Please feel free to submit other resources via PR to http://github.com/spring-cloud/spring-cloud-kubernetes[this repository].
-
+
+= Other Resources
== Building
diff --git a/docs/pom.xml b/docs/pom.xml
index a85def08..9ebab4d8 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -8,7 +8,7 @@
org.springframework.cloud
spring-cloud-kubernetes
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
pom
Spring Cloud Kubernetes Docs
diff --git a/pom.xml b/pom.xml
index 5f6bb753..f9553412 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,13 +24,13 @@
org.springframework.cloud
spring-cloud-build
- 2.1.0.RC2
+ 2.1.0.BUILD-SNAPSHOT
org.springframework.cloud
spring-cloud-kubernetes
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
pom
Spring Cloud Kubernetes
@@ -60,9 +60,9 @@
- 2.1.0.RC1
- 2.1.0.RC1
- 2.1.0.RC1
+ 2.1.0.BUILD-SNAPSHOT
+ 2.1.0.BUILD-SNAPSHOT
+ 2.1.0.BUILD-SNAPSHOT
3.5
diff --git a/spring-cloud-kubernetes-config/pom.xml b/spring-cloud-kubernetes-config/pom.xml
index 2d2795a9..7fa46484 100644
--- a/spring-cloud-kubernetes-config/pom.xml
+++ b/spring-cloud-kubernetes-config/pom.xml
@@ -5,7 +5,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
4.0.0
diff --git a/spring-cloud-kubernetes-core/pom.xml b/spring-cloud-kubernetes-core/pom.xml
index 381e59cf..94a70683 100644
--- a/spring-cloud-kubernetes-core/pom.xml
+++ b/spring-cloud-kubernetes-core/pom.xml
@@ -22,7 +22,7 @@
org.springframework.cloud
spring-cloud-kubernetes
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
4.0.0
diff --git a/spring-cloud-kubernetes-dependencies/pom.xml b/spring-cloud-kubernetes-dependencies/pom.xml
index 4b298137..87494708 100644
--- a/spring-cloud-kubernetes-dependencies/pom.xml
+++ b/spring-cloud-kubernetes-dependencies/pom.xml
@@ -22,11 +22,11 @@
spring-cloud-dependencies-parent
org.springframework.cloud
- 2.1.0.RC2
+ 2.1.0.BUILD-SNAPSHOT
spring-cloud-kubernetes-dependencies
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
pom
Spring Cloud Kubernetes :: Dependencies
Spring Cloud Kubernetes Dependencies
diff --git a/spring-cloud-kubernetes-discovery/pom.xml b/spring-cloud-kubernetes-discovery/pom.xml
index 8400ec24..f8ffea10 100644
--- a/spring-cloud-kubernetes-discovery/pom.xml
+++ b/spring-cloud-kubernetes-discovery/pom.xml
@@ -22,7 +22,7 @@
org.springframework.cloud
spring-cloud-kubernetes
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
4.0.0
diff --git a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/greeting-service/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/greeting-service/pom.xml
index 70d87531..66fb54ea 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/greeting-service/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/greeting-service/pom.xml
@@ -23,7 +23,7 @@
org.springframework.cloud
kubernetes-circuitbreaker-ribbon-example
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
greeting-service
diff --git a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/name-service/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/name-service/pom.xml
index 3e260054..01ae687a 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/name-service/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/name-service/pom.xml
@@ -23,7 +23,7 @@
org.springframework.cloud
kubernetes-circuitbreaker-ribbon-example
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
name-service
diff --git a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/pom.xml
index ca686a3a..87b12fe9 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/pom.xml
@@ -23,7 +23,7 @@
spring-cloud-kubernetes-examples
org.springframework.cloud
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
org.springframework.cloud
diff --git a/spring-cloud-kubernetes-examples/kubernetes-hello-world-example/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-hello-world-example/pom.xml
index 9e167149..ee8b1c00 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-hello-world-example/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-hello-world-example/pom.xml
@@ -5,7 +5,7 @@
spring-cloud-kubernetes-examples
org.springframework.cloud
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
4.0.0
diff --git a/spring-cloud-kubernetes-examples/kubernetes-leader-election-example/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-leader-election-example/pom.xml
index 4bda31f6..9652160d 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-leader-election-example/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-leader-election-example/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-kubernetes-examples
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
kubernetes-leader-election-example
diff --git a/spring-cloud-kubernetes-examples/kubernetes-reload-example/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-reload-example/pom.xml
index aee60a38..39651ede 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-reload-example/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-reload-example/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes-examples
org.springframework.cloud
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
4.0.0
diff --git a/spring-cloud-kubernetes-examples/kubernetes-zipkin-example/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-zipkin-example/pom.xml
index 381e44e0..b235e027 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-zipkin-example/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-zipkin-example/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes-examples
org.springframework.cloud
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
4.0.0
diff --git a/spring-cloud-kubernetes-examples/pom.xml b/spring-cloud-kubernetes-examples/pom.xml
index 1bca33a6..5b674e25 100644
--- a/spring-cloud-kubernetes-examples/pom.xml
+++ b/spring-cloud-kubernetes-examples/pom.xml
@@ -23,7 +23,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
spring-cloud-kubernetes-examples
diff --git a/spring-cloud-kubernetes-integration-tests/pom.xml b/spring-cloud-kubernetes-integration-tests/pom.xml
index 140b0a9a..e688cfc2 100644
--- a/spring-cloud-kubernetes-integration-tests/pom.xml
+++ b/spring-cloud-kubernetes-integration-tests/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-kubernetes
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
spring-cloud-kubernetes-integration-tests
diff --git a/spring-cloud-kubernetes-integration-tests/simple-configmap/pom.xml b/spring-cloud-kubernetes-integration-tests/simple-configmap/pom.xml
index 506ec46a..b09ae0af 100644
--- a/spring-cloud-kubernetes-integration-tests/simple-configmap/pom.xml
+++ b/spring-cloud-kubernetes-integration-tests/simple-configmap/pom.xml
@@ -7,7 +7,7 @@
org.springframework.cloud
spring-cloud-kubernetes-integration-tests
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
Spring Cloud Kubernetes :: Integration Tests :: Simple Configmap
diff --git a/spring-cloud-kubernetes-integration-tests/simple-core/pom.xml b/spring-cloud-kubernetes-integration-tests/simple-core/pom.xml
index e688fdb8..133c48cb 100644
--- a/spring-cloud-kubernetes-integration-tests/simple-core/pom.xml
+++ b/spring-cloud-kubernetes-integration-tests/simple-core/pom.xml
@@ -7,7 +7,7 @@
org.springframework.cloud
spring-cloud-kubernetes-integration-tests
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
Spring Cloud Kubernetes :: Integration Tests :: Simple Core
diff --git a/spring-cloud-kubernetes-leader/pom.xml b/spring-cloud-kubernetes-leader/pom.xml
index f18c617d..9b3a5def 100644
--- a/spring-cloud-kubernetes-leader/pom.xml
+++ b/spring-cloud-kubernetes-leader/pom.xml
@@ -22,7 +22,7 @@
org.springframework.cloud
spring-cloud-kubernetes
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
spring-cloud-kubernetes-leader
diff --git a/spring-cloud-kubernetes-ribbon/pom.xml b/spring-cloud-kubernetes-ribbon/pom.xml
index 76bc6015..eea9d451 100644
--- a/spring-cloud-kubernetes-ribbon/pom.xml
+++ b/spring-cloud-kubernetes-ribbon/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
4.0.0
diff --git a/spring-cloud-starter-kubernetes-all/pom.xml b/spring-cloud-starter-kubernetes-all/pom.xml
index 6202ad03..577cd6b0 100644
--- a/spring-cloud-starter-kubernetes-all/pom.xml
+++ b/spring-cloud-starter-kubernetes-all/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
4.0.0
diff --git a/spring-cloud-starter-kubernetes-config/pom.xml b/spring-cloud-starter-kubernetes-config/pom.xml
index d349e748..c8f3f8ae 100644
--- a/spring-cloud-starter-kubernetes-config/pom.xml
+++ b/spring-cloud-starter-kubernetes-config/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
4.0.0
diff --git a/spring-cloud-starter-kubernetes-ribbon/pom.xml b/spring-cloud-starter-kubernetes-ribbon/pom.xml
index 0889ce8d..320a1746 100644
--- a/spring-cloud-starter-kubernetes-ribbon/pom.xml
+++ b/spring-cloud-starter-kubernetes-ribbon/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
4.0.0
diff --git a/spring-cloud-starter-kubernetes/pom.xml b/spring-cloud-starter-kubernetes/pom.xml
index 6120dce0..5cefa9c2 100644
--- a/spring-cloud-starter-kubernetes/pom.xml
+++ b/spring-cloud-starter-kubernetes/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 2.1.0.RC1
+ 1.0.0.BUILD-SNAPSHOT
4.0.0