flux: prep git repo
/ continuous-deploy (push) Successful in 20s

This commit is contained in:
Márcio Fernandes
2026-06-02 21:30:13 +00:00
parent f01d086a69
commit 00f7aed32c
4 changed files with 57 additions and 0 deletions
+26
View File
@@ -22,6 +22,30 @@ References:
- <https://gitea.com/gitea/helm-gitea>
- <https://dl.gitea.com/charts/>
Migration to flux
For fluxcd setup execute.
```bash
ops-scripts/apply-flux.sh
```
**sops / age:**
``` bash
age-keygen -o deploy/clusters/prod/flux-system/.env.d/age.agekey
cat deploy/clusters/prod/flux-system/.env.d/age.agekey | \
kubectl create secret generic flux-sops-age \
--namespace=git-limbosolutions-com \
--from-file=age.agekey=/dev/stdin
```
**Encrypt secrets:**
``` bash
sops -e deploy/clusters/prod/app/helm-values.private.dec.yaml > deploy/clusters/prod/app/helm-values.private.yaml
```
### Continuous Deploy
Executes [App Deploy](#app) using [Gitea workflow](./.gitea/workflows/app-continous-deploy.yaml).
@@ -50,6 +74,8 @@ Deploy App
```
- [kustomization](/deploy/infra/kustomization.yaml)
## Backups