HubSpot/configmap-reload

Name: configmap-reload

Owner: HubSpot

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

Created: 2018-05-22 01:13:39.0

Updated: 2018-05-22 01:13:41.0

Pushed: 2018-02-27 08:04:48.0

Homepage:

Size: 764

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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
e of ./out/configmap-reload:
olume-dir value
    the config map volume directory to watch for updates; may be used multiple times
ebhook-method string
    the HTTP method url to use to send the webhook (default "POST")
ebhook-status-code int
    the HTTP status code indicating successful triggering of reload (default 200)
ebhook-url string
    the url to send a request to when the specified config map volume directory has been updated
License

This project is Apache Licensed


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.