56 lines
1.2 KiB
Markdown
56 lines
1.2 KiB
Markdown
# git.limbosolutions.com
|
|
|
|
Welcome to public repository of my [Git Server](https://git.limbosolutions.com)
|
|
|
|
Using [gitea](https://git.limbosolutions.com/kb/gitea) as git server.
|
|
|
|
- [SSO](#sso)
|
|
- [Deploy](#deploy)
|
|
- [Backups](#backups)
|
|
|
|
## SSO
|
|
|
|
<https://integrations.goauthentik.io/development/gitea/>
|
|
|
|
## Deploy
|
|
|
|
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/flux/.env.d/age.agekey
|
|
cat deploy/flux/.env.d/age.agekey | \
|
|
kubectl create secret generic flux-sops-age \
|
|
--namespace=git-limbosolutions-com \
|
|
--from-file=age.agekey=/dev/stdin
|
|
cat deploy/flux/.env.d/age.agekey | \
|
|
kubectl create secret generic flux-sops-age \
|
|
--namespace=kb-cicd \
|
|
--from-file=age.agekey=/dev/stdin
|
|
|
|
```
|
|
|
|
**Encrypt secrets:**
|
|
|
|
``` bash
|
|
sops -e deploy/app/helm-values.private.dec.yaml > deploy/app/helm-values.private.yaml
|
|
sops -e deploy/backups/secrets.dec.yaml > deploy/backups/secrets.yaml
|
|
sops -e deploy/act-runners/kb/deploy/app/secrets.dec.yaml > deploy/act-runners/kb/deploy/app/secrets.yaml
|
|
```
|
|
|
|
## Backups
|
|
|
|
for more information [check readme](./docs/backups.md).
|