https://flyte.org logo
#ask-the-community
Title
# ask-the-community
f

Felix Ruess

12/12/2023, 10:31 AM
What kind of templates can be used for container tasks for generating the command apart from
{{.inputs.x}}
? We are looking into making our container tasks simpler and get rid of duplication and we currently end up with lots of tasks which only differ by input arguments. Ideally we would be able to use simple go templates for constructing the command as well. Any pointers to docs or implementation would be appreciated.
k

Ketan (kumare3)

12/12/2023, 3:14 PM
Why do you use container tasks?
Use shell task
f

Felix Ruess

12/12/2023, 3:25 PM
But for that I need python in the container image, right? We mostly just have a bunch of binaries that we need to call with the correct cmdline args
In any case we are interested in knowing what kind of template vars / substitutions can be used in e.g. ContainerTask command, etc. And where is this happening?
It’s happening in plugins
f

Felix Ruess

12/12/2023, 3:58 PM
thx