Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateOwnerReferences (0.17 sec)

  1. pkg/controller/controller_ref_manager.go

    	if err := m.CanAdopt(ctx); err != nil {
    		return fmt.Errorf("can't adopt Pod %v/%v (%v): %v", pod.Namespace, pod.Name, pod.UID, err)
    	}
    	// Note that ValidateOwnerReferences() will reject this patch if another
    	// OwnerReference exists with controller=true.
    
    	patchBytes, err := ownerRefControllerPatch(m.Controller, m.controllerKind, pod.UID, m.finalizers...)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top