Skip to content

Commit 1cd9e5b

Browse files
committed
add support for ConsolePlugin
1 parent 84b340e commit 1cd9e5b

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

staging/operator-lifecycle-manager/pkg/controller/operators/catalog/supportedresources.go

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const (
1010
ConsoleQuickStartKind = "ConsoleQuickStart"
1111
ConsoleCLIDownloadKind = "ConsoleCLIDownload"
1212
ConsoleLinkKind = "ConsoleLink"
13+
ConsolePlugin = "ConsolePlugin"
1314
)
1415

1516
var supportedKinds = map[string]struct{}{
@@ -22,6 +23,7 @@ var supportedKinds = map[string]struct{}{
2223
ConsoleQuickStartKind: {},
2324
ConsoleCLIDownloadKind: {},
2425
ConsoleLinkKind: {},
26+
ConsolePlugin: {},
2527
}
2628

2729
// isSupported returns true if OLM supports this type of CustomResource.

staging/operator-registry/pkg/lib/bundle/supported_resources.go

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const (
2020
ConsoleQuickStartKind = "ConsoleQuickStart"
2121
ConsoleCLIDownloadKind = "ConsoleCLIDownload"
2222
ConsoleLinkKind = "ConsoleLink"
23+
ConsolePlugin = "ConsolePlugin"
2324
)
2425

2526
// Namespaced indicates whether the resource is namespace scoped (true) or cluster-scoped (false).
@@ -47,6 +48,7 @@ var supportedResources = map[string]Namespaced{
4748
ConsoleQuickStartKind: false,
4849
ConsoleCLIDownloadKind: false,
4950
ConsoleLinkKind: false,
51+
ConsolePlugin: false,
5052
}
5153

5254
// IsSupported checks if the object kind is OLM-supported and if it is namespaced

vendor/github.com/operator-framework/operator-lifecycle-manager/pkg/controller/operators/catalog/supportedresources.go

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/operator-framework/operator-registry/pkg/lib/bundle/supported_resources.go

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)