mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-10-29 17:12:34 +00:00
This is a required step for solving #81 Netbird 0.29.0 added its own relay service based on websockets
35 lines
904 B
YAML
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
|