@openshift-assisted/types 2.30.0 → 2.30.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.
|
@@ -15,6 +15,16 @@ export interface ApiVip {
|
|
|
15
15
|
*/
|
|
16
16
|
verification?: VipVerification;
|
|
17
17
|
}
|
|
18
|
+
export interface ApiVipConnectivityAdditionalRequestHeader {
|
|
19
|
+
/**
|
|
20
|
+
* Value of the header's key when making a request
|
|
21
|
+
*/
|
|
22
|
+
key?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The value corresponding to the header key
|
|
25
|
+
*/
|
|
26
|
+
value?: string;
|
|
27
|
+
}
|
|
18
28
|
export interface ApiVipConnectivityRequest {
|
|
19
29
|
/**
|
|
20
30
|
* URL address of the API.
|
|
@@ -29,9 +39,13 @@ export interface ApiVipConnectivityRequest {
|
|
|
29
39
|
*/
|
|
30
40
|
caCertificate?: string;
|
|
31
41
|
/**
|
|
32
|
-
* A string which will be used as Authorization Bearer token to fetch the ignition from ignitionEndpointUrl.
|
|
42
|
+
* A string which will be used as Authorization Bearer token to fetch the ignition from ignitionEndpointUrl (DEPRECATED use requestHeaders to pass this token).
|
|
33
43
|
*/
|
|
34
44
|
ignitionEndpointToken?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Additional request headers to include when fetching the ignition from ignitionEndpointUrl.
|
|
47
|
+
*/
|
|
48
|
+
requestHeaders?: ApiVipConnectivityAdditionalRequestHeader[];
|
|
35
49
|
}
|
|
36
50
|
/**
|
|
37
51
|
* The response from the day-2 agent's attempt to download the worker ignition file from the API machine config server of the target cluster.
|
|
@@ -490,6 +504,9 @@ export interface ClusterDefaultConfig {
|
|
|
490
504
|
*/
|
|
491
505
|
forbiddenHostnames?: string[];
|
|
492
506
|
}
|
|
507
|
+
export interface ClusterFinalizingProgress {
|
|
508
|
+
finalizingStage?: FinalizingStage;
|
|
509
|
+
}
|
|
493
510
|
export interface ClusterHostRequirements {
|
|
494
511
|
/**
|
|
495
512
|
* Unique identifier of the host the requirements relate to.
|
|
@@ -562,6 +579,10 @@ export interface ClusterProgressInfo {
|
|
|
562
579
|
preparingForInstallationStagePercentage?: number;
|
|
563
580
|
installingStagePercentage?: number;
|
|
564
581
|
finalizingStagePercentage?: number;
|
|
582
|
+
finalizingStage?: FinalizingStage;
|
|
583
|
+
finalizingStageStartedAt?: string; // date-time
|
|
584
|
+
nodeUpdaterStartedAt?: string; // date-time
|
|
585
|
+
nodeUpdaterFinishedAt?: string; // date-time
|
|
565
586
|
}
|
|
566
587
|
export type ClusterValidationId =
|
|
567
588
|
| 'machine-cidr-defined'
|
|
@@ -959,7 +980,20 @@ export type FeatureSupportLevelId =
|
|
|
959
980
|
| 'DUAL_STACK'
|
|
960
981
|
| 'PLATFORM_MANAGED_NETWORKING'
|
|
961
982
|
| 'SKIP_MCO_REBOOT'
|
|
962
|
-
| 'EXTERNAL_PLATFORM'
|
|
983
|
+
| 'EXTERNAL_PLATFORM'
|
|
984
|
+
| 'OVN_NETWORK_TYPE'
|
|
985
|
+
| 'SDN_NETWORK_TYPE';
|
|
986
|
+
/**
|
|
987
|
+
* Cluster finalizing stage managed by controller
|
|
988
|
+
*/
|
|
989
|
+
export type FinalizingStage =
|
|
990
|
+
| 'Waiting for finalizing'
|
|
991
|
+
| 'Waiting for cluster operators'
|
|
992
|
+
| 'Adding router ca'
|
|
993
|
+
| 'Waiting for olm operators'
|
|
994
|
+
| 'Applying manifests'
|
|
995
|
+
| 'Waiting for olm operators csv'
|
|
996
|
+
| 'Done';
|
|
963
997
|
export type FreeAddressesList = string /* ipv4 */[];
|
|
964
998
|
export type FreeAddressesRequest =
|
|
965
999
|
string /* ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$ */[];
|
|
@@ -1188,6 +1222,10 @@ export interface HostProgressInfo {
|
|
|
1188
1222
|
* Time at which the current progress stage was last updated.
|
|
1189
1223
|
*/
|
|
1190
1224
|
stageUpdatedAt?: string; // date-time
|
|
1225
|
+
/**
|
|
1226
|
+
* Indicate of the current stage has been timed out.
|
|
1227
|
+
*/
|
|
1228
|
+
stageTimedOut?: boolean;
|
|
1191
1229
|
}
|
|
1192
1230
|
export interface HostRegistrationResponse {
|
|
1193
1231
|
/**
|
|
@@ -1889,7 +1927,7 @@ export interface LastInstallationPreparation {
|
|
|
1889
1927
|
/**
|
|
1890
1928
|
* The last installation preparation status
|
|
1891
1929
|
*/
|
|
1892
|
-
status?: '
|
|
1930
|
+
status?: 'notStarted' | 'failed' | 'success';
|
|
1893
1931
|
/**
|
|
1894
1932
|
* The reason for the preparation status if applicable
|
|
1895
1933
|
*/
|
package/package.json
CHANGED