- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for validDeployment (0.21 sec)
-
pkg/registry/apps/deployment/storage/storage_test.go
key := "/deployments/" + namespace + "/" + name if err := storage.Deployment.Storage.Create(ctx, key, &validDeployment, &deployment, 0, false); err != nil { t.Fatalf("error setting new deployment (key: %s) %v: %v", key, validDeployment, err) } selector, err := metav1.LabelSelectorAsSelector(validDeployment.Spec.Selector) if err != nil { t.Fatal(err) } want := &autoscaling.Scale{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:17:45 UTC 2023 - 19.7K bytes - Viewed (0) -
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) -
istioctl/pkg/validate/validate_test.go
apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: name: productpage spec: trafficPolicy: {} trafficPolicy: tls: mode: ISTIO_MUTUAL ` validDeployment = ` apiVersion: apps/v1 kind: Deployment metadata: name: helloworld-v1 labels: app: helloworld version: v1 spec: replicas: 1 selector: matchLabels:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 08:08:36 UTC 2023 - 21.5K bytes - Viewed (0)