Skip to content

Commit

Permalink
Get merchant info from env
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreben committed Nov 7, 2023
1 parent 169d774 commit 8b5f347
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ spec:
imagePullPolicy: Always
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: MERCHANT_KEY_ID
valueFrom:
secretKeyRef:
name: cybersource
key: MERCHANT_KEY_ID
- name: MERCHANT_SECRET_KEY
valueFrom:
secretKeyRef:
name: cybersource
key: MERCHANT_SECRET_KEY
volumeMounts:
- mountPath: home/files
name: cybersource-files
Expand Down

0 comments on commit 8b5f347

Please sign in to comment.