Install Helm as objects

Rather than running helm on the client and passing it to kubectl, just
install Flux and set the Helm repos on the server side

Add resolv.conf to the Kubernetes config so that the hosts can resolve
hostnames in order to pull down the Helm repositories

Add backups to the database configurations
This commit is contained in:
Greg Hellings
2025-05-27 19:16:11 -05:00
parent 26d4e9b771
commit ee5389baea
14 changed files with 12945 additions and 36 deletions
+2
View File
@@ -27,6 +27,7 @@ in
};
environment.systemPackages = [
pkgs.fluxcd
pkgs.kubectl-cnpg
pkgs.kubernetes-helm
pkgs.kustomize
@@ -59,6 +60,7 @@ in
"--service-cidr=10.221.0.0/16"
"--write-kubeconfig-mode 0640"
"--write-kubeconfig-group kubeconfig"
"--resolv-conf=/etc/resolv.conf"
"--tls-san ${config.networking.hostName}.home"
"--tls-san ${config.networking.hostName}.thehellings.lan"
"--tls-san ${config.networking.hostName}.shire-zebra.ts.net"