Padarn closed pull request #4089: adding image_pull_secrets into pod at 
creation inside operator
URL: https://github.com/apache/incubator-airflow/pull/4089
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/airflow/contrib/operators/kubernetes_pod_operator.py 
b/airflow/contrib/operators/kubernetes_pod_operator.py
index d4f1013876..0f250b0963 100644
--- a/airflow/contrib/operators/kubernetes_pod_operator.py
+++ b/airflow/contrib/operators/kubernetes_pod_operator.py
@@ -106,6 +106,7 @@ def execute(self, context):
 
             pod.service_account_name = self.service_account_name
             pod.secrets = self.secrets
+            pod.image_pull_secrets = self.image_pull_secrets
             pod.envs = self.env_vars
             pod.image_pull_policy = self.image_pull_policy
             pod.annotations = self.annotations


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to