From eef89c4257d8ef3df19bf424a85f5ef26c75247a Mon Sep 17 00:00:00 2001 From: Braden Mars Date: Sat, 5 Aug 2023 05:53:44 -0500 Subject: [PATCH] fix(stacks.api/addons): correct postgres csi secrets filter Signed-off-by: Braden Mars --- packages/stacks/api/src/addons/crisiscleanup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stacks/api/src/addons/crisiscleanup.ts b/packages/stacks/api/src/addons/crisiscleanup.ts index f82f7781..bbd6cbd9 100644 --- a/packages/stacks/api/src/addons/crisiscleanup.ts +++ b/packages/stacks/api/src/addons/crisiscleanup.ts @@ -79,7 +79,7 @@ export class CrisisCleanupAddOn implements blueprints.ClusterAddOn { { nestedDelimiter: '_' }, ) const secretPaths: blueprints.JmesPathObject[] = Object.entries(secretKeys) - .filter(([key, _]) => !key.startsWith('POSTGRES')) + .filter(([key, _]) => !key.startsWith('postgres')) .map(([key, value]) => ({ path: ['api', 'secrets', key].join('.'), objectAlias: value,