From 384177adce16c80b80c35eacd2715b197916cbf5 Mon Sep 17 00:00:00 2001 From: Braden Mars Date: Sat, 5 Aug 2023 16:55:40 -0500 Subject: [PATCH] feat(stacks.api): associate cert-manager release with fargate profile Signed-off-by: Braden Mars --- packages/stacks/api/src/cluster.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/stacks/api/src/cluster.ts b/packages/stacks/api/src/cluster.ts index 58a53f87..71598dd5 100644 --- a/packages/stacks/api/src/cluster.ts +++ b/packages/stacks/api/src/cluster.ts @@ -43,7 +43,13 @@ export const getDefaultAddons = ( ), ], }), - new blueprints.addons.CertManagerAddOn(), + new blueprints.addons.CertManagerAddOn({ + values: { + webhook: { + securePort: 10260, + }, + }, + }), ] } @@ -157,6 +163,6 @@ export const buildClusterBuilder = ( ), }) .fargateProfile('serverless', { - selectors: [{ namespace: 'karpenter' }], + selectors: [{ namespace: 'karpenter' }, { namespace: 'cert-manager' }], }) }