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] make a job run whenever linked secret changes? #709

Open tooptoop4 opened 2 months ago

tooptoop4 commented 2 months ago

i've been putting annotations on deployments so they auto restart, but can kind: job be auto triggered whenever a secret changes too?

MuneebAijaz commented 2 months ago

hi @tooptoop4 , reloader doesn't support kind: Job directly at the moment. It does support creating Job from a CronJob on secret/configmap changes.