Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,968 for nameslice (0.15 sec)

  1. pkg/config/analysis/analyzers/testdata/injection.yaml

    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: disabled
      name: foo
    ---
    # Namespace doesn't have the label at all
    apiVersion: v1
    kind: Namespace
    metadata:
      name: bar
    ---
    # Namespace is explicitly enabled in the new style
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio.io/rev: canary
      name: canary-test
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 14:06:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. pkg/kube/krt/index_test.go

    			Name:      "name2",
    			Namespace: "namespace",
    		},
    		Status: corev1.PodStatus{PodIP: "1.2.3.5"},
    	}
    	pc.CreateOrUpdateStatus(pod2)
    	tt.WaitUnordered("add/namespace/name2")
    	assert.Equal(t, Collection.Get(), ptr.Of("namespace/name,namespace/name2"))
    
    	pc.Delete(pod.Name, pod.Namespace)
    	pc.Delete(pod2.Name, pod2.Namespace)
    	tt.WaitUnordered("delete/namespace/name", "delete/namespace/name2")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util.go

    func MakeGroupNames(namespace string) []string {
    	return []string{
    		AllServiceAccountsGroup,
    		MakeNamespaceGroupName(namespace),
    	}
    }
    
    // MakeNamespaceGroupName returns the name of the group all service accounts in the namespace are included in
    func MakeNamespaceGroupName(namespace string) string {
    	return ServiceAccountGroupPrefix + namespace
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 10:24:31 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/crdclient/types.gen.go

    				Generation:        obj.Generation,
    			},
    			Spec: obj,
    		}
    	},
    	gvk.Namespace: func(r runtime.Object) config.Config {
    		obj := r.(*k8sioapicorev1.Namespace)
    		return config.Config{
    			Meta: config.Meta{
    				GroupVersionKind:  gvk.Namespace,
    				Name:              obj.Name,
    				Namespace:         obj.Namespace,
    				Labels:            obj.Labels,
    				Annotations:       obj.Annotations,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util_test.go

    			t.Errorf("%s: Expected to match username", k)
    		}
    		namespace, name, err := SplitUsername(username)
    		if (err != nil) != tc.ExpectedErr {
    			t.Errorf("%s: Expected error=%v, got %v", k, tc.ExpectedErr, err)
    			continue
    		}
    		if err != nil {
    			continue
    		}
    
    		if namespace != tc.Namespace {
    			t.Errorf("%s: Expected namespace %q, got %q", k, tc.Namespace, namespace)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. pkg/controller/namespace/namespace_controller.go

    			AddFunc: func(obj interface{}) {
    				namespace := obj.(*v1.Namespace)
    				namespaceController.enqueueNamespace(namespace)
    			},
    			UpdateFunc: func(oldObj, newObj interface{}) {
    				namespace := newObj.(*v1.Namespace)
    				namespaceController.enqueueNamespace(namespace)
    			},
    		},
    		resyncPeriod,
    	)
    	namespaceController.lister = namespaceInformer.Lister()
    	namespaceController.listerSynced = namespaceInformer.Informer().HasSynced
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. 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)
  8. pkg/config/analysis/analyzers/testdata/injection-image-distroless.yaml

    # Namespace 'enabled-namespace' has istio injection enabled, so will be enforced.
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: enabled-namespace
    ---
    # Namespace 'enabled-namespace-2' has istio injection enabled, so will be enforced.
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: enabled-namespace-2
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 28 02:55:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. pilot/pkg/model/sidecar_test.go

    	}{
    		{"Just wildcard", []string{"*/*"}, allContains(nsName, true)},
    		{"Namespace and wildcard", []string{"ns/*", "*/*"}, allContains(nsName, true)},
    		{"Just Namespace", []string{"ns/*"}, allContains(nsName, true)},
    		{"Wrong Namespace", []string{"ns/*"}, allContains("other-ns", false)},
    		{"No Sidecar", nil, allContains("ns", true)},
    		{"No Sidecar Other Namespace", nil, allContains("other-ns", false)},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  10. 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)
Back to top