kestra-io / plugin-fs

https://kestra.io/plugins/plugin-fs/
Apache License 2.0
6 stars 7 forks source link

fix: set the vfs_cache in the task working directory to work with wor… #145

Closed loicmathieu closed 3 months ago

loicmathieu commented 3 months ago

…ker isolation

Worker isolation restricts file creating inside the task working directory. By default Common VFS will create a cache directory /tmp/vfs_cache which will not be allowed by Kestra's security manager.

To fix that we need to init the FileRecplicator by ourselves and pass it a cache directory created inside the task working directory.