tolgee

by iCoreTech, Inc.

Helm chartv0.71.0App v3.248.1Apache-2.0Verified publisher

Tolgee Platform Helm chart for Kubernetes

About this chart

Tolgee Helm Chart

Deploy Tolgee Platform on Kubernetes with optional bundled PostgreSQL (CloudPirates chart) or external PostgreSQL wiring.

Features

  • Tolgee upstream image defaults (image.repository=tolgee/tolgee with the default tag tracked in chart values)
  • Optional bundled PostgreSQL dependency (postgres.enabled=true)
  • External PostgreSQL mode with inline values or existing Secret refs
  • Configurable persistence for Tolgee filesystem data (/data by default)
  • Optional startup health check, additional volumes, and Deployment annotations
  • Ingress and Gateway API HTTPRoute support
  • Generic Tolgee/Spring property pass-through via dot-notation maps (tolgee.config, tolgee.secretConfig)
  • OAuth 2.1 client registration, Azure Blob Storage, async pool sizing, and rate-limit concurrency controls

Prerequisites

  • Kubernetes 1.24+
  • Helm 3.10+

Install

helm repo add icoretech https://icoretech.github.io/helm
helm repo update
helm upgrade --install tolgee icoretech/tolgee \
  -n tolgee --create-namespace \
  --set tolgee.authentication.jwtSecret="replace-with-a-strong-secret-at-least-32-characters"

OCI:

helm upgrade --install tolgee oci://ghcr.io/icoretech/charts/tolgee \
  -n tolgee --create-namespace \
  --set tolgee.authentication.jwtSecret="replace-with-a-strong-secret-at-least-32-characters"

Use as a Dependency

The chart accepts Helm's shared global object when installed as a dependency of a parent chart. Global values are inherited by subcharts; Tolgee settings still use the chart's own configuration keys. Unknown keys outside global remain invalid.

Parent chart values:

global:
  environment: test
tolgee:
  replicaCount: 1

External PostgreSQL Example

postgres:
  enabled: false

database:
  external:
    enabled: true
    host: postgres.example.com
    port: 5432
    name: tolgee
    username: tolgee
    password: supersecret

tolgee:
  authentication:
    jwtSecret: "replace-with-a-strong-secret-at-least-32-characters"

Existing Secret for External PostgreSQL

postgres:
  enabled: false

database:
  external:
    enabled: true
    existingSecret:
      name: tolgee-db
      urlKey: SPRING_DATASOURCE_URL
      usernameKey: SPRING_DATASOURCE_USERNAME
      passwordKey: SPRING_DATASOURCE_PASSWORD

When using database.external.existingSecret without explicit host fields, disable startup wait:

database:
  waitForReady:
    enabled: false

or set database.external.host so the initContainer can probe DB readiness.

External PostgreSQL Values from Multiple Secrets

Use database.external.extraEnv for helper values that must be available before Kubernetes expands database.external.jdbcUrl. Keep the SPRING_DATASOURCE_* names owned by the chart through jdbcUrl/jdbcUrlFrom, username/usernameFrom, and password/passwordFrom.

postgres:
  enabled: false

database:
  external:
    enabled: true
    extraEnv:
      - name: AURORA_HOSTNAME
        valueFrom:
          secretKeyRef:
            name: tolgee-aurora
            key: hostname
      - name: TOLGEE_DB_NAME
        valueFrom:
          secretKeyRef:
            name: tolgee-db-creds
            key: database
    jdbcUrl: "jdbc:postgresql://$(AURORA_HOSTNAME):5432/$(TOLGEE_DB_NAME)?sslmode=require"
    usernameFrom:
      secretKeyRef:
        name: tolgee-db-creds
        key: username
    passwordFrom:
      secretKeyRef:
        name: tolgee-db-creds
        key: password
  waitForReady:
    enabled: false

Sensitive Values via Secret Refs

Use the built-in *Ref fields when you want chart-managed env wiring without storing clear-text values in Helm values:

  • tolgee.authentication.jwtSecretRef
  • tolgee.authentication.initialPasswordRef
  • tolgee.smtp.passwordRef
  • tolgee.fileStorage.s3.accessKeyRef
  • tolgee.fileStorage.s3.secretKeyRef
  • tolgee.fileStorage.azure.connectionStringRef

OAuth 2.1 and Reverse Proxies

