Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isUpdateWithNoNewImages (0.18 sec)

  1. plugin/pkg/admission/alwayspullimages/admission.go

    	})
    	if len(allErrs) > 0 {
    		return utilerrors.NewAggregate(allErrs)
    	}
    
    	return nil
    }
    
    // check if it's update and it doesn't change the images referenced by the pod spec
    func isUpdateWithNoNewImages(attributes admission.Attributes) bool {
    	if attributes.GetOperation() != admission.Update {
    		return false
    	}
    
    	pod, ok := attributes.GetObject().(*api.Pod)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 30 22:59:57 UTC 2020
    - 5.2K bytes
    - Viewed (0)
Back to top