VladaZakharova commented on code in PR #29498:
URL: https://github.com/apache/airflow/pull/29498#discussion_r1106341027
##########
airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py:
##########
@@ -565,7 +565,16 @@ def execute_async(self, context: Context):
def convert_config_file_to_dict(self):
"""Converts passed config_file to dict format."""
- config_file = self.config_file if self.config_file else
os.environ.get(KUBE_CONFIG_ENV_VAR)
+ config_file = None
Review Comment:
We needed a way to pass config file to the trigger to create a client for
kubernetes, but using file system to communicate with trigger was not a good
solution. So then we added a possibility to pass all config file parameters as
a dict.
--
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]