pre-commit autocorrected files (#9750)

This commit is contained in:
Bas
2023-02-06 10:35:16 +01:00
committed by GitHub
parent 10337f2fcb
commit 2c93c997cf
89 changed files with 150 additions and 104 deletions

View File

@@ -77,4 +77,3 @@ data:
"Type": "vxlan"
}
}

View File

@@ -6,4 +6,4 @@ kind: Secret
metadata:
name: cilium-ipsec-keys
namespace: kube-system
type: Opaque
type: Opaque

View File

@@ -3,4 +3,4 @@
approvers:
- bozzo
reviewers:
- bozzo
- bozzo

View File

@@ -38,4 +38,3 @@ fi
${OTHERSCRIPT} ${CONFIG}
ip link del ${DEVICE} type ${TYPE:-macvlan}

View File

@@ -41,4 +41,3 @@ ip link add \
type ${TYPE:-macvlan} mode ${MACVLAN_MODE:-private}
${OTHERSCRIPT} ${CONFIG}

View File

@@ -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') }}

View File

@@ -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 %}

View File

@@ -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 %}

View File

@@ -15,4 +15,3 @@ GatewayOnlink=yes
{% endif %}
{% endif %}
{% endfor %}

View File

@@ -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

View File

@@ -233,7 +233,7 @@ items:
{% if weave_npc_extra_args %}
- name: EXTRA_ARGS
value: "{{ weave_npc_extra_args }}"
{% endif %}
{% endif %}
image: {{ weave_npc_image_repo }}:{{ weave_npc_image_tag }}
imagePullPolicy: {{ k8s_image_pull_policy }}
resources: