Skip to content

Simple binary to trigger a reload when a Kubernetes ConfigMap is updated

License

Notifications You must be signed in to change notification settings

panzerdev/configmap-reload

 
 

Repository files navigation

Kubernetes ConfigMap Reload

license

configmap-reload is a simple binary to trigger a reload when a Kubernetes ConfigMap is updated. It watches the mounted volume dir and notifies the target process that the config map has been changed. It executes a command with Kubectl exec to the name container

Usage

Usage of /configmap-reload:
  -command string
    	Command beeing executed on trigger. Arguments need to be seperated by ',' like 'nginx,-s,reload'
  -container string
    	Container name in pod
  -folder string
    	Folder to watch for changes in it

License

This project is Apache Licensed

About

Simple binary to trigger a reload when a Kubernetes ConfigMap is updated

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 82.6%
  • Shell 17.4%