Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestValidateLinuxPodSecurityContext (0.33 sec)

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

    				t.Errorf("Unexpected success")
    			}
    			if !v.expectErr && len(errs) != 0 {
    				t.Errorf("Unexpected error(s): %v", errs)
    			}
    		})
    	}
    }
    
    func TestValidateLinuxPodSecurityContext(t *testing.T) {
    	runAsUser := int64(1)
    	validLinuxSC := &core.PodSecurityContext{
    		SELinuxOptions: &core.SELinuxOptions{
    			User:  "user",
    			Role:  "role",
    			Type:  "type",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top