fix(k8s): add eth0 to public zone in firewalld for pod egress
This commit is contained in:
parent
e3ab3f0601
commit
7b81cc2d29
|
|
@ -62,6 +62,7 @@ spec:
|
||||||
firewall-cmd --permanent --add-source=167.86.68.48
|
firewall-cmd --permanent --add-source=167.86.68.48
|
||||||
firewall-cmd --permanent --add-source=95.111.235.130
|
firewall-cmd --permanent --add-source=95.111.235.130
|
||||||
firewall-cmd --permanent --add-source=80.241.209.235
|
firewall-cmd --permanent --add-source=80.241.209.235
|
||||||
|
firewall-cmd --permanent --zone=public --add-interface=eth0
|
||||||
firewall-cmd --reload
|
firewall-cmd --reload
|
||||||
elif command -v dnf >/dev/null && grep -q "Rocky Linux 10" /etc/os-release 2>/dev/null; then
|
elif command -v dnf >/dev/null && grep -q "Rocky Linux 10" /etc/os-release 2>/dev/null; then
|
||||||
# Specific fix for Rocky 10 missing legacy netfilter modules
|
# Specific fix for Rocky 10 missing legacy netfilter modules
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue