Skip to content

Latest commit

 

History

History

libretranslate

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

LibreTranslate ArgoCD Application

An Argo CD Application to deploy LibreTranslate, a self-hosted language translate tool with a web interface and API.

Screenshot of the Argo CD web interface viewing the libre translate Application in tree mode using a light purple for the nodes in the tree on a dark background. On the farthlest left is the libretranslate-app which branches into two config maps: libretranslate-app-settings and libretranslate-config. It also branches into three other resources, each with their own branches as well: a Service, a StatefulSet, and an Ingress resource. The service branches into an endpoint and endpoint slice both named libre-translate. The StatefulSet branches into a pod and controller revision both named libre-translate, along with two persistent volume claims: db-volumne-libre-translate-1 and models-volume-libre-translate-0. Finally, the Ingress resource branches into a certificate.

Sync Waves

  1. ExternalSecret (from Bitwarden) for a default API key using the External Secrets Operator.
  2. the LibreTranslate helm chart
Screenshot of the Argo CD web interface viewing the libre translate Application (app of apps) in tree mode using a light purple for the nodes in the tree on a dark background. On the far left is an app called libretranslate that branches into two other Application Sets: libretranslate-app-set and libretranslate-bitwarden-eso, which both then branch into thier respective Argo CD applications.

Example Config

To deploy this app of apps into your cluster using Argo CD, you could use something like this:

project: default
source:
  repoURL: https://github.com/small-hack/argocd-apps
  path: libretranslate/app_of_apps/
  targetRevision: main
destination:
  server: https://kubernetes.default.svc
  namespace: libretranslate
syncPolicy:
  automated:
    selfHeal: true
  syncOptions:
    - ApplyOutOfSyncOnly=true

Note: This LibreTranslate Applciation in app_of_apps/libre_translate_argocd_appset.yaml requires the use of the Application Secret Plugin, but you're always free to use a different generator if you fork this repo :)