Skip to content
Matterbridge icon
v1.1.2App: v3.11.4Pinned DigestS3 Backup Ready

Production Helm chart • Apache-2.0 • Zero-Root • Verified on Kubernetes v1.33-v1.36+

Matterbridge

A production-ready Helm chart for Matterbridge, the official Matter plugin manager that bridges existing home-automation platforms and devices into Matter ecosystems.

This chart uses the official luligu/matterbridge image, preserves the complete Matter identity on one PVC and runs the application as a hardened non-root singleton. It supports a portable pod-network default and an explicit LAN mode for reliable mDNS, IPv6 and Matter commissioning.

Installation

OCI registry

helm install matterbridge oci://ghcr.io/helmforgedev/helm/matterbridge

HTTPS repository

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install matterbridge helmforge/matterbridge

The default installation is deliberately private and uses pod networking. Open the frontend for evaluation:

kubectl port-forward svc/matterbridge 8283:8283

Then visit http://localhost:8283.

Production quick start

Normal Matter commissioning on a home or building LAN needs mDNS multicast, IPv6 reachability and direct Matter ports. Most Kubernetes CNIs do not transport those protocols between the pod network and the physical LAN. For that common case, label one trusted LAN-connected node and enable host networking:

kubectl label node my-lan-node matterbridge.helmforge.dev/lan-node=true
helm upgrade --install matterbridge \
  oci://ghcr.io/helmforgedev/helm/matterbridge \
  --set network.hostNetwork=true \
  --set nodeSelector.matterbridge\.helmforge\.dev/lan-node=true

Host networking is opt-in because Kubernetes Pod Security baseline rejects it. Only use it on a trusted node and protect the administrative frontend.

Features

  • Official, pinned multi-architecture Matterbridge image
  • Stable chart with upstream Matterbridge 3.11.4
  • StatefulSet singleton with explicit validation against unsafe scaling
  • One retained PVC for plugins, fabrics, certificates and configuration
  • Non-root UID/GID 1000, read-only root filesystem and all capabilities dropped
  • RuntimeDefault seccomp and no mounted Kubernetes API token
  • Official /health startup, readiness and liveness probes
  • Portable pod-network default compatible with Pod Security baseline
  • Opt-in host networking for practical LAN mDNS, IPv6 and Matter support
  • Optional TCP/UDP Matter port-range Service for multicast-aware CNIs
  • Dual-stack Service configuration
  • Ingress and Gateway API frontend exposure
  • Generic External Secrets Operator resources for TLS and plugin credentials
  • Optional NetworkPolicy for pod-network deployments
  • Existing PVC, extra volumes, sidecars, init containers and manifests
  • Graceful 60-second shutdown for storage and Matter session cleanup

Security Scan: matterbridge

Framework Score
MITRE + NSA + SOC2 93.93939%

Rendered-manifest security posture assessed with Kubescape 4.0.13.

The two medium findings are the intentionally optional NetworkPolicy controls. The default workload passes non-root, immutable filesystem, capability, privilege-escalation, seccomp, service-account and resource-limit controls. The production host-network option remains a documented networking exception required by common Matter LAN deployments.

See Security and operations for the complete trust boundaries, credential handling, NetworkPolicy, and incident-response guidance.

Architecture

Matterbridge is stateful and has no active-active clustering or leader election. Multiple replicas would contend for the same fabric identity, plugin files, mDNS identity and Matter ports. The chart always renders one StatefulSet replica and rejects any replicaCount other than 1.

The chart bypasses the root-oriented image entrypoint and starts the official matterbridge binary directly with --homedir /data. This keeps all mutable state below the PVC while the image filesystem remains read-only.

Network modes

Portable pod network

This is the default:

network:
  hostNetwork: false

It is the safest and most portable Kubernetes configuration. The frontend, health checks and plugin management work. Matter commissioning works only when the CNI and LAN design provide multicast DNS and IPv6 reachability.

Typical LAN production mode

network:
  hostNetwork: true

nodeSelector:
  matterbridge.helmforge.dev/lan-node: "true"

Matterbridge uses the node interfaces directly. The chart selects ClusterFirstWithHostNet DNS unless network.dnsPolicy is explicitly set.

Advanced Service mode

For a CNI that already transports mDNS and IPv6 correctly:

matterService:
  enabled: true
  type: LoadBalancer
  externalTrafficPolicy: Local

