ramandumcs commented on a change in pull request #4859: [AIRFLOW-3917] Added
config to support running scheduler(with kuberne…
URL: https://github.com/apache/airflow/pull/4859#discussion_r265844609
##########
File path: airflow/contrib/executors/kubernetes_executor.py
##########
@@ -264,6 +264,14 @@ def _validate(self):
'must be set for authentication through user credentials; '
'or `git_ssh_key_secret_name` must be set for authentication '
'through ssh key, but not both')
+ if conf.getboolean(self.kubernetes_section, 'in_cluster') is False \
+ and not conf.get(self.kubernetes_section, 'config_file') \
+ and not conf.get(self.kubernetes_section, 'cluster_context'):
Review comment:
@ashb Thanks for helping on this PR. Changes are incorporated
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services