feat: added secret approval policy in replication

This commit is contained in:
Akhil Mohan
2024-05-31 23:10:01 +05:30
committed by =
parent 36b7911bcc
commit 0ae286a80e
16 changed files with 530 additions and 360 deletions
@@ -111,7 +111,8 @@ export const secretImportServiceFactory = ({
await secretQueueService.syncSecrets({
secretPath: secImport.importPath,
projectId,
environment: importEnv.slug
environmentSlug: importEnv.slug,
excludeReplication: true
});
return { ...secImport, importEnv };
@@ -223,7 +224,8 @@ export const secretImportServiceFactory = ({
await secretQueueService.syncSecrets({
secretPath: path,
projectId,
environment
environmentSlug: environment,
excludeReplication: true
});
return secImport;