Skip to content
Projekte

Über uns

Helm charts to deploy Synaplan on Kubernetes with MariaDB Galera Clusters and various Inference servers

Systeme und Infrastruktur

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
-3
in 7 days
Verlauf wird gesammelt
in 15 days
Verlauf wird gesammelt
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Synaplan Charts

Official Helm charts for deploying Synaplan on Kubernetes. Neighbours, feature pins, identity, the model catalog, and admin settings are Helm values. A pinned value is locked in the admin UI.

The value reference for the application chart is charts/synaplan/README.md.

Charts

Chart Version in this repo What it runs
synaplan 0.13.0 Synaplan 5.10.2 (whisper.cpp transcription in the image), plus bundled Redis, a Messenger worker, a scheduler, optional Piper text-to-speech (image 2.1.1) and optional meeting notes for Jitsi
synaplan-nextcloud 0.2.0 Nextcloud app 2.0.0, installed into a Nextcloud in the same namespace (app)
synaplan-opendesk 0.3.0 Portal tile for Synaplan on openDesk
synaplan-opencloud 0.2.0 OpenCloud plugin 1.2.0: the token-exchange service and the web extension (image)
triton 0.1.0 Optional NVIDIA Triton 26.01. Default backend is vLLM on GPU. A model can use the Python backend (CPU) or the embedding backend (bge-m3)
stt 0.1.0 Optional speech-to-text server: whisper.cpp whisper-server with the German Whisper large-v3-turbo model, on a GPU node or on CPU (image)
synaplan-transcriber 0.1.0 Synaplan's meeting subtitles and notes for a Jitsi (jitsi-helm) or an OpenTalk you already run, installed next to it. Synaplan can run elsewhere (image)

AI backends

Synaplan uses BGE-M3 for RAG embeddings. Chat models and the embedding model run on the backend you point at:

  • Ollama — the usual choice. One service, CPU or GPU.
  • NVIDIA Triton — the triton chart, when you want that model server in the cluster. vLLM is the GPU backend. An empty triton.url leaves Triton off.
# Ollama
triton:
  url: ""
ollama:
  baseUrl: "http://ollama.synaplan.svc.cluster.local:11434"

# Triton
triton:
  url: "triton:8001"
ollama:
  baseUrl: ""

Office engine (Collabora CODE)

Word, Excel, and PowerPoint thumbnails, PDF export, preview, and combine need Collabora Online (collabora/code). The chart does not deploy Collabora. Set office.convertUrl to CODE you already run (openDesk, Nextcloud, OpenCloud, another namespace). The chart emits OFFICE_CONVERT_URL and OFFICE_CONVERT_TIMEOUT_MS on the web, worker, and scheduler pods. The editor stays off until office.publicUrl and office.wopiUrl are both set.

Convert-to is server-to-server. Collabora does not see Synaplan users.

office:
  convertUrl: http://collabora.office.svc.cluster.local:9980
  convertTimeoutMs: 60000

Integrator notes (identity, net.post_allow, the CODE healthcheck): docs/collabora-office-engine.md. Product page: https://docs.synaplan.com/index.php/office-documents.

Install switches

An empty URL turns a neighbour off. There is no second enabled flag for these:

Value Off when
ollama.baseUrl ""
triton.url ""
qdrant.url "" (memories and Qdrant search stay off; the chart does not deploy Qdrant)
office.convertUrl ""
office.publicUrl and office.wopiUrl both "". One of the pair alone fails the render
compute.url plus compute.tokenSecretRef URL empty, or the token Secret is absent
tika.enabled false
tts.enabled false
speech.whisperServerUrl "" (speech-to-text runs on the whisper.cpp binary in the pod)

Speech (synaplan >= 5.0.0). Synaplan 5.10.2 includes whisper.cpp (/usr/local/bin/whisper, built into the image by synaplan-base-php). The Helmfile turns speech.whisper on and allow-lists the whisper provider when cloud providers are off. The separate whisper-server, for a GPU or a larger model, is the stt chart. null leaves the application default:

speech:
  webSpeech: false    # browser speech sends audio to the vendor cloud
  whisper: true       # whisper.cpp in the image
  whisperModel: base

With GPU nodes, install the stt chart and send speech there (Synaplan with the Whisper server mode; older images ignore the URL):

