Skip to content

Commit ebe345b

Browse files
author
ControlPlane CI
committed
Sync changes from upstream
1 parent 871fbdd commit ebe345b

File tree

7 files changed

+58
-18
lines changed

7 files changed

+58
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@controlplane/schema",
3-
"version": "1.0.15",
3+
"version": "1.0.16",
44
"description": "Control Plane Corporation Schema",
55
"scripts": {
66
"build": "tsc",

src/interfaces/command.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,8 @@ export interface ReplaceVolumeStatus {
404404

405405
tempStorageClassName?: string;
406406

407+
lockNames?: string[];
408+
407409
}
408410

409411
export interface RestoreVolumeSpec {

src/interfaces/domain.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ export interface Route {
180180
mirror?: {
181181
workloadLink: string;
182182

183+
port?: number;
184+
183185
percent: number;
184186

185187
}[];
@@ -189,6 +191,8 @@ export interface Route {
189191
export interface RouteMirror {
190192
workloadLink: string;
191193

194+
port?: number;
195+
192196
percent: number;
193197

194198
}

src/interfaces/event.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface Event {
1919
context?: {
2020
category?: string;
2121

22-
component?: 'actuator' | 'dns-updater' | 'scheduler' | 'iam-broker' | 'metadata-proxy' | 'data-service';
22+
component?: 'actuator' | 'dns-updater' | 'scheduler' | 'iam-broker' | 'metadata-proxy' | 'data-service' | 'mk8s' | 'other';
2323

2424
cloudProvider?: string;
2525

@@ -38,7 +38,7 @@ export interface Event {
3838
export interface EventContext {
3939
category?: string;
4040

41-
component?: 'actuator' | 'dns-updater' | 'scheduler' | 'iam-broker' | 'metadata-proxy' | 'data-service';
41+
component?: 'actuator' | 'dns-updater' | 'scheduler' | 'iam-broker' | 'metadata-proxy' | 'data-service' | 'mk8s' | 'other';
4242

4343
cloudProvider?: string;
4444

src/interfaces/gvc.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ export interface Gvc {
5858

5959
};
6060

61+
locationOptions?: LocationOptionsItem[];
62+
6163
};
6264

6365
pullSecretLinks?: string[];
@@ -277,6 +279,8 @@ export interface GvcSpec {
277279

278280
};
279281

282+
locationOptions?: LocationOptionsItem[];
283+
280284
};
281285

282286
pullSecretLinks?: string[];
@@ -367,6 +371,19 @@ export interface GvcStatus {
367371

368372
}
369373

374+
export type LocationOptions = LocationOptionsItem[];
375+
376+
export interface LocationOptionsItem {
377+
locationLink: string;
378+
379+
routingTier?: number;
380+
381+
latencyOffsetMs?: number;
382+
383+
latencyToleranceMs?: number;
384+
385+
}
386+
370387
export interface StaticPlacement {
371388
locationLinks?: string[];
372389

@@ -396,5 +413,7 @@ export interface StaticPlacement {
396413

397414
};
398415

416+
locationOptions?: LocationOptionsItem[];
417+
399418
}
400419

src/interfaces/locationDns.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,11 @@ export interface LocationDnsMessage {
2020

2121
availabilityZone?: string;
2222

23+
routingTier?: number;
24+
25+
latencyOffsetMs?: number;
26+
27+
latencyToleranceMs?: number;
28+
2329
}
2430

src/interfaces/workload.ts

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -452,19 +452,6 @@ export interface RolloutOptions {
452452

453453
}
454454

455-
export interface RolloutOptionsStateful {
456-
minReadySeconds?: number;
457-
458-
maxSurgeReplicas?: string;
459-
460-
scalingPolicy?: 'OrderedReady' | 'Parallel';
461-
462-
terminationGracePeriodSeconds?: number;
463-
464-
maxUnavailableReplicas?: string;
465-
466-
}
467-
468455
export type ScheduleType = string;
469456

470457
export interface SecurityOptions {
@@ -578,7 +565,18 @@ export interface Workload {
578565

579566
supportDynamicTags?: boolean;
580567

581-
rolloutOptions?: any;
568+
rolloutOptions?: {
569+
minReadySeconds?: number;
570+
571+
maxUnavailableReplicas?: string;
572+
573+
maxSurgeReplicas?: string;
574+
575+
scalingPolicy?: 'OrderedReady' | 'Parallel';
576+
577+
terminationGracePeriodSeconds?: number;
578+
579+
};
582580

583581
securityOptions?: {
584582
filesystemGroupId?: number;
@@ -784,7 +782,18 @@ export interface WorkloadSpec {
784782

785783
supportDynamicTags?: boolean;
786784

787-
rolloutOptions?: any;
785+
rolloutOptions?: {
786+
minReadySeconds?: number;
787+
788+
maxUnavailableReplicas?: string;
789+
790+
maxSurgeReplicas?: string;
791+
792+
scalingPolicy?: 'OrderedReady' | 'Parallel';
793+
794+
terminationGracePeriodSeconds?: number;
795+
796+
};
788797

789798
securityOptions?: {
790799
filesystemGroupId?: number;

0 commit comments

Comments
 (0)