Commit Graph

139 Commits

Author SHA1 Message Date
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
349f72ca9c Renamed BackupState into SessionState so it can be reused by restore sessions 2021-02-21 21:28:24 +01:00
a27a686e01 Push the deployment name as a sidecar container env var to avoid all the operations on the cache 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
315aeb603c Revert "Revert "We do cleanup when all the tasks are done and the backup is a success""
This reverts commit 09b52fc4aa.
2021-01-16 13:05:57 +01:00
09b52fc4aa Revert "We do cleanup when all the tasks are done and the backup is a success"
This reverts commit 7608c24372.
2021-01-16 12:52:23 +01:00
8105fb6dd5 before and after backup commands 2021-01-09 12:50:42 +01:00
7608c24372 We do cleanup when all the tasks are done and the backup is a success 2021-01-09 11:26:03 +01:00
a131a6b11c We can now update backup schedule 2021-01-09 11:25:07 +01:00
233856beb0 Added short names for the backup resources 2021-01-05 23:08:34 +01:00
bea0537786 Don't need the date in KEEP in the end 2021-01-05 22:31:38 +01:00
02acdec8b5 postpone backupsession deletion is a backup is ongoing 2021-01-04 00:53:26 +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
e83e18d575 Don't run restic in parallel. It does not work 2021-01-03 14:39:56 +01:00
da6c180959 Less aggressive test backup 2021-01-03 10:22:57 +01:00
fcc8a65a03 Missing RBAC 2021-01-03 10:22:37 +01:00
d69077ad5c backupsession RBAC 2021-01-03 01:27:13 +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
5ee2cf0d24 Ignore test/restic and test/password 2020-12-31 16:07:27 +01:00
5a29b59d04 2 steps backups 2020-12-31 16:07:04 +01:00
7bbdc831b2 Activate BackupSession controller 2020-12-31 16:05:57 +01:00
3e2d2313b3 Moved BackupSession deletion to the main controller 2020-12-31 16:05:14 +01:00
e2d61c230e Factories the restic environment variables 2020-12-31 16:04:28 +01:00
03c60a1ecb BackupSession TaskStatus name and kind 2020-12-31 15:40:19 +01:00