Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 253 for nAmespace (0.18 sec)

  1. pkg/test/framework/components/echo/common/deployment/namespace.go

    	namespaces, err := namespace.GetAll(t)
    	if err != nil {
    		return fmt.Errorf("failed retrieving list of namespaces: %v", err)
    	}
    
    	// Restrict egress from this namespace to only those endpoints in the same Echos.
    	cfg := t.ConfigIstio().New()
    	cfg.Eval(ns.Name(), map[string]any{
    		"Namespaces": namespaces,
    	}, `
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: restrict-to-namespace
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pkg/kube/namespace/filter.go

    	lock                sync.RWMutex
    	namespaces          kclient.Client[*corev1.Namespace]
    	discoveryNamespaces sets.String
    	discoverySelectors  []labels.Selector // nil if discovery selectors are not specified, permits all namespaces for discovery
    	handlers            []func(added, removed sets.String)
    }
    
    func NewDiscoveryNamespacesFilter(
    	namespaces kclient.Client[*corev1.Namespace],
    	mesh mesh.Watcher,
    	stop <-chan struct{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/testdata/deployment/waypoint-no-network-label.yaml

        gateway.networking.k8s.io/gateway-name: namespace
        istio.io/gateway-name: namespace
        topology.istio.io/network: network-1
      name: namespace
      namespace: default
      ownerReferences:
      - apiVersion: gateway.networking.k8s.io/v1beta1
        kind: Gateway
        name: namespace
        uid: ""
    spec:
      selector:
        matchLabels:
          gateway.networking.k8s.io/gateway-name: namespace
      template:
        metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 22:41:03 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/deployment/waypoint.yaml

        gateway.networking.k8s.io/gateway-name: namespace
        istio.io/gateway-name: namespace
        topology.istio.io/network: network-1
      name: namespace
      namespace: default
      ownerReferences:
      - apiVersion: gateway.networking.k8s.io/v1beta1
        kind: Gateway
        name: namespace
        uid: ""
    spec:
      selector:
        matchLabels:
          gateway.networking.k8s.io/gateway-name: namespace
      template:
        metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 22:41:03 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. 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)
  6. istioctl/pkg/writer/ztunnel/configdump/api.go

    	Name         string          `json:"name"`
    	Namespace    string          `json:"namespace"`
    	Hostname     string          `json:"hostname"`
    	Addresses    []string        `json:"vips"`
    	Ports        map[string]int  `json:"ports"`
    	LoadBalancer *LoadBalancer   `json:"loadBalancer"`
    	Waypoint     *GatewayAddress `json:"waypoint"`
    }
    
    type PolicyMatch struct {
    	Namespaces          []StringMatch `json:"namespaces,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go

    	return matched
    }
    
    // MatchesSingleNamespace will return (namespace, true) if and only if s.Field matches on the object's
    // namespace.
    func (s *SelectionPredicate) MatchesSingleNamespace() (string, bool) {
    	if len(s.Continue) > 0 || s.Field == nil {
    		return "", false
    	}
    	if namespace, ok := s.Field.RequiresExactMatch("metadata.namespace"); ok {
    		return namespace, true
    	}
    	return "", false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Name:           "cache_list_total",
    			Help:           "Number of LIST requests served from watch cache",
    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"resource_prefix", "index"},
    	)
    	listCacheNumFetched = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Name:           "cache_list_fetched_objects_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. tests/integration/telemetry/tracing/tracing.go

    	return &ist
    }
    
    // GetAppNamespace gets echo app namespace instance.
    func GetAppNamespace() namespace.Instance {
    	return appNsInst
    }
    
    func GetIngressInstance() ingress.Instance {
    	return ingInst
    }
    
    func GetZipkinInstance() zipkin.Instance {
    	return zipkinInst
    }
    
    func TestSetup(ctx resource.Context) (err error) {
    	appNsInst, err = namespace.New(ctx, namespace.Config{
    		Prefix: "echo",
    		Inject: true,
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 19:05:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/util/workloadinstances/index_test.go

    		Name:      "another-ip",
    		Namespace: selector.Namespace,
    		Endpoint: &model.IstioEndpoint{
    			Address: "3.3.3.3",
    			Labels:  map[string]string{"app": "another-wle"}, // should not match because of another label
    		},
    	}
    
    	wi4 := &model.WorkloadInstance{
    		Name:      "another-name",
    		Namespace: "another-namespace", // should not match because of another namespace
    		Endpoint: &model.IstioEndpoint{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top