Просмотр исходного кода

Merge pull request #318 from squat/fix_e2e

e2e/kilo-kind-userspace.yaml: fix boringtun cli flags
Lucas Servén Marín 3 лет назад
Родитель
Сommit
3d842d9dd5

+ 2 - 2
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:

+ 1 - 1
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() {

+ 1 - 1
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:

+ 1 - 1
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:

+ 1 - 1
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: