Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for limitEphemeralContainerSecretReferences (0.38 sec)

  1. plugin/pkg/admission/serviceaccount/admission.go

    	if shouldIgnore(a) {
    		return nil
    	}
    
    	pod := a.GetObject().(*api.Pod)
    
    	if a.GetOperation() == admission.Update && a.GetSubresource() == "ephemeralcontainers" {
    		return s.limitEphemeralContainerSecretReferences(pod, a)
    	}
    
    	if a.GetOperation() != admission.Create {
    		// we only validate pod specs during create requests
    		return nil
    	}
    
    	// Mirror pods have restrictions on what they can reference
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top