This publishes TCP and UDP for every port from matterbridge.matterPort through the configured matterPortRangeSize. It does not relay UDP 5353 multicast and cannot make a multicast-incapable CNI work.

See docs/networking.md for topology and troubleshooting.

Persistence

The PVC is mounted at /data. Upstream then stores:

  • plugins under /data/Matterbridge;
  • configuration, logs and Matter storage under /data/.matterbridge;
  • Matter certificates under /data/.mattercert;
  • the private npm prefix and cache below /data.

The chart creates a 2 GiB ReadWriteOnce PVC and annotates it with helm.sh/resource-policy: keep by default. To reuse an existing claim:

persistence:
  enabled: true
  existingClaim: matterbridge-data

Back up the whole volume consistently while the StatefulSet is stopped. Partial restores can invalidate the Matter fabric identity. See docs/persistence-backup.md.

Plugins and credentials

Install and manage Matterbridge plugins through the upstream frontend. Installed packages survive restarts on the PVC. Plugins can require LAN, MQTT or cloud connections; size resources and NetworkPolicy egress for the selected plugins.

Pass credentials from Kubernetes Secrets without writing them into values:

extraEnvFrom:
  - secretRef:
      name: matterbridge-plugin

The chart can create generic external-secrets.io/v1 ExternalSecrets:

externalSecrets:
  enabled: true
  items:
    - name: plugin
      spec:
        secretStoreRef:
          name: production-secrets
          kind: ClusterSecretStore
        target:
          name: matterbridge-plugin
        data:
          - secretKey: token
            remoteRef:
              key: matterbridge/plugin
              property: token

No credential environment variable is invented by the chart; map Secrets using the contract documented by each plugin.

Frontend exposure

The default ClusterIP is private. Matterbridge does not expose a stable chart-managed authentication contract, so an exposed frontend should use TLS, authentication and client restrictions at a trusted proxy.

Ingress example:

ingress:
  enabled: true
  ingressClassName: nginx
  hosts:
    - host: matterbridge.example.com
      paths:
        - path: /
          pathType: Prefix

Gateway API example:

gatewayAPI:
  enabled: true
  httpRoutes:
    - name: frontend
      parentRefs:
        - name: shared-gateway
          namespace: gateway-system
          sectionName: https
      hostnames:
        - matterbridge.example.com

These HTTP resources expose only the frontend. Matter and mDNS traffic never traverse an Ingress or HTTPRoute.

Native frontend TLS

Matterbridge can serve HTTPS from an existing Secret:

frontend:
  tls:
    enabled: true
    existingSecret: matterbridge-frontend-tls

The Secret must contain cert.pem and key.pem; ca.pem is optional. It is mounted read-only into /data/.matterbridge/certs. Prefer proxy TLS when your Ingress or Gateway already manages certificates.

NetworkPolicy

NetworkPolicy is optional and only valid with network.hostNetwork=false. Host-network policy behavior varies by CNI, so the chart rejects that ambiguous combination.

By default the policy permits frontend ingress from all namespaces. Egress is not restricted unless enabled because plugin destinations are deployment specific. A restrictive example:

networkPolicy:
  enabled: true
  ingressFrom:
    - namespaceSelector:
        matchLabels:
          kubernetes.io/metadata.name: ingress-system
  egress:
    enabled: true
    allowDNS: true
    extraEgress:
      - to:
          - ipBlock:
              cidr: 192.0.2.10/32
        ports:
          - protocol: TCP
            port: 1883

Health and operations

The official /health endpoint drives all three HTTP probes. Startup allows up to five minutes for first boot, storage restoration and plugin initialization. Liveness follows the conservative upstream health-check cadence.

kubectl get pod matterbridge-0
kubectl logs matterbridge-0 --follow
kubectl get events --sort-by=.lastTimestamp

Do not publish commissioning codes from logs. They grant access to an uncommissioned Matter bridge.

Upgrades

Matterbridge 3.10.14 adds the production camera and webcam plugin generation, requires Node.js 22.13 or newer, and updates the WebRTC and runtime dependency stack. The pinned official image includes Node.js 24, but does not include ffmpeg. The chart deliberately prevents root package installation at startup, so camera plugins that require ffmpeg are outside the hardened default runtime contract. Review the official release notes and test every installed plugin with a real Matter controller in staging.

