Skip to content

Commit

Permalink
Fix Host:Port Matching issue. (#425)
Browse files Browse the repository at this point in the history
ACLs sharing the same name
It is possible to use the same <aclname> for many ACLs, even if they don’t have the same matching criterion A logical OR applies between all of them
https://www.haproxy.com/doc/aloha/7.0/haproxy/acls.html#acls-sharing-the-same-name

For standered port
```
acl host_acl_rebecka hdr(host) -i test.appscode.dev
acl host_acl_rebecka hdr(host) -i test.appscode.dev:80
```
For Specified port
```
acl host_acl_yara hdr(host) -i ex.appscode.dev:32000
```
  • Loading branch information
sadlil authored and tamalsaha committed Aug 28, 2017
1 parent efc944c commit 5b5828b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/validator_test.go
Expand Up @@ -5,8 +5,8 @@ import (
"testing"

"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/intstr"
)

Expand Down

0 comments on commit 5b5828b

Please sign in to comment.