Repository: incubator-airflow
Updated Branches:
  refs/heads/master 06017f66e -> e813c606f


[AIRFLOW-2445] Allow templating in kubernetes operator

Closes #3338 from ese/k8s-templating


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/e813c606
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/e813c606
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/e813c606

Branch: refs/heads/master
Commit: e813c606fcd2f9bf9f64fac81a8464c99d3ff88c
Parents: 06017f6
Author: Sergio Ballesteros <[email protected]>
Authored: Thu May 10 10:10:58 2018 +0200
Committer: Bolke de Bruin <[email protected]>
Committed: Thu May 10 10:10:58 2018 +0200

----------------------------------------------------------------------
 airflow/contrib/operators/kubernetes_pod_operator.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/e813c606/airflow/contrib/operators/kubernetes_pod_operator.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/operators/kubernetes_pod_operator.py 
b/airflow/contrib/operators/kubernetes_pod_operator.py
index c628fec..a266d87 100644
--- a/airflow/contrib/operators/kubernetes_pod_operator.py
+++ b/airflow/contrib/operators/kubernetes_pod_operator.py
@@ -58,6 +58,7 @@ class KubernetesPodOperator(BaseOperator):
     :param get_logs: get the stdout of the container as logs of the tasks
     :type get_logs: bool
     """
+    template_fields = ('cmds', 'arguments', 'env_vars')
 
     def execute(self, context):
         try:

Reply via email to