Commit Graph

32 Commits

Author SHA1 Message Date
Jean-Marc ANDRE
7450d4ced6 missing RBAC rule again: PersistentVolumes 2023-04-28 16:35:26 +02:00
Jean-Marc ANDRE
92ea7f3872 label has been added to the target pod to allow pod anti affinity 2023-04-27 15:42:26 +02:00
Jean-Marc ANDRE
c8480080e4 update the sidecar containers when BackupConfiguration.Spec.Image has changed 2023-04-25 09:34:00 +02:00
Jean-Marc ANDRE
03571f174a More RBAC 2023-04-20 12:46:01 +02:00
Jean-Marc ANDRE
605e1d2f30 added configmaps to the role 2023-04-20 11:30:33 +02:00
Jean-Marc ANDRE
0175496bb8 delete rolebindings 2023-04-20 10:39:20 +02:00
Jean-Marc ANDRE
121e8b11e7 Reworked RBAC creation 2023-04-20 09:23:07 +02:00
Jean-Marc ANDRE
ea1c1bd2e3 Added RBAC needed 2023-04-17 01:10:01 +02:00
61f45a7940 Fixed RBAC 2023-04-11 18:18:46 +02:00
Jean-Marc ANDRE
d8b685c1ab First volume snapshot created 2023-04-11 10:47:33 +02:00
Jean-Marc ANDRE
b67d300db2 rearranged a bit 2023-04-02 22:04:43 +02:00
Jean-Marc ANDRE
b7747b635d backup / restore of OnlineKind and JobKind work 2023-03-24 21:52:04 +01:00
Jean-Marc ANDRE
b2d80d66ae Restore OnlineKind 2023-03-23 22:19:13 +01:00
7e007bfd44 Prepared RestoreSession for OnlineKind with initContainer 2023-03-21 17:57:14 +01:00
Jean-Marc ANDRE
3486ad2efe prepared BackupSession and RestoreSession common code 2023-03-20 22:13:44 +01:00
Jean-Marc ANDRE
f0c17e061f The BackupSession controller in the sidecar should get the latest informtation about the repository everytime it reconciles because it might change 2023-03-06 23:04:39 +01:00
Jean-Marc ANDRE
613d0a6374 Allow sidecar containers to access RestoreSessions 2023-03-02 21:31:16 +01:00
Jean-Marc ANDRE
2ac8bc2c71 getTargetObjects function 2023-02-26 00:46:54 +01:00
Jean-Marc ANDRE
46247d17ae the sidecar needs privileges to run chroot commands 2023-02-26 00:46:09 +01:00
Jean-Marc ANDRE
3790f30e29 Handle sidecar creation for the Job backup type with shared volume 2023-02-24 21:49:02 +01:00
Jean-Marc ANDRE
6b0add3fdf fixed conflict 2023-02-23 22:44:46 +01:00
b330e2cfdd documentation 2023-02-22 14:54:26 +01:00
5090b5fb1a added local repository for restic 2023-02-22 14:33:44 +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
cfea083594 sharedprocess and local restic repostory 2023-02-21 01:12:47 +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
6c4d1a749c Added some RBAC to allow the sidecar container to get BackupSession informations 2023-02-08 17:54:24 +01:00
Jean-Marc ANDRE
aba4ae4620 Added sidecar volume mounts 2023-02-07 17:12:17 +01:00
Jean-Marc ANDRE
67739c4309 started backupsession controller 2023-02-05 23:19:23 +01:00
Jean-Marc ANDRE
9ed45d8528 Reorganized files one more time 2023-02-04 18:11:30 +01:00