This is a Kubernetes volume watcher usable as a sidecar. The volume can be
either a Secret or a ConfigMap. Once the watcher identifies a change in the
volume, it sends an HTTP request to the defined endpoint.
Usage
The sidecar requires the following two environment variables to be set:
VOLUMEWATCHER_DIR - path to the directory where the volume is mounted
VOLUMEWATCHER_ENDPOINT - URL of an endpoint to call when the volume changes
The following Deployment example shows how to use it as a sidecar: