feat: Traefik | add custom TLSOptions

This commit is contained in:
2025-11-29 13:19:14 +05:00
parent ad3478c48c
commit ff2174205a
3 changed files with 31 additions and 103 deletions

View File

@@ -83,6 +83,7 @@ export class IngressRoute extends Construct {
kind: "Rule",
services: [
{
namespace,
name: opts.serviceName,
port: opts.servicePort,
scheme: opts.serviceProtocol ?? "http",
@@ -109,6 +110,10 @@ export class IngressRoute extends Construct {
if (opts.tlsSecretName) {
spec.tls = {
secretName: opts.tlsSecretName,
options: {
name: "tls-options",
namespace: "homelab",
},
};
}