I'm comparing Spring Cloud Config with Spring Cloud Kubernetes PropertySource of ConfigMaps. I've managed to do a quick POC with Spring Cloud Config, but I have not done a POC for the Spring Cloud Kubernetes.
What is not 100% clear when reading the documentation of Spring Cloud Kubernetes PropertySource is whether it supports local Spring Config while allowing overrides coming from ConfigMap PropertySource (with embedded yaml). Spring Cloud Config still allows local config but augments it with config from the config server. The documentation does not say either way; but reading all of Chapter 5 - it leads me to think you can't use local config; and the bootstrap process fully hands over sourcing config from config maps.
It is also unclear how you would dev locally and easily make use of the config encoded in config maps.
Questions about using spring-cloud-kubernetes config maps as a property source:
- Does anyone have experience with this that could clarify if local config is supported?
- How you conveniently consume the same config when developing locally?