flux: prep git repo
/ continuous-deploy (push) Successful in 20s
/ continuous-deploy (push) Successful in 20s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user