Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NotHosts (0.1 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    func handleRule(action security.Action, rule *v1beta1.Rule) []*security.Rules {
    	toMatches := []*security.Match{}
    	for _, to := range rule.To {
    		op := to.Operation
    		if action == security.Action_ALLOW && anyNonEmpty(op.Hosts, op.NotHosts, op.Methods, op.NotMethods, op.Paths, op.NotPaths) {
    			// L7 policies never match for ALLOW
    			// For DENY they will always match, so it is more restrictive
    			return nil
    		}
    		match := &security.Match{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top