Skip to content

Commit

Permalink
Merge pull request #1562 from qJkee/revert-IR
Browse files Browse the repository at this point in the history
OCPBUGS-17806: Revert "add ImageRegistry capability"
  • Loading branch information
openshift-merge-robot authored Aug 16, 2023
2 parents a2362cf + b17597d commit fc7849e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ spec:
- MachineAPI
- Build
- DeploymentConfig
- ImageRegistry
x-kubernetes-list-type: atomic
baselineCapabilitySet:
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.
Expand Down Expand Up @@ -200,7 +199,6 @@ spec:
- MachineAPI
- Build
- DeploymentConfig
- ImageRegistry
x-kubernetes-list-type: atomic
knownCapabilities:
description: knownCapabilities lists all the capabilities known to the current cluster.
Expand All @@ -220,7 +218,6 @@ spec:
- MachineAPI
- Build
- DeploymentConfig
- ImageRegistry
x-kubernetes-list-type: atomic
conditionalUpdates:
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.
Expand Down
8 changes: 1 addition & 7 deletions config/v1/types_cluster_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const (
)

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

const (
Expand Down Expand Up @@ -331,9 +331,6 @@ const (
// The following resources are taken into account:
// - deploymentconfigs
ClusterVersionCapabilityDeploymentConfig ClusterVersionCapability = "DeploymentConfig"
// ClusterVersionCapabilityImageRegistry manages the image registry which
// allows to distribute Docker images
ClusterVersionCapabilityImageRegistry ClusterVersionCapability = "ImageRegistry"
)

// KnownClusterVersionCapabilities includes all known optional, core cluster components.
Expand All @@ -349,7 +346,6 @@ var KnownClusterVersionCapabilities = []ClusterVersionCapability{
ClusterVersionCapabilityMachineAPI,
ClusterVersionCapabilityBuild,
ClusterVersionCapabilityDeploymentConfig,
ClusterVersionCapabilityImageRegistry,
}

// ClusterVersionCapabilitySet defines sets of cluster version capabilities.
Expand Down Expand Up @@ -433,7 +429,6 @@ var ClusterVersionCapabilitySets = map[ClusterVersionCapabilitySet][]ClusterVers
ClusterVersionCapabilityMachineAPI,
ClusterVersionCapabilityBuild,
ClusterVersionCapabilityDeploymentConfig,
ClusterVersionCapabilityImageRegistry,
},
ClusterVersionCapabilitySetCurrent: {
ClusterVersionCapabilityBaremetal,
Expand All @@ -447,7 +442,6 @@ var ClusterVersionCapabilitySets = map[ClusterVersionCapabilitySet][]ClusterVers
ClusterVersionCapabilityMachineAPI,
ClusterVersionCapabilityBuild,
ClusterVersionCapabilityDeploymentConfig,
ClusterVersionCapabilityImageRegistry,
},
}

Expand Down

0 comments on commit fc7849e

Please sign in to comment.