-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GC only if allowed to update DV owner finalizers
PVC gets its DV ownerRefs, which can be any CR. If BlockOwnerDeletion is true, we allow GC only if CDI has RBAC to update the owner finalizers (we explicitly added it for VirtualMachines). BlockOwnerDeletions gets validated with this admission plugin which is enabled in OpenShift, but disabled in our kubevirtci clusters: https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#ownerreferencespermissionenforcement Signed-off-by: Arnon Gilboa <agilboa@redhat.com>
- Loading branch information
1 parent
c5af07c
commit 572bcf6
Showing
3 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters