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:
parent
6ebc914354
commit
e328646617
@ -136,7 +136,7 @@ spec:
|
|||||||
mountPath: /etc/kubernetes
|
mountPath: /etc/kubernetes
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: boringtun
|
- name: boringtun
|
||||||
image: leonnicolas/boringtun:alpine
|
image: leonnicolas/boringtun:cc19859
|
||||||
args:
|
args:
|
||||||
- --disable-drop-privileges=true
|
- --disable-drop-privileges=true
|
||||||
- --foreground
|
- --foreground
|
||||||
|
@ -65,7 +65,7 @@ build_kind_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
create_interface() {
|
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() {
|
delete_interface() {
|
||||||
|
@ -298,7 +298,7 @@ spec:
|
|||||||
mountPath: /var/run/wireguard
|
mountPath: /var/run/wireguard
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- name: boringtun
|
- name: boringtun
|
||||||
image: leonnicolas/boringtun
|
image: leonnicolas/boringtun:cc19859
|
||||||
args:
|
args:
|
||||||
- --disable-drop-privileges=true
|
- --disable-drop-privileges=true
|
||||||
- --foreground
|
- --foreground
|
||||||
|
@ -165,7 +165,7 @@ spec:
|
|||||||
mountPath: /var/run/wireguard
|
mountPath: /var/run/wireguard
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- name: boringtun
|
- name: boringtun
|
||||||
image: leonnicolas/boringtun
|
image: leonnicolas/boringtun:cc19859
|
||||||
args:
|
args:
|
||||||
- --disable-drop-privileges=true
|
- --disable-drop-privileges=true
|
||||||
- --foreground
|
- --foreground
|
||||||
|
@ -67,7 +67,7 @@ spec:
|
|||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
- name: boringtun
|
- name: boringtun
|
||||||
image: leonnicolas/boringtun
|
image: leonnicolas/boringtun:cc19859
|
||||||
args:
|
args:
|
||||||
- --disable-drop-privileges=true
|
- --disable-drop-privileges=true
|
||||||
- --foreground
|
- --foreground
|
||||||
|
@ -101,7 +101,7 @@ spec:
|
|||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
- name: boringtun
|
- name: boringtun
|
||||||
image: leonnicolas/boringtun
|
image: leonnicolas/boringtun:cc19859
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- --disable-drop-privileges=true
|
- --disable-drop-privileges=true
|
||||||
|
Loading…
Reference in New Issue
Block a user