GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BITS-GmbH/ORISO-Helm

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

1,058 Commits
1,058 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
charts
charts
 
 
consulting-type-settings
consulting-type-settings
 
 
demo-baseline
demo-baseline
 
 
docs
docs
 
 
files
files
 
 
observability/livechat-stabilization
observability/livechat-stabilization
 
 
runbooks
runbooks
 
 
scripts
scripts
 
 
templates
templates
 
 
test-data
test-data
 
 
tests
tests
 
 
.coderabbit.yaml
.coderabbit.yaml
 
 
.gitignore
.gitignore
 
 
.helmignore
.helmignore
 
 
AGENTS.md
AGENTS.md
 
 
Chart.lock
Chart.lock
 
 
Chart.yaml
Chart.yaml
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
clear-helm.sh
clear-helm.sh
 
 
helm deploy.txt
helm deploy.txt
 
 
requirements-ci.txt
requirements-ci.txt
 
 
secrets.yaml.default
secrets.yaml.default
 
 
values-dev.yaml
values-dev.yaml
 
 
values-pre-dev.yaml
values-pre-dev.yaml
 
 
values-prod.yaml
values-prod.yaml
 
 
values.yaml.default
values.yaml.default
 
 

Repository files navigation

ORISO Helm Chart

Helm chart for deploying the ORISO online counseling platform on Kubernetes.

The chart covers the full stack: Keycloak, MariaDB, MongoDB, RabbitMQ, Redis, Matrix/Synapse, LiveKit, and all backend/frontend services.

Getting started

Configuration is split across two files — both are gitignored and must be created locally before deploying.

1. Set up your config

Copy the values template and fill in your domain and realm:

cp values.yaml.default values.yaml

Open values.yaml and update:

  • global.domainName — required, your public host (no scheme, no path). Every public URL and mail link derives from it; empty or a placeholder fails the install
  • global.keycloak.realm — your Keycloak realm name (appears in several URL fields)
  • matrix.synapseServerName / matrixServerName — your Matrix server name

2. Set up your secrets

Copy the secrets template and fill in all credentials:

cp secrets.yaml.default secrets.yaml

