Both parties oppose military aid to Ukraine and could reject increased contributions to the defence fund.