Set dnsPolicy to Default on k8s build jobs
This prevents the builder pods from having resolv.conf pointed at the kube-dns service, which they won't have access to.
This commit is contained in:
parent
631ad0422d
commit
593c3eb9c7
1 changed files with 1 additions and 0 deletions
|
@ -384,6 +384,7 @@ class KubernetesExecutor(BuilderExecutor):
|
|||
],
|
||||
'imagePullSecrets': [{'name': 'builder'}],
|
||||
'restartPolicy': 'Never',
|
||||
'dnsPolicy': 'Default',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Reference in a new issue