Skip to content
New issue

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

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

Already on GitHub? # to your account

Switch from manually configuring cron to pebble events approach when available #43

Open
mthaddon opened this issue Jul 22, 2022 · 2 comments

Comments

@mthaddon
Copy link
Contributor

Bug Description

To fulfil the need for a recurring task (checking for theme changes) we're currently configuring cron in the indico container. As discussed in https://discourse.charmhub.io/t/recurring-task-in-k8s-charms/6644/4 this will be supported natively by pebble events at some point. Once that's available we should switch to it.

To Reproduce

N/A

Environment

N/A

Relevant log output

N/A

Additional context

N/A

@amandahla
Copy link
Contributor

Does the #126 fix this too?

@mthaddon
Copy link
Contributor Author

mthaddon commented Nov 9, 2022

Not quite, no. We can't consider this item fixed until pebble has support for configuring recurring events. We've disabled cron in that PR, but we may want to re-enable it at some point once we're confident the process can be automated, but currently we'd only be able to do that via manually configuring cron in the workload container.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants