Skip to content

Commit 47808fa

Browse files
rashmigottipatici-robot
authored and
ci-robot
committed
Add NetworkPolicy as a supported kind (#1675)
Signed-off-by: Rashmi Gottipati <[email protected]> Upstream-repository: operator-registry Upstream-commit: 919aefdce3f4d6b77c3872df249815d20749db94
1 parent 54710bb commit 47808fa

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

staging/operator-registry/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

vendor/github.com/operator-framework/operator-registry/pkg/lib/bundle/supported_resources.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)