feat(ql3): separate cluster secret transition authority

This commit is contained in:
whyour
2026-08-13 22:56:02 +08:00
parent 5f93e0b5d2
commit d41c821ce0
34 changed files with 4157 additions and 27 deletions
+9
View File
@@ -1265,6 +1265,7 @@ function auditSourceImports(root, packagePath, findings) {
'@qinglong/runtime-core/plugin-package-proposal',
'@qinglong/runtime-core/plugin-package-secret-binding',
'@qinglong/runtime-core/plugin-package-secret-binding-approval-plan',
'@qinglong/runtime-core/plugin-package-secret-binding-transition-approval-plan',
'@qinglong/runtime-core/security',
]);
if (
@@ -2350,6 +2351,14 @@ function auditSourceImports(root, packagePath, findings) {
(path.relative(packageDirectory, filePath) ===
'src/plugin-package/secret-binding/pluginPackageSecretBindingApprovalConsumer.ts' &&
specifier === '@qinglong/cluster-postgres/package-executor') ||
(path.relative(packageDirectory, filePath) ===
'src/plugin-package/secret-binding/pluginPackageSecretBindingTransitionManagement.ts' &&
specifier === '@qinglong/cluster-postgres/package-manager') ||
([
'src/plugin-package/secret-binding/pluginPackageSecretBindingTransitionApprovalConsumer.ts',
'src/plugin-package/secret-binding/pluginPackageSecretBindingTransitionApprovedAction.ts',
].includes(path.relative(packageDirectory, filePath)) &&
specifier === '@qinglong/cluster-postgres/package-executor') ||
([
'src/worker-credential/management-server/workerCredentialManagement.ts',
'src/worker-credential/management-server/workerCredentialManagementProcess.ts',