vaskozl / home-infra

My home Kubernetes cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

home-infra - Home Cloud via Flux v2 | GitOps Toolkit

GitOps state for my cluster using flux v2

Discord k8s talos nodes pods GitHub last commit

Home infrastructure running: 3x Master Raspberry Pi 4GB + 3x Worker 8GB + 1x 11th Gen Intel Nuc:

Secret management

I use mozilla SOPS for secret encryption as it supported out of the box in Flux2. After adding a passwordless secret key to your cluster, add it to your flux-system/gotk-sync.yaml if you want to be able do decrypt secrets in the main flux-system kustomization.

I use a pre-commit hook to ensure that secrets are never pushed unencrypted. Assuming you have a .sosp.yaml the only thing you need to do is:

sops -e -i my-secret.yaml # That's it
sops my-secret.yaml # To edit it directly in your $EDITOR

About

My home Kubernetes cluster


Languages

Language:Lua 77.4%Language:Perl 15.6%Language:VCL 4.8%Language:Shell 2.1%Language:C++ 0.1%Language:NASL 0.0%