This commit is contained in:
2025-10-25 16:13:09 +05:00
parent 5438278058
commit b83f9521b0
4 changed files with 47 additions and 21 deletions

View File

@@ -13,10 +13,10 @@ import { AuthentikServer } from "./authentik";
import { ValkeyCluster } from "./valkey";
import { CertManager } from "./cert-manager";
import { Manifest } from "@cdktf/provider-kubernetes/lib/manifest";
import { PiHole } from "./pihole";
import { Nginx } from "./nginx";
import { Prometheus } from "./prometheus";
import { MetalLB } from "./metallb";
import { PiHole } from "./pihole";
dotenv.config();
@@ -148,16 +148,12 @@ class Homelab extends TerraformStack {
backupR2EndpointURL: r2Endpoint,
});
pg.node.addDependency(pihole);
const valkey = new ValkeyCluster(this, "valkey-cluster", {
provider: kubernetes,
namespace,
name: "valkey",
});
valkey.node.addDependency(pihole);
const authentik = new AuthentikServer(this, "authentik-server", {
provider: helm,
name: "authentik",