Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for InformerWatchNamespace (0.33 sec)

  1. pkg/kube/kclient/client_test.go

    			},
    			want: kubetypes.InformerOptions{
    				Namespace: "foo",
    				Cluster:   c.ClusterID(),
    			},
    		},
    		{
    			name: "watch pods in the InformerWatchNamespace",
    			gvr:  gvr.Pod,
    			want: kubetypes.InformerOptions{
    				Namespace: features.InformerWatchNamespace,
    				Cluster:   c.ClusterID(),
    			},
    		},
    		{
    			name: "watch namespaces",
    			gvr:  gvr.Namespace,
    			want: kubetypes.InformerOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. pilot/pkg/features/pilot.go

    	LocalClusterSecretWatcher = env.Register("LOCAL_CLUSTER_SECRET_WATCHER", false,
    		"If enabled, the cluster secret watcher will watch the namespace of the external cluster instead of config cluster").Get()
    
    	InformerWatchNamespace = env.Register("ISTIO_WATCH_NAMESPACE", "",
    		"If set, limit Kubernetes watches to a single namespace. "+
    			"Warning: only a single namespace can be set.").Get()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. pkg/kube/kclient/client.go

    }
    
    func ToOpts(c kube.Client, gvr schema.GroupVersionResource, filter Filter) kubetypes.InformerOptions {
    	ns := filter.Namespace
    	if !istiogvr.IsClusterScoped(gvr) && ns == "" {
    		ns = features.InformerWatchNamespace
    	}
    	return kubetypes.InformerOptions{
    		LabelSelector:   filter.LabelSelector,
    		FieldSelector:   filter.FieldSelector,
    		Namespace:       ns,
    		ObjectTransform: filter.ObjectTransform,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 07:14:28 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top