Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AppArmorFields (0.2 sec)

  1. pkg/apis/core/validation/validation.go

    func validateAppArmorAnnotationsAndFieldsMatchOnCreate(objectMeta metav1.ObjectMeta, podSpec *core.PodSpec, specPath *field.Path) field.ErrorList {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.AppArmorFields) {
    		return nil
    	}
    	if podSpec.OS != nil && podSpec.OS.Name == core.Windows {
    		// Skip consistency check for windows pods.
    		return nil
    	}
    
    	allErrs := field.ErrorList{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top