Skip to content

Commit 9ac7ecb

Browse files
committed
add TODO about potential enhancement
1 parent a84e5f9 commit 9ac7ecb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/controllers/backup/cluster_origin.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ func (h *handler) prepareClusterOriginConditions(backup *v1.Backup) bool {
7272
return conditionChanged
7373
}
7474

75+
// TODO: We could add a fallback mode that uses filenames (and/or the annotation) when the CRD is not updated
7576
conditionMeta := newBackupClusterOriginConditionMeta(h.kubeSystemNS, backup)
7677

7778
// Fist pass we only care to set BackupConditionClusterOrigin based on if the context is there

0 commit comments

Comments
 (0)