Commit Graph

37 Commits

Author SHA1 Message Date
Jean-Marc ANDRE
4a5c5b34e1 More RBAC 2023-04-20 12:37:50 +02:00
Jean-Marc ANDRE
121e8b11e7 Reworked RBAC creation 2023-04-20 09:23:07 +02:00
Jean-Marc ANDRE
c80b16e8db adujsted the BackupConfiguration and BackupSession RBAC 2023-04-17 23:00:33 +02:00
Jean-Marc ANDRE
6b0add3fdf fixed conflict 2023-02-23 22:44:46 +01:00
Jean-Marc ANDRE
0c2d2d8f54 Remove the RBAC once the last sidecar from the namespace is removed 2023-02-21 20:48:59 +01:00
Jean-Marc ANDRE
1361f62045 A sidecar ENV keeps the paths to backup. That will do for now but the BackupSession controller in the sidecar should do the job of computing the paths to backup every time it reconciles. In case the paths have changed 2023-02-18 22:46:15 +01:00
Jean-Marc ANDRE
c89a522262 added BackupConfiguration.Status.Targets struct to hold the paths to be backed up in the sidecar container 2023-02-16 21:40:22 +01:00
55f3dc8dff The sidecar configuration is different depending on the backup type. Need more AddSidecar functions 2023-02-16 11:25:52 +01:00
Jean-Marc ANDRE
9ed45d8528 Reorganized files one more time 2023-02-04 18:11:30 +01:00
Jean-Marc ANDRE
7d9b4100fb Use controllerutil Finalizers functions 2023-02-03 22:36:17 +01:00
Jean-Marc ANDRE
6d83e59171 snapshot initial commit with some BackupConfiguration and BackupSession controllers 2023-02-03 18:23:41 +01:00
1b09212f6d tag what container to backup and to run the steps against 2021-06-03 17:17:34 +02:00
737f0e78c2 backup init steps might need env from secrets or configmaps 2021-06-03 09:18:48 +02:00
ba5fc36712 Added 'image' tag to BackupConfiguration to allow users to specify what container image to use as a sidecar container 2021-05-12 20:34:08 +02:00
9c15bcc470 moved to kubebuilder 0.8.3 and removed unecessary loops and check if the restore job exists before creating it 2021-05-08 23:20:56 +02:00
ea03e9af62 Fixed initialization and teardown update issues 2021-04-27 21:42:38 +02:00
2901f9aa1a Refactored since reconciler are not reentrant 2021-04-17 16:21:26 +02:00
3f28749bba Explicitly delete the cronjob 2021-03-04 20:44:28 +01:00
906dbd7539 Failure in deleting resources should not prevent deleting the BackupConfiguration 2021-03-03 21:56:35 +01:00
8303869dd2 No need for the Repository struct, a string is enough 2021-02-27 13:14:35 +01:00
19db817b0c Added restore functionality. Needs more testing 2021-02-21 21:30:15 +01:00
a27a686e01 Push the deployment name as a sidecar container env var to avoid all the operations on the cache 2021-02-21 21:28:24 +01:00
ce16a92081 Added Suspend to BackupConfiguration API 2021-02-21 21:24:02 +01:00
cd39ff0236 Added before and after backup hooks 2021-01-24 20:37:19 +01:00
a131a6b11c We can now update backup schedule 2021-01-09 11:25:07 +01:00
c3a565724e backupsession status updated 2021-01-03 00:54:56 +01:00
e2d61c230e Factories the restic environment variables 2020-12-31 16:04:28 +01:00
3aaf127e58 Preparing for backups with more than 1 task 2020-12-28 12:08:30 +01:00
Jean-Marc ANDRE
7d4a3cc3ea Typo 2020-12-12 13:17:45 +01:00
Jean-Marc ANDRE
0c44ee9c7b Owns jobs 2020-12-10 20:54:20 +01:00
Jean-Marc ANDRE
401041d3b5 Fixed RBAC 2020-12-10 00:16:12 +01:00
Jean-Marc ANDRE
cfbfd38ae4 Create/Delete RBAC. Restore deployment to original state when BackupConfiguration is deleted 2020-12-09 23:15:15 +01:00
Jean-Marc ANDRE
f0a93604ef Added cronjob 2020-12-06 11:25:47 +01:00
Jean-Marc ANDRE
eb855f1c12 Webhooks and cert manager 2020-12-03 09:29:58 +01:00
Jean-Marc ANDRE
31326c5fdf Needs the namespace as ENV 2020-12-01 01:14:23 +01:00
Jean-Marc ANDRE
6f95be9c73 Creates dummy backup sidecar 2020-11-30 16:55:49 +01:00
Jean-Marc ANDRE
4a4faabc9c Init import 2020-11-25 14:42:25 +01:00