Commit Graph

199 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
6f150cc36d need tagetName to delete snapshots now 2023-04-28 15:03:40 +02:00
Jean-Marc ANDRE
29f7e6d4e0 cleanup 2023-04-28 15:02: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
9ed5e3aea7 rbac changes 2023-04-25 09:34:00 +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
0e95590c20 Updated CRD 2023-04-24 08:57:46 +02:00
Jean-Marc ANDRE
cd5a42ba33 Updated RBAC 2023-04-24 08:57:27 +02:00
329b5c2a96 Merge pull request 'snapshots' (#10) from snapshots into master
Reviewed-on: http://git.desmojim.fr/jandre/formol/pulls/10
2023-04-24 06:48:18 +00:00
Jean-Marc ANDRE
03571f174a More RBAC 2023-04-20 12:46:01 +02:00
Jean-Marc ANDRE
4a5c5b34e1 More RBAC 2023-04-20 12:37:50 +02:00
Jean-Marc ANDRE
c8c53954d7 API optional fields 2023-04-20 12:01:33 +02:00
Jean-Marc ANDRE
605e1d2f30 added configmaps to the role 2023-04-20 11:30:33 +02:00
Jean-Marc ANDRE
6678bc50e1 don't need to log BackupConfiguration not found 2023-04-20 10:40:04 +02:00
Jean-Marc ANDRE
0175496bb8 delete rolebindings 2023-04-20 10:39:20 +02:00
Jean-Marc ANDRE
d3d81a0e9d buildah instead of docker 2023-04-20 09:28:30 +02:00
Jean-Marc ANDRE
121e8b11e7 Reworked RBAC creation 2023-04-20 09:23:07 +02:00
Jean-Marc ANDRE
1b31b497a0 GetVolumeMounts was not working 2023-04-20 09:21:16 +02:00
Jean-Marc ANDRE
ae6b682034 build containers with cache enabled 2023-04-20 09:19:36 +02:00
Jean-Marc ANDRE
beb762708e Updated PROJECT 2023-04-18 09:41:28 +02:00
Jean-Marc ANDRE
276112e9c0 typo 2023-04-17 23:10:21 +02:00
Jean-Marc ANDRE
9fb54034c2 Working Makefile 2023-04-17 23:01:35 +02:00
Jean-Marc ANDRE
005d02e891 Missing files 2023-04-17 23:00:59 +02:00
Jean-Marc ANDRE
c80b16e8db adujsted the BackupConfiguration and BackupSession RBAC 2023-04-17 23:00:33 +02:00
Jean-Marc ANDRE
ea1c1bd2e3 Added RBAC needed 2023-04-17 01:10:01 +02:00
Jean-Marc ANDRE
65d880180b cannot set sessionState to empty string otherwise the BackupSession does not get updated and the other targets won't Finalize 2023-04-17 01:09:42 +02:00
Jean-Marc ANDRE
8975f77e58 Need WaitingForJob special state for SnapshotKind 2023-04-14 20:48:08 +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
e54d8abdb9 backupconfig with snapshots 2023-04-02 22:04:05 +02:00
Jean-Marc ANDRE
6e0cec4405 ignore 040-restoresession.yaml 2023-03-31 20:27:21 +02:00
9aa1275605 removed backup files 2023-03-31 16:29:14 +02:00
ab775cab58 rearranged the tests 2023-03-31 16:28:01 +02:00
Jean-Marc ANDRE
f890962221 backupsession housekeeping. delete the old backup and the corresponding restic snapshots 2023-03-25 21:22:28 +01:00
Jean-Marc ANDRE
e73ef7c3f2 reworked Steps 2023-03-25 18:23:39 +01:00
Jean-Marc ANDRE
b7747b635d backup / restore of OnlineKind and JobKind work 2023-03-24 21:52:04 +01:00
9526cf404b code the final steps of the restore session 2023-03-24 11:31:16 +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
19d74cda40 minio repository with minikube 2023-03-06 23:05:27 +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
b10337aa66 pg_dumpall 2023-03-02 21:31:16 +01:00
e025a07c9b Should be able to delete bs even if the bc has already been deleted 2023-02-27 18:21:43 +01:00
Jean-Marc ANDRE
b5a217bc3a Reworked the scheduling of the tasks. We want the init/backup/finalize tasks to be run for all the targets one after the other. 2023-02-27 00:52:01 +01:00
Jean-Marc ANDRE
b42bd46efe backup job type 2023-02-26 00:48:57 +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