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
- ✅ **Webhooks add labels to user-provided resources** (no ownerReferences)
283
+
- ❌ **Operator-managed resources excluded** (no labels, will be recreated by operators)
284
+
285
+
This means:
286
+
- User-provided Secrets → Labeled by webhook → Restored ✅
287
+
- Operator-created Secrets → Not labeled → Not restored, recreated by operator ✅
288
+
- User-provided ConfigMaps → Labeled by webhook → Restored ✅
289
+
- Operator-created ConfigMaps → Not labeled → Not restored, recreated by operator ✅
290
+
- All CRs with annotations → Labeled by webhook → Restored ✅
291
+
292
+
**Example Restore CRs:**
259
293
260
294
```yaml
261
295
# Restore Order 1: Secrets, ConfigMaps, NADs
@@ -289,7 +323,11 @@ spec:
289
323
# And so on for each restore order...
290
324
```
291
325
292
-
**Key Point**: Webhooks add `openstack.org/backup-restore: "true"` labels to resources that need restore. OADP restore uses these labels for selective restore, even though the backup contains everything.
326
+
**Key Points:**
327
+
-**Backup**: All user resources in namespace (all Secrets, ConfigMaps, CRs) - complete snapshot
328
+
-**Restore**: Only resources with `openstack.org/backup-restore: "true"` label - selective filtering
329
+
-**Webhooks**: Add restore labels to user-provided resources (no ownerReferences)
330
+
-**Operators**: Recreate their own Secrets/ConfigMaps on reconciliation (not restored from backup)
0 commit comments