Tolgee's OAuth 2.1 authorization server supports the browser extension, CLI, and MCP. Set tolgee.backEndUrl to the public backend origin behind a reverse proxy. OAuth uses this URL as its issuer, falling back to tolgee.frontEndUrl; registering an OAuth client requires one of these URLs. Use an origin such as https://tolgee.example.com, without a path, query, or fragment. Do not set server.forward-headers-strategy; Tolgee uses the explicit backend URL instead.

The CLI is enabled by default when a usable issuer is configured. Enable the published browser extension explicitly with tolgee.oauth2.browserExtensionEnabled=true. To disable either client, set its cliEnabled or browserExtensionEnabled switch to false.

tolgee:
  frontEndUrl: https://tolgee.example.com
  backEndUrl: https://tolgee.example.com
  authentication:
    enabled: true
  oauth2:
    cliEnabled: true
    accessTokenValidityMinutes: 30
    refreshTokenValidityDays: 30

Empty redirect URI lists retain the built-in client defaults. Set tolgee.oauth2.browserExtensionRedirectUris or cliRedirectUris only for clients with custom callback URLs; these lists replace the defaults. Prefer the loopback IP literal 127.0.0.1 for CLI callbacks; its port may vary at runtime. Token and consent lifetimes, grant retention, and grant cleanup scheduling can also be configured under tolgee.oauth2; unset fields preserve upstream defaults.

MCP clients can identify themselves with an HTTPS Client ID Metadata Document (CIMD). tolgee.oauth2.cimdEnabled controls this registration path. Its default is enabled, with any public host permitted. Use cimdAllowedHosts to restrict metadata hosts, or set cimdEnabled=false to accept only pre-registered clients. Private and loopback hosts are always rejected.

tolgee:
  oauth2:
    browserExtensionEnabled: true
    cimdEnabled: true
    cimdAllowedHosts:
      - clients.example.com

