1 Commits
Author SHA1 Message Date
Nicolai Willems faed82ad44 Allow using configmaps when deploying in kubernetes (#161)
* Ensure config watcher also works in kubernetes

When using configmaps in kubernetes, the file is a symlink, and then
file-watcher is not opdated with a write event. Instead it receives a
CHMOD and a REMOVE event.

This change adds two things
1) Removal of the current wacther and adding of a new watcher for the
same path
2) The do-reload conditional is updated to also include the remove
event.

* Align write and removed conditionals
2020-12-08 22:27:37 +01:00