Skip to content

Commit

Permalink
Merge pull request #2722 from dimitri-nicolo/pick-2714-into-release-v…
Browse files Browse the repository at this point in the history
…1.30

[EV-3840] Add networkpolicies to policy rec clusterrole
  • Loading branch information
marvin-tigera authored Jul 7, 2023
2 parents f49d24a + 52eb93e commit 4620c43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/render/policyrecommendation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down
2 changes: 2 additions & 0 deletions pkg/render/policyrecommendation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit 4620c43

Please sign in to comment.