We should be able to specify the image, cmd, args, etc. fields of init containers as xCom templates. Currently this is not supported.
Use case/motivation
In our dags, we need a pod to have init containers with the image and command of those containers determined dynamically at runtime. Having the ability to pass these from upstream xComs and be able to template them into the PodOperator would be useful here.
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
Description
We should be able to specify the
image
,cmd
,args
, etc. fields of init containers as xCom templates. Currently this is not supported.Use case/motivation
In our dags, we need a pod to have init containers with the image and command of those containers determined dynamically at runtime. Having the ability to pass these from upstream xComs and be able to template them into the PodOperator would be useful here.
Related issues
No response
Are you willing to submit a PR?
Code of Conduct