stakater / Reloader

A Kubernetes controller to watch changes in ConfigMap and Secrets and do rolling upgrades on Pods with their associated Deployment, StatefulSet, DaemonSet and DeploymentConfig – [✩Star] if you're using it!
https://docs.stakater.com/reloader/
Apache License 2.0
7.45k stars 493 forks source link

[ENHANCE] Rolling update when deleting an optional ConfigMap / Secret #622

Open Garnaalkroket opened 7 months ago

Garnaalkroket commented 7 months ago

We have some workloads that mount optional ConfigMaps. At some point it is possible that these ConfigMaps get deleted. When this deletion happens we would like to issue a rolling update of all affected pods.

Would it be possible to add a feature flag for supporting this kind of behaviour / would you accept a PR to get this implemented.

Hugs and kisses, Garnaalkroket

MuneebAijaz commented 6 months ago

Hi @Garnaalkroket, that falls under the scope of reloader so we can accept a PR with this implemented. Feel free to open a PR.

deschmih commented 3 months ago

I need this feature too.