Skip to content

Commit

Permalink
Update README.md - add example config
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebot authored Nov 17, 2024
1 parent 40b0d4e commit 9e8e048
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion libretranslate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,29 @@ An Argo CD Application to deploy [LibreTranslate](https://libretranslate.com/),

## Sync Waves

1. ExternalSecret (from Bitwarden) for a default API key
1. ExternalSecret (from [Bitwarden](https://github.com/small-hack/bitwarden-eso-provider/)) for a default API key using the [External Secrets Operator](https://external-secrets.io).
2. the [LibreTranslate helm chart](https://github.com/small-hack/libretranslate-helm-chart)

<img width="948" alt="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." src="https://github.com/user-attachments/assets/78bb551d-c90f-4d56-b229-2a0e7a98d7aa">

## Example Config

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

```yaml
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`](./app_of_apps/libre_translate_argocd_appset.yaml) requires the use of the [Application Secret Plugin](https://github.com/small-hack/appset-secret-plugin), but you're always free to use a different generator if you fork this repo :)

0 comments on commit 9e8e048

Please sign in to comment.