Add time-limited external access for optional services and database.
Users can open temporary NodePort access with auto-revoke via Bull jobs and a dashboard UI to manage active grants. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -62,6 +62,32 @@ export interface Application {
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export type ServiceAccessTarget =
|
||||
| 'database'
|
||||
| 'redis'
|
||||
| 'rabbitmq_amqp'
|
||||
| 'rabbitmq_management';
|
||||
|
||||
export interface ServiceAccessConnection {
|
||||
host?: string;
|
||||
port?: number;
|
||||
username?: string;
|
||||
password?: string;
|
||||
database?: string;
|
||||
url?: string;
|
||||
}
|
||||
|
||||
export interface ServiceAccessGrant {
|
||||
id: string;
|
||||
target: ServiceAccessTarget;
|
||||
host: string;
|
||||
port: number;
|
||||
targetPort: number;
|
||||
expiresAt: string;
|
||||
status: 'active' | 'expired' | 'revoked';
|
||||
connection: ServiceAccessConnection;
|
||||
}
|
||||
|
||||
export interface Deployment {
|
||||
id: string;
|
||||
status: DeploymentStatus;
|
||||
|
||||
Reference in New Issue
Block a user