openfun / arnold

:construction_worker_woman: Deploy your applications to Kubernetes with Ansible
MIT License
41 stars 8 forks source link

Refactor Marsha cronjob #759

Closed lunika closed 11 months ago

lunika commented 1 year ago

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.

We have multiple cronjob templates in Marsha, they are all identical, only differs the name, the schedule, the command and the resources. We would like to mutualize everything using a CronJobList resource, all CronJob will be declared in it. We will build them using an array containing all the informations listed before.

Describe the solution you'd like

There is an existing implementation, in branch save-marsha-cronjob-list. But, I have to investigate why, the marsha_cronjobs variable is not overriden in group_vars environment.