You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this change adresses #15, in order to run the mail notifications as a
job, the workload will need to have access to all attachements that are
expected in the mails. The idea with this change, is that theese
attachements will be available before dispatching a job (during the
validation phase) and can be added as kubernetes resources (configmaps
or secrets) from which the job can consume them.
This change includes:
- Adding volumes and mounts for a secret (with the expected name
xml-data-<dataset_folder>.xml)
- Adding environment variables that allows the user to configure the
secret name to consume from (should be xml-data-<dataset_folder>.xml)
- Replacing gopkg.in/gomail.v2 with github.com/wnessen/go-mail since
gomail.v2 have a single maintainer that is no longer maintaining the
repositry
How to test:
```bash
./bpctl mail --dry-run
```
0 commit comments