I've recently heard about Spring Cloud Kubernetes Configuration Watcher in the spring-cloud-kubernetes project. As I understand it, it allows Spring Boot apps that expose the actuator/refresh endpoint to be notified of a change to a ConfigMap or Secret and update accordingly at runtime - no app restart - that sounds brilliant. But the documentation mentions that:
the Configuration Watcher will take the name of the ConfigMap or Secret and send a notification to the application with that name
I was wondering, is there a way to have the notification sent to apps with different names than the Secret? For example, if I have a Secret called auth-server-secret that is shared by a number of microservices with different names, how can I get Spring Cloud Kubernetes Configuration Watcher to notify them all? It would be nice if the notification could be sent based on a label or an annotation. Is that possible? Or perhaps I'm misunderstanding the mechanism?
Any advice would be much appreciated