diff --git a/pkg/render/policyrecommendation.go b/pkg/render/policyrecommendation.go index f38ce69ba9..8d9f4046be 100644 --- a/pkg/render/policyrecommendation.go +++ b/pkg/render/policyrecommendation.go @@ -146,6 +146,8 @@ func (pr *policyRecommendationComponent) clusterRole() client.Object { "policyrecommendationscopes/status", "stagednetworkpolicies", "tier.stagednetworkpolicies", + "networkpolicies", + "tier.networkpolicies", "globalnetworksets", }, Verbs: []string{"create", "delete", "get", "list", "patch", "update", "watch"}, diff --git a/pkg/render/policyrecommendation_test.go b/pkg/render/policyrecommendation_test.go index e57065e496..eac4d576a8 100644 --- a/pkg/render/policyrecommendation_test.go +++ b/pkg/render/policyrecommendation_test.go @@ -150,6 +150,8 @@ var _ = Describe("Policy recommendation rendering tests", func() { "policyrecommendationscopes/status", "stagednetworkpolicies", "tier.stagednetworkpolicies", + "networkpolicies", + "tier.networkpolicies", "globalnetworksets", }, Verbs: []string{"create", "delete", "get", "list", "patch", "update", "watch"},