fix: Add workaround init container to fix test infra (#6618)
* debug to see e2e test * debug * updated gcloud version * added networking issue workaround
This commit is contained in:
parent
4e89973504
commit
f87057486a
|
|
@ -95,7 +95,20 @@ spec:
|
|||
- name: strict-image-name
|
||||
valueFrom:
|
||||
path: /outputs/strict-image-name/file
|
||||
container:
|
||||
# TODO work around networking issues,remove initContainers once networking issues gets resolved
|
||||
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
|
||||
container:
|
||||
image: "{{workflow.parameters.image-builder-image}}"
|
||||
imagePullPolicy: 'Always'
|
||||
command:
|
||||
|
|
|
|||
|
|
@ -195,6 +195,19 @@ spec:
|
|||
- name: strict-image-name
|
||||
valueFrom:
|
||||
path: /outputs/strict-image-name/file
|
||||
# TODO work around networking issues,remove initContainers once networking issues gets resolved
|
||||
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
|
||||
container:
|
||||
image: "{{workflow.parameters.image-builder-image}}"
|
||||
imagePullPolicy: 'Always'
|
||||
|
|
|
|||
|
|
@ -127,6 +127,19 @@ spec:
|
|||
- name: strict-image-name
|
||||
valueFrom:
|
||||
path: /outputs/strict-image-name/file
|
||||
# TODO work around networking issues,remove initContainers once networking issues gets resolved
|
||||
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
|
||||
container:
|
||||
image: "{{workflow.parameters.image-builder-image}}"
|
||||
imagePullPolicy: 'Always'
|
||||
|
|
|
|||
Loading…
Reference in New Issue