mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
38 lines
3.9 KiB
Markdown
38 lines
3.9 KiB
Markdown
<img src="https://camo.githubusercontent.com/5b298bf6b0596795602bd771c5bddbb963e83e0f/68747470733a2f2f692e696d6775722e636f6d2f7031527a586a512e706e67" align="left" width="144px" height="144px"/>
|
|
|
|
### My home Kubernetes cluster :sailboat:
|
|
_... managed by Flux and serviced with RenovateBot_ :robot:
|
|
|
|
<br/>
|
|
<br/>
|
|
<br/>
|
|
|
|
[](https://discord.gg/AvJxRMRf6H)
|
|
[](https://k3s.io/)
|
|
[](https://github.com/pre-commit/pre-commit)
|
|
[](https://github.com/renovatebot/renovate)
|
|
|
|
|
|
### 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>
|
|
```
|