Skip to content

Commit

Permalink
Fix #434
Browse files Browse the repository at this point in the history
If [OwnerReferencesPermissionEnforcement](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#ownerreferencespermissionenforcement) is turned on, such as on OpenShift, ConfigConnector operator would fail with error `forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on`
  • Loading branch information
kaovilai committed Mar 31, 2023
1 parent ceacbec commit 719be33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions operator/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ rules:
- core.cnrm.cloud.google.com
resources:
- configconnectors/status
- configconnectors/finalizers
- configconnectorcontexts/status
verbs:
- get
Expand Down

0 comments on commit 719be33

Please sign in to comment.