- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,740 for nAmespace (0.14 sec)
-
cni/pkg/util/podutil_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 19:29:42 UTC 2024 - 4.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go
log.Debugf("Switch selected namespace policy to %s.%s (%v)", cfg.Name, cfg.Namespace, cfg.CreationTimestamp) namespaceCfg = cfg } } } else if cfg.Namespace != rootNamespace { if workloadCfg == nil || cfg.CreationTimestamp.Before(&workloadCfg.CreationTimestamp) { log.Debugf("Switch selected workload policy to %s.%s (%v)", cfg.Name, cfg.Namespace, cfg.CreationTimestamp) workloadCfg = cfg } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 16:23:36 UTC 2024 - 18.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go
for _, namespace := range ignoredNamespaces.UnsortedList() { // Create namespace in ignored list, make sure its not created createNamespace(t, client.Kube(), namespace, newData) // Configmap in that namespace should not do anything either createConfigMap(t, client.Kube(), "not-root", namespace, "k") expectConfigMapNotExist(t, nc.configmaps, namespace) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 8.1K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
fs.AssertExpectations(t) // unlabelling the namespace should cause only one RemovePodFromMesh to happen fs.On("RemovePodFromMesh", ctx, mock.Anything, ).Once().Return(nil) // unlabel the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":null}}}`, constants.DataplaneModeLabel)) _, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 22.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceregistry_test.go
} labels := map[string]string{ "app": "foo", } namespace := "namespace" serviceEntry := config.Config{ Meta: config.Meta{ Name: "service-entry", Namespace: namespace, GroupVersionKind: gvk.ServiceEntry, Domain: "cluster.local", }, Spec: &networking.ServiceEntry{ Hosts: []string{"service.namespace.svc.cluster.local"}, Ports: []*networking.ServicePort{port},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
if matchAmbient { log.Infof("Namespace %s is enabled in ambient mesh", namespace) } else { log.Infof("Namespace %s is disabled from ambient mesh", namespace) } for _, pod := range s.pods.List(namespace, klabels.Everything()) { // ztunnel pods are never "added to/removed from the mesh", so do not fire // spurious events for them to avoid triggering extra // ztunnel node reconciliation checks.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 11.8K bytes - Viewed (0) -
pilot/pkg/model/authorization_test.go
selectionOpts: WorkloadPolicyMatcher{ Namespace: "istio-config", }, configs: []config.Config{ newConfig("authz-1", "istio-config", policy), }, wantAllow: []AuthorizationPolicy{ { Name: "authz-1", Namespace: "istio-config", Spec: policy, }, }, }, { name: "root namespace and config namespace",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 12.7K bytes - Viewed (0) -
pkg/kube/krt/collection_test.go
tt.WaitUnordered("add/namespace/name") pc.Delete(pod.Name, pod.Namespace) assert.EventuallyEqual(t, fetcherSorted(SimplePods), nil) tt.WaitUnordered("delete/namespace/name") } func TestCollectionInitialState(t *testing.T) { c := kube.NewFakeClient( &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod", Namespace: "namespace", Labels: map[string]string{"app": "foo"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 14.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go
} func baseNamespacedPod(podName, namespace string) *example.Pod { return &example.Pod{ ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace}, } } func baseNamespacedPodUpdated(podName, namespace string) *example.Pod { return &example.Pod{ ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace}, Status: example.PodStatus{Phase: "Running"}, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 63.8K bytes - Viewed (0) -
pkg/config/analysis/analyzers/sidecar/selector.go
s := rs.Message.(*v1alpha3.Sidecar) // record namespace-scoped sidecars if s.WorkloadSelector == nil || len(s.WorkloadSelector.Labels) == 0 { namespacesToSidecars[rs.Metadata.FullName.Namespace] = append(namespacesToSidecars[rs.Metadata.FullName.Namespace], rs) return true } sNs := rs.Metadata.FullName.Namespace sel := labels.SelectorFromSet(s.WorkloadSelector.Labels) foundPod := false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 5K bytes - Viewed (0)