|
@@ -18,18 +18,11 @@ spec:
|
|
|
app: $DRONE_REPO_NAME
|
|
|
spec:
|
|
|
terminationGracePeriodSeconds: 180
|
|
|
- dnsPolicy: "None" ##ClusterFirstWithHostNet
|
|
|
+ dnsPolicy: ClusterFirstWithHostNet
|
|
|
dnsConfig:
|
|
|
nameservers:
|
|
|
- 223.5.5.5
|
|
|
- - 10.26.22.50
|
|
|
- searches:
|
|
|
- - pro.svc.cluster.local
|
|
|
- - svc.cluster.local
|
|
|
- - cluster.local
|
|
|
- options:
|
|
|
- - name: ndots
|
|
|
- value: "5"
|
|
|
+ - 223.6.6.6
|
|
|
initContainers:
|
|
|
- name: init
|
|
|
image: $JNLP_REPO/dev/busybox
|