You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: api/hypershift/v1beta1/hosted_controlplane.go
+8
Original file line number
Diff line number
Diff line change
@@ -196,6 +196,14 @@ type HostedControlPlaneSpec struct {
196
196
// +kubebuilder:validation:MaxProperties=20
197
197
// +optional
198
198
Labelsmap[string]string`json:"labels,omitempty"`
199
+
200
+
// capabilities allows for disabling optional components at cluster install time.
201
+
// This field is optional and once set cannot be changed.
202
+
// +immutable
203
+
// +optional
204
+
// +kubebuilder:default={}
205
+
// +kubebuilder:validation:XValidation:rule="self == oldSelf", message="Capabilities is immutable. Changes might result in unpredictable and disruptive behavior."
// capabilities allows disabling optional components at install time.
358
+
// Once set, it cannot be changed.
359
+
typeCapabilitiesstruct {
360
+
// disabled when specified, sets the cluster version baselineCapabilitySet to None
361
+
// and sets all additionalEnabledCapabilities BUT the ones supplied in disabled.
362
+
// This effectively disables that capability on the hosted cluster.
363
+
//
364
+
// When this is not supplied, the cluster will use the DefaultCapabilitySet defined for the respective
365
+
// OpenShift version.
366
+
//
367
+
// Once set, this field cannot be changed.
368
+
//
369
+
// +listType=atomic
370
+
// +immutable
371
+
// +optional
372
+
// +kubebuilder:validation:XValidation:rule="self == oldSelf", message="Disabled is immutable. Changes might result in unpredictable and disruptive behavior."
// HostedClusterSpec is the desired behavior of a HostedCluster.
353
377
354
378
// +kubebuilder:validation:XValidation:rule="self.platform.type == 'IBMCloud' ? size(self.services) >= 3 : size(self.services) >= 4",message="spec.services in body should have at least 4 items or 3 for IBMCloud"
@@ -625,6 +649,14 @@ type HostedClusterSpec struct {
625
649
// +optional
626
650
// +openshift:enable:FeatureGate=HCPPodsLabels
627
651
Labelsmap[string]string`json:"labels,omitempty"`
652
+
653
+
// capabilities allows for disabling optional components at cluster install time.
654
+
// This field is optional and once set cannot be changed.
655
+
// +immutable
656
+
// +optional
657
+
// +kubebuilder:default={}
658
+
// +kubebuilder:validation:XValidation:rule="self == oldSelf", message="Capabilities is immutable. Changes might result in unpredictable and disruptive behavior."
Copy file name to clipboardexpand all lines: api/hypershift/v1beta1/zz_generated.featuregated-crd-manifests/hostedclusters.hypershift.openshift.io/AAA_ungated.yaml
+31
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,37 @@ spec:
149
149
format: int32
150
150
type: integer
151
151
type: object
152
+
capabilities:
153
+
default: {}
154
+
description: |-
155
+
capabilities allows for disabling optional components at cluster install time.
156
+
This field is optional and once set cannot be changed.
157
+
properties:
158
+
disabled:
159
+
description: |-
160
+
disabled when specified, sets the cluster version baselineCapabilitySet to None
161
+
and sets all additionalEnabledCapabilities BUT the ones supplied in disabled.
162
+
This effectively disables that capability on the hosted cluster.
163
+
164
+
When this is not supplied, the cluster will use the DefaultCapabilitySet defined for the respective
165
+
OpenShift version.
166
+
167
+
Once set, this field cannot be changed.
168
+
items:
169
+
enum:
170
+
- ImageRegistry
171
+
type: string
172
+
type: array
173
+
x-kubernetes-list-type: atomic
174
+
x-kubernetes-validations:
175
+
- message: Disabled is immutable. Changes might result in unpredictable
176
+
and disruptive behavior.
177
+
rule: self == oldSelf
178
+
type: object
179
+
x-kubernetes-validations:
180
+
- message: Capabilities is immutable. Changes might result in unpredictable
181
+
and disruptive behavior.
182
+
rule: self == oldSelf
152
183
channel:
153
184
description: |-
154
185
channel is an identifier for explicitly requesting that a non-default set of updates be applied to this cluster.
Copy file name to clipboardexpand all lines: api/hypershift/v1beta1/zz_generated.featuregated-crd-manifests/hostedclusters.hypershift.openshift.io/AROHCPManagedIdentities.yaml
+31
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,37 @@ spec:
149
149
format: int32
150
150
type: integer
151
151
type: object
152
+
capabilities:
153
+
default: {}
154
+
description: |-
155
+
capabilities allows for disabling optional components at cluster install time.
156
+
This field is optional and once set cannot be changed.
157
+
properties:
158
+
disabled:
159
+
description: |-
160
+
disabled when specified, sets the cluster version baselineCapabilitySet to None
161
+
and sets all additionalEnabledCapabilities BUT the ones supplied in disabled.
162
+
This effectively disables that capability on the hosted cluster.
163
+
164
+
When this is not supplied, the cluster will use the DefaultCapabilitySet defined for the respective
165
+
OpenShift version.
166
+
167
+
Once set, this field cannot be changed.
168
+
items:
169
+
enum:
170
+
- ImageRegistry
171
+
type: string
172
+
type: array
173
+
x-kubernetes-list-type: atomic
174
+
x-kubernetes-validations:
175
+
- message: Disabled is immutable. Changes might result in unpredictable
176
+
and disruptive behavior.
177
+
rule: self == oldSelf
178
+
type: object
179
+
x-kubernetes-validations:
180
+
- message: Capabilities is immutable. Changes might result in unpredictable
181
+
and disruptive behavior.
182
+
rule: self == oldSelf
152
183
channel:
153
184
description: |-
154
185
channel is an identifier for explicitly requesting that a non-default set of updates be applied to this cluster.
Copy file name to clipboardexpand all lines: api/hypershift/v1beta1/zz_generated.featuregated-crd-manifests/hostedclusters.hypershift.openshift.io/DynamicResourceAllocation.yaml
+31
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,37 @@ spec:
149
149
format: int32
150
150
type: integer
151
151
type: object
152
+
capabilities:
153
+
default: {}
154
+
description: |-
155
+
capabilities allows for disabling optional components at cluster install time.
156
+
This field is optional and once set cannot be changed.
157
+
properties:
158
+
disabled:
159
+
description: |-
160
+
disabled when specified, sets the cluster version baselineCapabilitySet to None
161
+
and sets all additionalEnabledCapabilities BUT the ones supplied in disabled.
162
+
This effectively disables that capability on the hosted cluster.
163
+
164
+
When this is not supplied, the cluster will use the DefaultCapabilitySet defined for the respective
165
+
OpenShift version.
166
+
167
+
Once set, this field cannot be changed.
168
+
items:
169
+
enum:
170
+
- ImageRegistry
171
+
type: string
172
+
type: array
173
+
x-kubernetes-list-type: atomic
174
+
x-kubernetes-validations:
175
+
- message: Disabled is immutable. Changes might result in unpredictable
176
+
and disruptive behavior.
177
+
rule: self == oldSelf
178
+
type: object
179
+
x-kubernetes-validations:
180
+
- message: Capabilities is immutable. Changes might result in unpredictable
181
+
and disruptive behavior.
182
+
rule: self == oldSelf
152
183
channel:
153
184
description: |-
154
185
channel is an identifier for explicitly requesting that a non-default set of updates be applied to this cluster.
Copy file name to clipboardexpand all lines: api/hypershift/v1beta1/zz_generated.featuregated-crd-manifests/hostedclusters.hypershift.openshift.io/ExternalOIDC.yaml
+31
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,37 @@ spec:
149
149
format: int32
150
150
type: integer
151
151
type: object
152
+
capabilities:
153
+
default: {}
154
+
description: |-
155
+
capabilities allows for disabling optional components at cluster install time.
156
+
This field is optional and once set cannot be changed.
157
+
properties:
158
+
disabled:
159
+
description: |-
160
+
disabled when specified, sets the cluster version baselineCapabilitySet to None
161
+
and sets all additionalEnabledCapabilities BUT the ones supplied in disabled.
162
+
This effectively disables that capability on the hosted cluster.
163
+
164
+
When this is not supplied, the cluster will use the DefaultCapabilitySet defined for the respective
165
+
OpenShift version.
166
+
167
+
Once set, this field cannot be changed.
168
+
items:
169
+
enum:
170
+
- ImageRegistry
171
+
type: string
172
+
type: array
173
+
x-kubernetes-list-type: atomic
174
+
x-kubernetes-validations:
175
+
- message: Disabled is immutable. Changes might result in unpredictable
176
+
and disruptive behavior.
177
+
rule: self == oldSelf
178
+
type: object
179
+
x-kubernetes-validations:
180
+
- message: Capabilities is immutable. Changes might result in unpredictable
181
+
and disruptive behavior.
182
+
rule: self == oldSelf
152
183
channel:
153
184
description: |-
154
185
channel is an identifier for explicitly requesting that a non-default set of updates be applied to this cluster.
Copy file name to clipboardexpand all lines: api/hypershift/v1beta1/zz_generated.featuregated-crd-manifests/hostedclusters.hypershift.openshift.io/HCPPodsLabels.yaml
+31
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,37 @@ spec:
149
149
format: int32
150
150
type: integer
151
151
type: object
152
+
capabilities:
153
+
default: {}
154
+
description: |-
155
+
capabilities allows for disabling optional components at cluster install time.
156
+
This field is optional and once set cannot be changed.
157
+
properties:
158
+
disabled:
159
+
description: |-
160
+
disabled when specified, sets the cluster version baselineCapabilitySet to None
161
+
and sets all additionalEnabledCapabilities BUT the ones supplied in disabled.
162
+
This effectively disables that capability on the hosted cluster.
163
+
164
+
When this is not supplied, the cluster will use the DefaultCapabilitySet defined for the respective
165
+
OpenShift version.
166
+
167
+
Once set, this field cannot be changed.
168
+
items:
169
+
enum:
170
+
- ImageRegistry
171
+
type: string
172
+
type: array
173
+
x-kubernetes-list-type: atomic
174
+
x-kubernetes-validations:
175
+
- message: Disabled is immutable. Changes might result in unpredictable
176
+
and disruptive behavior.
177
+
rule: self == oldSelf
178
+
type: object
179
+
x-kubernetes-validations:
180
+
- message: Capabilities is immutable. Changes might result in unpredictable
181
+
and disruptive behavior.
182
+
rule: self == oldSelf
152
183
channel:
153
184
description: |-
154
185
channel is an identifier for explicitly requesting that a non-default set of updates be applied to this cluster.
Copy file name to clipboardexpand all lines: api/hypershift/v1beta1/zz_generated.featuregated-crd-manifests/hostedclusters.hypershift.openshift.io/NetworkDiagnosticsConfig.yaml
+31
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,37 @@ spec:
149
149
format: int32
150
150
type: integer
151
151
type: object
152
+
capabilities:
153
+
default: {}
154
+
description: |-
155
+
capabilities allows for disabling optional components at cluster install time.
156
+
This field is optional and once set cannot be changed.
157
+
properties:
158
+
disabled:
159
+
description: |-
160
+
disabled when specified, sets the cluster version baselineCapabilitySet to None
161
+
and sets all additionalEnabledCapabilities BUT the ones supplied in disabled.
162
+
This effectively disables that capability on the hosted cluster.
163
+
164
+
When this is not supplied, the cluster will use the DefaultCapabilitySet defined for the respective
165
+
OpenShift version.
166
+
167
+
Once set, this field cannot be changed.
168
+
items:
169
+
enum:
170
+
- ImageRegistry
171
+
type: string
172
+
type: array
173
+
x-kubernetes-list-type: atomic
174
+
x-kubernetes-validations:
175
+
- message: Disabled is immutable. Changes might result in unpredictable
176
+
and disruptive behavior.
177
+
rule: self == oldSelf
178
+
type: object
179
+
x-kubernetes-validations:
180
+
- message: Capabilities is immutable. Changes might result in unpredictable
181
+
and disruptive behavior.
182
+
rule: self == oldSelf
152
183
channel:
153
184
description: |-
154
185
channel is an identifier for explicitly requesting that a non-default set of updates be applied to this cluster.
0 commit comments