Open secrets.yaml and replace every changeme with a real value. The install fails while any value still contains changeme, and the error names it; the database, RabbitMQ, Redis, Matrix and Keycloak admin passwords must also be at least 12 characters (ORISO-Helm#540). Fields to fill in:

  • global.secrets.*Password / *Pass — database and service passwords
  • global.secrets.matrixRegistrationSharedSecret — Matrix shared secret
  • global.keycloak.technicalUser.password — Keycloak technical user password
  • global.keycloak.serviceTechUserId (in values.yaml.default, not a secret) — Keycloak user id (sub) of the technical user, rendered as TenantService TECHNICAL_SERVICE_SUBJECT. Required, a UUID, no default. On an existing realm look up the live id once (admin console, Users > technical > ID). Only a fresh install that imports realm.json may use its fixed id 8294c392-e1e0-405b-ac2f-ba3043cbad3e. The reconcile hook compares it with the realm before changing anything and fails the release on a mismatch.
  • postgres.postgresPassword — PostgreSQL password, rendered into matrix-postgres-secret, not a ConfigMap. The default engine is sqlite3 to preserve compatibility with existing deployments. For a fresh Matrix database during a planned reset, explicitly set matrix.database.engine: postgres in your own values.yaml. Existing PostgreSQL installations must retain that override on every upgrade. Empty PostgreSQL storage initializes with UTF-8 and C locale. Follow the fresh-install or migration instructions; selecting PostgreSQL neither migrates Matrix data nor deletes application/Keycloak users.
  • global.matrix.matrixAdminUsername / matrixAdminPassword — Matrix admin credentials (must live under global: so subcharts can read them)
  • online-counseling-mongodb.*Password / *Pass — MongoDB passwords
  • online-counseling-mariadb.dbRootPassword — MariaDB root password
  • matrixrtcAuth.membershipReaderPassword — password for the non-admin MatrixRTC membership reader user that Helm bootstraps in Synapse
  • livekit.api.key / livekit.api.secret — LiveKit API credentials
  • tenantService.springDatasourcePassword / springRabbitmqPassword
  • agencyService.serviceEncryptionAppkey — AgencyService encryption key (Matrix service-account passwords). Required — the chart refuses to render if it is blank, because an empty key silently breaks agency creation. Rotating it invalidates already-stored credentials.
  • userService.serviceEncryptionAppkey / identityTechnicalUser* — identityTechnicalUser* is the UserService's service identity (realm user technical, realm role technical only). Required. The former duplicate pair userService.keycloakTechnical* is no longer read.
  • global.secrets.keycloakServiceAdminUsername / keycloakServiceAdminPassword — backend Keycloak admin identity (svc-keycloak-admin: manage-users, view-users, query-users, view-realm, otp-config-admin). Required; the password may not be empty or changeme, and the username may not be technical or the master bootstrap admin name keycloakAdminUsername (the hook fails). Mounted into the UserService as KEYCLOAK_CONFIG_ADMIN_*; the master bootstrap admin credentials (keycloakAdmin*, next item) stay deployment-time only (Keycloak pod, bootstrap and service-identity hooks; never the SMTP Jobs). The hook keycloak-reconcile-service-identities converges both identities to these exact role sets on every install and upgrade (ORISO-Helm#367).
  • global.secrets.keycloakAdminUsername / keycloakAdminPassword — master-realm bootstrap admin, the only break-glass identity (required, no chart default: the installer chooses the name, e.g. bootstrap-admin; an empty name always fails, and a fresh install refuses admin, realmadmin, keycloak, root in any case and the ORISO-realm user name; upgrades keep an existing name). Read by Keycloak only on first start. Use, notice and rotation: runbooks/keycloak-break-glass.md (ORISO-Helm#422).

3. Install / Upgrade

For the coordinated Matrix-only/Matryoshka cutover, never edit image tags into values.yaml. Frontend, Element Call, UserService, AgencyService, Synapse and both MatrixRTC authorization images accept only complete repository@sha256:<digest> references.

After the cross-repository release manifest contains reviewed registry digests, attached security evidence, rotated secrets and the status ready-for-predev, generate and verify the exact Helm overlay:

./scripts/cutover-release-preflight.py \
  /path/to/ORISO-Matryoshka-Release-Manifest.yaml \
  --output-values /path/to/new-cutover-digests.yaml

The command fails closed on STOP_SHIP placeholders, zero/wrong digests, missing PR or security evidence, forbidden legacy render artifacts, or any rendered image that differs from the manifest. It refuses to overwrite an existing output file.

Use the verified overlay after the environment values and before secrets:

helm upgrade --install caritas ./ --namespace caritas --create-namespace \
  --wait-for-jobs --timeout 15m \
  -f values.yaml -f values-dev.yaml \
  -f /path/to/new-cutover-digests.yaml -f secrets.yaml
helm upgrade --install caritas ./ --namespace caritas --create-namespace --wait-for-jobs --timeout 15m \
  -f values.yaml -f values-<env>.yaml -f secrets.yaml

values.yaml (or the environment overlay values-<env>.yaml) must set global.domainName; without it the install fails on purpose.

The first caritas is the Helm release name, the second is the Kubernetes namespace. Both can be changed to suit your environment.

MatrixRTC / LiveKit runtime Secrets

LiveKit and MatrixRTC auth read their sensitive runtime material from Kubernetes Secrets rendered by Helm from the ignored environment secrets.yaml. Set these values before installing:

  • matrixrtcAuth.membershipReaderPassword — password for matrixrtcAuth.membershipReaderUserId; Helm registers/logs in this Matrix user and patches the generated access token into matrixrtc-auth-secrets
  • livekit.api.key / livekit.api.secret — shared LiveKit API credentials
  • matrixrtcAuth.redisUrl — optional external Redis URL; leave blank to use the in-chart Redis service and global.secrets.redisdefaultPass
  • matrixrtcAuth.membershipToken — optional manual Matrix access token override; leave blank to use the automatic bootstrap job
  • matrixrtcAuth.callPolicyToken — dedicated high-entropy secret shared only by the MatrixRTC policy gateway and UserService; this authenticates the cluster-internal fresh tenant-policy lookup

During helm upgrade --install, the chart creates matrixrtc-auth-secrets and livekit-config, then a matrixrtc-bootstrap-token Job waits for Synapse, creates or reuses the membership reader user, logs in, and patches the real Matrix access token into matrixrtc-auth-secrets. MatrixRTC auth waits for that token before starting, so LiveKit, MatrixRTC auth, and Element Call can start without a second bootstrap step.

The gateway resolves every new call/reconnect against UserService before a LiveKit grant is issued. A tenant permission change therefore affects already open browser tabs on their next call, reconnect, or rejoin. Policy lookup is fail-closed; UserService unavailability never falls back to a permissive grant.

Environment overlays (dev vs prod)

values.yaml.default is a prod-safe baseline (springProfilesActive: prod, no dummy-data seeding, OTP off). Layer an environment overlay on top instead of maintaining separate copies:

# development: seeds dummy data, dev Spring profile, fast test-user login
helm upgrade --install caritas ./ -n caritas --create-namespace \
  -f values.yaml -f values-dev.yaml -f secrets.yaml

# production (what the hoster runs via ArgoCD)
helm upgrade --install caritas ./ -n caritas --create-namespace \
  -f values.yaml -f values-prod.yaml -f secrets.yaml

Overlays only change test friction and per-environment wiring. Encryption is never toggled — there is no dev "encryption off" mode by design (see docs/infrastructure-report-2026-07.md §7).

SigNoz by environment

With values-dev.yaml, signoz.enabled=true deploys SigNoz, enables application OTLP export by default, and serves the UI at https://<global.domainName>/signoz/. For an external collector, set global.observability.otlpEnabled=true and provide its HTTP host and port in global.observability.otlpCollectorHost.

Layer values-pre-dev.yaml over values-dev.yaml for Pre-Dev. This keeps both chart-managed SigNoz UI ingresses off and the UI Service on ClusterIP. The separate browser metrics route stays available. Use the existing Pre-Dev Kubernetes context to open a loopback connection to SigNoz.

kubectl --context "$PRE_DEV_KUBE_CONTEXT" -n caritas port-forward \
  --address=127.0.0.1 service/caritas-signoz 18080:8080

Open http://127.0.0.1:18080/signoz/ and sign in with your existing SigNoz account. Later values and --set options take precedence, so check the final release inputs for any UI exposure overrides.

After an authorized rollout, verify the applied Helm revision, the private Service and every ingress or gateway route to it. Check /signoz/, its JavaScript asset and the dashboard API from both the public host and loopback. The public app can return its own HTML for /signoz/, so check the service identity as well as HTTP status. Verify the RUM path independently. Pre-Dev operations hardening

Layer values-prod.yaml over the base values for production. With that overlay, signoz.enabled=true prepares the internal UI and data stores. The bundled collector has zero replicas and the overlay disables its autoscaler, public ingresses, gateway, and Java, infrastructure and browser exporters. The UI and collector Services use ClusterIP.

After the activation requirements are verified, local Java export needs global.observability.otlpEnabled=true and a positive signoz.otelCollector.replicaCount. An explicitly configured independent global.observability.otlpCollectorHost can receive Java export with the bundled collector still dormant. Local infrastructure and browser producers require a running bundled collector. Browser metrics also require the dedicated signoz.otelCollector.ports.otlp-rum.enabled Service port.

Production activation requires a verified privacy pipeline on the current collector, retention, backup and restore, and authenticated UI access. The historical pseudonymization pipeline targeted an earlier collector. Historical collector PR · Production acceptance

Add-ons (optional)

Add-ons are optional services with their own backend and UI (ADR-034). The AddonService discovers them, lets a SuperAdmin enable each one per Träger and serves them under /service/addons. It is off by default (addonService.enabled: false); with it off, nothing below is rendered.

To enable it, set in values.yaml:

  • addonService.enabled: true
  • addonService.image.repository / addonService.image.tag: required, no default (a tag of the form sha256:<digest> pins by digest); addonService.imagePullSecrets for a private registry
  • addonService.discovery.namespace: where add-ons run (default addons). The chart grants the AddonService get/list on Services there only. The namespace must exist before the install, or set addonService.discovery.createNamespace: true
  • addonService.discovery.staticAddons: add-on base URLs used in addition to Kubernetes discovery (discovery.kubernetes: false turns discovery and its RBAC off)

and in secrets.yaml:

  • global.secrets.addonServiceDbPassword (and optionally addonServiceDbUsername, default addonservice). The Job addonservice-db-init-* creates the addonservice database and user as MariaDB root on install and upgrade; Liquibase in the service creates the tables. Use a password without quotes. After changing it, delete the completed Job so the next upgrade runs it again.

  • addonService.tokenPrivateKeyPem: the RS256 key that signs the tokens add-ons receive. It must stay the same across restarts and replicas:

    openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:3072 -out addonservice-token.pem

Add-ons are not part of this chart; each brings its own chart or manifests and installs into the add-on namespace. An add-on:

  • exposes a Service labelled oriso.io/addon: "true" (port from the annotation oriso.io/addon-port, otherwise the first port)

  • serves its manifest at /.well-known/oriso-addon.json

  • should accept traffic only from the AddonService, for example:

    apiVersion: networking.k8s.io/v1
    kind: NetworkPolicy
    metadata:
      name: only-addonservice
      namespace: addons
    spec:
      podSelector: {}
      policyTypes: [Ingress]
      ingress:
        - from:
            - namespaceSelector:
                matchLabels:
                  kubernetes.io/metadata.name: caritas
              podSelector:
                matchLabels:
                  app: addonservice

Add-on backends reach the AddonService at http://addonservice.<release namespace>.svc:8090.

About

No description, website, or topics provided.

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.