The intervening 3.10.12 release always advertises the robotic-vacuum SkipArea command, even without progress reporting. Vacuum plugins must register a skipArea handler that stops work in the skipped area; otherwise the command can report success while operation continues.

Use the standalone luligu/matterbridge:3.10.14 distribution. Year-based tags such as 2026.9.1 in the same repository belong to the Home Assistant add-on and are not interchangeable with this chart's runtime.

Before upgrading:

  1. Read upstream Matterbridge release notes.
  2. Take and verify a consistent PVC backup.
  3. Confirm installed plugin compatibility.
  4. Keep the singleton on the same LAN topology.

After upgrading, wait for readiness, inspect startup logs and test a bridged device. Application migrations may make a chart-only rollback insufficient, so restore chart and volume state together when necessary.

Troubleshooting

  • For controller discovery, multicast, IPv6, and host-network diagnostics, see Networking.
  • For PVC ownership, consistent snapshots, and restore order, see Persistence and backup.
  • For frontend exposure, credentials, NetworkPolicy, and incident response, see Security and operations.
  • For startup failures, inspect the pod, logs, and namespace events before increasing probe budgets.

Uninstall

helm uninstall matterbridge

The chart-created PVC remains by default. Delete it only after verifying a backup and accepting that Matter commissioning and plugin state will be lost.

Examples

Values

See values.yaml for the complete documented contract and values.schema.json for validation. Important groups are:

Group Purpose
matterbridge Runtime mode, ports, interface selection and logging
frontend HTTP port, bind address and native TLS
network Pod or host network behavior
service Frontend Service and dual-stack policy
matterService Optional TCP/UDP Matter range publishing
persistence PVC creation, retention and existing claims
ingress Frontend Ingress
gatewayAPI Frontend HTTPRoutes
externalSecrets Generic ExternalSecret resources
networkPolicy Pod-network ingress and optional egress controls

Support

Chart issues belong in the HelmForge charts repository. Application and plugin behavior belongs in the Matterbridge repository.

Matterbridge is a trademark and project of its upstream maintainers. HelmForge is not affiliated with or endorsed by Matterbridge.

System Architecture

DESIGN.md Synced

Verified architecture contract rendered dynamically from GitHub DESIGN.md

flowchart LR
  Operator[Operator browser]
  Proxy[Ingress or Gateway API]
  Service[Frontend Service]
  Controller[Matter controller]
  Lan[LAN mDNS IPv6 and Matter ports]
  Pod[StatefulSet matterbridge-0]
  Platforms[Plugin source platforms]
  Secrets[Secrets and ExternalSecrets]
  Data[(Persistent volume at /data)]

  Operator --> Proxy
  Operator --> Service
  Proxy --> Service
  Service --> Pod
  Controller <--> Lan
  Lan <--> Pod
  Pod <--> Platforms
  Secrets --> Pod
  Pod <--> Data
Official Contractvalues.schema.json

Matterbridge Values Schema Reference

Official schema parameters, default values, and types extracted directly from the chart repository.

117 parametersValues Studio

Name Override(1)

ParameterTypeDefaultDescription
nameOverridestring-Override the chart name used in resource names.

Fullname Override(1)

ParameterTypeDefaultDescription
fullnameOverridestring-Override the fully qualified release name.

Common Labels(1)

ParameterTypeDefaultDescription
commonLabelsany-Chart configuration parameter

Common Annotations(1)

ParameterTypeDefaultDescription
commonAnnotationsobject-Chart configuration parameter

Global(1)

ParameterTypeDefaultDescription
globalobject-Global settings shared by the chart.

Replica Count(1)

ParameterTypeDefaultDescription
replicaCountinteger1Matterbridge replica count. Only one replica is supported.

Image(3)

ParameterTypeDefaultDescription
image.repositorystring-Chart configuration parameter
image.tagstring-Chart configuration parameter
image.pullPolicystring-Chart configuration parameter
Allowed:AlwaysIfNotPresentNever

Image Pull Secrets(1)

ParameterTypeDefaultDescription
imagePullSecretsarray-Chart configuration parameter

Matterbridge(15)

