Files
homelab/k8s/infra/vpn/netbird/relay/deployment.yaml
Vegard Hagen aa1a078294 feat(netbird): add relay service
This is a required step for solving #81

Netbird 0.29.0 added its own relay service based on websockets
2025-01-03 17:43:11 +01:00

35 lines
904 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/name: netbird-relay
name: netbird-relay
namespace: netbird
spec:
selector:
matchLabels:
app.kubernetes.io/name: netbird-relay
template:
metadata:
labels:
app.kubernetes.io/instance: netbird-relay
app.kubernetes.io/name: netbird-relay
spec:
containers:
- image: netbirdio/relay:0.35.2 # renovate: docker=netbirdio/relay
imagePullPolicy: IfNotPresent
name: netbird-relay
envFrom:
- configMapRef:
name: relay-config
env:
- name: NB_AUTH_SECRET
valueFrom:
secretKeyRef:
key: authSecret
name: netbird-relay-credentials
ports:
- containerPort: 80
name: relay
protocol: TCP