From 478a1b9945ae782ad6270aee9b579a21f692b88d Mon Sep 17 00:00:00 2001 From: leonnicolas <60091705+leonnicolas@users.noreply.github.com> Date: Mon, 11 Jul 2022 23:17:05 +0200 Subject: [PATCH] manifests/: fix boringtun containers A change in boringtun's cli caused the boringtun containers to crash. Signed-off-by: leonnicolas --- e2e/kilo-kind-userspace.yaml | 4 ++-- e2e/lib.sh | 2 +- manifests/kilo-k3s-userspace-heterogeneous.yaml | 2 +- manifests/kilo-k3s-userspace.yaml | 2 +- manifests/kilo-kubeadm-userspace.yaml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/e2e/kilo-kind-userspace.yaml b/e2e/kilo-kind-userspace.yaml index 81146d4..29b8a13 100644 --- a/e2e/kilo-kind-userspace.yaml +++ b/e2e/kilo-kind-userspace.yaml @@ -136,9 +136,9 @@ spec: mountPath: /etc/kubernetes readOnly: true - name: boringtun - image: leonnicolas/boringtun:cc19859 + image: leonnicolas/boringtun args: - - --disable-drop-privileges=true + - --disable-drop-privileges - --foreground - kilo0 securityContext: diff --git a/e2e/lib.sh b/e2e/lib.sh index cdd4a42..71eb972 100755 --- a/e2e/lib.sh +++ b/e2e/lib.sh @@ -65,7 +65,7 @@ build_kind_config() { } create_interface() { - docker run -d --name="$1" --rm --network=host --cap-add=NET_ADMIN --device=/dev/net/tun -v /var/run/wireguard:/var/run/wireguard -e WG_LOG_LEVEL=debug leonnicolas/boringtun:cc19859 --foreground --disable-drop-privileges true "$1" + docker run -d --name="$1" --rm --network=host --cap-add=NET_ADMIN --device=/dev/net/tun -v /var/run/wireguard:/var/run/wireguard -e WG_LOG_LEVEL=debug leonnicolas/boringtun --foreground --disable-drop-privileges "$1" } delete_interface() { diff --git a/manifests/kilo-k3s-userspace-heterogeneous.yaml b/manifests/kilo-k3s-userspace-heterogeneous.yaml index 664d3e0..4b0be33 100644 --- a/manifests/kilo-k3s-userspace-heterogeneous.yaml +++ b/manifests/kilo-k3s-userspace-heterogeneous.yaml @@ -300,7 +300,7 @@ spec: - name: boringtun image: leonnicolas/boringtun:cc19859 args: - - --disable-drop-privileges=true + - --disable-drop-privileges - --foreground - kilo0 securityContext: diff --git a/manifests/kilo-k3s-userspace.yaml b/manifests/kilo-k3s-userspace.yaml index 0fc441e..9e5de6b 100644 --- a/manifests/kilo-k3s-userspace.yaml +++ b/manifests/kilo-k3s-userspace.yaml @@ -167,7 +167,7 @@ spec: - name: boringtun image: leonnicolas/boringtun:cc19859 args: - - --disable-drop-privileges=true + - --disable-drop-privileges - --foreground - kilo0 securityContext: diff --git a/manifests/kilo-kubeadm-userspace.yaml b/manifests/kilo-kubeadm-userspace.yaml index a360b00..5616389 100644 --- a/manifests/kilo-kubeadm-userspace.yaml +++ b/manifests/kilo-kubeadm-userspace.yaml @@ -104,7 +104,7 @@ spec: image: leonnicolas/boringtun:cc19859 imagePullPolicy: IfNotPresent args: - - --disable-drop-privileges=true + - --disable-drop-privileges - --foreground - kilo0 securityContext: