Compare commits

...

1 Commits

Author SHA1 Message Date
Thomas Carmet 1d96f20e50 CLDSRV-27 docker build stuck due to GCP issue 2021-09-29 09:40:39 -07:00
1 changed files with 13 additions and 0 deletions

View File

@ -4,6 +4,19 @@ kind: Pod
metadata:
name: worker
spec:
# To be removed when RELENG-4978 is fixed
initContainers:
- name: workaround
image: k8s.gcr.io/build-image/debian-iptables-amd64:buster-v1.6.7
command:
- sh
- -c
- "iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu"
securityContext:
capabilities:
add:
- NET_ADMIN
privileged: true
containers:
- name: build-worker
image: "{{ images.worker }}"