fix(core): update
This commit is contained in:
parent
e5f052eced
commit
b651b174a8
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/interfaces',
|
name: '@serve.zone/interfaces',
|
||||||
version: '1.0.64',
|
version: '1.0.65',
|
||||||
description: 'interfaces for working with containers'
|
description: 'interfaces for working with containers'
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ export interface ISecretBundle {
|
|||||||
* determines if the secret is a service or an external secret
|
* determines if the secret is a service or an external secret
|
||||||
* if external secret additional checks are put in place to protect the 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
|
* You can add specific secret groups using this
|
||||||
@ -20,7 +20,15 @@ export interface ISecretBundle {
|
|||||||
*/
|
*/
|
||||||
includedTags: {
|
includedTags: {
|
||||||
key: string;
|
key: string;
|
||||||
value: string;
|
value?: string;
|
||||||
|
}[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* add images
|
||||||
|
*/
|
||||||
|
includedImages: {
|
||||||
|
imageId: string;
|
||||||
|
permissions: ('read' | 'write')[];
|
||||||
}[];
|
}[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3,9 +3,10 @@ import type { IServiceRessources } from "./docker.js";
|
|||||||
export interface IService {
|
export interface IService {
|
||||||
name: string;
|
name: string;
|
||||||
imageId: string;
|
imageId: string;
|
||||||
|
environment: {[key: string]: string};
|
||||||
|
secretBundleId: string;
|
||||||
scaleFactor: number;
|
scaleFactor: number;
|
||||||
balancingStrategy: 'round-robin' | 'least-connections';
|
balancingStrategy: 'round-robin' | 'least-connections';
|
||||||
secrets: { [key: string]: string };
|
|
||||||
ports: {
|
ports: {
|
||||||
web: number;
|
web: number;
|
||||||
custom?: { [domain: string]: string };
|
custom?: { [domain: string]: string };
|
||||||
|
Loading…
Reference in New Issue
Block a user