Skip to content

Commit 6ddc870

Browse files
hdurand0710oktalz
authored andcommitted
DOC: document incompatibilty between route-acl annotation and multiple matches path in Ingress
1 parent 302a139 commit 6ddc870

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

documentation/annotations.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,6 +1451,11 @@ haproxy.org/response-set-header: |
14511451

14521452
:information_source: In order for the service to be handled by the Ingress Controller, it is still mandatory to put it in an ingress rule. Using only `route-acl` won't be enough.
14531453

1454+
:information_source: Note that this annotation is not compatible with an Ingress having multiple paths that will match a request.
1455+
Without this annotation, the precedence is given first to the longest matching path.
1456+
But with the annotation, the first use_backend rule in the config that matches the request will be used.
1457+
1458+
14541459
Possible values:
14551460

14561461
- A string describing an in-line [HAProxy ACL](https://www.haproxy.com/blog/introduction-to-haproxy-acls/).

documentation/doc.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,6 +1383,10 @@ annotations:
13831383
- Insert a custom route (use_backend rule) to route ingress traffic to the annotated service based on the provided ACL.
13841384
tip:
13851385
- In order for the service to be handled by the Ingress Controller, it is still mandatory to put it in an ingress rule. Using only `route-acl` won't be enough.
1386+
- |
1387+
Note that this annotation is not compatible with an Ingress having multiple paths that will match a request.
1388+
Without this annotation, the precedence is given first to the longest matching path.
1389+
But with the annotation, the first use_backend rule in the config that matches the request will be used.
13861390
values:
13871391
- A string describing an in-line [HAProxy ACL](https://www.haproxy.com/blog/introduction-to-haproxy-acls/).
13881392
applies_to:

0 commit comments

Comments
 (0)