Skip to content

Commit 599f5db

Browse files
author
ControlPlane CI
committed
Sync changes from upstream
1 parent 7e0a54f commit 599f5db

4 files changed

Lines changed: 16 additions & 21 deletions

File tree

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.13",
3+
"version": "1.0.14",
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
@@ -364,6 +364,8 @@ export interface ExpandVolumeStatus {
364364

365365
lockNames?: string[];
366366

367+
storageDeviceId?: string;
368+
367369
}
368370

369371
export interface ReplaceVolumeSpec {

src/interfaces/event.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface Event {
2121

2222
component?: 'actuator' | 'dns-updater' | 'scheduler' | 'iam-broker' | 'metadata-proxy' | 'data-service';
2323

24-
cloudProvider?: 'aws' | 'gcp' | 'azure' | 'linode' | 'byok';
24+
cloudProvider?: string;
2525

2626
cluster?: string;
2727

@@ -40,7 +40,7 @@ export interface EventContext {
4040

4141
component?: 'actuator' | 'dns-updater' | 'scheduler' | 'iam-broker' | 'metadata-proxy' | 'data-service';
4242

43-
cloudProvider?: 'aws' | 'gcp' | 'azure' | 'linode' | 'byok';
43+
cloudProvider?: string;
4444

4545
cluster?: string;
4646

src/interfaces/workload.ts

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,7 @@ export interface HealthCheckStatus {
333333
}
334334

335335
export interface JobSpec {
336-
schedule?: string;
337-
338-
schedules?: ScheduleEntry[];
336+
schedule: string;
339337

340338
concurrencyPolicy?: 'Forbid' | 'Replace' | 'Allow';
341339

@@ -467,15 +465,6 @@ export interface RolloutOptionsStateful {
467465

468466
}
469467

470-
export interface ScheduleEntry {
471-
name: string;
472-
473-
schedule: string;
474-
475-
containerOverrides?: ContainerOverride[];
476-
477-
}
478-
479468
export type ScheduleType = string;
480469

481470
export interface SecurityOptions {
@@ -555,9 +544,7 @@ export interface Workload {
555544
localOptions?: LocalOptions;
556545

557546
job?: {
558-
schedule?: string;
559-
560-
schedules?: ScheduleEntry[];
547+
schedule: string;
561548

562549
concurrencyPolicy?: 'Forbid' | 'Replace' | 'Allow';
563550

@@ -706,6 +693,14 @@ export interface WorkloadHealth {
706693

707694
syncFailed?: boolean;
708695

696+
readyLocations?: number;
697+
698+
totalLocations?: number;
699+
700+
readyReplicas?: number;
701+
702+
totalReplicas?: number;
703+
709704
}
710705

711706
export interface WorkloadSpec {
@@ -755,9 +750,7 @@ export interface WorkloadSpec {
755750
localOptions?: LocalOptions;
756751

757752
job?: {
758-
schedule?: string;
759-
760-
schedules?: ScheduleEntry[];
753+
schedule: string;
761754

762755
concurrencyPolicy?: 'Forbid' | 'Replace' | 'Allow';
763756

0 commit comments

Comments
 (0)