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

kstevena/casc-configmap-reload

 
 

Repository files navigation

Kubernetes ConfigMap Reload

license Docker Stars Docker Pulls CircleCI

casc-configmap-reload is a simple binary to trigger a reload of the Configuration-as-Code Jenkins plugin configuration when Kubernetes ConfigMaps are updated. It watches mounted volume dirs and notifies the target process that the config map has been changed. It is available as a Docker image at https://hub.docker.com/r/kstevena/casc-configmap-reload

Usage

Usage of ./out/configmap-reload:
  -jenkins-url string
        the jenkins url
  -password string
        the jenkins password
  -username string
        the jenkins username
  -volume-dir value
        the config map volume directory to watch for updates; may be used multiple times
  -webhook-status-code int
        the HTTP status code indicating successful triggering of reload (default 200)

License

This project is Apache Licensed

Credits

Thanks to jimmidyson for his wonderfull configmap-reload project

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.5%
  • Dockerfile 3.5%