mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
feat(netbird): add netbird router agent
This should allow me to connect to services from a Netbird VPN connection
This commit is contained in:
@@ -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: { }
|
||||
Reference in New Issue
Block a user