ParameterTypeDefaultDescription
matterbridge.modestring-Chart configuration parameter
Allowed:bridgechildbridge
matterbridge.profilestring-Chart configuration parameter
matterbridge.matterPortinteger-Chart configuration parameter
matterbridge.matterPortRangeSizeinteger-Chart configuration parameter
matterbridge.mdnsInterfacestring-Chart configuration parameter
matterbridge.ipv4Addressstring-Chart configuration parameter
matterbridge.ipv6Addressstring-Chart configuration parameter
matterbridge.loggerany-Chart configuration parameter
matterbridge.matterLoggerany-Chart configuration parameter
matterbridge.noAnsiboolean-Chart configuration parameter
matterbridge.fileLoggerboolean-Chart configuration parameter
matterbridge.matterFileLoggerboolean-Chart configuration parameter
matterbridge.disableVirtualDevicesboolean-Chart configuration parameter
matterbridge.resetSessionsboolean-Chart configuration parameter
matterbridge.extraArgsarray-Chart configuration parameter

Frontend(4)

ParameterTypeDefaultDescription
frontend.portinteger-Chart configuration parameter
frontend.bindAddressstring-Chart configuration parameter
frontend.tls.enabledboolean-Chart configuration parameter
frontend.tls.existingSecretstring-Chart configuration parameter

Network(2)

ParameterTypeDefaultDescription
network.hostNetworkboolean-Chart configuration parameter
network.dnsPolicystring-Chart configuration parameter
Allowed:ClusterFirstClusterFirstWithHostNetDefault

Service & Networking(5)

ParameterTypeDefaultDescription
service.typestring-Chart configuration parameter
Allowed:ClusterIPNodePortLoadBalancer
service.portinteger-Chart configuration parameter
service.annotationsany-Chart configuration parameter
service.ipFamilyPolicyany-Chart configuration parameter
service.ipFamiliesany-Chart configuration parameter

Matter Service(7)

ParameterTypeDefaultDescription
matterService.enabledboolean-Chart configuration parameter
matterService.typestring-Chart configuration parameter
Allowed:ClusterIPNodePortLoadBalancer
matterService.protocolsarray-Chart configuration parameter
matterService.externalTrafficPolicystring-Chart configuration parameter
Allowed:ClusterLocal
matterService.annotationsany-Chart configuration parameter
matterService.ipFamilyPolicyany-Chart configuration parameter
matterService.ipFamiliesany-Chart configuration parameter

Persistence(7)

ParameterTypeDefaultDescription
persistence.enabledboolean-Chart configuration parameter
persistence.existingClaimstring-Chart configuration parameter
persistence.storageClassstring-Chart configuration parameter
persistence.accessModesarray-Chart configuration parameter
persistence.sizestring-Chart configuration parameter
persistence.retainboolean-Chart configuration parameter
persistence.annotationsany-Chart configuration parameter

Service Account(4)

ParameterTypeDefaultDescription
serviceAccount.createboolean-Chart configuration parameter
serviceAccount.namestring-Chart configuration parameter
serviceAccount.annotationsany-Chart configuration parameter
serviceAccount.automountServiceAccountTokenboolean-Chart configuration parameter

Pod Security(6)

ParameterTypeDefaultDescription
podSecurityContext.runAsNonRootboolean-Chart configuration parameter
podSecurityContext.runAsUserinteger-Chart configuration parameter
podSecurityContext.runAsGroupinteger-Chart configuration parameter
podSecurityContext.fsGroupinteger-Chart configuration parameter
podSecurityContext.fsGroupChangePolicystring-Chart configuration parameter
Allowed:AlwaysOnRootMismatch
podSecurityContext.seccompProfile.typestring-Chart configuration parameter
Allowed:RuntimeDefaultLocalhostUnconfined

Container Security(3)

ParameterTypeDefaultDescription
securityContext.allowPrivilegeEscalationboolean-Chart configuration parameter
securityContext.readOnlyRootFilesystemboolean-Chart configuration parameter
securityContext.capabilities.droparray-Chart configuration parameter

Startup Probe(6)

ParameterTypeDefaultDescription
startupProbe.enabledboolean-Chart configuration parameter
startupProbe.initialDelaySecondsinteger-Chart configuration parameter
startupProbe.periodSecondsinteger-Chart configuration parameter
startupProbe.timeoutSecondsinteger-Chart configuration parameter
startupProbe.failureThresholdinteger-Chart configuration parameter
startupProbe.successThresholdinteger-Chart configuration parameter

