Faberby FaberOps

Matrix Connector

Delivers briefs and approval reactions to a Matrix room through a homeserver bot account.

Kind
Connector
Version
2.0.0
Tier
verified
Needs Faber
v2.0.0+
Digest prefix
sha256:1febe27d

Contract facts

Type
matrix
Capabilities
notify
no write by default
Priority
P0
Credentials
secretRef
never inline in the manifest

Install

Inspect the contract and RBAC delta

$ faberctl catalog inspect connectors/matrix \ --source oci://ghcr.io/faberops/catalog:v2

Render into your GitOps repository

$ faberctl catalog install connectors/matrix \ --source oci://ghcr.io/faberops/catalog:v2 \ --out-dir ./kubernetes/apps/faber/config

Or apply straight to the cluster

$ faberctl catalog install connectors/matrix \ --source oci://ghcr.io/faberops/catalog:v2 \ --apply

Before you install

Create the credential Secret in the Faber namespace first. The Connector only references it by name and key.

$ kubectl -n faber create secret generic faber-matrix \ --from-literal=accessToken=REPLACE_ME

How it works

  • Connector type: matrix
  • Priority: P0
  • Capabilities: notify
  • Namespace default: no

Compatible backends

  • Synapse
  • Conduit
  • Dendrite

Notes

Invite the bot account to the room named by config.roomId before enabling the connector. kubectl get fconn lists this endpoint as part of the complete Faber egress inventory.

Manifest, ready to apply

connector.yamlConnector15 lines
apiVersion: faberops.dev/v1beta1
kind: Connector
metadata:
  name: matrix
  namespace: faber
spec:
  type: matrix
  url: https://matrix.example.com
  capabilities:
    - notify
  secretRef:
    name: faber-matrix
    key: accessToken
  config:
    roomId: "!replace-with-room-id:example.com"
pack.yamlcatalog metadata11 lines
# Catalog metadata for connectors/matrix. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
  name: matrix
  category: connectors
  version: 2.0.0
spec:
  tier: verified
  minFaberVersion: v2.0.0
  digest: sha256:1febe27deabb33cc02fe53fc8372d25d995c1452d93e5c0f47d8eb6f99c3aee5

Copy it into kubectl apply -f -, or let faberctl catalog install render it with provenance annotations into your GitOps path.