diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 6dd4929..f239dc8 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -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' } diff --git a/ts/data/secretbundle.ts b/ts/data/secretbundle.ts index 4a3e5d9..629ef4f 100644 --- a/ts/data/secretbundle.ts +++ b/ts/data/secretbundle.ts @@ -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 */ diff --git a/ts/data/service.ts b/ts/data/service.ts index fb690b4..be03268 100644 --- a/ts/data/service.ts +++ b/ts/data/service.ts @@ -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 };