Files
dsk-iac/kubespray/roles/network_plugin/macvlan/templates/centos-postdown-macvlan.cfg.j2
havelight-ee 4c32a7239d update
2023-05-30 14:44:26 +09:00

5 lines
171 B
Django/Jinja

{% if enable_nat_default_gateway %}
iptables -t nat -D POSTROUTING -s {{ node_pod_cidr|ipaddr('net') }} -o {{ node_default_gateway_interface }} -j MASQUERADE
{% endif %}