@openshift-assisted/types 5.0.0-cim → 5.0.1-cim
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.
|
@@ -103,9 +103,23 @@ export interface Bundle {
|
|
|
103
103
|
*/
|
|
104
104
|
description?: string;
|
|
105
105
|
/**
|
|
106
|
-
* List of operators
|
|
106
|
+
* List of operators always included in the bundle.
|
|
107
107
|
*/
|
|
108
108
|
operators?: string[];
|
|
109
|
+
/**
|
|
110
|
+
* List of operators that can be optionally selected by the user for this bundle. All are selected by default.
|
|
111
|
+
*/
|
|
112
|
+
optionalOperators?: string[];
|
|
113
|
+
}
|
|
114
|
+
export interface BundleCreateParams {
|
|
115
|
+
/**
|
|
116
|
+
* Bundle identifier (e.g., "openshift-ai").
|
|
117
|
+
*/
|
|
118
|
+
id: string;
|
|
119
|
+
/**
|
|
120
|
+
* List of optional operator names the user selected for this bundle.
|
|
121
|
+
*/
|
|
122
|
+
optionalOperators?: string[];
|
|
109
123
|
}
|
|
110
124
|
export interface Cluster {
|
|
111
125
|
/**
|
|
@@ -332,10 +346,18 @@ export interface Cluster {
|
|
|
332
346
|
* A comma-separated list of NTP sources (name or IP) going to be added to all the hosts.
|
|
333
347
|
*/
|
|
334
348
|
additionalNtpSource?: string;
|
|
349
|
+
/**
|
|
350
|
+
* A comma-separated list of NTP sources (name or IP) to be used as the only NTP configuration for the cluster hosts.
|
|
351
|
+
*/
|
|
352
|
+
ntpSources?: string;
|
|
335
353
|
/**
|
|
336
354
|
* Operators that are associated with this cluster.
|
|
337
355
|
*/
|
|
338
356
|
monitoredOperators?: MonitoredOperator[];
|
|
357
|
+
/**
|
|
358
|
+
* Bundles that were selected for this cluster, with the optional operators chosen by the user. Derived from monitored operators' sourceBundles. Not persisted directly.
|
|
359
|
+
*/
|
|
360
|
+
operatorBundles?: BundleCreateParams[];
|
|
339
361
|
/**
|
|
340
362
|
* Unique identifier of the AMS subscription in OCM.
|
|
341
363
|
*/
|
|
@@ -494,11 +516,22 @@ export interface ClusterCreateParams {
|
|
|
494
516
|
*/
|
|
495
517
|
additionalNtpSource?: string;
|
|
496
518
|
/**
|
|
497
|
-
*
|
|
519
|
+
* A comma-separated list of NTP sources (name or IP) to be used as the only NTP configuration for the cluster hosts.
|
|
520
|
+
*/
|
|
521
|
+
ntpSources?: string;
|
|
522
|
+
/**
|
|
523
|
+
* List of standalone OLM operators to be installed (not part of any bundle).
|
|
498
524
|
* For the full list of supported operators, check the endpoint `/v2/supported-operators`:
|
|
499
525
|
*
|
|
500
526
|
*/
|
|
501
527
|
olmOperators?: OperatorCreateParams[];
|
|
528
|
+
/**
|
|
529
|
+
* List of operator bundles selected by the user with their optional operator choices.
|
|
530
|
+
* The backend expands bundles into their required operators, adds selected optional operators,
|
|
531
|
+
* resolves all dependencies, and tracks bundle membership via sourceBundles on monitored operators.
|
|
532
|
+
*
|
|
533
|
+
*/
|
|
534
|
+
operatorBundles?: BundleCreateParams[];
|
|
502
535
|
/**
|
|
503
536
|
* Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them.
|
|
504
537
|
*/
|
|
@@ -1682,6 +1715,8 @@ export type HostValidationId =
|
|
|
1682
1715
|
| 'connected'
|
|
1683
1716
|
| 'media-connected'
|
|
1684
1717
|
| 'has-inventory'
|
|
1718
|
+
| 'inventory-not-partially-truncated'
|
|
1719
|
+
| 'inventory-not-fully-truncated'
|
|
1685
1720
|
| 'has-min-cpu-cores'
|
|
1686
1721
|
| 'has-min-valid-disks'
|
|
1687
1722
|
| 'has-min-memory'
|
|
@@ -2144,6 +2179,13 @@ export interface Inventory {
|
|
|
2144
2179
|
gpus?: Gpu[];
|
|
2145
2180
|
routes?: Route[];
|
|
2146
2181
|
tpmVersion?: 'none' | '1.2' | '2.0';
|
|
2182
|
+
truncation?: {
|
|
2183
|
+
type: 'partial' | 'full';
|
|
2184
|
+
/**
|
|
2185
|
+
* Reasons for the truncation
|
|
2186
|
+
*/
|
|
2187
|
+
reasons?: string[];
|
|
2188
|
+
};
|
|
2147
2189
|
}
|
|
2148
2190
|
export interface IoPerf {
|
|
2149
2191
|
/**
|
|
@@ -2366,6 +2408,10 @@ export interface MonitoredOperator {
|
|
|
2366
2408
|
* Whether the operator can't be installed without being required by another operator.
|
|
2367
2409
|
*/
|
|
2368
2410
|
dependencyOnly?: boolean;
|
|
2411
|
+
/**
|
|
2412
|
+
* IDs of the bundles this operator was selected through. Empty for standalone selections. An operator can belong to multiple bundles.
|
|
2413
|
+
*/
|
|
2414
|
+
sourceBundles?: string[];
|
|
2369
2415
|
}
|
|
2370
2416
|
export type MonitoredOperatorsList = MonitoredOperator[];
|
|
2371
2417
|
export interface MtuReport {
|
|
@@ -2935,11 +2981,22 @@ export interface V2ClusterUpdateParams {
|
|
|
2935
2981
|
*/
|
|
2936
2982
|
additionalNtpSource?: string;
|
|
2937
2983
|
/**
|
|
2938
|
-
*
|
|
2984
|
+
* A comma-separated list of NTP sources (name or IP) to be used as the only NTP configuration for the cluster hosts.
|
|
2985
|
+
*/
|
|
2986
|
+
ntpSources?: string;
|
|
2987
|
+
/**
|
|
2988
|
+
* List of standalone OLM operators to be installed (not part of any bundle).
|
|
2939
2989
|
* For the full list of supported operators, check the endpoint `/v2/supported-operators`:
|
|
2940
2990
|
*
|
|
2941
2991
|
*/
|
|
2942
2992
|
olmOperators?: OperatorCreateParams[];
|
|
2993
|
+
/**
|
|
2994
|
+
* List of operator bundles selected by the user with their optional operator choices.
|
|
2995
|
+
* The backend expands bundles into their required operators, adds selected optional operators,
|
|
2996
|
+
* resolves all dependencies, and tracks bundle membership via sourceBundles on monitored operators.
|
|
2997
|
+
*
|
|
2998
|
+
*/
|
|
2999
|
+
operatorBundles?: BundleCreateParams[];
|
|
2943
3000
|
/**
|
|
2944
3001
|
* Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them.
|
|
2945
3002
|
*/
|
package/package.json
CHANGED
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"lint": "yarn run -T eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache ."
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@types/js-yaml": "^4.0.
|
|
47
|
-
"js-yaml": "^4.
|
|
46
|
+
"@types/js-yaml": "^4.0.9",
|
|
47
|
+
"js-yaml": "^4.2.0",
|
|
48
48
|
"sw2dts": "^2.6.3"
|
|
49
49
|
},
|
|
50
|
-
"version": "5.0.
|
|
50
|
+
"version": "5.0.1-cim"
|
|
51
51
|
}
|