airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-2445] Allow templating in kubernetes operator
Date Thu, 10 May 2018 08:11:08 GMT
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 <snaker@locolandia.net>
Authored: Thu May 10 10:10:58 2018 +0200
Committer: Bolke de Bruin <bolke@xs4all.nl>
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:


Mime
View raw message