mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-08 18:41:37 +00:00
Prior to this commit, the SSL file hot reloading feature would create file watchers for all configured locations and would resolve symbolic links if they're found as registrations. This arrangement would work for typical Let's Encrypt setups, but would not get notified of consecutive changes for k8s setups. Kubernetes uses a mix of symlinks and atomic file moves to update secrets. This commit not only tracks changes to symlinks targets, but also to the original symlink. Closes gh-44807 Signed-off-by: Dmytro Nosan <dimanosan@gmail.com> [brian.clozel@broadcom.com: apply code conventions] Signed-off-by: Brian Clozel <brian.clozel@broadcom.com>