Tom Alexander
a99477797c
Introduce functions to generate yaml.
...
The toYAML function is just an alias to toJSON which is technically fine since YAML is a superset of JSON, but these new functions will generate actual YAML.
2026-02-21 15:11:11 -05:00
Tom Alexander
b5f9a7c812
Add missing cidr declarations.
2026-02-21 15:11:11 -05:00
Tom Alexander
f0e6b30c98
Fix DNS resolution.
2026-02-21 15:11:10 -05:00
Tom Alexander
70c10aba40
Apply the git repo to the cluster.
2026-02-21 15:11:10 -05:00
Tom Alexander
32b27fba36
Trust flux's ssh key in the yaml git repo.
2026-02-21 15:11:10 -05:00
Tom Alexander
90a97f4e74
Generic secrets for ssh keys.
2026-02-21 15:11:10 -05:00
Tom Alexander
21ee9a631c
Generic secrets for pgp keys.
2026-02-21 15:11:10 -05:00
Tom Alexander
9529f4b805
Generate kubernetes secrets for ssh keys.
2026-02-21 15:11:10 -05:00
Tom Alexander
f3e7d56b66
Install CoreDNS.
2026-02-21 15:11:09 -05:00
Tom Alexander
5593a1fccd
Generate pgp keys for sops.
2026-02-21 15:11:09 -05:00
Tom Alexander
ff04f8d951
Generate ssh keys for flux bootstrap.
2026-02-21 15:11:09 -05:00
Tom Alexander
50ba6f7c87
Move the cluster bootstrap into the keys flake.
...
Bootstrapping the cluster needs access to secrets, so I am moving it into the keys flake.
2026-02-21 15:11:09 -05:00
Tom Alexander
fbfa3dc5dc
Add kube-proxy.
2026-02-21 15:11:08 -05:00
Tom Alexander
2ac0bfe5f8
Add kubelet.
2026-02-21 15:11:07 -05:00
Tom Alexander
13f3237359
Add kube-scheduler.
2026-02-21 15:11:07 -05:00
Tom Alexander
7365efd97f
Add kube-controller-manager.
2026-02-21 15:11:07 -05:00
Tom Alexander
8c59a1216f
Fix launching kube-apiserver.
2026-02-21 15:11:07 -05:00
Tom Alexander
cd86934dde
Move the encryption config into a package.
2026-02-21 15:11:07 -05:00
Tom Alexander
f1346a52ce
Switch to generating certs with openssl.
2026-02-21 15:11:07 -05:00
Tom Alexander
f57df2d855
Add controller proxy certs.
2026-02-21 15:11:06 -05:00
Tom Alexander
5f459db540
Add requestheader-client-ca.
2026-02-21 15:11:06 -05:00
Tom Alexander
9956009638
Add service account.
2026-02-21 15:11:06 -05:00
Tom Alexander
4c029aa0b0
Add configs for a new kubernetes cluster on NixOS.
2026-02-21 15:11:06 -05:00