Skip to content

Commit 4a6471e

Browse files
rashmigottipatiPer Goncalves da Silva
authored andcommitted
add NetworkPolicy as a supported kind (#3580)
Signed-off-by: Rashmi Gottipati <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: d7aaeb11ab80f862fc9c70dfb7865158bb67e28c
1 parent c1249cb commit 4a6471e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const (
1111
ConsoleCLIDownloadKind = "ConsoleCLIDownload"
1212
ConsoleLinkKind = "ConsoleLink"
1313
ConsolePlugin = "ConsolePlugin"
14+
NetworkPolicyKind = "NetworkPolicy"
1415
)
1516

1617
var supportedKinds = map[string]struct{}{
@@ -24,6 +25,7 @@ var supportedKinds = map[string]struct{}{
2425
ConsoleCLIDownloadKind: {},
2526
ConsoleLinkKind: {},
2627
ConsolePlugin: {},
28+
NetworkPolicyKind: {},
2729
}
2830

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

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

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)