Add cert-manager to startup process

This commit is contained in:
Greg Hellings
2025-09-11 21:39:53 -05:00
parent a573f12221
commit 305ca30ad5
2 changed files with 4 additions and 1 deletions
+4
View File
@@ -6,6 +6,9 @@
}:
let
cfg = config.greg.kubernetes;
cert-manager = pkgs.fetchurl {
url = "https://github.com/cert-manager/cert-manager/releases/download/v1.18.2/cert-manager.yaml";
};
in
{
options.greg = {
@@ -82,6 +85,7 @@ in
"--tls-san ${config.networking.hostName}.shire-zebra.ts.net"
];
manifests = {
cert-manager.source = cert-manager;
node-annotations.content = ../../manifests/nodes.yaml;
};
role = if cfg.agentOnly then "agent" else "server";