Cilium: Enable wireguard-go fallback & mount TUN device from host

(Required for Kernel 5.4, since Wireguard is only available in-kernel
since v5.6)
This commit is contained in:
Nils Hanke 2022-12-21 19:07:48 +01:00
parent f3cc806118
commit 08baebbe62
2 changed files with 16 additions and 16 deletions

View File

@ -132,13 +132,13 @@ extraArgs: []
extraEnv: []
# -- Additional agent hostPath mounts.
extraHostPathMounts: []
# - name: host-mnt-data
# mountPath: /host/mnt/data
# hostPath: /mnt/data
# hostPathType: Directory
# readOnly: true
# mountPropagation: HostToContainer
extraHostPathMounts:
- name: dev-net
mountPath: /dev/net
hostPath: /dev/net
hostPathType: Directory
readOnly: true
mountPropagation: HostToContainer
# -- Additional agent volumes.
extraVolumes: []
@ -525,7 +525,7 @@ encryption:
wireguard:
# -- Enables the fallback to the user-space implementation.
userspaceFallback: false
userspaceFallback: true
# -- Deprecated in favor of encryption.ipsec.keyFile.
# Name of the key file inside the Kubernetes secret configured via secretName.

View File

@ -522,7 +522,7 @@ encryption:
wireguard:
# -- Enables the fallback to the user-space implementation.
userspaceFallback: false
userspaceFallback: true
# -- Deprecated in favor of encryption.ipsec.keyFile.
# Name of the key file inside the Kubernetes secret configured via secretName.
@ -1582,13 +1582,13 @@ operator:
extraEnv: []
# -- Additional cilium-operator hostPath mounts.
extraHostPathMounts: []
# - name: host-mnt-data
# mountPath: /host/mnt/data
# hostPath: /mnt/data
# hostPathType: Directory
# readOnly: true
# mountPropagation: HostToContainer
extraHostPathMounts:
- name: dev-net
mountPath: /dev/net
hostPath: /dev/net
hostPathType: Directory
readOnly: true
mountPropagation: HostToContainer
# -- Additional cilium-operator volumes.
extraVolumes: []