Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BackendAllowed (0.14 sec)

  1. pilot/pkg/config/kube/gateway/model.go

    	allow := refs[from][to]
    	if allow == nil {
    		return false
    	}
    	return allow.AllowAll || allow.AllowedNames.Contains(p.Name)
    }
    
    func (refs AllowedReferences) BackendAllowed(
    	k config.GroupVersionKind,
    	backendName k8s.ObjectName,
    	backendNamespace k8s.Namespace,
    	routeNamespace string,
    ) bool {
    	from := Reference{Kind: k, Namespace: k8s.Namespace(routeNamespace)}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:09 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/conversion.go

    	// check if the reference is allowed
    	if enforceRefGrant {
    		refs := ctx.AllowedReferences
    		if toNs := to.Namespace; toNs != nil && string(*toNs) != ns {
    			if !refs.BackendAllowed(k, to.Name, *toNs, ns) {
    				return &istio.Destination{}, &ConfigError{
    					Reason:  InvalidDestinationPermit,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top