fix(service): Fix secret bundle and service management bugs

This commit is contained in:
2025-01-20 02:11:12 +01:00
parent 7084d76c43
commit 04b278ee28
16 changed files with 186 additions and 11 deletions

View File

@@ -8,7 +8,15 @@ export interface IService {
imageId: string;
imageVersion: string;
environment: { [key: string]: string };
/**
* the main secret bundle id, exclusive to the service
*/
secretBundleId: string;
/**
* those secret bundle ids do not belong to the service itself
* and thus live past the service lifecycle
*/
additionalSecretBundleIds?: string[];
scaleFactor: number;
balancingStrategy: 'round-robin' | 'least-connections';
ports: {