fix(gluetun): Add ip rule del command to poststart
This commit is contained in:
parent
80ae8c56da
commit
cf9b1822b1
1 changed files with 9 additions and 0 deletions
|
|
@ -36,6 +36,15 @@ spec:
|
||||||
- name: gluetun-tmp
|
- name: gluetun-tmp
|
||||||
mountPath: /tmp/gluetun
|
mountPath: /tmp/gluetun
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
|
lifecycle:
|
||||||
|
postStart:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
[
|
||||||
|
"/bin/sh",
|
||||||
|
"-c",
|
||||||
|
"(ip rule del table 51820; ip -6 rule del table 51820) || true",
|
||||||
|
]
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue