xCom Templating for init_containers in KubernetesPodOperator #44289
Labels
area:providers
kind:feature
Feature Requests
needs-triage
label for new issues that we didn't triage yet
provider:cncf-kubernetes
Kubernetes provider related issues
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
The text was updated successfully, but these errors were encountered: