You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8b1c498
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: examples/backups/etcd/README.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
This directory shows how to back up and restore a Cozystack-managed `Etcd`
14
14
application using the cluster's `Etcd` backup strategy driver. The driver
15
15
delegates to the [etcd-operator][etcd-operator]: each Cozystack `BackupJob`
16
-
materialises an `etcd.aenix.io/v1alpha1 EtcdBackup` CR (a one-shot Job that
16
+
materialises an `etcd-operator.cozystack.io/v1alpha2 EtcdSnapshot` CR (a one-shot Job that
17
17
streams `etcdctl snapshot save` output to S3), and each `RestoreJob`
18
18
performs an in-place restore by suspending the Etcd HelmRelease,
19
19
deleting the chart-rendered `EtcdCluster`, and recreating it with
@@ -68,7 +68,7 @@ chart change alone is not sufficient.
68
68
|`00-helpers.sh`| Shared bash helpers and env defaults; sourced by every `01..05` step and by `cleanup.sh`. | n/a |
69
69
|`01-create-strategy.sh`| Creates the cluster-scoped `Etcd` strategy. | admin |
70
70
|`02-create-bucket.sh`| Provisions a `Bucket`, mints an `<app>-etcd-backup-creds` Secret in the source namespace, and creates the `BackupClass` bound to the Etcd strategy with resolved S3 coordinates. Caches raw creds in `.bucket-info.env` (chmod 600); `cleanup.sh` removes it. | tenant |
71
-
|`03-create-etcd-src.sh`| Provisions the source `Etcd` application, waits for `EtcdCluster.status.conditions[Ready]=True`, and writes a sentinel key under `etcdctl`. | tenant |
71
+
|`03-create-etcd-src.sh`| Provisions the source `Etcd` application, waits for `EtcdCluster.status.conditions[Available]=True`, and writes a sentinel key under `etcdctl`. | tenant |
72
72
|`04-create-backupjob.sh`| Submits a `BackupJob` and waits for `phase=Succeeded`. | tenant |
73
73
|`05-restore-in-place.sh`| Mutates the sentinel, submits a `RestoreJob` (no `targetApplicationRef`), and verifies the sentinel is round-tripped back to its pre-mutation value. | tenant |
74
74
|`cleanup.sh`| Best-effort teardown. | admin or tenant |
@@ -94,13 +94,12 @@ All variables come from `00-helpers.sh`:
0 commit comments