Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NamespaceName (0.25 sec)

  1. tests/integration/security/testdata/authz/egress-gateway.yaml.tmpl

    apiVersion: networking.istio.io/v1beta1
    kind: VirtualService
    metadata:
      name: route-via-egressgateway-2
      namespace: {{ .From.NamespaceName }}
    spec:
      hosts:
        - "{{ .Allowed.ServiceName }}-{{ .Allowed.NamespaceName }}-only.com"
        - "jwt-only.com"
        - "jwt-and-{{ .Allowed.ServiceName }}-{{ .Allowed.NamespaceName }}-only.com"
      gateways:
        - test-egress
        - mesh
      http:
        - match:
            - gateways:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 31 15:08:52 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher.go

    		accessor, err := meta.Accessor(attr.GetObject())
    		if err != nil {
    			return nil, err
    		}
    		return accessor.GetLabels(), nil
    	}
    
    	namespaceName := attr.GetNamespace()
    	namespace, err := m.NamespaceLister.Get(namespaceName)
    	if err != nil && !apierrors.IsNotFound(err) {
    		return nil, err
    	}
    	if apierrors.IsNotFound(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 00:53:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/match/matchers.go

    			}
    		}
    		return false
    	}
    }
    
    // Namespace matches instances within the given namespace name.
    func Namespace(n namespace.Instance) Matcher {
    	return NamespaceName(n.Name())
    }
    
    // NamespaceName matches instances within the given namespace name.
    func NamespaceName(ns string) Matcher {
    	return func(i echo.Instance) bool {
    		return i.Config().Namespace.Name() == ns
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/instances.go

    type Instances []Instance
    
    func (i Instances) ServiceName() string {
    	return i.Config().Service
    }
    
    func (i Instances) NamespaceName() string {
    	return i.Config().NamespaceName()
    }
    
    func (i Instances) ServiceAccountName() string {
    	return i.Config().ServiceAccountName()
    }
    
    func (i Instances) ClusterLocalFQDN() string {
    	return i.Config().ClusterLocalFQDN()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 18:26:17 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/match/matchers_test.go

    	cfg := echo.Config(f)
    	_ = cfg.FillDefaults(nil)
    	return cfg
    }
    
    func (f fakeInstance) ServiceName() string {
    	return f.Config().Service
    }
    
    func (f fakeInstance) NamespaceName() string {
    	return f.Config().NamespaceName()
    }
    
    func (f fakeInstance) ServiceAccountName() string {
    	return f.Config().ServiceAccountName()
    }
    
    func (f fakeInstance) ClusterLocalFQDN() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. tests/integration/security/cacert_rotation/main_test.go

    	podID, err := getPodID(i)
    	if err != nil {
    		t.Fatalf("Could not get Pod ID: %v", err)
    	}
    	podName := fmt.Sprintf("%s.%s", podID, i.NamespaceName())
    	out, errOut, err := ctl.Invoke([]string{"pc", "s", podName, "-o", "json"})
    	if err != nil || errOut != "" {
    		t.Errorf("failed to retrieve pod secret from %s, err: %v errOut: %s", podName, err, errOut)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top