Add backup policy with DrupalProjectConfig
Part of https://gitlab.cern.ch/webservices/webframeworks-planning/-/issues/725
- Add a new CRD,
DrupalProjectConfig
, which defines which site is the "primary" site of the project - Deprecate
DrupalSite.spec.configuration.ScheduledBackups
- Declare primary site automatically when only 1 site is present
- Add
DrupalSite.status.isPrimary
, which reports if this site is the primary site - Enable scheduled backups only for the primary site (but still allow the
ScheduledBackups: "enabled"
setting to override this and always allow backups)
Edited by Konstantinos Samaras-Tsakiris
Merge request reports
Activity
added 1 commit
- ac938d79 - Update code to acomodate new CRD, still logic missing to fill Primary in case...
added 1 commit
- 4125577a - DrupalProjectConfig gets updated in case of null and just 1 drupalsite
- Resolved by Francisco Borges Aurindo Barros
- Resolved by Francisco Borges Aurindo Barros
- Resolved by Francisco Borges Aurindo Barros
added 10 commits
-
23b2e84b...c55062f6 - 3 commits from branch
master
- 47e7da50 - First part....
- 72cce4f4 - Changing to new CRD approach...
- d36751d7 - Update code to acomodate new CRD, still logic missing to fill Primary in case...
- b4363f03 - DrupalProjectConfig gets updated in case of null and just 1 drupalsite
- 7d6921a1 - Cosmetic changes
- 4283e299 - Refactoring some code...
- ad63a989 - Applied suggestions and fixed bug
Toggle commit list-
23b2e84b...c55062f6 - 3 commits from branch
assigned to @ravineet
unassigned @ravineet
assigned to @kosamara
- Resolved by Francisco Borges Aurindo Barros
- Resolved by Francisco Borges Aurindo Barros
Please register or sign in to reply