Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions api/hypershift/v1beta1/hostedcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,14 @@ const (
PruneRetentionPolicy RetentionPolicy = "Prune"
)

// +kubebuilder:validation:Enum=ImageRegistry;openshift-samples;Insights;baremetal
// +kubebuilder:validation:Enum=ImageRegistry;openshift-samples;Insights;baremetal;Console
type OptionalCapability string

const ImageRegistryCapability OptionalCapability = OptionalCapability(configv1.ClusterVersionCapabilityImageRegistry)
const OpenShiftSamplesCapability OptionalCapability = OptionalCapability(configv1.ClusterVersionCapabilityOpenShiftSamples)
const InsightsCapability OptionalCapability = OptionalCapability(configv1.ClusterVersionCapabilityInsights)
const BaremetalCapability OptionalCapability = OptionalCapability(configv1.ClusterVersionCapabilityBaremetal)
const ConsoleCapability OptionalCapability = OptionalCapability(configv1.ClusterVersionCapabilityConsole)

// capabilities allows enabling or disabling optional components at install time.
// When this is not supplied, the cluster will use the DefaultCapabilitySet defined for the respective
Expand All @@ -407,7 +408,7 @@ type Capabilities struct {
// disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
// Once set, this field cannot be changed.
//
// Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
// Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
//
// +listType=atomic
// +immutable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -186,6 +187,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -233,6 +234,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -186,6 +187,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -186,6 +187,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -186,6 +187,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -186,6 +187,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -186,6 +187,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -186,6 +187,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -186,6 +187,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -186,6 +187,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -154,6 +155,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -201,6 +202,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -154,6 +155,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -154,6 +155,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,14 @@ spec:
disabled when specified, explicitly disables the specified capabilitíes on the hosted cluster.
Once set, this field cannot be changed.

Note: Disabling 'openshift-samples','Insights' are only supported in OpenShift versions 4.20 and above.
Note: Disabling 'openshift-samples','Insights', 'Console' are only supported in OpenShift versions 4.20 and above.
items:
enum:
- ImageRegistry
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand All @@ -154,6 +155,7 @@ spec:
- openshift-samples
- Insights
- baremetal
- Console
type: string
maxItems: 25
type: array
Expand Down
Loading