ungleich-k8s/generic/wireguard-pod.yaml
2023-04-10 16:56:56 +02:00

16 lines
326 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: wireguard-test-pod
spec:
containers:
- name: wireguard
image: ungleich/ungleich-wireguard:0.0.7
command:
- sleep
- "1000000"
securityContext:
capabilities:
# NET_ADMIN for wg
# NET_RAW for iptables
add: ["NET_ADMIN", "NET_RAW" ]