- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 231 for nAmespace (0.72 sec)
-
pkg/controller/history/controller_history_test.go
if err != nil { t.Fatal(err) } ss1Rev1.Namespace = ss1.Namespace ss1Rev2, err := NewControllerRevision(ss1, parentKind, ss1.Spec.Template.Labels, rawTemplate(&ss1.Spec.Template), 2, nil) if err != nil { t.Fatal(err) } ss1Rev2.Namespace = ss1.Namespace ss2Rev1, err := NewControllerRevision(ss2, parentKind, ss2.Spec.Template.Labels, rawTemplate(&ss2.Spec.Template), 1, nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 49.1K bytes - Viewed (0) -
plugin/pkg/admission/noderestriction/admission_test.go
"k8s.io/kubernetes/pkg/auth/nodeidentifier" "k8s.io/utils/pointer" ) func makeTestPod(namespace, name, node string, mirror bool) (*api.Pod, *corev1.Pod) { corePod := &api.Pod{} corePod.Namespace = namespace corePod.UID = types.UID("pod-uid") corePod.Name = name corePod.Spec.NodeName = node v1Pod := &corev1.Pod{} v1Pod.Namespace = namespace v1Pod.UID = types.UID("pod-uid") v1Pod.Name = name v1Pod.Spec.NodeName = node
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 73.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
Name: name, Namespace: namespace, }, Subsets: []corev1.EndpointSubset{{ Addresses: eas, Ports: eps, }}, } if _, err := controller.client.Kube().CoreV1().Endpoints(namespace).Update(context.TODO(), endpoint, metav1.UpdateOptions{}); err != nil { t.Fatalf("failed to update endpoints %s in namespace %s (error %v)", name, namespace, err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespace}, Spec: v1.ServiceSpec{ Ports: []v1.ServicePort{{Port: 80}}, Type: v1.ServiceTypeExternalName, }, }, }, { desc: "External name with selector should not receive endpoint slices", service: &v1.Service{ ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespace}, Spec: v1.ServiceSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
pkg/apis/autoscaling/validation/validation_test.go
Name: "frontend", Namespace: metav1.NamespaceDefault, }, Spec: autoscaling.ScaleSpec{ Replicas: 1, }, }, { ObjectMeta: metav1.ObjectMeta{ Name: "frontend", Namespace: metav1.NamespaceDefault, }, Spec: autoscaling.ScaleSpec{ Replicas: 10, }, }, { ObjectMeta: metav1.ObjectMeta{ Name: "frontend", Namespace: metav1.NamespaceDefault, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 56.7K bytes - Viewed (0) -
pilot/pkg/security/authn/policy_applier_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 01 07:32:22 UTC 2023 - 60.2K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
if err != nil { t.Errorf("Got unexpected error: %v", err) } if newPod.Namespace != namespace { t.Errorf("Got unexpected pod namespace: %q != %q", newPod.Namespace, namespace) } } // TestAdmitRejectsNegativeUsage verifies that usage for any measured resource cannot be negative. func TestAdmitRejectsNegativeUsage(t *testing.T) { resourceQuota := &corev1.ResourceQuota{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
tests/integration/security/authz_test.go
} // Make sure the namespace-wide policy was applied to this workload. for _, ns := range []namespace.Instance{apps.Ns1.Namespace, apps.Ns2.Namespace} { cases = append(cases, testCase{ path: fmt.Sprintf("/policy-%s-all", ns.Prefix()), allow: ns.Name() == to.Config().Namespace.Name(), }) } // Make sure the workload-specific paths succeeds.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 50.1K bytes - Viewed (0) -
pilot/pkg/model/virtualservice_test.go
}, }, }, }, }, }, }, } createDelegateVs := func(name, namespace string, exportTo []string) config.Config { return config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.VirtualService, Name: name, Namespace: namespace, }, Spec: &networking.VirtualService{ Hosts: []string{}, Gateways: []string{"gateway"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 60.6K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
Namespace: spl[1], Name: spl[0], }) } } } switch variant { case "httproute": return tmpl.MustEvaluate(`apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: "{{.Namespace}}{{.Match | replace "*" "wild"}}{{.Dest}}" namespace: {{.Namespace}} creationTimestamp: "{{.Time}}" spec:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0)