@openshift-assisted/types 2.37.2 → 2.38.0

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.
@@ -84,6 +84,28 @@ export interface Boot {
84
84
  pxeInterface?: string;
85
85
  commandLine?: string;
86
86
  secureBootState?: SecureBootState;
87
+ deviceType?: 'persistent' | 'ephemeral';
88
+ }
89
+ export interface Bundle {
90
+ /**
91
+ * Unique identifier of the bundle, for example `virtualization` or `openshift-ai-nvidia`.
92
+ */
93
+ id?: string;
94
+ /**
95
+ * Short human friendly description for the bundle, usually only a few words, for example `Virtualization` or
96
+ * `OpenShift AI (NVIDIA)`.
97
+ *
98
+ */
99
+ title?: string;
100
+ /**
101
+ * Longer human friendly description for the bundle, usually one or more sentences.
102
+ *
103
+ */
104
+ description?: string;
105
+ /**
106
+ * List of operators associated with the bundle.
107
+ */
108
+ operators?: string[];
87
109
  }
88
110
  export interface Cluster {
89
111
  /**
@@ -372,6 +394,7 @@ export interface Cluster {
372
394
  * Specifies the required number of control plane nodes that should be part of the cluster.
373
395
  */
374
396
  controlPlaneCount?: number;
397
+ loadBalancer?: LoadBalancer;
375
398
  }
376
399
  export interface ClusterCreateParams {
377
400
  /**
@@ -454,6 +477,8 @@ export interface ClusterCreateParams {
454
477
  additionalNtpSource?: string;
455
478
  /**
456
479
  * List of OLM operators to be installed.
480
+ * For the full list of supported operators, check the endpoint `/v2/supported-operators`:
481
+ *
457
482
  */
458
483
  olmOperators?: OperatorCreateParams[];
459
484
  /**
@@ -501,6 +526,7 @@ export interface ClusterCreateParams {
501
526
  * Specifies the required number of control plane nodes that should be part of the cluster.
502
527
  */
503
528
  controlPlaneCount?: number;
529
+ loadBalancer?: LoadBalancer;
504
530
  }
505
531
  export interface ClusterDefaultConfig {
506
532
  clusterNetworkCidr?: string; // ^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)[\/]([1-9]|[1-2][0-9]|3[0-2]?)$
@@ -629,7 +655,8 @@ export type ClusterValidationId =
629
655
  | 'servicemesh-requirements-satisfied'
630
656
  | 'serverless-requirements-satisfied'
631
657
  | 'openshift-ai-requirements-satisfied'
632
- | 'authorino-requirements-satisfied';
658
+ | 'authorino-requirements-satisfied'
659
+ | 'nmstate-requirements-satisfied';
633
660
  export interface CompletionParams {
634
661
  isSuccess: boolean;
635
662
  errorInfo?: string;
@@ -1020,7 +1047,9 @@ export type FeatureSupportLevelId =
1020
1047
  | 'SERVERLESS'
1021
1048
  | 'OPENSHIFT_AI'
1022
1049
  | 'NON_STANDARD_HA_CONTROL_PLANE'
1023
- | 'AUTHORINO';
1050
+ | 'AUTHORINO'
1051
+ | 'USER_MANAGED_LOAD_BALANCER'
1052
+ | 'NMSTATE';
1024
1053
  /**
1025
1054
  * Cluster finalizing stage managed by controller
1026
1055
  */
@@ -1573,7 +1602,8 @@ export type HostValidationId =
1573
1602
  | 'serverless-requirements-satisfied'
1574
1603
  | 'openshift-ai-requirements-satisfied'
1575
1604
  | 'authorino-requirements-satisfied'
1576
- | 'mtu-valid';
1605
+ | 'mtu-valid'
1606
+ | 'nmstate-requirements-satisfied';
1577
1607
  /**
1578
1608
  * Explicit ignition endpoint overrides the default ignition endpoint.
1579
1609
  */
@@ -1870,6 +1900,10 @@ export interface InstallCmdRequest {
1870
1900
  *
1871
1901
  */
1872
1902
  highAvailabilityMode?: 'Full' | 'None';
1903
+ /**
1904
+ * Specifies the required number of control plane nodes that should be part of the cluster.
1905
+ */
1906
+ controlPlaneCount?: number;
1873
1907
  proxy?: Proxy;
1874
1908
  /**
1875
1909
  * Check CVO status if needed
@@ -1911,6 +1945,10 @@ export interface InstallCmdRequest {
1911
1945
  * If true, notify number of reboots by assisted controller
1912
1946
  */
1913
1947
  notifyNumReboots?: boolean;
1948
+ /**
1949
+ * CoreOS container image to use if installing to the local device
1950
+ */
1951
+ coreosImage?: string;
1914
1952
  }
1915
1953
  export interface InstallerArgsParams {
1916
1954
  /**
@@ -2024,6 +2062,21 @@ export interface ListVersions {
2024
2062
  versions?: Versions;
2025
2063
  releaseTag?: string;
2026
2064
  }
2065
+ export interface LoadBalancer {
2066
+ /**
2067
+ * Indicates if the load balancer will be managed by the cluster or by the user. This is optional and The
2068
+ * default is `cluster-managed`.
2069
+ *
2070
+ * `cluster-managed` means that the cluster will start the components that assign the API and ingress VIPs to the
2071
+ * nodes of the cluster automatically.
2072
+ *
2073
+ * `user-managed` means that the user is responsible for configuring an external load balancer and assign the
2074
+ * API and ingress VIPs to it. Note that this configuration needs to be completed before starting the
2075
+ * installation of the cluster, as it is needed during the installation process.
2076
+ *
2077
+ */
2078
+ type?: 'cluster-managed' | 'user-managed';
2079
+ }
2027
2080
  export interface LogsGatherCmdRequest {
2028
2081
  /**
2029
2082
  * Cluster id
@@ -2147,6 +2200,10 @@ export interface MonitoredOperator {
2147
2200
  * Time at which the operator was last updated.
2148
2201
  */
2149
2202
  statusUpdatedAt?: string; // date-time
2203
+ /**
2204
+ * List of identifier of the bundles associated with the operator. Can be empty.
2205
+ */
2206
+ bundles?: string[];
2150
2207
  }
2151
2208
  export type MonitoredOperatorsList = MonitoredOperator[];
2152
2209
  export interface MtuReport {
@@ -2706,6 +2763,8 @@ export interface V2ClusterUpdateParams {
2706
2763
  additionalNtpSource?: string;
2707
2764
  /**
2708
2765
  * List of OLM operators to be installed.
2766
+ * For the full list of supported operators, check the endpoint `/v2/supported-operators`:
2767
+ *
2709
2768
  */
2710
2769
  olmOperators?: OperatorCreateParams[];
2711
2770
  /**
@@ -2748,6 +2807,7 @@ export interface V2ClusterUpdateParams {
2748
2807
  * Specifies the required number of control plane nodes that should be part of the cluster.
2749
2808
  */
2750
2809
  controlPlaneCount?: number;
2810
+ loadBalancer?: LoadBalancer;
2751
2811
  }
2752
2812
  export interface V2Events {
2753
2813
  clusterId?: string;
package/package.json CHANGED
@@ -47,5 +47,5 @@
47
47
  "js-yaml": "^4.1.0",
48
48
  "sw2dts": "^2.6.3"
49
49
  },
50
- "version": "2.37.2"
50
+ "version": "2.38.0"
51
51
  }