Skip to content

Commit

Permalink
Interpolate namespace for mail
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreben committed Nov 15, 2023
1 parent ff7eb39 commit 47fa55a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tasks/download_report.rake
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ task :mail do
require 'date'
require 'mail'

options = { host: 'mail.folio-test.svc.cluster.local',
address: 'mail.folio-test.svc.cluster.local',
namespace = "folio-#{ENV.fetch('STAGE', nil)}"
options = { host: "mail.#{namespace}.svc.cluster.local",
address: "mail.#{namespace}.svc.cluster.local",
port: 587
}

Expand Down

0 comments on commit 47fa55a

Please sign in to comment.