From bfe51013877ec453d0fab0dcd156333035f89ff6 Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Fri, 27 Feb 2026 14:56:25 +0500 Subject: [PATCH] feat: NetworkSecurity | use cloudflare cert for internal services --- network-security/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/network-security/index.ts b/network-security/index.ts index f6ed544..22fdbf3 100644 --- a/network-security/index.ts +++ b/network-security/index.ts @@ -10,7 +10,7 @@ import { TLSOptions, } from "./traefik"; import { ValkeyCluster } from "./valkey"; -import { InternalIngressRoute, PrivateCertificate } from "../utils"; +import { CloudflareCertificate, InternalIngressRoute } from "../utils"; export class NetworkSecurity extends TerraformStack { constructor(scope: Construct, id: string) { @@ -87,7 +87,7 @@ export class NetworkSecurity extends TerraformStack { sourceRanges: ["192.168.18.0/24", "10.42.0.0/16"], }); - new PrivateCertificate(this, "longhorn-cert", { + new CloudflareCertificate(this, "longhorn-cert", { provider: kubernetes, namespace: "longhorn-system", name: "longhorn-ui", @@ -106,7 +106,7 @@ export class NetworkSecurity extends TerraformStack { tlsSecretName: "longhorn-tls", }); - new PrivateCertificate(this, "grafana-cert", { + new CloudflareCertificate(this, "grafana-cert", { provider: kubernetes, namespace: "monitoring", name: "grafana-ui",