lwyszomi commented on a change in pull request #19518:
URL: https://github.com/apache/airflow/pull/19518#discussion_r750345438
##########
File path: airflow/providers/google/cloud/operators/kubernetes_engine.py
##########
@@ -350,6 +361,22 @@ def execute(self, context) -> Optional[str]:
"--project",
self.project_id,
]
+ if self.impersonation_chain:
+ if isinstance(self.impersonation_chain, str):
+ impersonation_chain = self.impersonation_chain
Review comment:
@mik-laj I wanted to change this to `impersonation_service_account` but
then we don't need to check if we have more that one element in it, also I
wanted to be consistent between operators that why I used
`impersonation_chain`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]