@controlplane/schema 1.0.6 → 1.0.8
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 +164 -125
- 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 +127 -60
- package/build/src/interfaces/mk8sAws.d.ts +6 -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 +34 -32
- package/build/src/interfaces/orgLogging.d.ts +32 -25
- 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 +241 -200
- 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,23 +22,12 @@ 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
|
}
|
|
28
|
+
export interface AzureAddonConfig {
|
|
29
|
+
tenantId?: string;
|
|
30
|
+
}
|
|
81
31
|
export interface ByokAddonConfig {
|
|
82
32
|
ignoreUpdates?: boolean;
|
|
83
33
|
location: string;
|
|
@@ -95,6 +45,8 @@ export interface ByokAddonConfig {
|
|
|
95
45
|
middlebox?: {
|
|
96
46
|
enabled?: boolean;
|
|
97
47
|
bandwidthAlertMbps?: number;
|
|
48
|
+
port?: number;
|
|
49
|
+
ip?: string;
|
|
98
50
|
};
|
|
99
51
|
common?: {
|
|
100
52
|
deploymentReplicas?: number;
|
|
@@ -103,7 +55,12 @@ export interface ByokAddonConfig {
|
|
|
103
55
|
};
|
|
104
56
|
};
|
|
105
57
|
longhorn?: {
|
|
58
|
+
numberOfReplicas?: number;
|
|
106
59
|
replicas?: number;
|
|
60
|
+
isDefault?: boolean;
|
|
61
|
+
};
|
|
62
|
+
byok?: {
|
|
63
|
+
noDefaultStorageClasses?: boolean;
|
|
107
64
|
};
|
|
108
65
|
ingress?: {
|
|
109
66
|
cpu?: Cpu;
|
|
@@ -148,6 +105,62 @@ export interface ByokAddonConfig {
|
|
|
148
105
|
storage?: Memory;
|
|
149
106
|
};
|
|
150
107
|
};
|
|
108
|
+
remoteWrite?: {
|
|
109
|
+
basic_auth?: {
|
|
110
|
+
username?: string;
|
|
111
|
+
username_file?: string;
|
|
112
|
+
password?: string;
|
|
113
|
+
password_file?: string;
|
|
114
|
+
};
|
|
115
|
+
authorization?: {
|
|
116
|
+
type?: string;
|
|
117
|
+
credentials?: string;
|
|
118
|
+
credentials_file?: string;
|
|
119
|
+
};
|
|
120
|
+
oauth2?: {
|
|
121
|
+
[x: string]: any;
|
|
122
|
+
};
|
|
123
|
+
follow_redirects?: boolean;
|
|
124
|
+
enable_http2?: boolean;
|
|
125
|
+
tls_config?: {
|
|
126
|
+
[x: string]: any;
|
|
127
|
+
};
|
|
128
|
+
proxy_url?: string;
|
|
129
|
+
no_proxy?: string;
|
|
130
|
+
proxy_from_environment?: boolean;
|
|
131
|
+
proxy_connect_header?: {
|
|
132
|
+
[x: string]: string[];
|
|
133
|
+
};
|
|
134
|
+
http_headers?: {
|
|
135
|
+
[x: string]: HttpHeaderValue;
|
|
136
|
+
};
|
|
137
|
+
url?: string;
|
|
138
|
+
remote_timeout?: string;
|
|
139
|
+
headers?: {
|
|
140
|
+
[x: string]: string;
|
|
141
|
+
};
|
|
142
|
+
write_relabel_configs?: {
|
|
143
|
+
[x: string]: any;
|
|
144
|
+
}[];
|
|
145
|
+
name?: string;
|
|
146
|
+
send_exemplars?: boolean;
|
|
147
|
+
send_native_histograms?: boolean;
|
|
148
|
+
sigv4?: {
|
|
149
|
+
[x: string]: any;
|
|
150
|
+
};
|
|
151
|
+
azuread?: {
|
|
152
|
+
[x: string]: any;
|
|
153
|
+
};
|
|
154
|
+
google_iam?: {
|
|
155
|
+
[x: string]: any;
|
|
156
|
+
};
|
|
157
|
+
queue_config?: {
|
|
158
|
+
[x: string]: any;
|
|
159
|
+
};
|
|
160
|
+
}[];
|
|
161
|
+
externalLabels?: {
|
|
162
|
+
[x: string]: string;
|
|
163
|
+
};
|
|
151
164
|
};
|
|
152
165
|
redis?: {
|
|
153
166
|
minCpu?: Cpu;
|
|
@@ -180,6 +193,60 @@ export interface ByokAddonConfig {
|
|
|
180
193
|
minMemory?: Memory;
|
|
181
194
|
maxMemory?: Memory;
|
|
182
195
|
};
|
|
196
|
+
};
|
|
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?: {
|
|
183
238
|
[x: string]: any;
|
|
184
239
|
};
|
|
185
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;
|
|
@@ -53,3 +52,4 @@ export interface AwsProvider {
|
|
|
53
52
|
export interface AwsProviderStatus {
|
|
54
53
|
[x: string]: any;
|
|
55
54
|
}
|
|
55
|
+
export type PolicyArn = string;
|