diff --git a/cronjob.yaml b/cronjob.yaml index 473f68d..e0367cc 100644 --- a/cronjob.yaml +++ b/cronjob.yaml @@ -23,6 +23,11 @@ spec: command: [ "/bin/bash", "-c", "--" ] args: [ "cd /etc/mail && make && service sendmail restart; cd /home/cybersource && rake download_report >> files/reports.log" 2>&1;" ] env: + - name: EMAIL_REPORT_TO + valueFrom: + secretKeyRef: + name: cybersource + key: EMAIL_REPORT_TO - name: MERCHANT_KEY_ID valueFrom: secretKeyRef: diff --git a/debug.yaml b/debug.yaml index adbaa08..53e300f 100644 --- a/debug.yaml +++ b/debug.yaml @@ -15,6 +15,11 @@ spec: command: [ "/bin/bash", "-c", "--" ] args: [ "cd /etc/mail && make && service sendmail restart; while true; do sleep 30; done;" ] env: + - name: EMAIL_REPORT_TO + valueFrom: + secretKeyRef: + name: cybersource + key: EMAIL_REPORT_TO - name: MERCHANT_KEY_ID valueFrom: secretKeyRef: