mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-15 18:20:02 -03:30
pre-commit autocorrected files (#9750)
This commit is contained in:
@@ -38,4 +38,3 @@ fi
|
||||
${OTHERSCRIPT} ${CONFIG}
|
||||
|
||||
ip link del ${DEVICE} type ${TYPE:-macvlan}
|
||||
|
||||
|
||||
@@ -41,4 +41,3 @@ ip link add \
|
||||
type ${TYPE:-macvlan} mode ${MACVLAN_MODE:-private}
|
||||
|
||||
${OTHERSCRIPT} ${CONFIG}
|
||||
|
||||
|
||||
@@ -11,4 +11,3 @@ MACVLAN_MODE=bridge
|
||||
IPADDR={{ node_pod_cidr|ipaddr('net')|ipaddr(1)|ipaddr('address') }}
|
||||
NETMASK={{ node_pod_cidr|ipaddr('netmask') }}
|
||||
NETWORK={{ node_pod_cidr|ipaddr('network') }}
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
{% if enable_nat_default_gateway %}
|
||||
iptables -t nat -D POSTROUTING -s {{ node_pod_cidr|ipaddr('net') }} -o {{ node_default_gateway_interface }} -j MASQUERADE
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
{% if enable_nat_default_gateway %}
|
||||
iptables -t nat -I POSTROUTING -s {{ node_pod_cidr|ipaddr('net') }} -o {{ node_default_gateway_interface }} -j MASQUERADE
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -15,4 +15,3 @@ GatewayOnlink=yes
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
@@ -24,4 +24,3 @@ iface mac0 inet static
|
||||
{% endfor %}
|
||||
post-down iptables -t nat -D POSTROUTING -s {{ node_pod_cidr|ipaddr('net') }} -o {{ node_default_gateway_interface }} -j MASQUERADE
|
||||
post-down ip link delete mac0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user