Set the default reclaim policy to retain for application backup schedule
@@ -126,7 +126,7 @@ func (s *ApplicationBackupScheduleController) Handle(ctx context.Context, event
func (s *ApplicationBackupScheduleController) setDefaults(backupSchedule *stork_api.ApplicationBackupSchedule) {
if backupSchedule.Spec.ReclaimPolicy == "" {
- backupSchedule.Spec.ReclaimPolicy = stork_api.ReclaimPolicyDelete
+ backupSchedule.Spec.ReclaimPolicy = stork_api.ReclaimPolicyRetain
}
}
