velero/config/crd/v1
Tiger Kaovilai 1daa685e7d
Make ResticIdentifier optional for kopia repositories (#8987)
The ResticIdentifier field in BackupRepository is only relevant for restic
repositories. For kopia repositories, this field is unused and should be
omitted. This change:

- Adds omitempty tag to ResticIdentifier field in BackupRepository CRD
- Updates controller to only populate ResticIdentifier for restic repos
- Adds tests to verify behavior for both restic and kopia repository types

This ensures backward compatibility while properly handling kopia repositories
that don't require a restic-compatible identifier.

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2025-07-24 22:25:09 -04:00
..
bases Make ResticIdentifier optional for kopia repositories (#8987) 2025-07-24 22:25:09 -04:00
crds Make ResticIdentifier optional for kopia repositories (#8987) 2025-07-24 22:25:09 -04:00