fix: Authentik | use IngressRoute instead of Ingress

This commit is contained in:
2025-11-22 18:04:54 +05:00
parent ed8b6403cd
commit 3b439344f5
5 changed files with 14 additions and 283 deletions

View File

@@ -2,7 +2,7 @@ import * as fs from "fs";
import * as path from "path";
import { Release } from "@cdktf/provider-helm/lib/release";
import { Construct } from "constructs";
import { CloudflareCertificate, IngressRoute } from "../../utils";
import { IngressRoute } from "../../utils";
import { Providers } from "../../types";
type PrometheusOptions = {
@@ -18,14 +18,6 @@ export class Prometheus extends Construct {
const { helm, kubernetes } = options.providers;
new CloudflareCertificate(this, "certificate", {
provider: kubernetes,
name: "grafana",
namespace: options.namespace,
dnsNames: ["grafana.dogar.dev"],
secretName: "grafana-tls",
});
new IngressRoute(this, "ingress", {
provider: kubernetes,
name: "grafana",