https://garden.io logo
Container w/Tasks - can task use container env vars?
e

eager-yacht-45658

05/19/2023, 1:52 PM
I have a mongo container with some data loading tasks defined. Is there a way for the Task to 'inherit' the
env:
from the container?
q

quaint-dress-831

05/22/2023, 8:46 AM
Hi @eager-yacht-45658 and welcome to the community! This will be possible with the new Run kubernetes-exec type released with Garden Bonsai tomorrow. Have a read of @bright-policeman-43626's latest blog post that cover this https://garden-io.webflow.io/blog/bonsai-migration under the heading, "Run tests and scripts without rebuilding: the brand new kubernetes-exec actions 🚀"