Ingress or gateway routing must forward /oauth2/*, /.well-known/*, and /mcp/* to Tolgee when using these clients, in addition to the UI and /v2/* APIs. A single / prefix route covers these paths. Ensure any external authentication proxy permits OAuth discovery and token requests to reach Tolgee's own authentication layer.

Azure Blob Storage

Use Azure Blob Storage for application files by creating the Azure container before starting Tolgee and providing the storage account connection string through an existing Kubernetes Secret. Azure and S3 file storage cannot be enabled together.

persistence:
  enabled: false

tolgee:
  fileStorage:
    azure:
      enabled: true
      containerName: tolgee-files
      connectionStringRef:
        name: tolgee-storage
        key: connection-string

connectionStringRef takes precedence over the inline connectionString. Disabling local persistence is appropriate when all application files use object storage; PostgreSQL persistence remains independent.

Async Pools and Rate Limits

Leave tolgee.async fields unset to derive streaming and background concurrency from the database pool: streaming uses one-third and background one-sixth of the connection pool, with a minimum of two threads each. Streaming responses hold a database connection for their entire duration, so leave capacity for ordinary requests and batch jobs.

This chart disables the application's embedded PostgreSQL autostart. Configure the external datasource pool through spring.datasource.hikari.maximum-pool-size, including when using the chart's separate bundled PostgreSQL dependency.

tolgee:
  config:
    spring.datasource.hikari.maximum-pool-size: 30
  async:
    streaming:
      maxThreads: 6
      queueCapacity: 50
    background:
      maxThreads: 4
  rateLimits:
    lockWaitMs: 500
    maxConcurrentPerBucket: 50

Zero or negative maxThreads selects automatic sizing. A negative streaming queueCapacity selects automatic capacity; zero allows no queueing. Zero keepAliveSeconds disables idle thread expiry. The per-bucket concurrency cap applies per node; zero disables that cap. Fields default to null so upstream defaults remain effective.

Startup and Writable Directories

Enable startupProbe to give application startup and database migrations a separate health-check budget. Liveness and readiness checks begin after the startup probe succeeds. The startup probe is disabled by default to preserve existing deployments; choose its budget and deployment.progressDeadlineSeconds for the expected migration duration.

When using a read-only container root filesystem, keep application files on persistent or object storage and provide a writable temporary directory. The extra volume lists extend the chart-managed data volume and also work with persistence.enabled=false; the name data is reserved while persistence is enabled.

securityContext:
  readOnlyRootFilesystem: true
startupProbe:
  enabled: true
  failureThreshold: 90
  periodSeconds: 10
  timeoutSeconds: 5
extraVolumes:
  - name: tmp
    emptyDir:
      sizeLimit: 256Mi
extraVolumeMounts:
  - name: tmp
    mountPath: /tmp
deployment:
  annotations:
    reloader.stakater.com/auto: "true"

Deployment annotations apply to the Deployment object; podAnnotations applies to its pod template. The Reloader example requires an installed Reloader controller and restarts pods when a referenced Secret changes. Updating a bootstrap-only setting such as the initial administrator password does not change an existing Tolgee account password.

Multiple Replicas

Use shared PostgreSQL, shared Redis, and shared file storage before increasing replicaCount or enabling autoscaling. Redis must be enabled for both cache/rate-limit consistency and websocket event distribution; configuring a Redis hostname alone does not enable it. MCP requests use a stateless transport and do not require a shared MCP session store.

replicaCount: 2
persistence:
  enabled: false
tolgee:
  cache:
    enabled: true
    useRedis: true
  websocket:
    useRedis: true
  config:
    spring.data.redis.host: redis.example.com
    spring.data.redis.port: 6379
  extraEnv:
    - name: SPRING_DATA_REDIS_PASSWORD
      valueFrom:
        secretKeyRef:
          name: tolgee-redis
          key: password

Combine this fragment with S3 or Azure configuration, or use a shared filesystem PVC with ReadWriteMany access. Disabling persistence without shared object storage leaves each replica with its own ephemeral files.

Per-Organization SSO Internal URLs

Tolgee rejects loopback, private, link-local, multicast, and wildcard SSO provider URLs by default. Set tolgee.authentication.ssoOrganizations.allowLocalAddresses=true only when a self-hosted per-organization SSO provider intentionally lives on a trusted internal network.

Webhook Internal URLs

Tolgee rejects loopback, private, link-local, multicast, and wildcard webhook target URLs by default. Set tolgee.webhook.allowLocalAddresses=true only for local development or when webhook targets intentionally live on a trusted internal network; this weakens SSRF protection for users who can configure webhooks.

Registration Email Controls

Tolgee blocks disposable email domains and duplicate subaddress aliases for new registrations by default. Use tolgee.authentication.blockDisposableEmails, tolgee.authentication.blockEmailAliases, tolgee.authentication.blockedEmailDomains, and tolgee.authentication.allowedEmailDomains only when the deployment needs to override those defaults.

Gateway API HTTPRoute Example

httpRoute:
  enabled: true
  parentRefs:
    - name: shared-gateway
      namespace: infra
  hostnames:
    - tolgee.example.com

Metrics and ServiceMonitor

metrics.serviceMonitor.enabled requires Prometheus Operator CRDs (monitoring.coreos.com/v1) in the cluster.

metrics:
  enabled: true
  path: /actuator/prometheus
  port: http
  serviceMonitor:
    enabled: true
    namespace: monitoring
    additionalLabels:
      release: kube-prometheus-stack

Flux Example

apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
  name: icoretech
  namespace: flux-system
spec:
  type: oci
  interval: 30m
  url: oci://ghcr.io/icoretech/charts
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: tolgee
  namespace: tolgee
spec:
  interval: 5m
  chart:
    spec:
      chart: tolgee
      version: ">=0.1.0"
      sourceRef:
        kind: HelmRepository
        name: icoretech
        namespace: flux-system
  values:
    postgres:
      enabled: true
    tolgee:
      authentication:
        jwtSecretRef:
          name: tolgee-auth
          key: jwtSecret

Configuration reference

Values

KeyTypeDefaultDescription
affinityobject{}Affinity.
autoscaling.enabledboolfalseEnable HPA.
autoscaling.maxReplicasint10Maximum replicas.
autoscaling.minReplicasint1Minimum replicas.
autoscaling.targetCPUUtilizationPercentageint80Target CPU utilization percentage.
autoscaling.targetMemoryUtilizationPercentagestringnilTarget memory utilization percentage.
database.external.enabledboolfalseEnable external PostgreSQL mode. When enabled, set postgres.enabled=false.
database.external.existingSecret.namestring""Existing secret containing SPRING_DATASOURCE_* values.
database.external.existingSecret.passwordKeystring"SPRING_DATASOURCE_PASSWORD"Key for DB password.
database.external.existingSecret.urlKeystring"SPRING_DATASOURCE_URL"Key for JDBC URL.
database.external.existingSecret.usernameKeystring"SPRING_DATASOURCE_USERNAME"Key for DB username.
database.external.extraEnvlist[]Extra env vars rendered before SPRING_DATASOURCE_* for

Deploy tolgee with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tolgee on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttolgee is pinned at v0.71.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply