panxiao81andClaude Opus 5.5 31f455d51d
ansible / collection-test (pull_request) Successful in 3m9s
terraform / validate (pull_request) Successful in 4m36s
yaml / yaml (pull_request) Successful in 5m17s
ansible / lint (pull_request) Successful in 7m20s
Ayatori 容器的 SSH 改由 cloud-init 声明
- cloud-init 安装 openssh-server,装包后(defer)写 sshd_config.d drop-in
  关闭密码与 root 登录;不再使用 ssh_pwauth,它会在装包前写出残缺的
  sshd_config,使 UsePAM yes 落不下来
- 删除 ansible/containers.yml 与 tasks/container-ssh.yml
- 两台空容器已重建,使现场与声明一致

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 17:23:09 +00:00
2026-09-10 07:30:09 +00:00

homelab-infra

Infrastructure and service configuration for the homelab. Git is the source of intent; the live estate is being adopted gradually, so a file being present does not yet imply that Flux or CI owns the corresponding resource.

Layout

directory purpose
clusters/homelab/ Flux composition and cluster-specific reconciliation entrypoint
platform/ cluster-wide controllers, ingress, storage and observability
apps/ user-facing and supporting applications
infrastructure/ Proxmox, local hosts/VMs, identity, secrets, Cloudflare and OCI
archive/ retired implementations retained for operational history
docs/ architecture decisions, migration plans and runbooks

Each component remains independently deployable. There is no shared root package or Terraform root, and service-specific Terraform states must remain isolated.

Safety

  • Treat the homelab as household production.
  • Run Terraform plan and Ansible check/diff before mutation.
  • Existing resources require a zero-change adoption plan before CI may apply.
  • Never commit Terraform plans/states, live Kubernetes Secrets or plaintext keys.
  • Kubernetes will be reconciled by Flux; Backstage is a portal, not a deployer.
  • Recovery of PVE, OpenBao and Git must not depend on k3s being healthy.

See the redesign record for the target architecture and phased migration.

S
Description
No description provided
Readme
1.8 MiB
Languages
Python 47%
HCL 22.4%
Jinja 20.1%
Go 4.1%
Shell 4%
Other 2.4%