From 9cc392f4be868093564cd0f9010c86e417c56e4c Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Fri, 28 Jan 2022 12:43:52 -0500 Subject: [PATCH] Clarify breaking changes in docs --- docs/src/main/asciidoc/kubernetes-awareness.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/kubernetes-awareness.adoc b/docs/src/main/asciidoc/kubernetes-awareness.adoc index 815ef54b..ea7ee325 100644 --- a/docs/src/main/asciidoc/kubernetes-awareness.adoc +++ b/docs/src/main/asciidoc/kubernetes-awareness.adoc @@ -19,9 +19,9 @@ Be aware that when `spring-cloud-kubernetes-config` is on the classpath, `spring Also note that these properties: `spring.cloud.kubernetes.config.enabled` and `spring.cloud.kubernetes.secrets.enabled` only take effect when set in `bootstrap.{properties|yml}`. -=== Functional changes since 2.1.x version +=== Breaking Changes In 3.0.x -In versions prior to `2.1.x`, Kubernetes awareness was implemented using `spring.cloud.kubernetes.enabled` property. This +In versions of Spring Cloud Kubernetes prior to `3.0.x`, Kubernetes awareness was implemented using `spring.cloud.kubernetes.enabled` property. This property was removed and is un-supported. Instead, we use Spring Boot API: https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/autoconfigure/condition/ConditionalOnCloudPlatform.html[ConditionalOnCloudPlatform]. If it is needed to explicitly enable or disable this awareness, use `spring.main.cloud-platform=NONE/KUBERNETES`.