feat(netbird): add netbird router agent

This should allow me to connect to services from a Netbird VPN connection
This commit is contained in:
Vegard Hagen
2024-11-17 17:03:29 +01:00
parent 0048da7ffa
commit 5c0c3366b2
5 changed files with 75 additions and 0 deletions
@@ -0,0 +1,41 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: netbird-agent
namespace: netbird
spec:
selector:
matchLabels:
app: netbird
template:
metadata:
labels:
app: netbird
spec:
securityContext:
seccompProfile:
type: RuntimeDefault
containers:
- name: netbird
image: netbirdio/netbird:0.28.7 # renovate: docker=netbirdio/netbird
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
add: [ NET_ADMIN, PERFMON, BPF ]
envFrom:
- configMapRef:
name: agent-config
env:
- name: NB_SETUP_KEY
valueFrom:
secretKeyRef:
name: agent-setup-key
key: setupKey
volumeMounts:
- name: config
mountPath: /config
volumes:
- name: config
emptyDir: { }