Skip to content

Commit 5e2dc1c

Browse files
committed
Revert "Merge pull request openshift#1572 from qJkee/redoIR"
This reverts commit edd3172, reversing changes made to 938af62.
1 parent 8bbcb32 commit 5e2dc1c

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

config/v1/0000_00_cluster-version-operator_01_clusterversion.crd.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ spec:
7474
- MachineAPI
7575
- Build
7676
- DeploymentConfig
77-
- ImageRegistry
7877
x-kubernetes-list-type: atomic
7978
baselineCapabilitySet:
8079
description: baselineCapabilitySet selects an initial set of optional capabilities to enable, which can be extended via additionalEnabledCapabilities. If unset, the cluster will choose a default, and the default may change over time. The current default is vCurrent.
@@ -200,7 +199,6 @@ spec:
200199
- MachineAPI
201200
- Build
202201
- DeploymentConfig
203-
- ImageRegistry
204202
x-kubernetes-list-type: atomic
205203
knownCapabilities:
206204
description: knownCapabilities lists all the capabilities known to the current cluster.
@@ -220,7 +218,6 @@ spec:
220218
- MachineAPI
221219
- Build
222220
- DeploymentConfig
223-
- ImageRegistry
224221
x-kubernetes-list-type: atomic
225222
conditionalUpdates:
226223
description: conditionalUpdates contains the list of updates that may be recommended for this cluster if it meets specific required conditions. Consumers interested in the set of updates that are actually recommended for this cluster should use availableUpdates. This list may be empty if no updates are recommended, if the update service is unavailable, or if an empty or invalid channel has been specified.

config/v1/types_cluster_version.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ const (
248248
)
249249

250250
// ClusterVersionCapability enumerates optional, core cluster components.
251-
// +kubebuilder:validation:Enum=openshift-samples;baremetal;marketplace;Console;Insights;Storage;CSISnapshot;NodeTuning;MachineAPI;Build;DeploymentConfig;ImageRegistry
251+
// +kubebuilder:validation:Enum=openshift-samples;baremetal;marketplace;Console;Insights;Storage;CSISnapshot;NodeTuning;MachineAPI;Build;DeploymentConfig
252252
type ClusterVersionCapability string
253253

254254
const (
@@ -331,9 +331,6 @@ const (
331331
// The following resources are taken into account:
332332
// - deploymentconfigs
333333
ClusterVersionCapabilityDeploymentConfig ClusterVersionCapability = "DeploymentConfig"
334-
// ClusterVersionCapabilityImageRegistry manages the image registry which
335-
// allows to distribute Docker images
336-
ClusterVersionCapabilityImageRegistry ClusterVersionCapability = "ImageRegistry"
337334
)
338335

339336
// KnownClusterVersionCapabilities includes all known optional, core cluster components.
@@ -349,7 +346,6 @@ var KnownClusterVersionCapabilities = []ClusterVersionCapability{
349346
ClusterVersionCapabilityMachineAPI,
350347
ClusterVersionCapabilityBuild,
351348
ClusterVersionCapabilityDeploymentConfig,
352-
ClusterVersionCapabilityImageRegistry,
353349
}
354350

355351
// ClusterVersionCapabilitySet defines sets of cluster version capabilities.
@@ -433,7 +429,6 @@ var ClusterVersionCapabilitySets = map[ClusterVersionCapabilitySet][]ClusterVers
433429
ClusterVersionCapabilityMachineAPI,
434430
ClusterVersionCapabilityBuild,
435431
ClusterVersionCapabilityDeploymentConfig,
436-
ClusterVersionCapabilityImageRegistry,
437432
},
438433
ClusterVersionCapabilitySetCurrent: {
439434
ClusterVersionCapabilityBaremetal,
@@ -447,7 +442,6 @@ var ClusterVersionCapabilitySets = map[ClusterVersionCapabilitySet][]ClusterVers
447442
ClusterVersionCapabilityMachineAPI,
448443
ClusterVersionCapabilityBuild,
449444
ClusterVersionCapabilityDeploymentConfig,
450-
ClusterVersionCapabilityImageRegistry,
451445
},
452446
}
453447

0 commit comments

Comments
 (0)