Readiness Probe(6)

ParameterTypeDefaultDescription
readinessProbe.enabledboolean-Chart configuration parameter
readinessProbe.initialDelaySecondsinteger-Chart configuration parameter
readinessProbe.periodSecondsinteger-Chart configuration parameter
readinessProbe.timeoutSecondsinteger-Chart configuration parameter
readinessProbe.failureThresholdinteger-Chart configuration parameter
readinessProbe.successThresholdinteger-Chart configuration parameter

Liveness Probe(6)

ParameterTypeDefaultDescription
livenessProbe.enabledboolean-Chart configuration parameter
livenessProbe.initialDelaySecondsinteger-Chart configuration parameter
livenessProbe.periodSecondsinteger-Chart configuration parameter
livenessProbe.timeoutSecondsinteger-Chart configuration parameter
livenessProbe.failureThresholdinteger-Chart configuration parameter
livenessProbe.successThresholdinteger-Chart configuration parameter

Ingress(5)

ParameterTypeDefaultDescription
ingress.enabledboolean-Chart configuration parameter
ingress.ingressClassNamestring-Chart configuration parameter
ingress.annotationsany-Chart configuration parameter
ingress.hostsarray-Chart configuration parameter
ingress.tlsarray-Chart configuration parameter

Gateway API(2)

ParameterTypeDefaultDescription
gatewayAPI.enabledboolean-Chart configuration parameter
gatewayAPI.httpRoutesarray-Chart configuration parameter

External Secrets(3)

ParameterTypeDefaultDescription
externalSecrets.enabledboolean-Chart configuration parameter
externalSecrets.refreshIntervalstring-Chart configuration parameter
externalSecrets.itemsarray-Chart configuration parameter

Network Policy(6)

ParameterTypeDefaultDescription
networkPolicy.enabledboolean-Chart configuration parameter
networkPolicy.ingressFromarray-Chart configuration parameter
networkPolicy.egress.enabledboolean-Chart configuration parameter
networkPolicy.egress.allowDNSboolean-Chart configuration parameter
networkPolicy.egress.extraToarray-Chart configuration parameter
networkPolicy.egress.extraEgressarray-Chart configuration parameter

Resources(4)

ParameterTypeDefaultDescription
resources.requests.cpustringnumber-Chart configuration parameter
resources.requests.memorystringnumber-Chart configuration parameter
resources.limits.cpustringnumber-Chart configuration parameter
resources.limits.memorystringnumber-Chart configuration parameter

Termination Grace Period Seconds(1)

ParameterTypeDefaultDescription
terminationGracePeriodSecondsinteger-Chart configuration parameter

Revision History Limit(1)

ParameterTypeDefaultDescription
revisionHistoryLimitinteger-Chart configuration parameter

Pod Annotations(1)

ParameterTypeDefaultDescription
podAnnotationsany-Chart configuration parameter

Pod Labels(1)

ParameterTypeDefaultDescription
podLabelsany-Chart configuration parameter

Priority Class Name(1)

ParameterTypeDefaultDescription
priorityClassNamestring-Chart configuration parameter

Node Selector(1)

ParameterTypeDefaultDescription
nodeSelectorany-Chart configuration parameter

Affinity(1)

ParameterTypeDefaultDescription
affinityobject-Chart configuration parameter

Tolerations(1)

ParameterTypeDefaultDescription
tolerationsarray-Chart configuration parameter

Topology Spread Constraints(1)

ParameterTypeDefaultDescription
topologySpreadConstraintsarray-Chart configuration parameter

Extra Env(1)

ParameterTypeDefaultDescription
extraEnvarray-Chart configuration parameter

Extra Env From(1)

ParameterTypeDefaultDescription
extraEnvFromarray-Chart configuration parameter

Extra Volumes(1)

ParameterTypeDefaultDescription
extraVolumesarray-Chart configuration parameter

Extra Volume Mounts(1)

ParameterTypeDefaultDescription
extraVolumeMountsarray-Chart configuration parameter

Extra Init Containers(1)

ParameterTypeDefaultDescription
extraInitContainersarray-Chart configuration parameter

Extra Containers(1)

ParameterTypeDefaultDescription
extraContainersarray-Chart configuration parameter

Extra Manifests(1)

ParameterTypeDefaultDescription
extraManifestsarray-Chart configuration parameter