Pin boringtun image tag (#319)
* Pin boringtun image tag Pin the image to a tag before boringtun's cli changed. Specifically the --disable-drop-privileges flag need a boolean param. * Fix image name
This commit is contained in:
		| @@ -136,7 +136,7 @@ spec: | ||||
|           mountPath: /etc/kubernetes | ||||
|           readOnly: true | ||||
|       - name: boringtun | ||||
|         image: leonnicolas/boringtun:alpine | ||||
|         image: leonnicolas/boringtun:cc19859 | ||||
|         args: | ||||
|         - --disable-drop-privileges=true | ||||
|         - --foreground | ||||
|   | ||||
| @@ -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 --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:cc19859 --foreground --disable-drop-privileges true "$1" | ||||
| } | ||||
|  | ||||
| delete_interface() { | ||||
|   | ||||
| @@ -298,7 +298,7 @@ spec: | ||||
|           mountPath: /var/run/wireguard | ||||
|           readOnly: false | ||||
|       - name: boringtun | ||||
|         image: leonnicolas/boringtun | ||||
|         image: leonnicolas/boringtun:cc19859 | ||||
|         args: | ||||
|         - --disable-drop-privileges=true | ||||
|         - --foreground | ||||
|   | ||||
| @@ -165,7 +165,7 @@ spec: | ||||
|           mountPath: /var/run/wireguard | ||||
|           readOnly: false | ||||
|       - name: boringtun | ||||
|         image: leonnicolas/boringtun | ||||
|         image: leonnicolas/boringtun:cc19859 | ||||
|         args: | ||||
|         - --disable-drop-privileges=true | ||||
|         - --foreground | ||||
|   | ||||
| @@ -67,7 +67,7 @@ spec: | ||||
|       hostNetwork: true | ||||
|       containers: | ||||
|       - name: boringtun | ||||
|         image: leonnicolas/boringtun | ||||
|         image: leonnicolas/boringtun:cc19859 | ||||
|         args: | ||||
|           - --disable-drop-privileges=true | ||||
|           - --foreground | ||||
|   | ||||
| @@ -101,7 +101,7 @@ spec: | ||||
|       hostNetwork: true | ||||
|       containers: | ||||
|       - name: boringtun | ||||
|         image: leonnicolas/boringtun | ||||
|         image: leonnicolas/boringtun:cc19859 | ||||
|         imagePullPolicy: IfNotPresent | ||||
|         args: | ||||
|           - --disable-drop-privileges=true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user