Bumping versions

This commit is contained in:
buildmaster
2020-12-10 11:49:16 +00:00
parent 7008d104ca
commit 8a70e290e2

View File

@@ -83,9 +83,6 @@ Secret changes.
<artifactId>spring-cloud-starter-kubernetes-client-all</artifactId>
</dependency>
----
| All Spring Cloud Kubernetes features.
|===
== DiscoveryClient for Kubernetes
@@ -98,6 +95,7 @@ access from a Spring Boot application running as a pod.
This is something that you get for free by adding the following dependency inside your project:
====
Fabric8 Kubernetes Client
[source,xml]
----
<dependency>
@@ -107,6 +105,17 @@ This is something that you get for free by adding the following dependency insid
----
====
====
Kubernetes Java Client
[source,xml]
----
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-kubernetes-client</artifactId>
</dependency>
----
====
To enable loading of the `DiscoveryClient`, add `@EnableDiscoveryClient` to the according configuration or application class, as the following example shows:
====
@@ -878,6 +887,12 @@ Depending on the requirements, you'll need `get`, `list` and `watch` permission
|spring-cloud-starter-kubernetes-fabric8-config
|configmaps, secrets
|spring-cloud-starter-kubernetes-client
|pods, services, endpoints
|spring-cloud-starter-kubernetes-client-config
|configmaps, secrets
|===
For development purposes, you can add `cluster-reader` permissions to your `default` service account. On a production system you'll likely want to provide more granular permissions.