Reloader
Install
Details
helm repo add stakater https://stakater.github.io/stakater-charts
helm repo update
helm install reloader stakater/reloaderDetails
kubectl apply -f https://raw.githubusercontent.com/stakater/Reloader/master/deployments/kubernetes/reloader.yamlUsage
For a Deployment called foo have a ConfigMap called foo-configmap. Then add this annotation to main metadata of your Deployment
configmap.reloader.stakater.com/reload: "foo-configmap"For a Deployment called foo have a Secret called foo-secret. Then add this annotation to main metadata of your Deployment
secret.reloader.stakater.com/reload: "foo-secret"After successful installation, your pods will get rolling updates when a change in data of configmap or secret will happen.
Reference
For more information about reloader, please refer to https://github.com/stakater/Reloader