Skip to content

Commit

Permalink
Deprecate the CatalogMetadataAPI feature gate (operator-framework#141)
Browse files Browse the repository at this point in the history
Marking the CatalogMetadataAPI feature gate as Deprecated before introducing the HTTP server as a default mechanism to serve catalog contents

Signed-off-by: Rashmi Gottipati <[email protected]>
  • Loading branch information
rashmigottipati authored Aug 15, 2023
1 parent 1a81219 commit a8f7196
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/features/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ var catalogdFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
// Ex: SomeFeature: {...}

PackagesBundleMetadataAPIs: {Default: false, PreRelease: featuregate.Deprecated},
CatalogMetadataAPI: {Default: false, PreRelease: featuregate.Alpha},

// Marking the CatalogMetadataAPI feature gate as Deprecated in the interest of introducing
// the HTTP Server functionality in the future and use it as a default method of serving the catalog contents.
CatalogMetadataAPI: {Default: false, PreRelease: featuregate.Deprecated},
}

var CatalogdFeatureGate featuregate.MutableFeatureGate = featuregate.NewFeatureGate()
Expand Down

0 comments on commit a8f7196

Please sign in to comment.