# README.md
## My home Kubernetes cluster :sailboat:
... managed with Flux and Renovate :robot:
[](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-ops \
--path=cluster/base \
--personal \
--network-policy=false
```
## SOPS secret from age key
```bash
age-keygen -o $HOME/sops/age/keys.txt
cat $HOME/sops/age/keys.txt |
kubectl create secret generic sops-age \
--namespace=flux-system \
--from-file=$HOME/sops/age/keys.txt=/dev/stdin
```
## Encrypt kubernetes resources with sops binary
```bash
sops --encrypt --in-place
```
## Install pre-commit hooks
```bash
pre-commit install
```