@openshift-assisted/types 2.15.2-cim → 2.16.0-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.
@@ -115,7 +115,7 @@ export interface Cluster {
115
115
  */
116
116
  kind: 'Cluster' | 'AddHostsCluster';
117
117
  /**
118
- * Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
118
+ * (DEPRECATED) Please use 'controlPlaneCount' instead. Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
119
119
  * over multiple master nodes whereas 'None' installs a full cluster over one node.
120
120
  *
121
121
  */
@@ -339,9 +339,18 @@ export interface Cluster {
339
339
  */
340
340
  amsSubscriptionId?: string; // uuid
341
341
  /**
342
- * Enable/disable hyperthreading on master nodes, worker nodes, or all nodes
342
+ * Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them.
343
343
  */
344
- hyperthreading?: 'masters' | 'workers' | 'all' | 'none';
344
+ hyperthreading?:
345
+ | 'none'
346
+ | 'masters'
347
+ | 'arbiters'
348
+ | 'workers'
349
+ | 'masters,arbiters'
350
+ | 'masters,workers'
351
+ | 'arbiters,workers'
352
+ | 'masters,arbiters,workers'
353
+ | 'all';
345
354
  /**
346
355
  * JSON-formatted string containing the usage information by feature name
347
356
  */
@@ -482,9 +491,18 @@ export interface ClusterCreateParams {
482
491
  */
483
492
  olmOperators?: OperatorCreateParams[];
484
493
  /**
485
- * Enable/disable hyperthreading on master nodes, worker nodes, or all nodes.
494
+ * Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them.
486
495
  */
487
- hyperthreading?: 'masters' | 'workers' | 'none' | 'all';
496
+ hyperthreading?:
497
+ | 'none'
498
+ | 'masters'
499
+ | 'arbiters'
500
+ | 'workers'
501
+ | 'masters,arbiters'
502
+ | 'masters,workers'
503
+ | 'arbiters,workers'
504
+ | 'masters,arbiters,workers'
505
+ | 'all';
488
506
  /**
489
507
  * The desired network type used.
490
508
  */
@@ -655,6 +673,7 @@ export type ClusterValidationId =
655
673
  | 'servicemesh-requirements-satisfied'
656
674
  | 'serverless-requirements-satisfied'
657
675
  | 'openshift-ai-requirements-satisfied'
676
+ | 'openshift-ai-gpu-requirements-satisfied'
658
677
  | 'authorino-requirements-satisfied'
659
678
  | 'nmstate-requirements-satisfied'
660
679
  | 'amd-gpu-requirements-satisfied'
@@ -663,7 +682,11 @@ export type ClusterValidationId =
663
682
  | 'self-node-remediation-requirements-satisfied'
664
683
  | 'fence-agents-remediation-requirements-satisfied'
665
684
  | 'node-maintenance-requirements-satisfied'
666
- | 'kube-descheduler-requirements-satisfied';
685
+ | 'kube-descheduler-requirements-satisfied'
686
+ | 'cluster-observability-requirements-satisfied'
687
+ | 'numa-resources-requirements-satisfied'
688
+ | 'oadp-requirements-satisfied'
689
+ | 'metallb-requirements-satisfied';
667
690
  export interface CompletionParams {
668
691
  isSuccess: boolean;
669
692
  errorInfo?: string;
@@ -852,9 +875,18 @@ export interface DiskConfigParams {
852
875
  }
853
876
  export interface DiskEncryption {
854
877
  /**
855
- * Enable/disable disk encryption on master nodes, worker nodes, or all nodes.
878
+ * Enable/disable disk encryption on master nodes, arbiter nodes, worker nodes, or a combination of them.
856
879
  */
857
- enableOn?: 'none' | 'all' | 'masters' | 'workers';
880
+ enableOn?:
881
+ | 'none'
882
+ | 'masters'
883
+ | 'arbiters'
884
+ | 'workers'
885
+ | 'masters,arbiters'
886
+ | 'masters,workers'
887
+ | 'arbiters,workers'
888
+ | 'masters,arbiters,workers'
889
+ | 'all';
858
890
  /**
859
891
  * The disk encryption mode to use.
860
892
  */
@@ -1021,6 +1053,7 @@ export interface Event {
1021
1053
  export type EventList = Event[];
1022
1054
  export type FeatureSupportLevelId =
1023
1055
  | 'SNO'
1056
+ | 'TNA'
1024
1057
  | 'VIP_AUTO_ALLOC'
1025
1058
  | 'CUSTOM_MANIFEST'
1026
1059
  | 'SINGLE_NODE_EXPANSION'
@@ -1043,7 +1076,6 @@ export type FeatureSupportLevelId =
1043
1076
  | 'EXTERNAL_PLATFORM_OCI'
1044
1077
  | 'DUAL_STACK'
1045
1078
  | 'PLATFORM_MANAGED_NETWORKING'
1046
- | 'SKIP_MCO_REBOOT'
1047
1079
  | 'EXTERNAL_PLATFORM'
1048
1080
  | 'OVN_NETWORK_TYPE'
1049
1081
  | 'SDN_NETWORK_TYPE'
@@ -1063,7 +1095,11 @@ export type FeatureSupportLevelId =
1063
1095
  | 'SELF_NODE_REMEDIATION'
1064
1096
  | 'FENCE_AGENTS_REMEDIATION'
1065
1097
  | 'NODE_MAINTENANCE'
1066
- | 'KUBE_DESCHEDULER';
1098
+ | 'KUBE_DESCHEDULER'
1099
+ | 'CLUSTER_OBSERVABILITY'
1100
+ | 'NUMA_RESOURCES'
1101
+ | 'OADP'
1102
+ | 'METALLB';
1067
1103
  /**
1068
1104
  * Cluster finalizing stage managed by controller
1069
1105
  */
@@ -1497,8 +1533,8 @@ export interface HostRegistrationResponse {
1497
1533
  retrySeconds?: number;
1498
1534
  };
1499
1535
  }
1500
- export type HostRole = 'auto-assign' | 'master' | 'worker' | 'bootstrap';
1501
- export type HostRoleUpdateParams = 'auto-assign' | 'master' | 'worker';
1536
+ export type HostRole = 'auto-assign' | 'master' | 'arbiter' | 'worker' | 'bootstrap';
1537
+ export type HostRoleUpdateParams = 'auto-assign' | 'master' | 'arbiter' | 'worker';
1502
1538
  export type HostStage =
1503
1539
  | 'Starting installation'
1504
1540
  | 'Waiting for control plane'
@@ -1543,7 +1579,7 @@ export interface HostTypeHardwareRequirementsWrapper {
1543
1579
  master?: HostTypeHardwareRequirements;
1544
1580
  }
1545
1581
  export interface HostUpdateParams {
1546
- hostRole?: 'auto-assign' | 'master' | 'worker';
1582
+ hostRole?: 'auto-assign' | 'master' | 'arbiter' | 'worker';
1547
1583
  hostName?: string;
1548
1584
  disksSelectedConfig?: DiskConfigParams[];
1549
1585
  /**
@@ -1624,7 +1660,11 @@ export type HostValidationId =
1624
1660
  | 'self-node-remediation-requirements-satisfied'
1625
1661
  | 'fence-agents-remediation-requirements-satisfied'
1626
1662
  | 'node-maintenance-requirements-satisfied'
1627
- | 'kube-descheduler-requirements-satisfied';
1663
+ | 'kube-descheduler-requirements-satisfied'
1664
+ | 'cluster-observability-requirements-satisfied'
1665
+ | 'numa-resources-requirements-satisfied'
1666
+ | 'oadp-requirements-satisfied'
1667
+ | 'metallb-requirements-satisfied';
1628
1668
  /**
1629
1669
  * Explicit ignition endpoint overrides the default ignition endpoint.
1630
1670
  */
@@ -1915,12 +1955,6 @@ export interface InstallCmdRequest {
1915
1955
  * Assisted installer image
1916
1956
  */
1917
1957
  installerImage: string; // ^(([a-zA-Z0-9\-\.]+)(:[0-9]+)?\/)?[a-z0-9\._\-\/@]+[?::a-zA-Z0-9_\-.]+$
1918
- /**
1919
- * Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
1920
- * over multiple master nodes whereas 'None' installs a full cluster over one node.
1921
- *
1922
- */
1923
- highAvailabilityMode?: 'Full' | 'None';
1924
1958
  /**
1925
1959
  * Specifies the required number of control plane nodes that should be part of the cluster.
1926
1960
  */
@@ -2225,6 +2259,10 @@ export interface MonitoredOperator {
2225
2259
  * List of identifier of the bundles associated with the operator. Can be empty.
2226
2260
  */
2227
2261
  bundles?: string[];
2262
+ /**
2263
+ * Whether the operator can't be installed without being required by another operator.
2264
+ */
2265
+ dependencyOnly?: boolean;
2228
2266
  }
2229
2267
  export type MonitoredOperatorsList = MonitoredOperator[];
2230
2268
  export interface MtuReport {
@@ -2789,9 +2827,18 @@ export interface V2ClusterUpdateParams {
2789
2827
  */
2790
2828
  olmOperators?: OperatorCreateParams[];
2791
2829
  /**
2792
- * Enable/disable hyperthreading on master nodes, worker nodes, or all nodes.
2830
+ * Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them.
2793
2831
  */
2794
- hyperthreading?: 'masters' | 'workers' | 'all' | 'none';
2832
+ hyperthreading?:
2833
+ | 'none'
2834
+ | 'masters'
2835
+ | 'arbiters'
2836
+ | 'workers'
2837
+ | 'masters,arbiters'
2838
+ | 'masters,workers'
2839
+ | 'arbiters,workers'
2840
+ | 'masters,arbiters,workers'
2841
+ | 'all';
2795
2842
  /**
2796
2843
  * The desired network type used.
2797
2844
  */
@@ -2893,6 +2940,10 @@ export interface VersionedHostRequirements {
2893
2940
  * Master node requirements
2894
2941
  */
2895
2942
  master?: ClusterHostRequirementsDetails;
2943
+ /**
2944
+ * Arbiter node requirements
2945
+ */
2946
+ arbiter?: ClusterHostRequirementsDetails;
2896
2947
  /**
2897
2948
  * Worker node requirements
2898
2949
  */
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.15.2-cim"
50
+ "version": "2.16.0-cim"
51
51
  }