Skip to content

Commit 39e7a70

Browse files
rashmigottipatianik120
authored andcommitted
Upstream: 3580: add NetworkPolicy as a supported kind
Signed-off-by: Rashmi Gottipati <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: d7aaeb11ab80f862fc9c70dfb7865158bb67e28c
1 parent d646b9e commit 39e7a70

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
@@ -10,6 +10,7 @@ const (
1010
ConsoleQuickStartKind = "ConsoleQuickStart"
1111
ConsoleCLIDownloadKind = "ConsoleCLIDownload"
1212
ConsoleLinkKind = "ConsoleLink"
13+
NetworkPolicyKind = "NetworkPolicy"
1314
)
1415

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

2729
// 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)