Helm chart for libretranslate
  • Go Template 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
JesseBot 1c0a721bd8
All checks were successful
Renovate / run-renovate (push) Successful in 5s
Renovate / renovate (push) Successful in 0s
fix renovate
2026-08-16 22:21:24 +02:00
.forgejo fix renovate 2026-08-16 22:21:24 +02:00
charts/libretranslate Update to version 0.8.2 and regenerate docs. 2026-06-16 20:39:36 +00:00
.pre-commit-config.yaml clean up libretranslate to ready it for proper future forgejo releases 2026-05-14 22:11:56 +02:00
AI_POLICY.md clean up libretranslate to ready it for proper future forgejo releases 2026-05-14 22:11:56 +02:00
CODE_OF_CONDUCT.md clean up libretranslate to ready it for proper future forgejo releases 2026-05-14 22:11:56 +02:00
ISSUE_TEMPLATE.md Drafting the necessary work to get the helm chart released to github pages 2023-12-15 14:47:34 -05:00
LICENSE Initial commit 2023-12-14 22:16:55 -05:00
README.md clean up new forge 2026-08-16 18:35:50 +02:00
renovate.json update release to use PR labels for semver bumps 2026-06-16 22:31:05 +02:00

LibreTranslate Helm Chart

This Helm chart deploys a LibreTranslate instance on a Kubernetes cluster using the Helm package manager. This is a fork of libretranslate/helm with some quality of life updates.

Prerequisites

  • Kubernetes 1.30+
  • Helm 3.16+

Updates from the forked repo include

  • using an existing Persistent Volume Claim
    • we now use persistence.db.existingClaim and persistence.models.existingClaim instead of relying on the ReadWriteMany check
  • set a default api key
    • using an existing Kubernetes Secret for a default API key
  • add automatic release notes in the GitHub Releases
  • use exact appVersion for the current version of the LibreTranslate docker image
  • renovateBot is used to keep the dependencies of everything in this repo up to date

We will try to submit all of these changes upstream if the repo becomes maintained again.

Setup helm chart repository

helm repo add codeberg.org https://codeberg.org/api/packages/open-engineering/helm
helm repo update
helm search repo codeberg.org/libretranslate

Installing the Chart

To install the chart with the release name libretranslate:

helm install libretranslate codeberg.org/libretranslate --namespace libretranslate --create-namespace

This command deploys LibreTranslate on the Kubernetes cluster with the default configuration. The values.yaml file lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the libretranslate deployment:

helm uninstall libretranslate
kubectl delete namespace libretranslate

These commands remove all the Kubernetes components associated with the chart and deletes the release.

Configuration

See values.yaml for the full list of parameters that can be configured. You can specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

helm install libretranslate codeberg.org/libretranslate --namespace libretranslate --create-namespace --set service.port=8080

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

helm install libretranslate codeberg.org/libretranslate --namespace libretranslate --create-namespace -f values.yaml

Upgrade

Run the following command to upgrade your LibreTranslate installation. This command will use the Helm chart, apply the custom values from values.yaml, and deploy the upgrade to the libretranslate namespace:

helm upgrade --install libretranslate codeberg.org/libretranslate --namespace libretranslate --create-namespace -f values.yaml

Tip: You can use the default values.yaml

References