- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for validDeployment (0.15 sec)
-
pkg/apis/apps/validation/validation_test.go
}, } 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{ HostNetwork: true, } d.Spec.Template.Spec.Containers[0].Ports = []api.ContainerPort{{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0)