[ 
https://issues.apache.org/jira/browse/AIRFLOW-4794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Nimmer updated AIRFLOW-4794:
--------------------------------------
    Description: Change the Kubernetes Pod Operator so that it has access to 
context at runtime.  This could be done by passing a callable into the 
constructor the callable would take the context and the existing env_vars as 
parameters and allow the developer to manipulate to the env_vars at run time 
before they are used to create the pod object.   (was: Change the Kubernetes 
Pod Operator so that it has access to XCOMs as environment variables.  This 
could be done either by adding a new flag into the constructor and implicitly 
setting all the XCOMs as env_vars or by using a callable passed, giving the 
developer access to the context and the pod object, giving them a runtime 
opportunity to manipulate the pod object before it is launched. )

> Inject XCOMs as environment variables into the Kubernetes Pods
> --------------------------------------------------------------
>
>                 Key: AIRFLOW-4794
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4794
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: contrib, operators
>    Affects Versions: 1.10.3
>            Reporter: Alexander Nimmer
>            Assignee: Alexander Nimmer
>            Priority: Trivial
>              Labels: Kubernetes, enhancement, operator, xcom
>
> Change the Kubernetes Pod Operator so that it has access to context at 
> runtime.  This could be done by passing a callable into the constructor the 
> callable would take the context and the existing env_vars as parameters and 
> allow the developer to manipulate to the env_vars at run time before they are 
> used to create the pod object. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to