Commit Graph

89 Commits

Author SHA1 Message Date
Jean-Marc ANDRE
d850651344 make the submodule point to the git repo 2023-07-24 10:43:20 +02:00
Jean-Marc ANDRE
910dbbbbd5 Restic repository now includes the targetName to avoid concurrency when multiple targets are doing backup simulteanously 2023-04-28 15:05:54 +02:00
Jean-Marc ANDRE
05cb6bd1cb formolcli backup not null exit code when it fails 2023-04-28 14:24:42 +02:00
Jean-Marc ANDRE
c415a956ed sync with formol 2023-04-27 15:43:04 +02:00
Jean-Marc ANDRE
72390d9564 Pod anti affinity to avoid backup pod to be scheduled on the same node as the target pod 2023-04-27 15:41:00 +02:00
Jean-Marc ANDRE
bf2d50c41a We don't want to snapshot the same volume multiple time (subpath) 2023-04-27 15:37:15 +02:00
Jean-Marc ANDRE
e19e1775e8 sub module again... 2023-04-25 16:38:02 +02:00
915b48d2b0 Merge pull request 'snapshots' (#5) from snapshots into master
Reviewed-on: http://git.desmojim.fr/jandre/formolcli/pulls/5
2023-04-24 06:59:56 +00:00
Jean-Marc ANDRE
1aa9d9efb5 Makefile/Dockerfile cleanup 2023-04-20 08:34:04 +02:00
Jean-Marc ANDRE
adf2743b19 dead code 2023-04-20 08:33:27 +02:00
Jean-Marc ANDRE
89b91f66da multi arch Dockerfile and Makefile 2023-04-19 13:29:27 +02:00
162e82b531 makefile 2023-04-18 17:21:23 +02:00
Jean-Marc ANDRE
fac6d9b620 backup snapshot finalized 2023-04-17 01:10:56 +02:00
Jean-Marc ANDRE
1f2baef062 reworked the multiplatform Makefile 2023-04-14 20:54:26 +02:00
Jean-Marc ANDRE
1de6a31e25 VolumeSnapshot will be deleted by the Job 2023-04-14 20:52:48 +02:00
Jean-Marc ANDRE
9a49ac96c4 Create PVC from VolumeSnapshot 2023-04-14 20:45:49 +02:00
Jean-Marc ANDRE
e7bb4b1149 Added Name alongside to Namespace to Session 2023-04-14 20:43:31 +02:00
Jean-Marc ANDRE
729505a216 changed backupsession prefix to 'bs' 2023-04-14 20:39:21 +02:00
7ca94b4048 A step farther with create volume from snapshot 2023-04-11 18:19:30 +02:00
Jean-Marc ANDRE
8b2aaf7211 First volume snapshot created 2023-04-11 10:48:57 +02:00
Jean-Marc ANDRE
06b372765b backupsession housekeeping. delete the old backup and the corresponding restic snapshots 2023-03-25 21:23:11 +01:00
Jean-Marc ANDRE
b91c767e82 Reworked Steps 2023-03-25 18:24:05 +01:00
Jean-Marc ANDRE
560271a294 backup / restore of OnlineKind and JobKind work 2023-03-24 21:52:49 +01:00
5e5e4a9a77 remove the initContainer once the restore is done 2023-03-24 11:30:30 +01:00
Jean-Marc ANDRE
8ea4e3bffe Restore OnlineKind 2023-03-23 22:19:58 +01:00
86417391d7 Prepared RestoreSession for OnlineKind with initContainer 2023-03-21 17:57:49 +01:00
322c712a37 Preparing RestoreSession init container for OnlineKind restores 2023-03-21 13:34:33 +01:00
9f40d2eb6c fixed imports 2023-03-21 10:36:39 +01:00
36cf68b74b Added README 2023-03-21 10:32:35 +01:00
Jean-Marc ANDRE
994b792d97 multi arch Dockerfile 2023-03-20 22:15:13 +01:00
Jean-Marc ANDRE
0f8012c22e prepared BackupSession and RestoreSession common code 2023-03-20 22:14:41 +01:00
d4231768d7 Preparing the common code between BackupSession and RestoreSession 2023-03-17 16:42:49 +01:00
Jean-Marc ANDRE
319e226a30 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:05:57 +01:00
Jean-Marc ANDRE
d91f1e3f5d Reworked the scheduling. Tasks are run by SessionState now and not by Target 2023-02-27 00:54:43 +01:00
Jean-Marc ANDRE
e3aa5f3844 got job backup to work 2023-02-26 01:35:10 +01:00
Jean-Marc ANDRE
7773fadcea /proc/../environ and not /proc/../env 2023-02-21 01:08:07 +01:00
7f227c1ec4 Should backup paths 2023-02-20 10:30:31 +01:00
Jean-Marc ANDRE
fd8df677c2 Gather env variables from container.Env and container.EnvFrom 2023-02-15 13:55:34 +01:00
Jean-Marc ANDRE
f3735e1409 Small commit to start working on the Steps 2023-02-08 22:40:00 +01:00
53369058b9 Faster build 2023-02-08 17:59:02 +01:00
Jean-Marc ANDRE
8d75e1450c Added Docker file 2023-02-08 12:49:05 +01:00
Jean-Marc ANDRE
120b24b9aa No need to reschedule. 2023-02-07 23:28:54 +01:00
Jean-Marc ANDRE
80d31f1090 Most of the state machine is implemented 2023-02-07 23:14:25 +01:00
Jean-Marc ANDRE
bfc1bdec2a Added BackupSession controller skeleton 2023-02-07 18:57:17 +01:00
Jean-Marc ANDRE
28658aef39 Initial commit 2023-02-03 18:36:09 +01:00
84347314fd arm64 runs faster 2021-07-18 13:40:38 +02:00
ba80d2c83c search for tag in /proc/*/environ to find the correct chroot 2021-06-03 17:18:32 +02:00
4e1009fae1 get env from secrets and configmaps 2021-06-03 09:20:23 +02:00
bafffdb3d2 Using buildah because I cannot make podman work anymore 2021-05-08 23:30:11 +02:00
771942cb94 Moved to kubebuilder 0.8.3 2021-05-08 22:35:44 +02:00