Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-41642: config/v1/types_cluster_version: Add v4.17 capability set #2023

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
26 changes: 25 additions & 1 deletion config/v1/types_cluster_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ var KnownClusterVersionCapabilities = []ClusterVersionCapability{
}

// ClusterVersionCapabilitySet defines sets of cluster version capabilities.
// +kubebuilder:validation:Enum=None;v4.11;v4.12;v4.13;v4.14;v4.15;v4.16;vCurrent
// +kubebuilder:validation:Enum=None;v4.11;v4.12;v4.13;v4.14;v4.15;v4.16;v4.17;vCurrent
type ClusterVersionCapabilitySet string

const (
Expand Down Expand Up @@ -472,6 +472,12 @@ const (
// version of OpenShift is installed.
ClusterVersionCapabilitySet4_16 ClusterVersionCapabilitySet = "v4.16"

// ClusterVersionCapabilitySet4_17 is the recommended set of
// optional capabilities to enable for the 4.17 version of
// OpenShift. This list will remain the same no matter which
// version of OpenShift is installed.
ClusterVersionCapabilitySet4_17 ClusterVersionCapabilitySet = "v4.17"

// ClusterVersionCapabilitySetCurrent is the recommended set
// of optional capabilities to enable for the cluster's
// current version of OpenShift.
Expand Down Expand Up @@ -556,6 +562,24 @@ var ClusterVersionCapabilitySets = map[ClusterVersionCapabilitySet][]ClusterVers
ClusterVersionCapabilityIngress,
ClusterVersionCapabilityCloudControllerManager,
},
ClusterVersionCapabilitySet4_17: {
ClusterVersionCapabilityBaremetal,
ClusterVersionCapabilityConsole,
ClusterVersionCapabilityInsights,
ClusterVersionCapabilityMarketplace,
ClusterVersionCapabilityStorage,
ClusterVersionCapabilityOpenShiftSamples,
ClusterVersionCapabilityCSISnapshot,
ClusterVersionCapabilityNodeTuning,
ClusterVersionCapabilityMachineAPI,
ClusterVersionCapabilityBuild,
ClusterVersionCapabilityDeploymentConfig,
ClusterVersionCapabilityImageRegistry,
ClusterVersionCapabilityOperatorLifecycleManager,
ClusterVersionCapabilityCloudCredential,
ClusterVersionCapabilityIngress,
ClusterVersionCapabilityCloudControllerManager,
},
ClusterVersionCapabilitySetCurrent: {
ClusterVersionCapabilityBaremetal,
ClusterVersionCapabilityConsole,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ spec:
- v4.14
- v4.15
- v4.16
- v4.17
- vCurrent
type: string
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ spec:
- v4.14
- v4.15
- v4.16
- v4.17
- vCurrent
type: string
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ spec:
- v4.14
- v4.15
- v4.16
- v4.17
- vCurrent
type: string
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ spec:
- v4.14
- v4.15
- v4.16
- v4.17
- vCurrent
type: string
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ spec:
- v4.14
- v4.15
- v4.16
- v4.17
- vCurrent
type: string
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ spec:
- v4.14
- v4.15
- v4.16
- v4.17
- vCurrent
type: string
type: object
Expand Down