Skip to content

Commit

Permalink
fixup! dev-docs: full L3 connectivity in VPN chart
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerdev committed Dec 20, 2023
1 parent 0c1460f commit 63cd368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-docs/howto/vpn/helm/files/routing/pod-l3-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cilium_agent=$(pidof cilium-agent)
myip=$(ip -j addr show eth0 | jq -r '.[0].addr_info[] | select(.family == "inet") | .local')

cilium() {
nsenter -t "${cilium_agent}" -a -r -w cilium "$@"
nsenter -t "${cilium_agent}" -a -r -w cilium "$@"
}

myendpoint=$(cilium endpoint get "ipv4:${myip}" | jq '.[0].id')
Expand All @@ -32,7 +32,7 @@ rm -f /var/run/netns/root
ip netns attach root 1

ip_root() {
ip netns exec root ip "$@"
ip netns exec root ip "$@"
}

lower_interface_id=$(ip -j l show eth0 | jq '.[0].link_index')
Expand Down

0 comments on commit 63cd368

Please sign in to comment.