feat: Traefik | add traefik ingress class

This commit is contained in:
2025-11-19 18:09:53 +05:00
parent 6b1439dcd4
commit fabede0953
3 changed files with 53 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ import { AuthentikServer } from "./authentik";
import { ValkeyCluster } from "./valkey";
import { CertManager } from "./cert-manager";
import { Nginx } from "./nginx";
import { Traefik } from "./traefik";
import { Prometheus } from "./prometheus";
import { MetalLB } from "./metallb";
import { ExternalDNS } from "./external-dns";
@@ -74,6 +75,12 @@ class Homelab extends TerraformStack {
name: "nginx-ingress",
});
new Traefik(this, "traefik", {
provider: helm,
namespace,
name: "traefik",
});
const certManagerApiVersion = "cert-manager.io/v1";
const cm = new CertManager(this, "cert-manager", {