Commit dffd7e6
committed
feat(23570): Add controller for workspace backup
A new backup controller orchestrates a backup process for workspace PVC.
A new configuration option is added to DevWorkspaceOperatorConfig that
enables running regular cronjob that is responsible for backup
mechanism. The job executes following steps:
- Find a workspaces
- Finds out that workspace has been recently stopped
- Detect a workspace PVC
- Execute a job in the same namespace that does the backup
The last step is currently not fully implemented as it requires running
a buildah inside the container and it will be delivered as a separate
feature.
Issue: eclipse-che/che#23570
Signed-off-by: Ales Raszka <araszka@redhat.com>1 parent e0ed8d2 commit dffd7e6
File tree
18 files changed
+1032
-6
lines changed- apis/controller/v1alpha1
- controllers/backupcronjob
- deploy
- bundle/manifests
- deployment
- kubernetes
- objects
- openshift
- objects
- templates
- components/rbac
- crd/bases
- pkg/config
18 files changed
+1032
-6
lines changedLines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
75 | 87 | | |
76 | 88 | | |
77 | 89 | | |
| |||
189 | 201 | | |
190 | 202 | | |
191 | 203 | | |
| 204 | + | |
| 205 | + | |
192 | 206 | | |
193 | 207 | | |
194 | 208 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments