Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for ns (0.14 sec)

  1. istioctl/pkg/describe/testdata/describe/http_config.json

                              "match_subject_alt_names": [
                                {
                                  "exact": "spiffe://cluster.local/ns/default/sa/bookinfo-productpage"
                                },
                                {
                                  "exact": "spiffe://cluster.local/ns/default/sa/default"
                                }
                              ]
                            },
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin.go

    	if err != nil {
    		return false, err
    	}
    	ns, err := client.CoreV1().Namespaces().Get(context.Background(), podNamespace, metav1.GetOptions{})
    	if err != nil {
    		return false, err
    	}
    
    	return util.PodRedirectionEnabled(ns, pod), nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. istioctl/pkg/checkinject/checkinject_test.go

    func Test_analyzeRunningWebhooks(t *testing.T) {
    	cases := []struct {
    		name             string
    		pod              *corev1.Pod
    		ns               *corev1.Namespace
    		expectedMessages []webhookAnalysis
    	}{
    		{
    			name: "no inj because of no match labels",
    			pod:  podTestObject("test1", "test1", "", ""),
    			ns:   nsTestObject("test1", "", ""),
    			expectedMessages: []webhookAnalysis{
    				{
    					Name:     "istio-sidecar-injector",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/netns_linux_test.go

    import "testing"
    
    func TestOpenNetns(t *testing.T) {
    	ns, err := OpenNetns("/proc/self/ns/net")
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	// the inode for netns is proc dynamic, so it needs to be higher than
    	// #define PROC_DYNAMIC_FIRST 0xF0000000U
    
    	if ns.Inode() < 0xF0000000 {
    		t.Fatalf("unexpected inode: %v", ns.Inode())
    	}
    	defer ns.Close()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 976 bytes
    - Viewed (0)
  5. istioctl/pkg/cli/context.go

    	return handleNamespace(namespace, i.DefaultNamespace())
    }
    
    // handleNamespace returns the defaultNamespace if the namespace is empty
    func handleNamespace(ns, defaultNamespace string) string {
    	if ns == corev1.NamespaceAll {
    		ns = defaultNamespace
    	}
    	return ns
    }
    
    type fakeInstance struct {
    	// clients are cached clients for each revision
    	clients   map[string]kube.CLIClient
    	rootFlags *RootFlags
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/cni-watcher_test.go

    			Namespace: "funkyns",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: fakePodIP,
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	// We are expecting at most 1 calls to the mock, wait for them
    	wg, waitForMockCalls := NewWaitForNCalls(t, 1)
    	fs := &fakeServer{testWG: wg}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. istioctl/pkg/wait/wait_test.go

    			fc.PrependWatchReactor("*", func(action clienttesting.Action) (handled bool, ret watch.Interface, err error) {
    				gvr := action.GetResource()
    				ns := action.GetNamespace()
    				watch, err := fc.Tracker().Watch(gvr, ns)
    				if err != nil {
    					return false, nil, err
    				}
    				// Kubernetes Fake watches do not add initial state, but real server does
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (1)
  8. istioctl/pkg/injector/injector-list_test.go

    	client := kube.NewFakeClient(nss...)
    	expected := sets.New[string]("default", "no-ambient")
    	actual, err := getNamespaces(context.TODO(), client, "istio-system")
    	assert.NoError(t, err)
    	for _, ns := range actual {
    		assert.Equal(t, true, expected.Contains(ns.Name))
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. istioctl/pkg/injector/injector-list.go

    }
    
    func filterSystemNamespaces(nss []corev1.Namespace, istioNamespace string) []corev1.Namespace {
    	filtered := make([]corev1.Namespace, 0)
    	for _, ns := range nss {
    		if inject.IgnoredNamespaces.Contains(ns.Name) || ns.Name == istioNamespace {
    			continue
    		}
    		filtered = append(filtered, ns)
    	}
    	return filtered
    }
    
    func getNamespaces(ctx context.Context, client kube.CLIClient, istioNamespace string) ([]corev1.Namespace, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. operator/cmd/mesh/testdata/manifest-generate/input-extra-resources/gateways.yaml

    apiVersion: v1
    kind: Namespace
    metadata:
      name: user-ingressgateway-ns
      labels:
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Jul 14 23:24:30 GMT 2020
    - 113 bytes
    - Viewed (0)
Back to top