NetBird Helm Chart
Deploy NetBird, a self-hosted WireGuard overlay network control plane with device management, identity-aware access, and peer coordination.
This chart packages the current upstream combined architecture:
netbirdio/netbird-server:0.81.5for the management API, gRPC endpoint, signal, relay, metrics, health, and UDP STUN servicenetbirdio/dashboard:v2.90.10for the web UI- a generated or externally supplied
config.yaml - HelmForge PostgreSQL subchart as the default production store
- optional persistent storage under
/var/lib/netbird - dashboard OIDC environment derived from chart values
- Ingress and Gateway API HTTPRoute support for HTTP/gRPC front doors
- UDP
3478Service exposure for STUN - External Secrets Operator integration for production secret delivery
- NetworkPolicy, PDB, dual-stack service fields, and Helm tests
Install
helm repo add helmforge https://helmforge.dev/charts
helm repo update
helm install netbird helmforge/netbird --namespace netbird --create-namespace
For production, set at least a real public URL and a strong auth secret:
helm upgrade --install netbird helmforge/netbird \
--namespace netbird --create-namespace \
--set server.publicUrl=https://netbird.example.com \
--set server.auth.issuer=https://netbird.example.com/oauth2 \
--set server.authSecret="$(openssl rand -hex 32)"
The v1 chart defaults to PostgreSQL-backed storage through the HelmForge PostgreSQL subchart. For disposable or single-node lab installs, explicitly set:
database:
mode: sqlite
postgresql:
enabled: false
Configuration
The values contract is validated by values.schema.json. Application listeners and Kubernetes Service ports are
separate: change server.containerPorts.* or dashboard.containerPorts.http to move the actual process listener, and
change the corresponding *.service.*Port only to change the Service-facing port. Services use named target ports so
both contracts remain synchronized.
Values & Configuration Reference
All schema parameters, types, defaults, and allowed values are extracted directly from the chart repository. Filter and search them in the interactive reference below or customize in Values Studio.
Inspect the complete contract before changing advanced values:
helm show values helmforge/netbird
Architecture
The chart runs the upstream combined server and dashboard as separate Deployments. The server configuration is Secret backed, PostgreSQL is the production data store by default, and HTTP/gRPC plus dashboard routes can be exposed through Ingress or Gateway API. UDP STUN is always a separate Service concern. See DESIGN.md for boundaries and decisions.
Examples and guides
- Production values
- Simple installation
- Ingress exposure
- Gateway API exposure
- Secure existing-Secret setup
- Exposure guide
- Storage and database guide
- Operations and recovery guide
- Security guide
Production notes
NetBird peers need a stable public endpoint. Expose:
- TCP
443at your reverse proxy or ingress controller for dashboard, API, gRPC, signal, and relay traffic - UDP
3478for STUN
The chart listens on HTTP inside Kubernetes and expects TLS termination at your ingress, gateway, load balancer, or external reverse proxy. Ensure your proxy supports HTTP/2 or gRPC for the server endpoint.
GeoLite database updates are disabled by default for deterministic Kubernetes startup.
Set server.disableGeoliteUpdate=false only when your cluster allows the server pod to
download the upstream databases during boot. Server health probes are also opt-in with
server.probes.enabled=true because a fresh server can spend several minutes initializing
geolocation data before opening the health endpoint.
Use server.config.existingSecret when you need to provide a full upstream config.yaml directly. Otherwise the chart renders one from values and stores it in a Kubernetes Secret.
With server.config.existingSecret, the chart uses your configuration unchanged.
In the supplied config's server.auth.dashboardRedirectURIs, omit :443 from
HTTPS URLs and :80 from HTTP URLs to match browser origins. Updating only the
Secret data does not change the Deployment's config checksum or trigger a
rollout, so restart the server Deployment after updating the Secret to load
the new configuration.
Embedded identity provider
The default dashboard authentication settings match the identity provider
embedded in netbird-server:
server:
publicUrl: https://netbird.example.com
auth:
issuer: https://netbird.example.com/oauth2
dashboard:
auth:
clientId: netbird-dashboard
audience: netbird-dashboard
supportedScopes: openid profile email groups
redirectUri: /nb-auth
silentRedirectUri: /nb-silent-auth
The generated server configuration allows the corresponding absolute callback
URLs below server.publicUrl. Keep the dashboard and server on the same public
hostname when using the embedded provider. Override all dashboard auth values
when integrating an external OIDC provider.
An explicit default port in server.publicUrl (:443 for HTTPS or :80 for
HTTP) is omitted from the generated dashboard callback URLs to match browser
origins. The public URL remains unchanged for the server's exposed address.
For chart-managed configuration, upgrading from chart 1.0.12 updates the
server pod's config checksum and automatically restarts it to load the
corrected callbacks. The dashboard appends dashboard.auth.redirectUri and
dashboard.auth.silentRedirectUri to window.location.origin, so these values
must be relative paths. Replace any absolute callback URL overrides with
/nb-auth and /nb-silent-auth, respectively, when using the embedded provider.
Storage
The default store mode is auto, which selects the PostgreSQL subchart unless
an external database is configured. This follows upstream guidance that
PostgreSQL is the production store for concurrent access and high availability.
Use database.mode=external with database.external.engine=postgres or mysql
when your platform owns the database. MySQL is supported as an external database
because upstream supports it, but this chart does not add a MySQL subchart in v1;
PostgreSQL is the recommended bundled production path.
SQLite remains available for lab installs with database.mode=sqlite and
postgresql.enabled=false. Keep server.replicaCount: 1 in sqlite mode.
External secrets
Use externalSecrets.items[] to synchronize sensitive values such as config.yaml, owner bootstrap credentials, OIDC client secrets, or database credentials from an external secret store.
Security Scan: netbird
| Framework | Score |
|---|---|
| MITRE + NSA + SOC2 | 89.898994% |
Rendered-manifest scan using Kubescape 4.0.13.
The local scan reported no critical failures and an overall score above the repository security gate. Remaining findings are tracked as hardening trade-offs for optional NetworkPolicy enablement, upstream dashboard startup model, and operator-owned resource limit tuning across the database-backed topology.
Upgrade to 0.81.5
NetBird 0.81.5 includes the 0.81.4 security update that distrusts
compromised eMudhra CA keys across management, signal, relay, proxy, and client
components. The 0.81.5 release also includes client SSH session hardening;
this chart deploys the server components only, so upgrade peer clients
separately to receive those client fixes. No chart configuration or schema
changes are required. Review the
0.81.4 release notes
and 0.81.5 release notes.
Upgrade to 0.80.0
NetBird 0.80.0 strengthens account boundaries for agent-network gateways and
proxy clusters, rejects IdP redirects, revokes embedded IdP sessions after
password changes, and adds upload and reverse-proxy rate limiting. Management
also splits its store by table and includes fixes for group-resource validation,
relay disconnect notifications and forwarded client addresses. Review the
0.80.0 release.
The chart now generates and preserves server.store.encryptionKey in the
chart-managed config Secret when the value is empty. This base64-encoded 32-byte
key protects encrypted identity data and must remain stable across pod restarts
and upgrades. Existing installations that already set an explicit key keep using
it. Back up the config Secret together with the database and data volume.
An empty reverseProxy.trustedPeers trusts forwarded client-IP headers from
all IPv4 and IPv6 sources. Restrict it to the proxy source CIDR as seen by
NetBird Management, for example through server.config.extraYaml:
server:
config:
extraYaml: |
reverseProxy:
trustedPeers:
- 10.42.0.0/16
Remote debug jobs now require an explicit opt-in on the peer
(--allow-remote-jobs or managed allowRemoteJobs). The chart does not enable
remote jobs on clients. Rosenpass settings belong to the separately deployed
NetBird Reverse Proxy; server.env configures the combined server. Configure
NB_PROXY_ROSENPASS=false on that separate proxy if opting out. Test real peers,
routes and reverse-proxy services in staging before upgrading production.
Back up the configured database and /var/lib/netbird, then apply the new chart
defaults while preserving your explicit overrides:
helm repo update helmforge
helm upgrade netbird helmforge/netbird \
--namespace netbird \
--reset-then-reuse-values
Using --reuse-values alone retains the previous default image tag. Remove any
explicit server.image.tag override if you want the chart default 0.81.5.
The combined server's port-9000 /health endpoint checks the advertised public
relay address and standalone listener list. It can return 503 in a private
installation even while the multiplexed API and relay are serving requests.
Use API authentication, OIDC discovery, relay connectivity and metrics for local
smoke checks; validate public relay reachability separately in the deployed
network. The chart's existing TCP probe policy is unchanged.
Troubleshooting
If a rollout does not become ready, inspect both Deployments and the generated config before changing probe budgets:
kubectl get pods,svc -n netbird
kubectl logs deploy/netbird-server -n netbird
kubectl get secret netbird-config -n netbird -o jsonpath='{.data.config\.yaml}' | base64 -d
For browser login loops, compare the public origin with the generated dashboard redirect URIs. For peer connectivity, verify HTTP/2 or gRPC proxying and test UDP STUN reachability independently. See the operations guide for database, metrics, backup, restore, and node-drain procedures.
Validation
make validate-chart CHART=netbird
The HelmForge gate runs dependency checks, lint, template scenarios, unit tests, kubeconform, Artifact Hub lint, and k3d behavioral validation.
System Architecture
DESIGN.md SyncedVerified architecture contract rendered dynamically from GitHub DESIGN.md
flowchart LR Peer[NetBird peers] -->|HTTPS and gRPC| Edge[Ingress, Gateway, or load balancer] Peer -->|UDP STUN| ServerService[Server Service] Browser[Administrators] -->|HTTPS| Edge Edge --> DashboardService[Dashboard Service] Edge --> ServerService DashboardService --> Dashboard[Dashboard Deployment] ServerService --> Server[Combined server Deployment] Server --> Data[(NetBird data PVC)] Server --> Database[(PostgreSQL or MySQL)] Server --> IdP[Embedded or external identity provider] ExternalSecret[External Secrets Operator] --> ConfigSecret[Configuration and credential Secrets] ConfigSecret --> Server ConfigSecret --> Dashboard
NetBird Values Schema Reference
Official schema parameters, default values, and types extracted directly from the chart repository.
Global(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| global | object | - | Global settings shared by parent charts. |
Name Override(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| nameOverride | string | - | Chart configuration parameter |
Fullname Override(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| fullnameOverride | string | - | Chart configuration parameter |
Common Labels(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| commonLabels | object | - | Chart configuration parameter |
Common Annotations(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| commonAnnotations | object | - | Chart configuration parameter |
Server(36)
| Parameter | Type | Default | Description |
|---|---|---|---|
| server.image.repository | string | - | Chart configuration parameter |
| server.image.tag | string | - | Chart configuration parameter |
| server.image.pullPolicy | string | - | Chart configuration parameter Allowed: AlwaysIfNotPresentNever |
| server.replicaCount | integer | - | Chart configuration parameter |
| server.publicUrl | string | - | Chart configuration parameter |
| server.authSecret | string | - | Chart configuration parameter |
| server.disableAnonymousMetrics | boolean | - | Chart configuration parameter |
| server.disableGeoliteUpdate | boolean | - | Chart configuration parameter |
| server.command | array | - | Chart configuration parameter |
| server.args | array | - | Chart configuration parameter |
| server.env | any | - | Chart configuration parameter |
| server.envFrom | array | - | Chart configuration parameter |
| server.containerPorts.http | any | - | Chart configuration parameter |
| server.containerPorts.stun | any | - | Chart configuration parameter |
| server.containerPorts.metrics | any | - | Chart configuration parameter |
| server.containerPorts.health | any | - | Chart configuration parameter |
| server.probes.enabled | boolean | - | Chart configuration parameter |
| server.config.existingSecret | string | - | Chart configuration parameter |
| server.config.existingSecretKey | string | - | Chart configuration parameter |
| server.config.extraYaml | string | - | Chart configuration parameter |
| server.auth.issuer | string | - | Chart configuration parameter |
| server.auth.localAuthDisabled | boolean | - | Chart configuration parameter |
| server.auth.signKeyRefreshEnabled | boolean | - | Chart configuration parameter |
| server.auth.owner.email | string | - | Chart configuration parameter |
| server.auth.owner.password | string | - | Chart configuration parameter |
| server.store.engine | string | - | Chart configuration parameter Allowed: sqlitepostgresmysql |
| server.store.dsn | string | - | Chart configuration parameter |
| server.store.encryptionKey | string | - | Chart configuration parameter |
| server.service.type | string | - | Chart configuration parameter Allowed: ClusterIPNodePortLoadBalancer |
| server.service.httpPort | any | - | Chart configuration parameter |
| server.service.stunPort | any | - | Chart configuration parameter |
| server.service.metricsPort | any | - | Chart configuration parameter |
| server.service.healthPort | any | - | Chart configuration parameter |
| server.service.annotations | object | - | Chart configuration parameter |
| server.service.ipFamilyPolicy | string | - | Chart configuration parameter Allowed: SingleStackPreferDualStackRequireDualStack |
| server.service.ipFamilies | array | - | Chart configuration parameter |
Dashboard(28)
| Parameter | Type | Default | Description |
|---|---|---|---|
| dashboard.enabled | boolean | - | Chart configuration parameter |
| dashboard.image.repository | string | - | Chart configuration parameter |
| dashboard.image.tag | string | - | Chart configuration parameter |
| dashboard.image.pullPolicy | string | - | Chart configuration parameter Allowed: AlwaysIfNotPresentNever |
| dashboard.replicaCount | integer | - | Chart configuration parameter |
| dashboard.env | any | - | Chart configuration parameter |
| dashboard.envFrom | array | - | Chart configuration parameter |
| dashboard.containerPorts.http | any | - | Chart configuration parameter |
| dashboard.auth.clientId | string | - | Chart configuration parameter |
| dashboard.auth.audience | string | - | Chart configuration parameter |
| dashboard.auth.supportedScopes | string | - | Chart configuration parameter |
| dashboard.auth.redirectUri | string | - | Chart configuration parameter |
| dashboard.auth.silentRedirectUri | string | - | Chart configuration parameter |
| dashboard.auth.tokenSource | string | - | Chart configuration parameter Allowed: accessTokenidToken |
| dashboard.auth.useAuth0 | string | - | Chart configuration parameter Allowed: truefalse |
| dashboard.securityContext.allowPrivilegeEscalation | boolean | - | Chart configuration parameter |
| dashboard.securityContext.capabilities.drop | array | - | Chart configuration parameter |
| dashboard.securityContext.capabilities.add | array | - | Chart configuration parameter |
| dashboard.securityContext.readOnlyRootFilesystem | boolean | - | Chart configuration parameter |
| dashboard.securityContext.runAsNonRoot | boolean | - | Chart configuration parameter |
| dashboard.securityContext.runAsUser | integer | - | Chart configuration parameter |
| dashboard.securityContext.runAsGroup | integer | - | Chart configuration parameter |
| dashboard.securityContext.seccompProfile.type | string | - | Chart configuration parameter Allowed: RuntimeDefaultLocalhostUnconfined |
| dashboard.service.type | string | - | Chart configuration parameter Allowed: ClusterIPNodePortLoadBalancer |
| dashboard.service.port | any | - | Chart configuration parameter |
| dashboard.service.annotations | object | - | Chart configuration parameter |
| dashboard.service.ipFamilyPolicy | string | - | Chart configuration parameter Allowed: SingleStackPreferDualStackRequireDualStack |
| dashboard.service.ipFamilies | array | - | Chart configuration parameter |
Image Pull Secrets(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| imagePullSecrets | array | - | Chart configuration parameter |
Database(11)
| Parameter | Type | Default | Description |
|---|---|---|---|
| database.mode | string | - | Chart configuration parameter Allowed: autosqlitepostgresqlexternal |
| database.external.engine | string | - | Chart configuration parameter Allowed: postgresmysql |
| database.external.host | string | - | Chart configuration parameter |
| database.external.port | any | - | Chart configuration parameter |
| database.external.name | string | - | Chart configuration parameter |
| database.external.username | string | - | Chart configuration parameter |
| database.external.password | string | - | Chart configuration parameter |
| database.external.existingSecret | string | - | Chart configuration parameter |
| database.external.existingSecretPasswordKey | string | - | Chart configuration parameter |
| database.external.sslMode | string | - | Chart configuration parameter Allowed: disableallowpreferrequireverify-caverify-full |
| database.external.dsn | string | - | Chart configuration parameter |
Postgresql(8)
| Parameter | Type | Default | Description |
|---|---|---|---|
| postgresql.enabled | boolean | - | Chart configuration parameter |
| postgresql.architecture | string | - | Chart configuration parameter Allowed: standalonereplication |
| postgresql.auth.database | string | - | Chart configuration parameter |
| postgresql.auth.username | string | - | Chart configuration parameter |
| postgresql.auth.password | string | - | Chart configuration parameter |
| postgresql.auth.postgresPassword | string | - | Chart configuration parameter |
| postgresql.standalone.persistence.enabled | boolean | - | Chart configuration parameter |
| postgresql.standalone.persistence.size | any | - | Chart configuration parameter |
Persistence(7)
| Parameter | Type | Default | Description |
|---|---|---|---|
| persistence.enabled | boolean | - | Chart configuration parameter |
| persistence.size | any | - | Chart configuration parameter |
| persistence.storageClass | string | - | Chart configuration parameter |
| persistence.accessModes | array | - | Chart configuration parameter |
| persistence.existingClaim | string | - | Chart configuration parameter |
| persistence.mountPath | string | - | Chart configuration parameter |
| persistence.emptyDirSizeLimit | any | - | Chart configuration parameter |
Service Account(4)
| Parameter | Type | Default | Description |
|---|---|---|---|
| serviceAccount.create | boolean | - | Chart configuration parameter |
| serviceAccount.name | string | - | Chart configuration parameter |
| serviceAccount.annotations | object | - | Chart configuration parameter |
| serviceAccount.automountServiceAccountToken | boolean | - | Chart configuration parameter |
Ingress(5)
| Parameter | Type | Default | Description |
|---|---|---|---|
| ingress.enabled | boolean | - | Chart configuration parameter |
| ingress.ingressClassName | string | - | Chart configuration parameter |
| ingress.annotations | object | - | Chart configuration parameter |
| ingress.hosts | array | - | Chart configuration parameter |
| ingress.tls | array | - | Chart configuration parameter |
Gateway API(2)
| Parameter | Type | Default | Description |
|---|---|---|---|
| gatewayAPI.enabled | boolean | - | Chart configuration parameter |
| gatewayAPI.httpRoutes | array | - | Chart configuration parameter |
External Secrets(4)
| Parameter | Type | Default | Description |
|---|---|---|---|
| externalSecrets.enabled | boolean | - | Chart configuration parameter |
| externalSecrets.apiVersion | string | - | Chart configuration parameter |
| externalSecrets.refreshInterval | string | - | Chart configuration parameter |
| externalSecrets.items | array | - | Chart configuration parameter |
Health Probes(15)
| Parameter | Type | Default | Description |
|---|---|---|---|
| probes.startup.enabled | boolean | - | Chart configuration parameter |
| probes.startup.initialDelaySeconds | integer | - | Chart configuration parameter |
| probes.startup.periodSeconds | integer | - | Chart configuration parameter |
| probes.startup.timeoutSeconds | integer | - | Chart configuration parameter |
| probes.startup.failureThreshold | integer | - | Chart configuration parameter |
| probes.liveness.enabled | boolean | - | Chart configuration parameter |
| probes.liveness.initialDelaySeconds | integer | - | Chart configuration parameter |
| probes.liveness.periodSeconds | integer | - | Chart configuration parameter |
| probes.liveness.timeoutSeconds | integer | - | Chart configuration parameter |
| probes.liveness.failureThreshold | integer | - | Chart configuration parameter |
| probes.readiness.enabled | boolean | - | Chart configuration parameter |
| probes.readiness.initialDelaySeconds | integer | - | Chart configuration parameter |
| probes.readiness.periodSeconds | integer | - | Chart configuration parameter |
| probes.readiness.timeoutSeconds | integer | - | Chart configuration parameter |
| probes.readiness.failureThreshold | integer | - | Chart configuration parameter |
Resources(6)
| Parameter | Type | Default | Description |
|---|---|---|---|
| resources.requests.cpu | any | - | Chart configuration parameter |
| resources.requests.memory | any | - | Chart configuration parameter |
| resources.requests.ephemeral-storage | any | - | Chart configuration parameter |
| resources.limits.cpu | any | - | Chart configuration parameter |
| resources.limits.memory | any | - | Chart configuration parameter |
| resources.limits.ephemeral-storage | any | - | Chart configuration parameter |
Runtime Storage(4)
| Parameter | Type | Default | Description |
|---|---|---|---|
| runtimeStorage.nginxVarSizeLimit | any | - | Chart configuration parameter |
| runtimeStorage.nginxLogsSizeLimit | any | - | Chart configuration parameter |
| runtimeStorage.nginxTmpSizeLimit | any | - | Chart configuration parameter |
| runtimeStorage.nginxRunSizeLimit | any | - | Chart configuration parameter |
Pod Security(2)
| Parameter | Type | Default | Description |
|---|---|---|---|
| podSecurityContext.fsGroup | integer | - | Chart configuration parameter |
| podSecurityContext.fsGroupChangePolicy | string | - | Chart configuration parameter Allowed: AlwaysOnRootMismatch |
Container Security(8)
| Parameter | Type | Default | Description |
|---|---|---|---|
| securityContext.allowPrivilegeEscalation | boolean | - | Chart configuration parameter |
| securityContext.capabilities.drop | array | - | Chart configuration parameter |
| securityContext.capabilities.add | array | - | Chart configuration parameter |
| securityContext.readOnlyRootFilesystem | boolean | - | Chart configuration parameter |
| securityContext.runAsNonRoot | boolean | - | Chart configuration parameter |
| securityContext.runAsUser | integer | - | Chart configuration parameter |
| securityContext.runAsGroup | integer | - | Chart configuration parameter |
| securityContext.seccompProfile.type | string | - | Chart configuration parameter Allowed: RuntimeDefaultLocalhostUnconfined |
Pdb(3)
| Parameter | Type | Default | Description |
|---|---|---|---|
| pdb.enabled | any | - | Chart configuration parameter |
| pdb.minAvailable | any | - | Chart configuration parameter |
| pdb.maxUnavailable | any | - | Chart configuration parameter |
Network Policy(4)
| Parameter | Type | Default | Description |
|---|---|---|---|
| networkPolicy.enabled | boolean | - | Chart configuration parameter |
| networkPolicy.ingressFrom | array | - | Chart configuration parameter |
| networkPolicy.stunIngressFrom | array | - | Chart configuration parameter |
| networkPolicy.extraEgress | array | - | Chart configuration parameter |
Node Selector(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| nodeSelector | object | - | Chart configuration parameter |
Tolerations(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| tolerations | array | - | Chart configuration parameter |
Affinity(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| affinity | object | - | Chart configuration parameter |
Topology Spread Constraints(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| topologySpreadConstraints | array | - | Chart configuration parameter |
Priority Class Name(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| priorityClassName | string | - | Chart configuration parameter |
Termination Grace Period Seconds(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| terminationGracePeriodSeconds | integer | - | Chart configuration parameter |
Pod Labels(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| podLabels | object | - | Chart configuration parameter |
Pod Annotations(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| podAnnotations | object | - | Chart configuration parameter |
Extra Volumes(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| extraVolumes | array | - | Chart configuration parameter |
Extra Volume Mounts(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| extraVolumeMounts | array | - | Chart configuration parameter |
Extra Manifests(1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| extraManifests | array | - | Chart configuration parameter |
No schema parameters match your search
Try searching for a different keyword or reset the filter.