Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,724 for namespace1 (0.17 sec)

  1. tests/integration/security/main_test.go

    `
    		})).
    		// Create namespaces first. This way, echo can correctly configure egress to all namespaces.
    		SetupParallel(
    			namespace.Setup(&echo1NS, namespace.Config{Prefix: "echo1", Inject: true}),
    			namespace.Setup(&echo2NS, namespace.Config{Prefix: "echo2", Inject: true}),
    			namespace.Setup(&externalNS, namespace.Config{Prefix: "external", Inject: false}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. plugin/pkg/admission/namespace/exists/admission_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name:            ns,
    					ResourceVersion: fmt.Sprintf("%d", i),
    				},
    			})
    		}
    		return true, namespaceList, nil
    	})
    	return mockClient
    }
    
    // newPod returns a new pod for the specified namespace
    func newPod(namespace string) api.Pod {
    	return api.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace},
    		Spec: api.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/testdata/tls.yaml

        port: 34000
        protocol: HTTPS
        allowedRoutes:
          namespaces:
            from: All
        tls:
          mode: Terminate
          options:
            gateway.istio.io/tls-terminate-mode: ISTIO_MUTUAL
    ---
    apiVersion: gateway.networking.k8s.io/v1alpha2
    kind: TLSRoute
    metadata:
      name: tls
      namespace: default
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
      rules:
      - backendRefs:
        - name: httpbin
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 20:54:36 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. tests/integration/pilot/cross_revision_test.go

    		RequiresSingleCluster().
    		RequiresLocalControlPlane().
    		Run(func(t framework.TestContext) {
    			namespaces := make([]revisionedNamespace, 0, len(extraRevs))
    			for _, rev := range extraRevs {
    				namespaces = append(namespaces, revisionedNamespace{
    					revision: rev,
    					namespace: namespace.NewOrFail(t, t, namespace.Config{
    						Prefix:   fmt.Sprintf("revision-%s", rev),
    						Inject:   true,
    						Revision: rev,
    					}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission_test.go

    	}
    	if getCalls != 0 {
    		t.Errorf("Expected no live lookups of the namespace, got %d", getCalls)
    	}
    	getCalls = 0
    
    	// verify delete of namespace can proceed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/gen/cpp/renderers/namespace_renderer.cc

           it != context_.cpp_config.namespaces.rend(); ++it) {
        CodeLine("}  // namespace " + *it);
      }
    }
    
    }  // namespace cpp
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/controller.go

    		c.state = IstioResources{}
    		return nil
    	}
    
    	nsl := c.namespaces.List("", klabels.Everything())
    	namespaces := make(map[string]*corev1.Namespace, len(nsl))
    	for _, ns := range nsl {
    		namespaces[ns.Name] = ns
    	}
    	input.Namespaces = namespaces
    
    	if c.credentialsController != nil {
    		credentials, err := c.credentialsController.ForCluster(c.cluster)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. plugin/pkg/admission/namespace/autoprovision/admission_test.go

    		t.Errorf("unexpected create namespace action")
    	}
    }
    
    func TestAdmissionWithLatentCache(t *testing.T) {
    	namespace := "test"
    	mockClient := newMockClientForTest([]string{})
    	mockClient.AddReactor("create", "namespaces", func(action core.Action) (bool, runtime.Object, error) {
    		return true, nil, errors.NewAlreadyExists(api.Resource("namespaces"), namespace)
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. pkg/controlplane/controller/systemnamespaces/system_namespaces_controller_test.go

    				{"create", "namespaces"},
    				{"create", "namespaces"},
    				{"create", "namespaces"},
    				{"create", "namespaces"},
    			},
    		},
    		{
    			name:       "one system namespace",
    			namespaces: []string{metav1.NamespaceSystem},
    			actions: [][]string{
    				{"create", "namespaces"},
    				{"create", "namespaces"},
    				{"create", "namespaces"},
    			},
    		},
    		{
    			name:       "two system namespaces",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. pkg/controlplane/controller/systemnamespaces/system_namespaces_controller.go

    		// the namespace already exists
    		return nil
    	}
    	newNs := &v1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      ns,
    			Namespace: "",
    		},
    	}
    	_, err := c.client.CoreV1().Namespaces().Create(context.TODO(), newNs, metav1.CreateOptions{})
    	if err != nil && errors.IsAlreadyExists(err) {
    		err = nil
    	}
    	return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top