Netbird/manifests/deployment.yaml

62 lines
1.7 KiB
YAML

# TODO
#
# Update var envs
# Create necessary secrets
# Explore volume organisation
# Test multiple replicas configuration
apiVersion: apps/v1
kind: Deployment
metadata:
name: netbird
namespace: netbird
spec:
replicas: 1
selector:
matchLabels:
app: netbird
template:
metadata:
labels:
app: netbird
spec:
hostname: netbird
subdomain: netbird
containers:
- name: dashboard
image: netbirdio/dashboard:v2.3.0
ports:
- containerPort: 80
env:
- name: NETBIRD_MGMT_API_ENDPOINT
value: ""
- name: NETBIRD_MGMT_GRPC_API_ENDPOINT
value: ""
# OIDC
- name: AUTH_AUDIENCE
value: ""
- name: AUTH_CLIENT_ID
value: ""
- name: AUTH_CLIENT_SECRET
value: ""
- name: AUTH_AUTHORITY
value: ""
- name: USE_AUTH0
value: ""
- name: AUTH_SUPPORTED_SCOPES
value: ""
- name: AUTH_REDIRECT_URI
value: ""
- name: AUTH_SILENT_REDIRECT_URI
value: ""
- name: NETBIRD_TOKEN_SOURCE
value: ""
- name: management
image: netbirdio/management:0.27.5
#command: [""]
ports:
- containerPort: 443
# MISSING
# - coturn
# - signal