speech:
  whisper: true
  whisperServerUrl: "http://stt.synaplan.svc.cluster.local:8080"

The Helmfile adds the release with apps.synaplanStt.enabled: true and sets this URL.

Product flags (synaplan >= 5.0.0). true or false locks the admin toggle. null leaves the database row:

features:
  registration: false   # local sign-up off; >= 5.7.2 also closes Google, GitHub, Apple & wizards
  guestChat: false
  setupWizard: false
  userSearch: false
  customHttpTools: false
  urlFetch: false
  desktopAgent: false
  compute: false

Any other flag the application reads as FEATURE_<GROUP>_<SETTING> goes in featurePins, keyed by the BCONFIG name (COMPUTE.EGRESS_ENABLED, MULTITASK.MCP_FETCH_ENABLED, MODULES.GATE_TIKA). Do not also set those variables in env. The render fails on a duplicate.

Who can create an account, the human check, and the ingress address are signup, humanCheck, social and trustedProxies on the synaplan chart (signup and humanCheck require synaplan >= 5.6.0). The guide is docs/IDENTITY.md. A secret (Turnstile, Google, GitHub, the Apple p8) stays in a Secret. Name the ingress in trustedProxies (string or list), not the whole cluster network: otherwise every visitor shares one sign-up limit, or any pod can pick the client address. features.registration: false does not stop a first SSO sign-in; that switch is oidc.accessPolicy.allowUserProvisioning.

Who is an administrator comes from the identity provider:

oidc:
  enabled: true
  autoRedirect: true
  scopes: "openid email profile groups"
  adminRoles: "synaplan-admin"   # OIDC_ADMIN_ROLES
  # roleClaims, roleMapping, providerLabel, bearerAudience — empty keeps the application default

A local first administrator, when you are not using SSO, is bootstrapAdmin.email with bootstrapAdmin.password (kept in the Secret <fullname>-credentials, key admin-password), or bootstrapAdmin.secretRef (Secret keys email and password).

The model catalog is applied at startup by models.providers.only (an allow-list; preferred for air-gapped installs), or by models.providers.enabled / disabled, then models.enabled / models.disabled and models.defaults. Provider toggles need synaplan >= 4.3.6. only cannot be combined with enabled or disabled.

Redis is on by default (redis.enabled). The worker and the scheduler are on by default. They share the same environment as the web pod.

Admin settings (synaplan >= 5.1.0)

Settings that live in the database — branding, sharing and audit, tool policies, the MCP client, digest tuning, compute limits — are settings, keyed by GROUP.SETTING. The chart emits CONFIG_<GROUP>_<SETTING>. The admin field locks and shows that variable name. true and false are sent as the strings true and false. A map or a list is sent as JSON.

settings:
  "IAM.DIRECTORY_GROUPS_CLAIM": "groups"
  "IAM.EVERYONE_SHARES": "admins_only"
  "IAM.ADMIN_IMPERSONATION": "audited"
  "IAM.AUDIT_RETENTION_DAYS": 365
  "MCP.CLIENT_ENABLED": false
  "BRANDING.BRAND_NAME": "Example Corp"

settingSecrets is the same map when the value comes from a Secret (name and key). Leave M365.CLIENT_SECRET, DROPBOX.APP_SECRET, and DIGEST.CURSOR unset: the application stores the first two encrypted and uses the third as bookkeeping, so a CONFIG_* pin would not take effect.

Do not repeat a key that features.* or featurePins already pins. Synaplan 5.0.6 ignores CONFIG_*, so a complete semver image tag below 5.1.0 fails the render when either map is set. 5.0.6-alpine fails. 5.1.0-rc.1 is accepted. A tag that is not a complete semver skips that check.

Helmfile

Synaplan with MariaDB, Tika and a model backend (Triton or Ollama) is the Helmfile, laid out like openDesk. It offers only models that run in the cluster unless you allow cloud providers, and runs in three ways:

Sign-in Guide
In a cluster of its own (example environment standalone) local accounts, first administrator from the deployment Standalone
Next to a running openDesk (example environment opendesk) openDesk's Keycloak Next to openDesk
As an app of openDesk's own Helmfile openDesk's Keycloak Inside openDesk

Working with openDesk

