Need help with configmap-reload?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

jimmidyson
515 Stars 108 Forks Apache License 2.0 48 Commits 13 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

No Data

Kubernetes ConfigMap Reload

license Docker Stars Docker Pulls Dependency Status CircleCI

configmap-reload is a simple binary to trigger a reload when Kubernetes ConfigMaps are updated. It watches mounted volume dirs and notifies the target process that the config map has been changed. It currently only supports sending an HTTP request, but in future it is expected to support sending OS (e.g. SIGHUP) once Kubernetes supports pod PID namespaces.

It is available as a Docker image at https://hub.docker.com/r/jimmidyson/configmap-reload

Usage

Usage of ./out/configmap-reload:
  -volume-dir value
        the config map volume directory to watch for updates; may be used multiple times
  -webhook-method string
        the HTTP method url to use to send the webhook (default "POST")
  -webhook-status-code int
        the HTTP status code indicating successful triggering of reload (default 200)
  -webhook-url string
        the url to send a request to when the specified config map volume directory has been updated
  -webhook-retries integer
        the amount of times to retry the webhook reload request

License

This project is Apache Licensed

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.