Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,095 for nameslice (0.51 sec)

  1. 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)
  2. pkg/config/analysis/analyzers/testdata/authorizationpolicies.yaml

    apiVersion: v1
    kind: Namespace
    metadata:
      name: httpbin
      labels:
        istio-injection: "enabled"
    spec: {}
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: httpbin
      namespace: httpbin
      labels:
        app: httpbin
    spec:
      ports:
      - name: http
        port: 8000
        targetPort: 80
      selector:
        app: httpbin
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: httpbin
      namespace: httpbin
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 08 14:14:46 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/test/framework/components/echo/namespacedname.go

    	"sort"
    	"strings"
    
    	"istio.io/istio/pkg/test/framework/components/namespace"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // NamespacedName represents the full name of a service.
    type NamespacedName struct {
    	// Namespace of the echo Instance. If not provided, a default namespace "apps" is used.
    	Namespace namespace.Instance
    
    	// Name of the service within the Namespace.
    	Name string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  7. pkg/test/helm/helm.go

    func (h *Helm) DeleteChart(name, namespace string) error {
    	command := fmt.Sprintf("helm delete %s --namespace %s --kubeconfig %s", name, namespace, h.kubeConfig)
    	_, err := execCommand(command)
    	return err
    }
    
    // Template runs the template command and applies the generated file with kubectl
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 23 19:25:43 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/testdata/injection-image-distroless-no-meshconfig.yaml

    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: ns-override
    ---
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: workload-override
    ---
    # ProxyConfig for root namespace
    apiVersion: networking.istio.io/v1beta1
    kind: ProxyConfig
    metadata:
      name: valid-example-pc
      namespace: istio-system
    ---
    # ProxyConfig for ns-override namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 15:31:54 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/multicluster/inconsistent-service-1.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: my-service
      namespace: my-namespace
    spec:
      selector:
        app: my-service
      ports:
      - name: tcp-foo
        protocol: TCP
        port: 8080
        targetPort: 8080
    ---
    # Service with extra port in cluster2, should generate warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: extra-port
      namespace: my-namespace
    spec:
      selector:
        app: my-service
      ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/testdata/reference-policy-service.yaml

    metadata:
      name: allow-service
      namespace: service
    spec:
      from:
      - group: gateway.networking.k8s.io
        kind: HTTPRoute
        namespace: istio-system
      to:
      - group: ""
        kind: Service
        name: my-svc
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http
      namespace: istio-system
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top