Establish clean homelab infrastructure baseline
lint / yaml (push) Has been cancelled
lint / ansible (push) Has been cancelled
lint / terraform (push) Has been cancelled

Reorganize the brownfield repository, remove retired and generated artifacts, harden ignore rules, and record the GitOps/IaC redesign.
This commit is contained in:
2026-09-09 16:47:20 +00:00
commit 88a02ababa
418 changed files with 50579 additions and 0 deletions
@@ -0,0 +1,22 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: keycloak-db-secret-sync
namespace: keycloak
data:
sync.sh: |
#!/bin/sh
set -eu
until kubectl -n shared-db get secret shared-postgresql-superuser-secret >/dev/null 2>&1; do
sleep 5
done
username=$(kubectl -n shared-db get secret shared-postgresql-superuser-secret -o jsonpath='{.data.username}' | base64 -d)
password=$(kubectl -n shared-db get secret shared-postgresql-superuser-secret -o jsonpath='{.data.password}' | base64 -d)
kubectl create secret generic keycloak-db-secret \
--namespace keycloak \
--from-literal=username="${username}" \
--from-literal=password="${password}" \
--dry-run=client -o yaml | kubectl -n keycloak apply -f -