feat: CDKTF | migrate cert manager to cdktf

This commit is contained in:
2025-07-15 09:45:47 +05:00
parent 5475a25b94
commit bb02f48d9a
5 changed files with 150 additions and 63 deletions

View File

@@ -15,6 +15,7 @@ type PostgresClusterOptions = {
users: string[];
primaryUser: string;
initSecretName: string;
certManagerApiVersion: string;
};
export class PostgresCluster extends Construct {
@@ -31,7 +32,7 @@ export class PostgresCluster extends Construct {
namespace: options.namespace,
});
const certManagerApiVersion = "cert-manager.io/v1";
const { certManagerApiVersion } = options;
const certNames = {
server: "postgres-server-cert",