From 06a953efa3877e82977da1c0d2f31f33d1c88d0e Mon Sep 17 00:00:00 2001 From: buildmaster Date: Wed, 9 Nov 2022 15:19:30 +0000 Subject: [PATCH 1/2] Bumping versions --- README.adoc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index 22ec81cc..984a3a42 100644 --- a/README.adoc +++ b/README.adoc @@ -1310,6 +1310,8 @@ To achieve this configuration refresh of a Spring Cloud app running on Kubernete Kubernetes Configuration Watcher controller into your Kubernetes cluster. The application is published as a container and is available on https://hub.docker.com/r/springcloud/spring-cloud-kubernetes-configuration-watcher[Docker Hub]. + However, if you need to customize the config watcher behavior or prefer to build the image yourself you can easily build your own +image from the https://github.com/spring-cloud/spring-cloud-kubernetes/tree/main/spring-cloud-kubernetes-controllers/spring-cloud-kubernetes-configuration-watcher[source code on GitHub] and use that. Spring Cloud Kubernetes Configuration Watcher can send refresh notifications to applications in two ways. @@ -1500,8 +1502,8 @@ This is component is completely optional. However, it allows you to continue to you may have stored in existing environment repositories (Git, SVN, Vault, etc) with applications that you are running on Kubernetes. A default image is located on https://hub.docker.com/r/springcloud/spring-cloud-kubernetes-configserver[Docker Hub] which will allow you to easily get a Config Server deployed on Kubernetes without building -the code and image yourself. However, if you need to customize the config server behavior you can easily build your own -image from the source code on GitHub and use that. +the code and image yourself. However, if you need to customize the config server behavior or prefer to build the image yourself you can easily build your own +image from the https://github.com/spring-cloud/spring-cloud-kubernetes/tree/main/spring-cloud-kubernetes-controllers/spring-cloud-kubernetes-configserver[source code on GitHub] and use that. ### Configuration @@ -1741,6 +1743,8 @@ instance of a given service. Below is a sample response when a `GET` request is ### Deployment YAML An image of the Spring Cloud Discovery Server is hosted on https://hub.docker.com/r/springcloud/spring-cloud-kubernetes-discoveryserver[Docker Hub]. +However, if you need to customize the discovery server behavior or prefer to build the image yourself you can easily build your own +image from the https://github.com/spring-cloud/spring-cloud-kubernetes/tree/main/spring-cloud-kubernetes-controllers/spring-cloud-kubernetes-discoveryserver[source code on GitHub] and use that. Below is a sample deployment YAML you can use to deploy the Kubernetes Configuration Watcher to Kubernetes. From fa013d31803537b094e226f17e139d2d98c56907 Mon Sep 17 00:00:00 2001 From: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> Date: Fri, 11 Nov 2022 08:04:54 -0500 Subject: [PATCH 2/2] Switching to debug level logging --- .../cloud/kubernetes/fabric8/config/Fabric8ConfigUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud-kubernetes-fabric8-config/src/main/java/org/springframework/cloud/kubernetes/fabric8/config/Fabric8ConfigUtils.java b/spring-cloud-kubernetes-fabric8-config/src/main/java/org/springframework/cloud/kubernetes/fabric8/config/Fabric8ConfigUtils.java index d130517d..2a3e112a 100644 --- a/spring-cloud-kubernetes-fabric8-config/src/main/java/org/springframework/cloud/kubernetes/fabric8/config/Fabric8ConfigUtils.java +++ b/spring-cloud-kubernetes-fabric8-config/src/main/java/org/springframework/cloud/kubernetes/fabric8/config/Fabric8ConfigUtils.java @@ -118,7 +118,7 @@ public final class Fabric8ConfigUtils { ConfigMap configMap = client.configMaps().inNamespace(namespace).withName(name).get(); if (configMap == null) { - LOG.warn("config-map with name : '" + name + "' not present in namespace : '" + namespace + "'"); + LOG.debug("config-map with name : '" + name + "' not present in namespace : '" + namespace + "'"); return Collections.emptyMap(); }