Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 661 for nAmespace (1.27 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    	}
    
    	// try fetching the namespace-defined waypoint
    	namespace := ptr.OrEmpty[*v1.Namespace](krt.FetchOne[*v1.Namespace](ctx, Namespaces, krt.FilterKey(o.Namespace)))
    	// this probably should never be nil. How would o exist in a namespace we know nothing about? maybe edge case of starting the controller or ns delete?
    	if namespace != nil {
    		// toss isNone, we don't need to know /why/ we got nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cni/pkg/nodeagent/informers_test.go

    	fs.AssertExpectations(t)
    
    	// unlabelling the namespace should cause only one RemovePodFromMesh to happen
    	fs.On("RemovePodFromMesh",
    		ctx,
    		mock.Anything,
    	).Once().Return(nil)
    
    	// unlabel the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":null}}}`,
    		constants.DataplaneModeLabel))
    	_, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/informers.go

    	if matchAmbient {
    		log.Infof("Namespace %s is enabled in ambient mesh", namespace)
    	} else {
    		log.Infof("Namespace %s is disabled from ambient mesh", namespace)
    	}
    	for _, pod := range s.pods.List(namespace, klabels.Everything()) {
    		// ztunnel pods are never "added to/removed from the mesh", so do not fire
    		// spurious events for them to avoid triggering extra
    		// ztunnel node reconciliation checks.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. 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)
  9. tests/integration/pilot/gateway_test.go

          namespaces:
            from: All
      - name: tls-cross
        hostname: cross-namespace.domain.example
        port: 443
        protocol: HTTPS
        allowedRoutes:
          namespaces:
            from: All
        tls:
          mode: Terminate
          certificateRefs:
          - kind: Secret
            name: test-gateway-cert-cross
            namespace: "%s"
      - name: tls-same
        hostname: same-namespace.domain.example
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  10. 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)
Back to top