@stack-spot/portal-network 0.166.0 → 0.167.1
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/CHANGELOG.md +14 -0
- package/dist/api/cloudPlatformHorizon.d.ts +448 -19
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +35 -0
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/client/cloud-platform-horizon.d.ts +26 -0
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +28 -1
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/package.json +1 -1
- package/src/api/cloudPlatformHorizon.ts +558 -19
- package/src/client/cloud-platform-horizon.ts +13 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.167.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.167.0...portal-network@v0.167.1) (2025-08-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update horizon swagger ([#1352](https://github.com/stack-spot/portal-commons/issues/1352)) ([e6368f2](https://github.com/stack-spot/portal-commons/commit/e6368f2d1790de07d1b1b5b342aecd869fb067c6))
|
|
9
|
+
|
|
10
|
+
## [0.167.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.166.0...portal-network@v0.167.0) (2025-08-05)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add new requests in cloud horizon ([#1337](https://github.com/stack-spot/portal-commons/issues/1337)) ([9e5fb25](https://github.com/stack-spot/portal-commons/commit/9e5fb2543b1be6b2a44bebb5f0b6eab0bb57f890))
|
|
16
|
+
|
|
3
17
|
## [0.166.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.165.2...portal-network@v0.166.0) (2025-08-04)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -38,12 +38,14 @@ export type TenantManifestV1SpecCloudAccountConfigurationIamRoles = {
|
|
|
38
38
|
clusterNodeGroup?: string;
|
|
39
39
|
clusterAdminRoles: string[];
|
|
40
40
|
crossplane?: string;
|
|
41
|
+
crossAccountRoleArn?: string;
|
|
41
42
|
argocd?: string;
|
|
42
43
|
karpenter?: string;
|
|
43
44
|
externalSecrets?: string;
|
|
44
45
|
stackspotCloudPlatformAgent?: string;
|
|
45
46
|
stackspotCloudPlatformManager?: string;
|
|
46
47
|
stackspotCloudPlatformGateway?: string;
|
|
48
|
+
nodeRole?: string;
|
|
47
49
|
};
|
|
48
50
|
export type TenantManifestV1SpecCloudAccountConfiguration = {
|
|
49
51
|
fromRef?: TenantManifestV1SpecCloudAccountConfigurationFromRef;
|
|
@@ -62,19 +64,26 @@ export type TenantManifestV1SpecAddonReference = {
|
|
|
62
64
|
[key: string]: object;
|
|
63
65
|
};
|
|
64
66
|
};
|
|
67
|
+
export type TenantManifestV1SpecKubernetesNetworkConfig = {
|
|
68
|
+
ipFamily?: string;
|
|
69
|
+
serviceIpv4Cidr?: string;
|
|
70
|
+
};
|
|
65
71
|
export type TenantManifestV1SpecKubernetes = {
|
|
66
72
|
publicAccess: boolean;
|
|
73
|
+
privateAccess: boolean;
|
|
67
74
|
version: string;
|
|
68
75
|
publicCidrsAllowed: string[];
|
|
69
|
-
|
|
76
|
+
privateCidrsAllowed?: string[];
|
|
77
|
+
extraCidrsInbound?: string[];
|
|
78
|
+
networkConfig?: TenantManifestV1SpecKubernetesNetworkConfig;
|
|
70
79
|
};
|
|
71
80
|
export type TenantManifestV1SpecNodeGroup = {
|
|
72
|
-
volumeSize
|
|
73
|
-
amiType
|
|
74
|
-
capacityType
|
|
75
|
-
desiredSize
|
|
76
|
-
maxSize
|
|
77
|
-
minSize
|
|
81
|
+
volumeSize?: number;
|
|
82
|
+
amiType?: string;
|
|
83
|
+
capacityType?: string;
|
|
84
|
+
desiredSize?: number;
|
|
85
|
+
maxSize?: number;
|
|
86
|
+
minSize?: number;
|
|
78
87
|
};
|
|
79
88
|
export type TenantManifestV1SpecStackspotCloudPlatform = {
|
|
80
89
|
createIamRoles: boolean;
|
|
@@ -105,28 +114,248 @@ export type TenantManifestV1SpecSeleneApps = {
|
|
|
105
114
|
manager: TenantManifestV1SpecSeleneAppsSeleneApp;
|
|
106
115
|
platformGatewayUrl: string;
|
|
107
116
|
};
|
|
117
|
+
export type TenantManifestV1SpecArgoCdMetrics = {
|
|
118
|
+
enabled: boolean;
|
|
119
|
+
};
|
|
120
|
+
export type TenantManifestV1SpecArgoCdComponentConfig = {
|
|
121
|
+
metrics?: TenantManifestV1SpecArgoCdMetrics;
|
|
122
|
+
podAnnotations?: {
|
|
123
|
+
[key: string]: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
export type TenantManifestV1SpecArgoCdConfigsSsh = {
|
|
127
|
+
extraHosts: string;
|
|
128
|
+
};
|
|
129
|
+
export type TenantManifestV1SpecArgoCdConfigsTls = {
|
|
130
|
+
certificates: {
|
|
131
|
+
[key: string]: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
export type TenantManifestV1SpecArgoCdConfigs = {
|
|
135
|
+
ssh?: TenantManifestV1SpecArgoCdConfigsSsh;
|
|
136
|
+
tls?: TenantManifestV1SpecArgoCdConfigsTls;
|
|
137
|
+
repositories?: {
|
|
138
|
+
[key: string]: object;
|
|
139
|
+
};
|
|
140
|
+
credentialTemplates?: {
|
|
141
|
+
[key: string]: object;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
export type TenantManifestV1SpecArgoCd = {
|
|
145
|
+
chart?: TenantManifestV1SpecHelmResource;
|
|
146
|
+
server?: TenantManifestV1SpecArgoCdComponentConfig;
|
|
147
|
+
controller?: TenantManifestV1SpecArgoCdComponentConfig;
|
|
148
|
+
applicationSet?: TenantManifestV1SpecArgoCdComponentConfig;
|
|
149
|
+
repoServer?: TenantManifestV1SpecArgoCdComponentConfig;
|
|
150
|
+
configs?: TenantManifestV1SpecArgoCdConfigs;
|
|
151
|
+
};
|
|
152
|
+
export type TenantManifestV1SpecKarpenterNodeClass = {
|
|
153
|
+
name?: string;
|
|
154
|
+
amiType?: string;
|
|
155
|
+
amiVersion?: string;
|
|
156
|
+
amiId?: string;
|
|
157
|
+
detailedMonitoring?: boolean;
|
|
158
|
+
volumeSize?: number;
|
|
159
|
+
metadataOptions?: {
|
|
160
|
+
[key: string]: object;
|
|
161
|
+
};
|
|
162
|
+
subnetIds?: string[];
|
|
163
|
+
userData?: string;
|
|
164
|
+
};
|
|
165
|
+
export type TenantManifestV1SpecKarpenterNodePoolLimits = {
|
|
166
|
+
cpu: string;
|
|
167
|
+
memory: string;
|
|
168
|
+
};
|
|
169
|
+
export type TenantManifestV1SpecKarpenterNodePoolInstanceFamilies = {
|
|
170
|
+
amd?: string[];
|
|
171
|
+
arm?: string[];
|
|
172
|
+
};
|
|
173
|
+
export type TenantManifestV1SpecKarpenterNodePool = {
|
|
174
|
+
/** Name of the NodePool */
|
|
175
|
+
name?: string;
|
|
176
|
+
/** Resource limits for the NodePool */
|
|
177
|
+
limits?: TenantManifestV1SpecKarpenterNodePoolLimits;
|
|
178
|
+
/** The amount of time a node can live on the cluster before being deleted by Karpenter */
|
|
179
|
+
expireAfter?: string;
|
|
180
|
+
/** Instance sizes to use with this NodePool */
|
|
181
|
+
instanceSizes?: string[];
|
|
182
|
+
/** Instance families to use with this NodePool */
|
|
183
|
+
instanceFamilies?: TenantManifestV1SpecKarpenterNodePoolInstanceFamilies;
|
|
184
|
+
/** Instance architecture to use with this NodePool (valid values: amd, arm) */
|
|
185
|
+
architecture?: string;
|
|
186
|
+
/** Availability zones to use with this NodePool */
|
|
187
|
+
zones?: string[];
|
|
188
|
+
/** Instance capacity type to use with this NodePool (valid values: spot, on-demand, reserved) */
|
|
189
|
+
capacityType?: string;
|
|
190
|
+
/** Node Class resource to associate this NodePool with */
|
|
191
|
+
nodeClassName?: string;
|
|
192
|
+
/** Configuration for Karpenter to disrupt nodes through your NodePool */
|
|
193
|
+
disruption?: {
|
|
194
|
+
[key: string]: object;
|
|
195
|
+
};
|
|
196
|
+
/** Taints to add to provisioned nodes */
|
|
197
|
+
taints?: {
|
|
198
|
+
[key: string]: object;
|
|
199
|
+
}[];
|
|
200
|
+
};
|
|
201
|
+
export type TenantManifestV1SpecKarpenter = {
|
|
202
|
+
chart?: TenantManifestV1SpecHelmResource;
|
|
203
|
+
customAnnotations?: {
|
|
204
|
+
[key: string]: string;
|
|
205
|
+
};
|
|
206
|
+
replicas?: number;
|
|
207
|
+
podAnnotations?: {
|
|
208
|
+
[key: string]: string;
|
|
209
|
+
};
|
|
210
|
+
defaultNodeClass?: TenantManifestV1SpecKarpenterNodeClass;
|
|
211
|
+
additionalNodeClasses?: TenantManifestV1SpecKarpenterNodeClass[];
|
|
212
|
+
defaultNodePool?: TenantManifestV1SpecKarpenterNodePool;
|
|
213
|
+
additionalNodePools?: TenantManifestV1SpecKarpenterNodePool[];
|
|
214
|
+
};
|
|
215
|
+
export type TenantManifestV1SpecExternalSecretsHelmRepoConfig = {
|
|
216
|
+
url: string;
|
|
217
|
+
username?: string;
|
|
218
|
+
password?: string;
|
|
219
|
+
};
|
|
220
|
+
export type TenantManifestV1SpecExternalSecrets = {
|
|
221
|
+
enabled?: boolean;
|
|
222
|
+
chart?: TenantManifestV1SpecHelmResource;
|
|
223
|
+
helmRepo?: TenantManifestV1SpecExternalSecretsHelmRepoConfig;
|
|
224
|
+
enableMetrics?: boolean;
|
|
225
|
+
podAnnotations?: {
|
|
226
|
+
[key: string]: string;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
export type TenantManifestV1SpecFargateConfiguration = {
|
|
230
|
+
/** Set the Fargate Profile IAM role. If empty, it will be autocreated */
|
|
231
|
+
roleArn?: string;
|
|
232
|
+
/** Define selectors use with the Fargate Profile (defaults to Karpenter and coreDNS) */
|
|
233
|
+
selector?: {
|
|
234
|
+
[key: string]: object;
|
|
235
|
+
}[];
|
|
236
|
+
};
|
|
237
|
+
export type TenantManifestV1SpecCrossplaneMetrics = {
|
|
238
|
+
enabled?: boolean;
|
|
239
|
+
};
|
|
240
|
+
export type TenantManifestV1SpecCrossplaneProvider = {
|
|
241
|
+
services?: string[];
|
|
242
|
+
version: string;
|
|
243
|
+
repo: string;
|
|
244
|
+
};
|
|
245
|
+
export type TenantManifestV1SpecCrossplaneDefaultProvider = {
|
|
246
|
+
aws?: TenantManifestV1SpecCrossplaneProvider;
|
|
247
|
+
kubernetes?: TenantManifestV1SpecCrossplaneProvider;
|
|
248
|
+
};
|
|
249
|
+
export type TenantManifestV1SpecCrossplaneFunction = {
|
|
250
|
+
name: string;
|
|
251
|
+
version: string;
|
|
252
|
+
repo: string;
|
|
253
|
+
};
|
|
254
|
+
export type TenantManifestV1SpecCrossplane = {
|
|
255
|
+
chart?: TenantManifestV1SpecHelmResource;
|
|
256
|
+
replicas?: number;
|
|
257
|
+
registryCaBundleConfig?: {
|
|
258
|
+
[key: string]: object;
|
|
259
|
+
};
|
|
260
|
+
metrics?: TenantManifestV1SpecCrossplaneMetrics;
|
|
261
|
+
customAnnotations?: {
|
|
262
|
+
[key: string]: string;
|
|
263
|
+
};
|
|
264
|
+
defaultProviders?: TenantManifestV1SpecCrossplaneDefaultProvider;
|
|
265
|
+
defaultFunctions?: TenantManifestV1SpecCrossplaneFunction[];
|
|
266
|
+
additionalFunctions?: TenantManifestV1SpecCrossplaneFunction[];
|
|
267
|
+
};
|
|
268
|
+
export type TenantManifestV1SpecDefaultEksAddonsVersions = {
|
|
269
|
+
coreDns?: string;
|
|
270
|
+
podIdentity?: string;
|
|
271
|
+
vpcCni?: string;
|
|
272
|
+
kubeProxy?: string;
|
|
273
|
+
};
|
|
274
|
+
export type TenantManifestV1SpecDefaultEksAddonsConfigurationValues = {
|
|
275
|
+
coreDns?: string;
|
|
276
|
+
podIdentity?: string;
|
|
277
|
+
vpcCni?: string;
|
|
278
|
+
kubeProxy?: string;
|
|
279
|
+
};
|
|
280
|
+
export type TenantManifestV1SpecDefaultEksAddons = {
|
|
281
|
+
versions?: TenantManifestV1SpecDefaultEksAddonsVersions;
|
|
282
|
+
configurationValues?: TenantManifestV1SpecDefaultEksAddonsConfigurationValues;
|
|
283
|
+
};
|
|
284
|
+
export type TenantManifestV1SpecEksAddon = {
|
|
285
|
+
name: string;
|
|
286
|
+
version: string;
|
|
287
|
+
configurationValues?: string;
|
|
288
|
+
};
|
|
289
|
+
export type TenantManifestV1SpecEncryptionConfig = {
|
|
290
|
+
autoCreate?: boolean;
|
|
291
|
+
kmsKeyArn?: string;
|
|
292
|
+
};
|
|
293
|
+
export type TenantManifestV1SpecCustomLogGroup = {
|
|
294
|
+
enabled?: boolean;
|
|
295
|
+
retention?: number;
|
|
296
|
+
kmsKeyArn?: string;
|
|
297
|
+
autoCreateKmsKey?: boolean;
|
|
298
|
+
};
|
|
299
|
+
export type TenantManifestV1SpecSecurityGroupRule = {
|
|
300
|
+
name: string;
|
|
301
|
+
"type": string;
|
|
302
|
+
description: string;
|
|
303
|
+
protocol: string;
|
|
304
|
+
fromPort: number;
|
|
305
|
+
toPort: number;
|
|
306
|
+
sourceCidr?: string;
|
|
307
|
+
sourceIsNodeGroup?: boolean;
|
|
308
|
+
sourcePrefixListId?: string;
|
|
309
|
+
sourceIsCluster?: boolean;
|
|
310
|
+
sourceIsSelf?: boolean;
|
|
311
|
+
destinationCidr?: string;
|
|
312
|
+
};
|
|
313
|
+
export type TenantManifestV1SpecSecurityGroup = {
|
|
314
|
+
autoCreate?: boolean;
|
|
315
|
+
ids?: string[];
|
|
316
|
+
additionalRules?: TenantManifestV1SpecSecurityGroupRule[];
|
|
317
|
+
};
|
|
108
318
|
export type TenantManifestV1SpecControlPlane = {
|
|
109
319
|
addons: TenantManifestV1SpecAddonReference[];
|
|
110
320
|
instanceTypes?: string[];
|
|
111
321
|
kubernetes: TenantManifestV1SpecKubernetes;
|
|
112
|
-
nodeGroup
|
|
322
|
+
nodeGroup?: TenantManifestV1SpecNodeGroup;
|
|
113
323
|
stackspotCloudPlatform?: TenantManifestV1SpecStackspotCloudPlatform;
|
|
114
324
|
crossplaneNamespace: string;
|
|
115
325
|
eksHelm?: TenantManifestV1SpecHelmResource;
|
|
116
326
|
seleneHelm?: TenantManifestV1SpecHelmResource;
|
|
117
327
|
seleneApps?: TenantManifestV1SpecSeleneApps;
|
|
118
|
-
iamProvider?:
|
|
328
|
+
iamProvider?: "AWS" | "ITAU";
|
|
119
329
|
postBootstrapUserData?: string;
|
|
120
330
|
bootstrapClusterCreatorAdminPermissions?: boolean;
|
|
121
331
|
enabledClusterLogTypes?: string[];
|
|
122
|
-
|
|
123
|
-
|
|
332
|
+
argoCd?: TenantManifestV1SpecArgoCd;
|
|
333
|
+
controlPlaneCustomAnnotations?: {
|
|
334
|
+
[key: string]: string;
|
|
124
335
|
};
|
|
336
|
+
karpenter?: TenantManifestV1SpecKarpenter;
|
|
337
|
+
authenticationMode?: "API" | "API_AND_CONFIG_MAP" | "CONFIG_MAP";
|
|
338
|
+
supportType?: string;
|
|
339
|
+
externalSecrets?: TenantManifestV1SpecExternalSecrets;
|
|
340
|
+
fargateConfiguration?: TenantManifestV1SpecFargateConfiguration;
|
|
341
|
+
crossplane?: TenantManifestV1SpecCrossplane;
|
|
342
|
+
defaultEksAddons?: TenantManifestV1SpecDefaultEksAddons;
|
|
343
|
+
additionalEksAddons?: TenantManifestV1SpecEksAddon[];
|
|
344
|
+
encryptionConfig?: TenantManifestV1SpecEncryptionConfig;
|
|
345
|
+
customLogGroup?: TenantManifestV1SpecCustomLogGroup;
|
|
346
|
+
clusterSecurityGroup?: TenantManifestV1SpecSecurityGroup;
|
|
347
|
+
nodeSecurityGroup?: TenantManifestV1SpecSecurityGroup;
|
|
348
|
+
};
|
|
349
|
+
export type TenantManifestV1SpecItauConfig = {
|
|
350
|
+
iamsrProviderRoleArn: string;
|
|
351
|
+
iamsrApiToken?: string;
|
|
352
|
+
iamsrCerts?: string;
|
|
125
353
|
};
|
|
126
354
|
export type TenantManifestV1Spec = {
|
|
127
355
|
organizationId: string;
|
|
128
356
|
cloudAccountConfiguration: TenantManifestV1SpecCloudAccountConfiguration;
|
|
129
357
|
controlPlane: TenantManifestV1SpecControlPlane;
|
|
358
|
+
itau?: TenantManifestV1SpecItauConfig;
|
|
130
359
|
};
|
|
131
360
|
export type TenantManifestV1StatusControlPlaneCondition = {
|
|
132
361
|
id?: string;
|
|
@@ -166,6 +395,7 @@ export type RuntimeManifestV1Alpha1SpecCloudAccountConfigurationFromRef = {
|
|
|
166
395
|
};
|
|
167
396
|
export type RuntimeManifestV1Alpha1SpecCloudAccountConfigurationIamRoles = {
|
|
168
397
|
clusterRole?: string;
|
|
398
|
+
nodeRole?: string;
|
|
169
399
|
clusterNodeGroup?: string;
|
|
170
400
|
clusterAdminRoles: string[];
|
|
171
401
|
karpenter?: string;
|
|
@@ -187,19 +417,26 @@ export type RuntimeManifestV1Alpha1SpecControlPlaneAddonReference = {
|
|
|
187
417
|
[key: string]: object;
|
|
188
418
|
};
|
|
189
419
|
};
|
|
420
|
+
export type RuntimeManifestV1Alpha1SpecKubernetesNetworkConfig = {
|
|
421
|
+
ipFamily?: string;
|
|
422
|
+
serviceIpv4Cidr?: string;
|
|
423
|
+
};
|
|
190
424
|
export type RuntimeManifestV1Alpha1SpecKubernetes = {
|
|
191
425
|
publicAccess: boolean;
|
|
426
|
+
privateAccess: boolean;
|
|
192
427
|
version: string;
|
|
193
428
|
publicCidrsAllowed: string[];
|
|
194
|
-
|
|
429
|
+
privateCidrsAllowed?: string[];
|
|
430
|
+
extraCidrsInbound?: string[];
|
|
431
|
+
networkConfig?: RuntimeManifestV1Alpha1SpecKubernetesNetworkConfig;
|
|
195
432
|
};
|
|
196
433
|
export type RuntimeManifestV1Alpha1SpecNodeGroup = {
|
|
197
|
-
volumeSize
|
|
434
|
+
volumeSize?: number;
|
|
198
435
|
amiType?: string;
|
|
199
|
-
capacityType
|
|
200
|
-
desiredSize
|
|
201
|
-
maxSize
|
|
202
|
-
minSize
|
|
436
|
+
capacityType?: string;
|
|
437
|
+
desiredSize?: number;
|
|
438
|
+
maxSize?: number;
|
|
439
|
+
minSize?: number;
|
|
203
440
|
};
|
|
204
441
|
export type RuntimeManifestV1Alpha1SpecStackspotCloudPlatform = {
|
|
205
442
|
createIamRoles: boolean;
|
|
@@ -209,25 +446,161 @@ export type RuntimeManifestV1Alpha1SpecHelmResource = {
|
|
|
209
446
|
version: string;
|
|
210
447
|
repoUrl: string;
|
|
211
448
|
};
|
|
449
|
+
export type RuntimeManifestV1Alpha1SpecKarpenterNodeClass = {
|
|
450
|
+
name?: string;
|
|
451
|
+
amiType?: string;
|
|
452
|
+
amiVersion?: string;
|
|
453
|
+
amiId?: string;
|
|
454
|
+
detailedMonitoring?: boolean;
|
|
455
|
+
volumeSize?: number;
|
|
456
|
+
metadataOptions?: {
|
|
457
|
+
[key: string]: object;
|
|
458
|
+
};
|
|
459
|
+
subnetIds?: string[];
|
|
460
|
+
userData?: string;
|
|
461
|
+
};
|
|
462
|
+
export type RuntimeManifestV1Alpha1SpecKarpenterNodePoolLimits = {
|
|
463
|
+
cpu: string;
|
|
464
|
+
memory: string;
|
|
465
|
+
};
|
|
466
|
+
export type RuntimeManifestV1Alpha1SpecKarpenterNodePoolInstanceFamilies = {
|
|
467
|
+
amd?: string[];
|
|
468
|
+
arm?: string[];
|
|
469
|
+
};
|
|
470
|
+
export type RuntimeManifestV1Alpha1SpecKarpenterNodePool = {
|
|
471
|
+
/** Name of the NodePool */
|
|
472
|
+
name?: string;
|
|
473
|
+
/** Resource limits for the NodePool */
|
|
474
|
+
limits?: RuntimeManifestV1Alpha1SpecKarpenterNodePoolLimits;
|
|
475
|
+
/** The amount of time a node can live on the cluster before being deleted by Karpenter */
|
|
476
|
+
expireAfter?: string;
|
|
477
|
+
/** Instance sizes to use with this NodePool */
|
|
478
|
+
instanceSizes?: string[];
|
|
479
|
+
/** Instance families to use with this NodePool */
|
|
480
|
+
instanceFamilies?: RuntimeManifestV1Alpha1SpecKarpenterNodePoolInstanceFamilies;
|
|
481
|
+
/** Instance architecture to use with this NodePool (valid values: amd, arm) */
|
|
482
|
+
architecture?: string;
|
|
483
|
+
/** Availability zones to use with this NodePool */
|
|
484
|
+
zones?: string[];
|
|
485
|
+
/** Instance capacity type to use with this NodePool (valid values: spot, on-demand, reserved) */
|
|
486
|
+
capacityType?: string;
|
|
487
|
+
/** Node Class resource to associate this NodePool with */
|
|
488
|
+
nodeClassName?: string;
|
|
489
|
+
/** Configuration for Karpenter to disrupt nodes through your NodePool */
|
|
490
|
+
disruption?: {
|
|
491
|
+
[key: string]: object;
|
|
492
|
+
};
|
|
493
|
+
/** Taints to add to provisioned nodes */
|
|
494
|
+
taints?: {
|
|
495
|
+
[key: string]: object;
|
|
496
|
+
}[];
|
|
497
|
+
};
|
|
498
|
+
export type RuntimeManifestV1Alpha1SpecKarpenter = {
|
|
499
|
+
chart?: RuntimeManifestV1Alpha1SpecHelmResource;
|
|
500
|
+
customAnnotations?: {
|
|
501
|
+
[key: string]: string;
|
|
502
|
+
};
|
|
503
|
+
replicas?: number;
|
|
504
|
+
podAnnotations?: {
|
|
505
|
+
[key: string]: string;
|
|
506
|
+
};
|
|
507
|
+
defaultNodeClass?: RuntimeManifestV1Alpha1SpecKarpenterNodeClass;
|
|
508
|
+
additionalNodeClasses?: RuntimeManifestV1Alpha1SpecKarpenterNodeClass[];
|
|
509
|
+
defaultNodePool?: RuntimeManifestV1Alpha1SpecKarpenterNodePool;
|
|
510
|
+
additionalNodePools?: RuntimeManifestV1Alpha1SpecKarpenterNodePool[];
|
|
511
|
+
};
|
|
512
|
+
export type RuntimeManifestV1Alpha1SpecFargateConfiguration = {
|
|
513
|
+
/** Set the Fargate Profile IAM role. If empty, it will be autocreated */
|
|
514
|
+
roleArn?: string;
|
|
515
|
+
/** Define selectors use with the Fargate Profile (defaults to Karpenter and coreDNS) */
|
|
516
|
+
selector?: {
|
|
517
|
+
[key: string]: object;
|
|
518
|
+
}[];
|
|
519
|
+
};
|
|
520
|
+
export type RuntimeManifestV1Alpha1SpecDefaultEksAddonsVersions = {
|
|
521
|
+
coreDns?: string;
|
|
522
|
+
podIdentity?: string;
|
|
523
|
+
vpcCni?: string;
|
|
524
|
+
kubeProxy?: string;
|
|
525
|
+
};
|
|
526
|
+
export type RuntimeManifestV1Alpha1SpecDefaultEksAddonsConfigurationValues = {
|
|
527
|
+
coreDns?: string;
|
|
528
|
+
podIdentity?: string;
|
|
529
|
+
vpcCni?: string;
|
|
530
|
+
kubeProxy?: string;
|
|
531
|
+
};
|
|
532
|
+
export type RuntimeManifestV1Alpha1SpecDefaultEksAddons = {
|
|
533
|
+
versions?: RuntimeManifestV1Alpha1SpecDefaultEksAddonsVersions;
|
|
534
|
+
configurationValues?: RuntimeManifestV1Alpha1SpecDefaultEksAddonsConfigurationValues;
|
|
535
|
+
};
|
|
536
|
+
export type RuntimeManifestV1Alpha1SpecEksAddon = {
|
|
537
|
+
name: string;
|
|
538
|
+
version: string;
|
|
539
|
+
configurationValues?: string;
|
|
540
|
+
};
|
|
541
|
+
export type RuntimeManifestV1Alpha1SpecEncryptionConfig = {
|
|
542
|
+
autoCreate?: boolean;
|
|
543
|
+
kmsKeyArn?: string;
|
|
544
|
+
};
|
|
545
|
+
export type RuntimeManifestV1Alpha1SpecCustomLogGroup = {
|
|
546
|
+
enabled?: boolean;
|
|
547
|
+
retention?: number;
|
|
548
|
+
kmsKeyArn?: string;
|
|
549
|
+
autoCreateKmsKey?: boolean;
|
|
550
|
+
};
|
|
551
|
+
export type RuntimeManifestV1Alpha1SpecSecurityGroupRule = {
|
|
552
|
+
name: string;
|
|
553
|
+
"type": string;
|
|
554
|
+
description: string;
|
|
555
|
+
protocol: string;
|
|
556
|
+
fromPort: number;
|
|
557
|
+
toPort: number;
|
|
558
|
+
sourceCidr?: string;
|
|
559
|
+
sourceIsNodeGroup?: boolean;
|
|
560
|
+
sourcePrefixListId?: string;
|
|
561
|
+
sourceIsCluster?: boolean;
|
|
562
|
+
sourceIsSelf?: boolean;
|
|
563
|
+
destinationCidr?: string;
|
|
564
|
+
};
|
|
565
|
+
export type RuntimeManifestV1Alpha1SpecSecurityGroup = {
|
|
566
|
+
autoCreate?: boolean;
|
|
567
|
+
ids?: string[];
|
|
568
|
+
additionalRules?: RuntimeManifestV1Alpha1SpecSecurityGroupRule[];
|
|
569
|
+
};
|
|
212
570
|
export type RuntimeManifestV1Alpha1SpecControlPlane = {
|
|
213
571
|
addons?: RuntimeManifestV1Alpha1SpecControlPlaneAddonReference[];
|
|
214
572
|
instanceTypes?: string[];
|
|
215
573
|
kubernetes: RuntimeManifestV1Alpha1SpecKubernetes;
|
|
216
|
-
nodeGroup
|
|
574
|
+
nodeGroup?: RuntimeManifestV1Alpha1SpecNodeGroup;
|
|
217
575
|
stackspotCloudPlatform?: RuntimeManifestV1Alpha1SpecStackspotCloudPlatform;
|
|
218
576
|
eksHelm?: RuntimeManifestV1Alpha1SpecHelmResource;
|
|
219
|
-
iamProvider?:
|
|
577
|
+
iamProvider?: "AWS" | "ITAU";
|
|
578
|
+
authenticationMode?: "API" | "API_AND_CONFIG_MAP" | "CONFIG_MAP";
|
|
220
579
|
postBootstrapUserData?: string;
|
|
221
580
|
bootstrapClusterCreatorAdminPermissions?: boolean;
|
|
222
581
|
enabledClusterLogTypes?: string[];
|
|
223
582
|
argoConfigs?: {
|
|
224
583
|
[key: string]: object;
|
|
225
584
|
};
|
|
585
|
+
karpenter?: RuntimeManifestV1Alpha1SpecKarpenter;
|
|
586
|
+
fargateConfiguration?: RuntimeManifestV1Alpha1SpecFargateConfiguration;
|
|
587
|
+
defaultEksAddons?: RuntimeManifestV1Alpha1SpecDefaultEksAddons;
|
|
588
|
+
additionalEksAddons?: RuntimeManifestV1Alpha1SpecEksAddon[];
|
|
589
|
+
encryptionConfig?: RuntimeManifestV1Alpha1SpecEncryptionConfig;
|
|
590
|
+
customLogGroup?: RuntimeManifestV1Alpha1SpecCustomLogGroup;
|
|
591
|
+
clusterSecurityGroup?: RuntimeManifestV1Alpha1SpecSecurityGroup;
|
|
592
|
+
nodeSecurityGroup?: RuntimeManifestV1Alpha1SpecSecurityGroup;
|
|
593
|
+
};
|
|
594
|
+
export type RuntimeManifestV1Alpha1SpecItauConfig = {
|
|
595
|
+
iamsrProviderRoleArn: string;
|
|
596
|
+
iamsrApiToken?: string;
|
|
597
|
+
iamsrCerts?: string;
|
|
226
598
|
};
|
|
227
599
|
export type RuntimeManifestV1Alpha1Spec = {
|
|
228
600
|
tenantId: string;
|
|
229
601
|
cloudAccountConfiguration: RuntimeManifestV1Alpha1SpecCloudAccountConfiguration;
|
|
230
602
|
controlPlane: RuntimeManifestV1Alpha1SpecControlPlane;
|
|
603
|
+
itau?: RuntimeManifestV1Alpha1SpecItauConfig;
|
|
231
604
|
};
|
|
232
605
|
export type RuntimeManifestV1Alpha1StatusControlPlaneCondition = {
|
|
233
606
|
id?: string;
|
|
@@ -266,6 +639,7 @@ export type ApplicationDeploymentManifestBase = {
|
|
|
266
639
|
};
|
|
267
640
|
export type ApplicationDeploymentManifestV1Spec = {
|
|
268
641
|
runtimeId: string;
|
|
642
|
+
destinationNamespace?: string;
|
|
269
643
|
applicationId: string;
|
|
270
644
|
deployTemplate: string;
|
|
271
645
|
deployTemplateValues: {
|
|
@@ -341,6 +715,20 @@ export type OrganizationManifestV1 = {
|
|
|
341
715
|
spec: OrganizationManifestV1Spec;
|
|
342
716
|
status?: OrganizationManifestV1Status;
|
|
343
717
|
};
|
|
718
|
+
export type AssociateRuntimeWithWorkspaceEnvironmentRequest = {
|
|
719
|
+
runtimeIds: string[];
|
|
720
|
+
workspaceId: string;
|
|
721
|
+
workspaceName: string;
|
|
722
|
+
environmentId: string;
|
|
723
|
+
environmentName: string;
|
|
724
|
+
};
|
|
725
|
+
export type AssociateRuntimeWithWorkspaceEnvironmentResponse = {
|
|
726
|
+
runtimeId: string;
|
|
727
|
+
workspaceId: string;
|
|
728
|
+
workspaceName: string;
|
|
729
|
+
environmentId: string;
|
|
730
|
+
environmentName: string;
|
|
731
|
+
};
|
|
344
732
|
export type DeployTemplateManifestV1SpecHelm = {
|
|
345
733
|
chartName: string;
|
|
346
734
|
repositoryUrl: string;
|
|
@@ -369,6 +757,24 @@ export type AddonManifestV1 = {
|
|
|
369
757
|
metadata: MetadataV1;
|
|
370
758
|
spec: AddonManifestV1Alpha1Spec;
|
|
371
759
|
};
|
|
760
|
+
export type RuntimeSummary = {
|
|
761
|
+
runtimeName: string;
|
|
762
|
+
runtimeId: string;
|
|
763
|
+
environmentId: string;
|
|
764
|
+
tenantName: string;
|
|
765
|
+
tenantId: string;
|
|
766
|
+
organizationName: string;
|
|
767
|
+
organizationId: string;
|
|
768
|
+
addons: string[];
|
|
769
|
+
};
|
|
770
|
+
export type Association = {
|
|
771
|
+
workspaceId: string;
|
|
772
|
+
environmentId: string;
|
|
773
|
+
runtimes: RuntimeSummary[];
|
|
774
|
+
};
|
|
775
|
+
export type ListRuntimeWorkspaceEnvironmentAssociationsResponse = {
|
|
776
|
+
associations: Association[];
|
|
777
|
+
};
|
|
372
778
|
export type LogManifestV1Spec = {
|
|
373
779
|
resourceId: string;
|
|
374
780
|
controlPlaneId?: string;
|
|
@@ -534,6 +940,15 @@ export declare function deploy({ organizationId, tenantId, runtimeId, applicatio
|
|
|
534
940
|
runtimeId: string;
|
|
535
941
|
applicationDeploymentManifestV1: ApplicationDeploymentManifestV1;
|
|
536
942
|
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationDeploymentManifestV1>;
|
|
943
|
+
/**
|
|
944
|
+
* Associate a runtime with a workspace's environment
|
|
945
|
+
*/
|
|
946
|
+
export declare function associateWithWorkspaceEnvironment({ xAccountId, organizationId, tenantId, associateRuntimeWithWorkspaceEnvironmentRequest }: {
|
|
947
|
+
xAccountId?: string;
|
|
948
|
+
organizationId: string;
|
|
949
|
+
tenantId: string;
|
|
950
|
+
associateRuntimeWithWorkspaceEnvironmentRequest: AssociateRuntimeWithWorkspaceEnvironmentRequest;
|
|
951
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AssociateRuntimeWithWorkspaceEnvironmentResponse[]>;
|
|
537
952
|
/**
|
|
538
953
|
* List DeployTemplate's
|
|
539
954
|
*/
|
|
@@ -582,6 +997,20 @@ export declare function getTenant({ id }: {
|
|
|
582
997
|
export declare function getRuntime({ id }: {
|
|
583
998
|
id: string;
|
|
584
999
|
}, opts?: Oazapfts.RequestOpts): Promise<RuntimeManifestV1>;
|
|
1000
|
+
export declare function listAssociations({ xAccountId, workspaceId, envId }: {
|
|
1001
|
+
xAccountId?: string;
|
|
1002
|
+
workspaceId: string;
|
|
1003
|
+
envId?: string;
|
|
1004
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListRuntimeWorkspaceEnvironmentAssociationsResponse>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Retrieves associate a runtime with a workspace's environment
|
|
1007
|
+
*/
|
|
1008
|
+
export declare function getAssociationWorkspaceEnvironmentByRuntimeId({ xAccountId, organizationId, tenantId, runtimeId }: {
|
|
1009
|
+
xAccountId?: string;
|
|
1010
|
+
organizationId: string;
|
|
1011
|
+
tenantId: string;
|
|
1012
|
+
runtimeId: string;
|
|
1013
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AssociateRuntimeWithWorkspaceEnvironmentResponse[]>;
|
|
585
1014
|
/**
|
|
586
1015
|
*
|
|
587
1016
|
* Requires one of the following permissions:
|