potiuk commented on a change in pull request #21905:
URL: https://github.com/apache/airflow/pull/21905#discussion_r816997176
##########
File path: airflow/kubernetes/pod_generator_deprecated.py
##########
@@ -187,15 +187,15 @@ def __init__(
self.spec = k8s.V1PodSpec(containers=[])
self.spec.security_context = security_context
self.spec.tolerations = tolerations
- self.spec.dns_policy = dnspolicy
+ self.spec.dns_policy = dnspolicy if dnspolicy else "Default"
Review comment:
Well.. That's ..... unexpected :D.
So you say "Default" is not "default" :facepalm:
--
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]