Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Reloader starting jobs based on paused CronJobs #822

Open
p4block opened this issue Jan 8, 2025 · 0 comments
Open

[BUG] Reloader starting jobs based on paused CronJobs #822

p4block opened this issue Jan 8, 2025 · 0 comments
Labels
kind/bug Something isn't working

Comments

@p4block
Copy link

p4block commented Jan 8, 2025

We have a globally enabled Reloader, this worked fine for a while but we recently found a dangerous edge case.

When a paused cronjob would create a job that mounts a configmap, if the configmap changes an instance of the job is created. This instance is created outside of the cronjob mechanism with no way to track why it was created, too.

Expected behavior
A paused cronjob should not be instantiated under any circumstance

Additional context
I would like a way to enable Reloader globally but ignore cronjobs, even if not paused. This behavior is highly dangerous, as I would guess most cronjobs are not supposed to run outside of their schedule at all.

@p4block p4block added the kind/bug Something isn't working label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant