Commit Graph

122 Commits

Author SHA1 Message Date
Jean-Marc ANDRE
6d83e59171 snapshot initial commit with some BackupConfiguration and BackupSession controllers 2023-02-03 18:23:41 +01:00
Jean-Marc ANDRE
d018b81655 ignore testbin/ 2022-03-26 12:04:36 +01:00
Jean-Marc ANDRE
0b363fd2b6 mod deps 2022-03-26 12:04:05 +01:00
Jean-Marc ANDRE
0510fc43d4 kubectl displays suspended and schedule attribute of BackupConfiguration 2021-11-30 23:36:36 +01:00
5ed396ffce Try to gather metrics using prometheus 2021-07-17 20:26:33 +02:00
97e3df7343 build for arm64 because it runs faster 2021-07-17 20:26:05 +02:00
a904dd21d4 Moved to latest kubebuilder 2021-07-17 20:25:13 +02:00
b6c7add468 More logs 2021-06-20 21:01:45 +02:00
7a8df55542 Automate docker build and push 2021-06-20 21:00:22 +02:00
97ac4d5cc4 Merge pull request 'steps' (#8) from steps into master
Reviewed-on: http://git.desmojim.fr/jandre/formol/pulls/8
2021-06-04 21:25:22 +00:00
95408a3850 delete backupsession: containers have to be ran sequentially because of the restic lock on the database 2021-06-04 23:01:37 +02:00
1b09212f6d tag what container to backup and to run the steps against 2021-06-03 17:17:34 +02:00
3a7dd1d2b2 Updated the test env 2021-06-03 09:19:12 +02:00
737f0e78c2 backup init steps might need env from secrets or configmaps 2021-06-03 09:18:48 +02:00
e61c7e4c4e tagged the container with 0.2 2021-06-03 09:15:47 +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
efc6114586 updated restore tests 2021-05-08 23:21:11 +02:00
7ac99063c9 use defer to update deployment 2021-05-08 23:21:11 +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
477022347d Restore session test 2021-05-02 22:35:00 +02:00
4eb5f38795 Post restore steps work now 2021-05-02 22:34:34 +02:00
db8e6fdf61 Useful command 2021-04-27 22:10:40 +02:00
3a84dac881 we want to track config/default 2021-04-27 22:00:49 +02:00
86fb58a2ef Disabled webhooks and certmanager for now 2021-04-27 22:00:25 +02:00
191207e901 Fixed printcolumn 2021-04-27 21:43:24 +02:00
ea03e9af62 Fixed initialization and teardown update issues 2021-04-27 21:42:38 +02:00
9cf5dc10d0 Removei debug output 2021-04-25 18:09:49 +02:00
a4eda1db42 Restore annotation 2021-04-25 18:09:25 +02:00
2901f9aa1a Refactored since reconciler are not reentrant 2021-04-17 16:21:26 +02:00
393465300a BackupConfiguration initial test suite 2021-03-09 17:50:41 +01:00
1dfd0d472b More BackupConf tests 2021-03-04 20:48:31 +01:00
8509cf8d2f Initial BackupConfiguration tests 2021-03-04 20:48:31 +01:00
f8707d55e5 set default value to suspend field 2021-03-04 20:44:56 +01: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
589f8480ad code cleanup 2021-02-28 20:13:17 +01:00
8303869dd2 No need for the Repository struct, a string is enough 2021-02-27 13:14:35 +01:00
0f65f114f6 Moved some part of the code to limnit the number of updates 2021-02-24 20:15:02 +01:00
145209b051 Fixed TTL error 2021-02-22 23:19:17 +01:00
809fdc659f Give time to the apiserver to update the object between 2 calls 2021-02-22 23:12:31 +01:00
03b16f5f3c Only trigger updates when necessary 2021-02-22 22:59:22 +01:00
4c0a7205aa Increased Job TTL 2021-02-22 18:10:44 +01:00
0d7e883f2e Fixed problems with the restoresession state machine 2021-02-21 21:30:19 +01:00
d5614087e4 RestoreSession deployment 2021-02-21 21:30:19 +01:00
a55046f3d7 update status when needed only 2021-02-21 21:30:19 +01:00
69128181ef more constants 2021-02-21 21:30:19 +01:00
49a489cd97 Added RestoreSession related constants 2021-02-21 21:30:19 +01:00
19db817b0c Added restore functionality. Needs more testing 2021-02-21 21:30:15 +01:00
38d6877962 init restoresession 2021-02-21 21:28:24 +01:00
ef4429af2a finish SessionState 2021-02-21 21:28:24 +01:00