From aeb1d1f5a559708b4c2ebc8005c388a1bf72aa6c Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Wed, 17 Apr 2024 16:45:30 -0400 Subject: [PATCH] fix capabilities --- wg-easy/deployment.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wg-easy/deployment.yaml b/wg-easy/deployment.yaml index 876c7e2..169aecf 100644 --- a/wg-easy/deployment.yaml +++ b/wg-easy/deployment.yaml @@ -24,6 +24,11 @@ spec: - containerPort: 51820 protocol: UDP - containerPort: 51821 + securityContext: + capabilities: + add: + - NET_ADMIN + - SYS_MODULE volumeMounts: - name: config mountPath: /etc/wireguard