Skip to content

Commit

Permalink
Merge pull request #2023 from wking/4.17-cluster-version-capability-sets
Browse files Browse the repository at this point in the history
OCPBUGS-41642: config/v1/types_cluster_version: Add v4.17 capability set
  • Loading branch information
openshift-merge-bot[bot] authored Sep 12, 2024
2 parents 35c3f75 + da9cfc5 commit 0a88001
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 1 deletion.
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

0 comments on commit 0a88001

Please sign in to comment.