Skip to content

Commit 919aefd

Browse files
Add NetworkPolicy as a supported kind (#1675)
Signed-off-by: Rashmi Gottipati <chowdary.grashmi@gmail.com>
1 parent 33a3372 commit 919aefd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/lib/bundle/supported_resources.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const (
2121
ConsoleCLIDownloadKind = "ConsoleCLIDownload"
2222
ConsoleLinkKind = "ConsoleLink"
2323
ConsolePlugin = "ConsolePlugin"
24+
NetworkPolicyKind = "NetworkPolicy"
2425
)
2526

2627
// Namespaced indicates whether the resource is namespace scoped (true) or cluster-scoped (false).
@@ -49,6 +50,7 @@ var supportedResources = map[string]Namespaced{
4950
ConsoleCLIDownloadKind: false,
5051
ConsoleLinkKind: false,
5152
ConsolePlugin: false,
53+
NetworkPolicyKind: true,
5254
}
5355

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

0 commit comments

Comments
 (0)