We test this deployment on Kubernetes against openDesk v1.20.4 (the pin in e2e/environments/opendesk/env.sh). That edition keeps files in Nextcloud and meetings in Jitsi. Synaplan is 5.10.2.

  • The Synaplan Nextcloud plugin (app 2.0.0) adds the AI actions on files: summaries, translations, and chat about a document. It watches a folder or a file, and each person connects with their own OAuth grant.
  • The OpenCloud plugin (1.2.0) does the same for an OpenCloud: directory watches, and token exchange so the calls stay that person's.
  • The synascriber plugin transcribes Jitsi meetings and writes the notes into Synaplan. Jitsi's values file defaults the image it copies the Prosody module from to transcriber 5.10.5. The transcriber Deployment follows images.synaplanTranscriber, and an empty tag there is still the chart appVersion (5.10.2). Speech-to-text in the application itself is whisper.cpp in the 5.10.2 image. A Jitsi (jitsi-helm) or an OpenTalk outside openDesk takes the synaplan-transcriber chart instead, installed next to it.

Set the file target at the end of the environment. openDesk community edition is nextcloud. A target that serves files from OpenCloud is opencloud. Only the plugin for that target is installed. Meeting notes stay on, because Jitsi is part of the openDesk test either way. Collabora, when openDesk runs it, is the Office engine Synaplan uses for document previews.

apps:
  synaplanOpendesk:
    enabled: true
technical:
  synaplan:
    synascriber:
      enabled: true
  synaplanOpendesk:
    files: nextcloud   # or opencloud

This checkout is the feature test: the chart, the Nextcloud plugin, and the Jitsi plugin on a community openDesk. The following run is the tested release, with the OpenCloud image pinned to a version tag instead of the test digest. Details of the Helmfile wiring are in Nextcloud and the portal.

cp -r helmfile/environments/standalone helmfile/environments/my-cluster
$EDITOR helmfile/environments/my-cluster/values.yaml.gotmpl
export MASTER_PASSWORD='...'
helmfile -e my-cluster -n synaplan apply

Installation

  • Kubernetes 1.24+
  • Helm 3.14+
  • kubectl pointed at the cluster

Charts are published to GHCR when a git tag synaplan-vX.Y.Z, synaplan-nextcloud-vX.Y.Z, synaplan-opencloud-vX.Y.Z, synaplan-opendesk-vX.Y.Z, triton-vX.Y.Z, stt-vX.Y.Z or synaplan-transcriber-vX.Y.Z is pushed. The versions in this checkout are synaplan 0.12.0, synaplan-nextcloud 0.2.0, synaplan-opencloud 0.2.0, synaplan-opendesk 0.3.0, triton 0.1.0, stt 0.1.0 and synaplan-transcriber 0.1.0.

# Published release (after the matching tag exists)
helm install synaplan oci://ghcr.io/metadist/synaplan-charts/synaplan --version 0.12.0
helm install synaplan-nextcloud oci://ghcr.io/metadist/synaplan-charts/synaplan-nextcloud --version 0.2.0
helm install synaplan-opencloud oci://ghcr.io/metadist/synaplan-charts/synaplan-opencloud --version 0.2.0
helm install triton oci://ghcr.io/metadist/synaplan-charts/triton --version 0.1.0

# This checkout, including values that are not in an older GHCR release yet
helm install synaplan ./charts/synaplan
helm install triton ./charts/triton

# Development build from main: 0.0.0-dev.<commit>
helm install synaplan oci://ghcr.io/metadist/synaplan-charts/synaplan --version 0.0.0-dev.abc1234

Charts are public. Authentication is only required to publish.

Development

helm-docs, kubeconform, the helm-unittest plugin and helmfile.

make install-helm-docs
make install-kubeconform
make install-helm-unittest
make install-helmfile

make docs       # regenerate charts/*/README.md from the .gotmpl sources
make lint
make validate
make check      # helm-unittest suites; renders the Helmfile (fetches its chart repos)
make package
make all        # all of the above

charts/*/README.md is generated. Edit the .gotmpl file, then make docs.

Contributing

See CONTRIBUTING.md, including how a git tag becomes a GHCR release.

License

Copyright © 2025 metadist

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Ähnliche Projekte entdecken

Wird geladen…