@controlplane/schema 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/interfaces/accessreport.d.ts +11 -11
- package/build/src/interfaces/agent.d.ts +14 -10
- package/build/src/interfaces/auditctx.d.ts +4 -4
- package/build/src/interfaces/base.d.ts +20 -20
- package/build/src/interfaces/cloudaccount.d.ts +7 -7
- package/build/src/interfaces/command.d.ts +155 -148
- package/build/src/interfaces/config.d.ts +2 -4
- package/build/src/interfaces/containerstatus.d.ts +6 -6
- package/build/src/interfaces/cronjob.d.ts +1 -1
- package/build/src/interfaces/dbcluster.d.ts +1 -1
- package/build/src/interfaces/deployment.d.ts +20 -20
- package/build/src/interfaces/domain.d.ts +67 -67
- package/build/src/interfaces/env.d.ts +1 -1
- package/build/src/interfaces/envoy.d.ts +5 -5
- package/build/src/interfaces/envoyAccessLog.d.ts +1 -1
- package/build/src/interfaces/envoyCluster.d.ts +9 -9
- package/build/src/interfaces/envoyCommon.d.ts +301 -301
- package/build/src/interfaces/envoyExcExtAuth.d.ts +2 -2
- package/build/src/interfaces/envoyHttp.d.ts +146 -146
- package/build/src/interfaces/envoyRateLimit.d.ts +1 -1
- package/build/src/interfaces/event.d.ts +9 -9
- package/build/src/interfaces/group.d.ts +2 -2
- package/build/src/interfaces/gvc.d.ts +185 -66
- package/build/src/interfaces/identity.d.ts +96 -63
- package/build/src/interfaces/image.d.ts +1 -1
- package/build/src/interfaces/ipSet.d.ts +14 -14
- package/build/src/interfaces/location.d.ts +16 -16
- package/build/src/interfaces/memcache.d.ts +7 -7
- package/build/src/interfaces/mk8s.d.ts +65 -65
- package/build/src/interfaces/mk8sAddons.d.ts +64 -64
- package/build/src/interfaces/mk8sAws.d.ts +9 -6
- package/build/src/interfaces/mk8sAzure.d.ts +10 -10
- package/build/src/interfaces/mk8sCommon.d.ts +26 -26
- package/build/src/interfaces/mk8sDigitalOcean.d.ts +2 -2
- package/build/src/interfaces/mk8sEphemeral.d.ts +1 -1
- package/build/src/interfaces/mk8sGcp.d.ts +9 -9
- package/build/src/interfaces/mk8sGeneric.d.ts +5 -5
- package/build/src/interfaces/mk8sHetzner.d.ts +10 -10
- package/build/src/interfaces/mk8sLambdalabs.d.ts +5 -5
- package/build/src/interfaces/mk8sLinode.d.ts +6 -6
- package/build/src/interfaces/mk8sOblivus.d.ts +5 -5
- package/build/src/interfaces/mk8sPaperspace.d.ts +5 -5
- package/build/src/interfaces/mk8sTriton.d.ts +23 -23
- package/build/src/interfaces/org.d.ts +32 -32
- package/build/src/interfaces/orgLogging.d.ts +32 -32
- package/build/src/interfaces/permissions.d.ts +1 -1
- package/build/src/interfaces/policy.d.ts +2 -2
- package/build/src/interfaces/policyMembership.d.ts +6 -6
- package/build/src/interfaces/query.d.ts +24 -17
- package/build/src/interfaces/quota.d.ts +1 -1
- package/build/src/interfaces/resourcePolicy.d.ts +1 -1
- package/build/src/interfaces/secret.d.ts +23 -23
- package/build/src/interfaces/serviceaccount.d.ts +7 -7
- package/build/src/interfaces/spicedb.d.ts +1 -1
- package/build/src/interfaces/statefulSet.d.ts +1 -1
- package/build/src/interfaces/task.d.ts +1 -1
- package/build/src/interfaces/tenant.d.ts +5 -5
- package/build/src/interfaces/tracing.d.ts +16 -8
- package/build/src/interfaces/user.d.ts +12 -12
- package/build/src/interfaces/volumeSet.d.ts +54 -46
- package/build/src/interfaces/workload.d.ts +203 -222
- package/build/src/interfaces/workloadOptions.d.ts +47 -14
- package/package.json +1 -1
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import { Name, Kind, Tags, Links } from './base';
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Name, Kind, Tags, Links } from './base.js';
|
|
2
|
+
export interface AwsIdentity {
|
|
3
|
+
cloudAccountLink: string;
|
|
4
|
+
policyRefs?: PolicyRef[];
|
|
5
|
+
trustPolicy?: AwsPolicyDocument;
|
|
6
|
+
roleName?: AwsRoleName;
|
|
7
|
+
}
|
|
5
8
|
export interface AwsPolicyDocument {
|
|
6
9
|
Version?: string;
|
|
7
10
|
Statement?: {
|
|
8
11
|
[x: string]: any;
|
|
9
12
|
}[];
|
|
10
13
|
}
|
|
11
|
-
export
|
|
14
|
+
export type AwsRoleName = string;
|
|
15
|
+
export interface AzureIdentity {
|
|
12
16
|
cloudAccountLink: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
roleAssignments?: AzureRoleAssignment[];
|
|
18
|
+
}
|
|
19
|
+
export interface AzureRoleAssignment {
|
|
20
|
+
scope?: string;
|
|
21
|
+
roles?: string[];
|
|
16
22
|
}
|
|
17
23
|
export interface GcpIdentity {
|
|
18
24
|
cloudAccountLink: string;
|
|
@@ -23,6 +29,84 @@ export interface GcpIdentity {
|
|
|
23
29
|
roles?: GcpRoleName[];
|
|
24
30
|
}[];
|
|
25
31
|
}
|
|
32
|
+
export type GcpRoleName = string;
|
|
33
|
+
export interface Identity {
|
|
34
|
+
id?: string;
|
|
35
|
+
name?: Name;
|
|
36
|
+
kind?: Kind;
|
|
37
|
+
version?: number;
|
|
38
|
+
description?: string;
|
|
39
|
+
tags?: Tags;
|
|
40
|
+
created?: Date;
|
|
41
|
+
lastModified?: Date;
|
|
42
|
+
links?: Links;
|
|
43
|
+
aws?: {
|
|
44
|
+
cloudAccountLink: string;
|
|
45
|
+
policyRefs?: PolicyRef[];
|
|
46
|
+
trustPolicy?: AwsPolicyDocument;
|
|
47
|
+
roleName?: AwsRoleName;
|
|
48
|
+
};
|
|
49
|
+
gcp?: {
|
|
50
|
+
cloudAccountLink: string;
|
|
51
|
+
scopes?: string[];
|
|
52
|
+
serviceAccount?: string;
|
|
53
|
+
bindings?: {
|
|
54
|
+
resource?: string;
|
|
55
|
+
roles?: GcpRoleName[];
|
|
56
|
+
}[];
|
|
57
|
+
};
|
|
58
|
+
azure?: {
|
|
59
|
+
cloudAccountLink: string;
|
|
60
|
+
roleAssignments?: AzureRoleAssignment[];
|
|
61
|
+
};
|
|
62
|
+
ngs?: {
|
|
63
|
+
cloudAccountLink: string;
|
|
64
|
+
pub?: {
|
|
65
|
+
allow?: string[];
|
|
66
|
+
deny?: string[];
|
|
67
|
+
};
|
|
68
|
+
sub?: {
|
|
69
|
+
allow?: string[];
|
|
70
|
+
deny?: string[];
|
|
71
|
+
};
|
|
72
|
+
resp?: {
|
|
73
|
+
max?: number;
|
|
74
|
+
ttl?: string;
|
|
75
|
+
};
|
|
76
|
+
subs?: number;
|
|
77
|
+
data?: number;
|
|
78
|
+
payload?: number;
|
|
79
|
+
};
|
|
80
|
+
networkResources?: NetworkResource[];
|
|
81
|
+
nativeNetworkResources?: NativeNetworkResource[];
|
|
82
|
+
memcacheAccess?: MemcacheAccess[];
|
|
83
|
+
spicedbAccess?: SpicedbAccess[];
|
|
84
|
+
status?: Status;
|
|
85
|
+
gvc?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface MemcacheAccess {
|
|
88
|
+
clusterLink: string;
|
|
89
|
+
role: 'readWrite';
|
|
90
|
+
}
|
|
91
|
+
export interface NativeNetworkResource {
|
|
92
|
+
name: Name | string;
|
|
93
|
+
FQDN?: string;
|
|
94
|
+
ports: number[];
|
|
95
|
+
awsPrivateLink?: {
|
|
96
|
+
endpointServiceName: string;
|
|
97
|
+
};
|
|
98
|
+
gcpServiceConnect?: {
|
|
99
|
+
targetService: string;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
export interface NetworkResource {
|
|
103
|
+
name: Name | string;
|
|
104
|
+
agentLink?: string;
|
|
105
|
+
IPs?: string[];
|
|
106
|
+
FQDN?: string;
|
|
107
|
+
resolverIP?: string;
|
|
108
|
+
ports: number[];
|
|
109
|
+
}
|
|
26
110
|
export interface NgsIdentity {
|
|
27
111
|
cloudAccountLink: string;
|
|
28
112
|
pub?: {
|
|
@@ -41,13 +125,10 @@ export interface NgsIdentity {
|
|
|
41
125
|
data?: number;
|
|
42
126
|
payload?: number;
|
|
43
127
|
}
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
export interface AzureIdentity {
|
|
49
|
-
cloudAccountLink: string;
|
|
50
|
-
roleAssignments?: AzureRoleAssignment[];
|
|
128
|
+
export type PolicyRef = string;
|
|
129
|
+
export interface SpicedbAccess {
|
|
130
|
+
clusterLink: string;
|
|
131
|
+
role: 'checkPermission' | 'read' | 'write';
|
|
51
132
|
}
|
|
52
133
|
export interface Status {
|
|
53
134
|
objectName?: string;
|
|
@@ -64,51 +145,3 @@ export interface Status {
|
|
|
64
145
|
usable?: boolean;
|
|
65
146
|
};
|
|
66
147
|
}
|
|
67
|
-
export interface NetworkResource {
|
|
68
|
-
name: Name | string;
|
|
69
|
-
agentLink?: string;
|
|
70
|
-
IPs?: string[];
|
|
71
|
-
FQDN?: string;
|
|
72
|
-
resolverIP?: string;
|
|
73
|
-
ports: number[];
|
|
74
|
-
}
|
|
75
|
-
export interface NativeNetworkResource {
|
|
76
|
-
name: Name | string;
|
|
77
|
-
FQDN?: string;
|
|
78
|
-
ports: number[];
|
|
79
|
-
awsPrivateLink?: {
|
|
80
|
-
endpointServiceName: string;
|
|
81
|
-
};
|
|
82
|
-
gcpServiceConnect?: {
|
|
83
|
-
targetService: string;
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
export interface SpicedbAccess {
|
|
87
|
-
clusterLink: string;
|
|
88
|
-
role: 'checkPermission' | 'read' | 'write';
|
|
89
|
-
}
|
|
90
|
-
export interface MemcacheAccess {
|
|
91
|
-
clusterLink: string;
|
|
92
|
-
role: 'readWrite';
|
|
93
|
-
}
|
|
94
|
-
export interface Identity {
|
|
95
|
-
id?: string;
|
|
96
|
-
name?: Name;
|
|
97
|
-
kind?: Kind;
|
|
98
|
-
version?: number;
|
|
99
|
-
description?: string;
|
|
100
|
-
tags?: Tags;
|
|
101
|
-
created?: Date;
|
|
102
|
-
lastModified?: Date;
|
|
103
|
-
links?: Links;
|
|
104
|
-
aws?: AwsIdentity;
|
|
105
|
-
gcp?: GcpIdentity;
|
|
106
|
-
azure?: AzureIdentity;
|
|
107
|
-
ngs?: NgsIdentity;
|
|
108
|
-
networkResources?: NetworkResource[];
|
|
109
|
-
nativeNetworkResources?: NativeNetworkResource[];
|
|
110
|
-
memcacheAccess?: MemcacheAccess[];
|
|
111
|
-
spicedbAccess?: SpicedbAccess[];
|
|
112
|
-
status?: Status;
|
|
113
|
-
gvc?: string;
|
|
114
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Name, Kind, Tags, Links } from './base';
|
|
1
|
+
import { Name, Kind, Tags, Links } from './base.js';
|
|
2
2
|
export interface IpAddress {
|
|
3
3
|
name: string;
|
|
4
4
|
ip: string;
|
|
@@ -6,19 +6,6 @@ export interface IpAddress {
|
|
|
6
6
|
state: 'bound' | 'unbound';
|
|
7
7
|
created: Date;
|
|
8
8
|
}
|
|
9
|
-
export interface IpSetStatus {
|
|
10
|
-
ipAddresses?: IpAddress[];
|
|
11
|
-
error?: string;
|
|
12
|
-
warning?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface IpSetLocation {
|
|
15
|
-
name: string;
|
|
16
|
-
retentionPolicy: 'keep' | 'free';
|
|
17
|
-
}
|
|
18
|
-
export interface IpSetSpec {
|
|
19
|
-
link?: string;
|
|
20
|
-
locations?: IpSetLocation[];
|
|
21
|
-
}
|
|
22
9
|
export interface IpSet {
|
|
23
10
|
id?: string;
|
|
24
11
|
name?: Name;
|
|
@@ -35,3 +22,16 @@ export interface IpSet {
|
|
|
35
22
|
};
|
|
36
23
|
status?: IpSetStatus;
|
|
37
24
|
}
|
|
25
|
+
export interface IpSetLocation {
|
|
26
|
+
name: string;
|
|
27
|
+
retentionPolicy: 'keep' | 'free';
|
|
28
|
+
}
|
|
29
|
+
export interface IpSetSpec {
|
|
30
|
+
link?: string;
|
|
31
|
+
locations?: IpSetLocation[];
|
|
32
|
+
}
|
|
33
|
+
export interface IpSetStatus {
|
|
34
|
+
ipAddresses?: IpAddress[];
|
|
35
|
+
error?: string;
|
|
36
|
+
warning?: string;
|
|
37
|
+
}
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
import { Name, Kind, Tags, Links } from './base';
|
|
2
|
-
export interface LocationSpec {
|
|
3
|
-
enabled?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export interface LocationStatus {
|
|
6
|
-
geo?: {
|
|
7
|
-
lat?: number;
|
|
8
|
-
lon?: number;
|
|
9
|
-
country?: string;
|
|
10
|
-
state?: string;
|
|
11
|
-
city?: string;
|
|
12
|
-
continent?: string;
|
|
13
|
-
};
|
|
14
|
-
ipRanges?: string[];
|
|
15
|
-
}
|
|
1
|
+
import { Name, Kind, Tags, Links } from './base.js';
|
|
16
2
|
export interface Location {
|
|
17
3
|
id?: string;
|
|
18
4
|
name?: Name;
|
|
@@ -24,8 +10,22 @@ export interface Location {
|
|
|
24
10
|
lastModified?: Date;
|
|
25
11
|
links?: Links;
|
|
26
12
|
origin?: 'builtin' | 'default' | 'custom';
|
|
27
|
-
provider?: 'aws' | 'gcp' | 'azure' | 'byok' | 'linode' | 'vultr' | 'equinix';
|
|
13
|
+
provider?: 'aws' | 'gcp' | 'azure' | 'byok' | 'linode' | 'vultr' | 'equinix' | 'oci';
|
|
28
14
|
region?: string;
|
|
29
15
|
spec?: LocationSpec;
|
|
30
16
|
status?: LocationStatus;
|
|
31
17
|
}
|
|
18
|
+
export interface LocationSpec {
|
|
19
|
+
enabled?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface LocationStatus {
|
|
22
|
+
geo?: {
|
|
23
|
+
lat?: number;
|
|
24
|
+
lon?: number;
|
|
25
|
+
country?: string;
|
|
26
|
+
state?: string;
|
|
27
|
+
city?: string;
|
|
28
|
+
continent?: string;
|
|
29
|
+
};
|
|
30
|
+
ipRanges?: string[];
|
|
31
|
+
}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import { Name, Kind, Tags, Links } from './base';
|
|
2
|
-
export interface MemcacheOptions {
|
|
3
|
-
evictionsDisabled?: boolean;
|
|
4
|
-
idleTimeoutSeconds?: number;
|
|
5
|
-
maxItemSizeKiB?: number;
|
|
6
|
-
maxConnections?: number;
|
|
7
|
-
}
|
|
1
|
+
import { Name, Kind, Tags, Links } from './base.js';
|
|
8
2
|
export interface ClusterSpec {
|
|
9
3
|
nodeCount: number;
|
|
10
4
|
nodeSizeGiB: number;
|
|
@@ -44,3 +38,9 @@ export interface MemcacheCluster {
|
|
|
44
38
|
};
|
|
45
39
|
status?: ClusterStatus;
|
|
46
40
|
}
|
|
41
|
+
export interface MemcacheOptions {
|
|
42
|
+
evictionsDisabled?: boolean;
|
|
43
|
+
idleTimeoutSeconds?: number;
|
|
44
|
+
maxItemSizeKiB?: number;
|
|
45
|
+
maxConnections?: number;
|
|
46
|
+
}
|
|
@@ -1,17 +1,68 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
1
|
+
import { Name, Kind, Tags, Links } from './base.js';
|
|
2
|
+
import { GenericProvider } from './mk8sGeneric.js';
|
|
3
|
+
import { HetznerProvider } from './mk8sHetzner.js';
|
|
4
|
+
import { AwsProvider } from './mk8sAws.js';
|
|
5
|
+
import { LinodeProvider } from './mk8sLinode.js';
|
|
6
|
+
import { OblivusProvider } from './mk8sOblivus.js';
|
|
7
|
+
import { LambdalabsProvider } from './mk8sLambdalabs.js';
|
|
8
|
+
import { PaperspaceProvider } from './mk8sPaperspace.js';
|
|
9
|
+
import { EphemeralProvider } from './mk8sEphemeral.js';
|
|
10
|
+
import { TritonProvider } from './mk8sTriton.js';
|
|
11
|
+
import { AzureProvider } from './mk8sAzure.js';
|
|
12
|
+
import { DigitalOceanProvider } from './mk8sDigitalOcean.js';
|
|
13
|
+
import { GcpProvider } from './mk8sGcp.js';
|
|
14
|
+
import { NonCustomizableAddonConfig, AzureAddonConfig, MetricsAddonConfig, LogsAddonConfig, RegistryMirrorConfig, NvidiaAddonConfig, AwsEFSAddonConfig, AwsECRAddonConfig, AwsELBAddonConfig, AzureACRAddonConfig, ByokAddonConfig, DashboardAddonStatus, AwsWorkloadIdentityAddonStatus, MetricsAddonStatus, LogsAddonStatus, AwsTrustPolicyConfig } from './mk8sAddons.js';
|
|
15
|
+
export interface Mk8sCluster {
|
|
16
|
+
id?: string;
|
|
17
|
+
name?: Name;
|
|
18
|
+
kind?: Kind;
|
|
19
|
+
version?: number;
|
|
20
|
+
description?: string;
|
|
21
|
+
tags?: Tags;
|
|
22
|
+
created?: Date;
|
|
23
|
+
lastModified?: Date;
|
|
24
|
+
links?: Links;
|
|
25
|
+
spec: {
|
|
26
|
+
version: '1.26.0' | '1.26.4' | '1.27.3' | '1.28.2' | '1.28.4' | '1.29.7' | '1.30.3' | '1.31.5' | '1.31.13' | '1.32.1' | '1.32.9' | '1.33.5' | '1.34.2';
|
|
27
|
+
firewall?: {
|
|
28
|
+
sourceCIDR: string;
|
|
29
|
+
description?: string;
|
|
30
|
+
}[];
|
|
31
|
+
provider: {
|
|
32
|
+
generic?: GenericProvider;
|
|
33
|
+
hetzner?: HetznerProvider;
|
|
34
|
+
aws?: AwsProvider;
|
|
35
|
+
linode?: LinodeProvider;
|
|
36
|
+
oblivus?: OblivusProvider;
|
|
37
|
+
lambdalabs?: LambdalabsProvider;
|
|
38
|
+
paperspace?: PaperspaceProvider;
|
|
39
|
+
ephemeral?: EphemeralProvider;
|
|
40
|
+
triton?: TritonProvider;
|
|
41
|
+
azure?: AzureProvider;
|
|
42
|
+
digitalocean?: DigitalOceanProvider;
|
|
43
|
+
gcp?: GcpProvider;
|
|
44
|
+
};
|
|
45
|
+
addOns?: {
|
|
46
|
+
dashboard?: NonCustomizableAddonConfig;
|
|
47
|
+
headlamp?: NonCustomizableAddonConfig;
|
|
48
|
+
azureWorkloadIdentity?: AzureAddonConfig;
|
|
49
|
+
awsWorkloadIdentity?: NonCustomizableAddonConfig;
|
|
50
|
+
localPathStorage?: NonCustomizableAddonConfig;
|
|
51
|
+
metrics?: MetricsAddonConfig;
|
|
52
|
+
logs?: LogsAddonConfig;
|
|
53
|
+
registryMirror?: RegistryMirrorConfig;
|
|
54
|
+
nvidia?: NvidiaAddonConfig;
|
|
55
|
+
awsEFS?: AwsEFSAddonConfig;
|
|
56
|
+
awsECR?: AwsECRAddonConfig;
|
|
57
|
+
awsELB?: AwsELBAddonConfig;
|
|
58
|
+
azureACR?: AzureACRAddonConfig;
|
|
59
|
+
sysbox?: NonCustomizableAddonConfig;
|
|
60
|
+
byok?: ByokAddonConfig;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
alias?: string;
|
|
64
|
+
status?: Mk8sStatus;
|
|
65
|
+
}
|
|
15
66
|
export interface Mk8sSpec {
|
|
16
67
|
version: '1.26.0' | '1.26.4' | '1.27.3' | '1.28.2' | '1.28.4' | '1.29.7' | '1.30.3' | '1.31.5' | '1.31.13' | '1.32.1' | '1.32.9' | '1.33.5' | '1.34.2';
|
|
17
68
|
firewall?: {
|
|
@@ -65,54 +116,3 @@ export interface Mk8sStatus {
|
|
|
65
116
|
awsELB?: AwsTrustPolicyConfig;
|
|
66
117
|
};
|
|
67
118
|
}
|
|
68
|
-
export interface Mk8sCluster {
|
|
69
|
-
id?: string;
|
|
70
|
-
name?: Name;
|
|
71
|
-
kind?: Kind;
|
|
72
|
-
version?: number;
|
|
73
|
-
description?: string;
|
|
74
|
-
tags?: Tags;
|
|
75
|
-
created?: Date;
|
|
76
|
-
lastModified?: Date;
|
|
77
|
-
links?: Links;
|
|
78
|
-
spec: {
|
|
79
|
-
version: '1.26.0' | '1.26.4' | '1.27.3' | '1.28.2' | '1.28.4' | '1.29.7' | '1.30.3' | '1.31.5' | '1.31.13' | '1.32.1' | '1.32.9' | '1.33.5' | '1.34.2';
|
|
80
|
-
firewall?: {
|
|
81
|
-
sourceCIDR: string;
|
|
82
|
-
description?: string;
|
|
83
|
-
}[];
|
|
84
|
-
provider: {
|
|
85
|
-
generic?: GenericProvider;
|
|
86
|
-
hetzner?: HetznerProvider;
|
|
87
|
-
aws?: AwsProvider;
|
|
88
|
-
linode?: LinodeProvider;
|
|
89
|
-
oblivus?: OblivusProvider;
|
|
90
|
-
lambdalabs?: LambdalabsProvider;
|
|
91
|
-
paperspace?: PaperspaceProvider;
|
|
92
|
-
ephemeral?: EphemeralProvider;
|
|
93
|
-
triton?: TritonProvider;
|
|
94
|
-
azure?: AzureProvider;
|
|
95
|
-
digitalocean?: DigitalOceanProvider;
|
|
96
|
-
gcp?: GcpProvider;
|
|
97
|
-
};
|
|
98
|
-
addOns?: {
|
|
99
|
-
dashboard?: NonCustomizableAddonConfig;
|
|
100
|
-
headlamp?: NonCustomizableAddonConfig;
|
|
101
|
-
azureWorkloadIdentity?: AzureAddonConfig;
|
|
102
|
-
awsWorkloadIdentity?: NonCustomizableAddonConfig;
|
|
103
|
-
localPathStorage?: NonCustomizableAddonConfig;
|
|
104
|
-
metrics?: MetricsAddonConfig;
|
|
105
|
-
logs?: LogsAddonConfig;
|
|
106
|
-
registryMirror?: RegistryMirrorConfig;
|
|
107
|
-
nvidia?: NvidiaAddonConfig;
|
|
108
|
-
awsEFS?: AwsEFSAddonConfig;
|
|
109
|
-
awsECR?: AwsECRAddonConfig;
|
|
110
|
-
awsELB?: AwsELBAddonConfig;
|
|
111
|
-
azureACR?: AzureACRAddonConfig;
|
|
112
|
-
sysbox?: NonCustomizableAddonConfig;
|
|
113
|
-
byok?: ByokAddonConfig;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
alias?: string;
|
|
117
|
-
status?: Mk8sStatus;
|
|
118
|
-
}
|
|
@@ -1,57 +1,18 @@
|
|
|
1
|
-
import { Cpu, Memory } from './workload';
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
[x: string]: string;
|
|
5
|
-
}
|
|
6
|
-
export interface NonCustomizableAddonConfig {
|
|
7
|
-
}
|
|
8
|
-
export interface AzureAddonConfig {
|
|
9
|
-
tenantId?: string;
|
|
1
|
+
import { Cpu, Memory } from './workload.js';
|
|
2
|
+
export interface AwsECRAddonConfig {
|
|
3
|
+
roleArn?: string;
|
|
10
4
|
}
|
|
11
5
|
export interface AwsEFSAddonConfig {
|
|
12
6
|
roleArn: string;
|
|
13
7
|
}
|
|
14
|
-
export interface
|
|
15
|
-
|
|
16
|
-
coreDns?: boolean;
|
|
17
|
-
kubelet?: boolean;
|
|
18
|
-
apiserver?: boolean;
|
|
19
|
-
nodeExporter?: boolean;
|
|
20
|
-
cadvisor?: boolean;
|
|
21
|
-
scrapeAnnotated?: {
|
|
22
|
-
intervalSeconds?: number;
|
|
23
|
-
includeNamespaces?: RegularExpression;
|
|
24
|
-
excludeNamespaces?: RegularExpression;
|
|
25
|
-
retainLabels?: RegularExpression;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
export interface RegistryMirrorConfig {
|
|
29
|
-
mirrors?: ({
|
|
30
|
-
registry: string | '*';
|
|
31
|
-
mirrors?: string[];
|
|
32
|
-
})[];
|
|
8
|
+
export interface AwsELBAddonConfig {
|
|
9
|
+
roleArn?: string;
|
|
33
10
|
}
|
|
34
|
-
export interface
|
|
35
|
-
|
|
36
|
-
remoteWriteConfig?: {
|
|
11
|
+
export interface AwsTrustPolicyConfig {
|
|
12
|
+
trustPolicy?: {
|
|
37
13
|
[x: string]: any;
|
|
38
14
|
};
|
|
39
15
|
}
|
|
40
|
-
export interface LogsAddonConfig {
|
|
41
|
-
auditEnabled?: boolean;
|
|
42
|
-
includeNamespaces?: RegularExpression;
|
|
43
|
-
excludeNamespaces?: RegularExpression;
|
|
44
|
-
docker?: boolean;
|
|
45
|
-
kubelet?: boolean;
|
|
46
|
-
kernel?: boolean;
|
|
47
|
-
events?: boolean;
|
|
48
|
-
}
|
|
49
|
-
export interface LogsAddonStatus {
|
|
50
|
-
lokiAddress?: string;
|
|
51
|
-
}
|
|
52
|
-
export interface DashboardAddonStatus {
|
|
53
|
-
url?: string;
|
|
54
|
-
}
|
|
55
16
|
export interface AwsWorkloadIdentityAddonStatus {
|
|
56
17
|
oidcProviderConfig?: {
|
|
57
18
|
providerUrl?: string;
|
|
@@ -61,27 +22,11 @@ export interface AwsWorkloadIdentityAddonStatus {
|
|
|
61
22
|
[x: string]: any;
|
|
62
23
|
};
|
|
63
24
|
}
|
|
64
|
-
export interface AwsTrustPolicyConfig {
|
|
65
|
-
trustPolicy?: {
|
|
66
|
-
[x: string]: any;
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
export interface NvidiaAddonConfig {
|
|
70
|
-
taintGPUNodes?: boolean;
|
|
71
|
-
}
|
|
72
|
-
export interface AwsECRAddonConfig {
|
|
73
|
-
roleArn?: string;
|
|
74
|
-
}
|
|
75
|
-
export interface AwsELBAddonConfig {
|
|
76
|
-
roleArn?: string;
|
|
77
|
-
}
|
|
78
25
|
export interface AzureACRAddonConfig {
|
|
79
26
|
clientId: string;
|
|
80
27
|
}
|
|
81
|
-
export interface
|
|
82
|
-
|
|
83
|
-
secrets?: string[];
|
|
84
|
-
files?: string[];
|
|
28
|
+
export interface AzureAddonConfig {
|
|
29
|
+
tenantId?: string;
|
|
85
30
|
}
|
|
86
31
|
export interface ByokAddonConfig {
|
|
87
32
|
ignoreUpdates?: boolean;
|
|
@@ -250,3 +195,58 @@ export interface ByokAddonConfig {
|
|
|
250
195
|
};
|
|
251
196
|
};
|
|
252
197
|
}
|
|
198
|
+
export interface DashboardAddonStatus {
|
|
199
|
+
url?: string;
|
|
200
|
+
}
|
|
201
|
+
export interface FlexibleAddonConfig {
|
|
202
|
+
[x: string]: string;
|
|
203
|
+
}
|
|
204
|
+
export interface HttpHeaderValue {
|
|
205
|
+
values?: string[];
|
|
206
|
+
secrets?: string[];
|
|
207
|
+
files?: string[];
|
|
208
|
+
}
|
|
209
|
+
export interface LogsAddonConfig {
|
|
210
|
+
auditEnabled?: boolean;
|
|
211
|
+
includeNamespaces?: RegularExpression;
|
|
212
|
+
excludeNamespaces?: RegularExpression;
|
|
213
|
+
docker?: boolean;
|
|
214
|
+
kubelet?: boolean;
|
|
215
|
+
kernel?: boolean;
|
|
216
|
+
events?: boolean;
|
|
217
|
+
}
|
|
218
|
+
export interface LogsAddonStatus {
|
|
219
|
+
lokiAddress?: string;
|
|
220
|
+
}
|
|
221
|
+
export interface MetricsAddonConfig {
|
|
222
|
+
kubeState?: boolean;
|
|
223
|
+
coreDns?: boolean;
|
|
224
|
+
kubelet?: boolean;
|
|
225
|
+
apiserver?: boolean;
|
|
226
|
+
nodeExporter?: boolean;
|
|
227
|
+
cadvisor?: boolean;
|
|
228
|
+
scrapeAnnotated?: {
|
|
229
|
+
intervalSeconds?: number;
|
|
230
|
+
includeNamespaces?: RegularExpression;
|
|
231
|
+
excludeNamespaces?: RegularExpression;
|
|
232
|
+
retainLabels?: RegularExpression;
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
export interface MetricsAddonStatus {
|
|
236
|
+
prometheusEndpoint?: string;
|
|
237
|
+
remoteWriteConfig?: {
|
|
238
|
+
[x: string]: any;
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
export interface NonCustomizableAddonConfig {
|
|
242
|
+
}
|
|
243
|
+
export interface NvidiaAddonConfig {
|
|
244
|
+
taintGPUNodes?: boolean;
|
|
245
|
+
}
|
|
246
|
+
export interface RegistryMirrorConfig {
|
|
247
|
+
mirrors?: ({
|
|
248
|
+
registry: string | '*';
|
|
249
|
+
mirrors?: string[];
|
|
250
|
+
})[];
|
|
251
|
+
}
|
|
252
|
+
export type RegularExpression = string;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { Labels, Taints, AutoscalerConfig } from './mk8sCommon';
|
|
2
|
-
export
|
|
1
|
+
import { Labels, Taints, AutoscalerConfig } from './mk8sCommon.js';
|
|
2
|
+
export interface Ami {
|
|
3
|
+
recommended?: 'ubuntu/jammy-22.04' | 'ubuntu/jammy-22.04+nvidia' | 'ubuntu/focal-20.04' | 'ubuntu/focal-20.04+nvidia' | 'ubuntu/noble-24.04' | 'ubuntu/noble-24.04+nvidia' | 'ubuntu/bionic-18.04' | 'amazon/amzn2' | 'amazon/al2023';
|
|
4
|
+
exact?: string;
|
|
5
|
+
}
|
|
3
6
|
export interface AssumeRoleLink {
|
|
4
7
|
roleArn: string;
|
|
5
8
|
externalId?: string;
|
|
6
9
|
sessionNamePrefix?: string;
|
|
7
10
|
}
|
|
8
|
-
export interface Ami {
|
|
9
|
-
recommended?: 'ubuntu/jammy-22.04' | 'ubuntu/jammy-22.04+nvidia' | 'ubuntu/focal-20.04' | 'ubuntu/focal-20.04+nvidia' | 'ubuntu/noble-24.04' | 'ubuntu/noble-24.04+nvidia' | 'ubuntu/bionic-18.04' | 'amazon/amzn2' | 'amazon/al2023';
|
|
10
|
-
exact?: string;
|
|
11
|
-
}
|
|
12
11
|
export interface AwsPool {
|
|
13
12
|
name: string;
|
|
14
13
|
labels?: Labels;
|
|
@@ -23,6 +22,9 @@ export interface AwsPool {
|
|
|
23
22
|
spotAllocationStrategy?: 'lowest-price' | 'capacity-optimized' | 'capacity-optimized-prioritized' | 'price-capacity-optimized';
|
|
24
23
|
subnetIds: string[];
|
|
25
24
|
extraSecurityGroupIds?: string[];
|
|
25
|
+
cpuOptions?: {
|
|
26
|
+
nestedVirtualization?: boolean;
|
|
27
|
+
};
|
|
26
28
|
}
|
|
27
29
|
export interface AwsProvider {
|
|
28
30
|
region: 'af-south-1' | 'ap-east-1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-south-2' | 'ap-southeast-1' | 'ap-southeast-2' | 'ap-southeast-3' | 'ap-southeast-4' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-south-1' | 'eu-south-2' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'me-central-1' | 'me-south-1' | 'sa-east-1' | 'us-east-1' | 'us-east-2' | 'us-west-1' | 'us-west-2';
|
|
@@ -53,3 +55,4 @@ export interface AwsProvider {
|
|
|
53
55
|
export interface AwsProviderStatus {
|
|
54
56
|
[x: string]: any;
|
|
55
57
|
}
|
|
58
|
+
export type PolicyArn = string;
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
import { Labels, Taints, SshPublicKey, AutoscalerConfig } from './mk8sCommon';
|
|
2
|
-
export interface Image {
|
|
3
|
-
recommended?: 'ubuntu/noble-24.04' | 'ubuntu/jammy-22.04' | 'ubuntu/focal-20.04' | 'debian/bookworm-12' | 'debian/bullseye-11';
|
|
4
|
-
reference?: {
|
|
5
|
-
publisher: string;
|
|
6
|
-
offer: string;
|
|
7
|
-
sku: string;
|
|
8
|
-
version: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
1
|
+
import { Labels, Taints, SshPublicKey, AutoscalerConfig } from './mk8sCommon.js';
|
|
11
2
|
export interface AzurePool {
|
|
12
3
|
name: string;
|
|
13
4
|
labels?: Labels;
|
|
@@ -51,3 +42,12 @@ export interface AzureProvider {
|
|
|
51
42
|
export interface AzureProviderStatus {
|
|
52
43
|
[x: string]: any;
|
|
53
44
|
}
|
|
45
|
+
export interface Image {
|
|
46
|
+
recommended?: 'ubuntu/noble-24.04' | 'ubuntu/jammy-22.04' | 'ubuntu/focal-20.04' | 'debian/bookworm-12' | 'debian/bullseye-11';
|
|
47
|
+
reference?: {
|
|
48
|
+
publisher: string;
|
|
49
|
+
offer: string;
|
|
50
|
+
sku: string;
|
|
51
|
+
version: string;
|
|
52
|
+
};
|
|
53
|
+
}
|