fix(core): update

This commit is contained in:
Philipp Kunz 2024-06-10 01:26:07 +02:00
parent e5f052eced
commit b651b174a8
3 changed files with 13 additions and 4 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@serve.zone/interfaces',
version: '1.0.64',
version: '1.0.65',
description: 'interfaces for working with containers'
}

View File

@ -8,7 +8,7 @@ export interface ISecretBundle {
* determines if the secret is a service or an external secret
* if external secret additional checks are put in place to protect the secret
*/
type: 'service' | 'external';
type: 'service' | 'npmci' | 'gitzone' | 'external';
/**
* You can add specific secret groups using this
@ -20,9 +20,17 @@ export interface ISecretBundle {
*/
includedTags: {
key: string;
value: string;
value?: string;
}[];
/**
* add images
*/
includedImages: {
imageId: string;
permissions: ('read' | 'write')[];
}[];
/**
* authrozations select a specific environment of a config bundle
*/

View File

@ -3,9 +3,10 @@ import type { IServiceRessources } from "./docker.js";
export interface IService {
name: string;
imageId: string;
environment: {[key: string]: string};
secretBundleId: string;
scaleFactor: number;
balancingStrategy: 'round-robin' | 'least-connections';
secrets: { [key: string]: string };
ports: {
web: number;
custom?: { [domain: string]: string };