Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isChangingOwnerReference (0.22 sec)

  1. plugin/pkg/admission/gc/gc_admission.go

    	if a.isWhiteListed(attributes.GetResource().GroupResource(), attributes.GetSubresource()) {
    		return nil
    	}
    
    	// if we aren't changing owner references, then the edit is always allowed
    	if !isChangingOwnerReference(attributes.GetObject(), attributes.GetOldObject()) {
    		return nil
    	}
    
    	// if you are creating a thing, you should always be allowed to set an owner ref since you logically had the power
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top