Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 6,087 for namespace1 (0.7 sec)

  1. pkg/config/analysis/analyzers/testdata/authorizationpolicies.yaml

    metadata:
      name: httpbin-bogus-ns # Invalid: there is one source namespace expr that doesn't match any namespace
      namespace: httpbin
    spec:
      selector:
        matchLabels:
          app: httpbin
          version: v1
      rules:
        - from:
            - source:
                principals: ["cluster.local/ns/default/sa/sleep"]
            - source:
                namespaces:
                  - "prod-*"
                  - "*-test"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 08 14:14:46 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. istioctl/pkg/waypoint/waypoint.go

    }
    
    func getNamespace(kubeClient kube.CLIClient, ns string) (*corev1.Namespace, error) {
    	nsObj, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.Background(), ns, metav1.GetOptions{})
    	if errors.IsNotFound(err) {
    		return nil, fmt.Errorf("namespace: %s not found", ns)
    	} else if err != nil {
    		return nil, fmt.Errorf("failed to get namespace %s: %v", ns, err)
    	}
    	return nsObj, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/common/deployment/echos.go

    	NamespaceCount int
    
    	// Namespaces is the user-provided list of echo namespaces. If empty, NamespaceCount
    	// namespaces will be generated.
    	Namespaces []namespace.Getter
    
    	// NoExternalNamespace if true, no external namespace will be generated and no external echo
    	// instance will be deployed. Ignored if ExternalNamespace is non-nil.
    	NoExternalNamespace bool
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. pkg/registry/core/namespace/strategy_test.go

    		t.Errorf("Invalid namespace, default label was not added")
    	}
    }
    
    func TestNamespaceStatusStrategy(t *testing.T) {
    	ctx := genericapirequest.NewDefaultContext()
    	if StatusStrategy.NamespaceScoped() {
    		t.Errorf("Namespaces should not be namespace scoped")
    	}
    	if StatusStrategy.AllowCreateOnUpdate() {
    		t.Errorf("Namespaces should not allow create on update")
    	}
    	now := metav1.Now()
    	oldNamespace := &api.Namespace{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 07 08:51:17 UTC 2021
    - 6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. tests/integration/security/policy_attachment_only/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(&serverNS, namespace.Config{Prefix: "servers", Inject: true}),
    		).
    		SetupParallel(
    			jwt.Setup(&jwtServer, namespace.Future(&serverNS)),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 01:47:52 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top