Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,869 for nAmespace (0.36 sec)

  1. 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)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    					log.Debugf("Switch selected namespace policy to %s.%s (%v)", cfg.Name, cfg.Namespace, cfg.CreationTimestamp)
    					namespaceCfg = cfg
    				}
    			}
    		} else if cfg.Namespace != rootNamespace {
    			if workloadCfg == nil || cfg.CreationTimestamp.Before(&workloadCfg.CreationTimestamp) {
    				log.Debugf("Switch selected workload policy to %s.%s (%v)", cfg.Name, cfg.Namespace, cfg.CreationTimestamp)
    				workloadCfg = cfg
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. 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)
  4. pilot/pkg/config/kube/gateway/testdata/mesh.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: consumer-override
      namespace: default
    spec:
      parentRefs:
      - group: ""
        kind: Service
        name: httpbin-apple
        namespace: apple
        port: 80
      rules:
      - backendRefs:
        - name: httpbin-apple
          namespace: apple
          port: 80
    ---
    apiVersion: gateway.networking.k8s.io/v1alpha2
    kind: TCPRoute
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 2.9K 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. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/http-route-attachment/gateway-namespaces.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: Gateway
    metadata:
      name: prod-gateway
      namespace: gateway-api-example-ns1
    spec:
      gatewayClassName: foo-lb
      listeners:
      - name: prod-web
        port: 80
        protocol: HTTP
        allowedRoutes:
          kinds:
          - kind: HTTPRoute
          namespaces:
            from: Selector
            selector:
              matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 446 bytes
    - Viewed (0)
  8. tests/integration/pilot/multi_version_revision_test.go

    				installRevisionOrFail(t, v, configs)
    
    				// create a namespace pointed to the revisioned control plane we just installed
    				rev := strings.ReplaceAll(v, ".", "-")
    				ns, err := namespace.New(t, namespace.Config{
    					Prefix:   fmt.Sprintf("revision-%s", rev),
    					Inject:   true,
    					Revision: rev,
    				})
    				if err != nil {
    					t.Fatalf("failed to created revisioned namespace: %v", err)
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top