mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-01 10:27:49 +00:00
fix(netbird-relay): harden security
This commit is contained in:
@@ -12,10 +12,20 @@ spec:
|
||||
labels:
|
||||
app.kubernetes.io/name: relay
|
||||
spec:
|
||||
securityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
containers:
|
||||
- image: netbirdio/relay:0.35.2 # renovate: docker=netbirdio/relay
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: netbird-relay
|
||||
name: relay
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: false
|
||||
capabilities:
|
||||
drop: [ ALL ]
|
||||
add: [ NET_ADMIN, NET_RAW, PERFMON, BPF ]
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: relay-config
|
||||
|
||||
Reference in New Issue
Block a user