fix(core): update
This commit is contained in:
parent
e5f052eced
commit
b651b174a8
@ -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'
|
||||
}
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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 };
|
||||
|
Loading…
Reference in New Issue
Block a user