Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getProfileFromPodAnnotations (0.21 sec)

  1. pkg/security/apparmor/helpers.go

    	// the pod profile.
    	if profile := getProfileFromPodAnnotations(pod.Annotations, container.Name); profile != nil {
    		return profile
    	}
    
    	if pod.Spec.SecurityContext != nil && pod.Spec.SecurityContext.AppArmorProfile != nil {
    		return pod.Spec.SecurityContext.AppArmorProfile
    	}
    
    	return nil
    }
    
    // getProfileFromPodAnnotations gets the AppArmor profile to use with container from
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:32 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top