Commit Graph

59 Commits

Author SHA1 Message Date
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
e80871346e defined constants for restic ENV variables 2023-02-16 11:24:35 +01:00
Jean-Marc ANDRE
06999eb553 Most of the state machine is implemented 2023-02-07 23:15:13 +01:00
Jean-Marc ANDRE
8f180f5f52 Moved BackupSession to Running. Set the first task to New. 2023-02-07 17:53:58 +01:00
Jean-Marc ANDRE
888284017e Set backupsession state to NEW 2023-02-07 17:12:43 +01:00
Jean-Marc ANDRE
e22c29f783 Cleanup 2023-02-07 17:11:16 +01:00
Jean-Marc ANDRE
6d83e59171 snapshot initial commit with some BackupConfiguration and BackupSession controllers 2023-02-03 18:23:41 +01:00
Jean-Marc ANDRE
0510fc43d4 kubectl displays suspended and schedule attribute of BackupConfiguration 2021-11-30 23:36:36 +01:00
a904dd21d4 Moved to latest kubebuilder 2021-07-17 20:25:13 +02: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
4eb5f38795 Post restore steps work now 2021-05-02 22:34:34 +02:00
191207e901 Fixed printcolumn 2021-04-27 21:43:24 +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
f8707d55e5 set default value to suspend field 2021-03-04 20:44:56 +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
49a489cd97 Added RestoreSession related constants 2021-02-21 21:30:19 +01:00
38d6877962 init restoresession 2021-02-21 21:28:24 +01:00
ef4429af2a finish SessionState 2021-02-21 21:28:24 +01:00
349f72ca9c Renamed BackupState into SessionState so it can be reused by restore sessions 2021-02-21 21:28:24 +01:00
d5b9ffd8a4 BackupConfiguration webhook 2021-02-21 21:24:27 +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
771b5a5c96 Revert "before and after backup commands"
This reverts commit 8105fb6dd5.
2021-01-16 13:06:01 +01:00
8105fb6dd5 before and after backup commands 2021-01-09 12:50:42 +01:00
233856beb0 Added short names for the backup resources 2021-01-05 23:08:34 +01:00
bdd75961e7 Added printcolumn tags for kubectl get backupsessions 2021-01-04 00:51:24 +01:00
1424178873 Added field validation tags 2021-01-04 00:50:26 +01:00
c3a565724e backupsession status updated 2021-01-03 00:54:56 +01:00
1be5004ead test observedGeneration 2021-01-02 14:54:35 +01:00
a1b0b36752 Revert "Try int"
This reverts commit b4d92869f8.
2021-01-02 00:39:28 +01:00
938f4348ee Revert "rolled back status to strings"
This reverts commit 690265d9f6.
2021-01-02 00:38:05 +01:00
638775ff8c Merge remote-tracking branch 'origin/main' into main 2021-01-02 00:35:32 +01:00
690265d9f6 rolled back status to strings 2021-01-02 00:33:33 +01:00
b4d92869f8 Try int 2021-01-01 23:55:05 +01:00
03c60a1ecb BackupSession TaskStatus name and kind 2020-12-31 15:40:19 +01:00
e519dc8b5e BackupSession New state 2020-12-31 15:29:27 +01:00
7702b69199 More refined status 2020-12-31 15:11:24 +01:00
3aaf127e58 Preparing for backups with more than 1 task 2020-12-28 12:08:30 +01:00
Jean-Marc ANDRE
ad76d70933 Keep backups strategy 2020-12-13 20:54:16 +01:00
Jean-Marc ANDRE
aa511e0343 Improved API with Keep last n 2020-12-12 13:18:52 +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
1415aebc78 Use Duration instead of Time 2020-12-01 23:28:40 +01:00
Jean-Marc ANDRE
22c909bc1c Added defaulting validation webhook 2020-12-01 22:41:18 +01:00
Jean-Marc ANDRE
aee385a67d New status fields for BackupSession 2020-12-01 21:34:36 +01:00