Open hashmaparraylist opened 3 years ago
Interesting, would have to investigate...
I had the same problem with jasypt and spring-cloud-starter-kubernetes-fabric8-config, and my version is as follows: spring boot: 3.2.0 spring cloud: 2023.0.0 jasypt: 3.0.5
Hi,
I have a problem with jasypt and spring-cloud-starter-kubernetes-fabric8-config.
Versions: spring boot: 2.5.1 spring cloud: 2020.0.3 jasypt: 3.0.4
We use Kubernetes' ConfigMap as the Config Server. When we add jasypt-spring-boot to the Classpath, the application.yaml in the Kubernetes ConfigMap can be readed when the application started. But, after edited the ConfigMap, the application does not restart and read the new ConfigMap.
application.yaml
look likebootstrap.yaml
look likeand ConfigMap look like
And we changed spring cloud's logger level (change to DEBUG). Spring Cloud's
PollingConfigMapChangeDetector
did not compare local's property and configmap's property.Maybe
PollingConfigMapChangeDetector
does not recognizeEncryptablePropertySourceWrapper
as the property of ConfigMap, so the comparison is ignored.Thank you