google / osdfir-infrastructure

Helm charts for running open source digital forensic tools in Kubernetes
Apache License 2.0
70 stars 15 forks source link

Yeti Tasks environment variables fix #138

Closed wajihyassine closed 5 months ago

wajihyassine commented 5 months ago

Description of the change

Moves all environment variables to the _env.tpl file to then be referenced by the api and API deployments. Previously the API deployment was being passed in all the environment variables while the Task deployment was being passed a subset of variables (e.g. TS host was missing) which caused the Timesketch feed to not work.

Moving everything instead to _env.tpl makes it easier to reason what environment variables are available/to add new ones in future without having to change in multiple places.

Applicable issues

Additional information

Checklist