Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestValidateDeployment (0.44 sec)

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

    				},
    			},
    			RollbackTo: &apps.RollbackConfig{
    				Revision: 1,
    			},
    		},
    	}
    
    	for _, tweak := range tweaks {
    		tweak(d)
    	}
    
    	return d
    }
    
    func TestValidateDeployment(t *testing.T) {
    	successCases := []*apps.Deployment{
    		validDeployment(),
    		validDeployment(func(d *apps.Deployment) {
    			d.Spec.Template.Spec.SecurityContext = &api.PodSecurityContext{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
Back to top