feat: Traefik | add traefik ingress class
This commit is contained in:
7
main.ts
7
main.ts
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user