mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-28 13:05:26 +02:00
24 lines
544 B
Markdown
24 lines
544 B
Markdown
# home-cluster
|
|
|
|
## Bootstrap Flux
|
|
|
|
```bash
|
|
flux bootstrap github \
|
|
--version=latest \
|
|
--owner=auricom \
|
|
--repository=home-cluster \
|
|
--path=cluster \
|
|
--personal \
|
|
--network-policy=false
|
|
```
|
|
## SOPS secret from GPG key
|
|
|
|
```bash
|
|
gpg --export-secret-keys --armor <GPG_KEY_ID> | kubectl create secret generic sops-gpg --namespace=flux-system --from-file=sops.asc=/dev/stdin
|
|
```
|
|
|
|
## Encrypt kubernetes resources with sops binary
|
|
|
|
```bash
|
|
sops --encrypt --pgp=<GPG_KEY_ID> --encrypted-regex '^(data|stringData)$' --in-place <FILE_PATH>
|
|
``` |