configmap-reload
configmap-reload copied to clipboard
Make this more compatible
Hi I was trying to use this awesome project with plain docker (docker compose, actually) and I couldn't do it. Peeking the code I saw this conditional https://github.com/jimmidyson/configmap-reload/blob/master/configmap-reload.go#L166. Could we get rid of it? I understand that is done because k8s mount it's volumes with that notation, but It would be very useful to use this outside k8s.
Ping.
I've done it in this fork. https://github.com/little-angry-clouds/configmap-reload
hey @alexppg! Feel free to submit a PR for review.
+1 I have a shared volume that's being updated by a sidecar, so removing that configmap-only condition would be helpful.
@william-tran In the meanwhile, you may want to use this. It's the images generated from my PR.