Commit 720831b
fix(rbac): add delete verb for networkpolicies to allow cleanup of stale and proxy egress NPs
The EP-1998 controller implementation calls r.Delete on NetworkPolicies in
two places: cleanupMigratedNetworkPolicies (pruning stale entries) and
createOrApplyProxyEgressNetworkPolicy (removing the policy when proxy is
not configured). Without delete permission, these calls fail with 403,
causing reconcile to abort before reaching createOrApplyDeployments. This
blocked the env var test from seeing LOG_LEVEL applied to the deployment.
Ref: openshift/enhancements#1998
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 52bad5d commit 720831b
3 files changed
Lines changed: 3 additions & 1 deletion
File tree
- bundle/manifests
- config/rbac
- pkg/controller/external_secrets
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
| 608 | + | |
608 | 609 | | |
609 | 610 | | |
610 | 611 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments