Skip to content

Commit cd86aa5

Browse files
committed
DOC: update frontend-config-snippet
1 parent 0abdc6d commit cd86aa5

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

documentation/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,11 +545,16 @@ global-config-snippet: |
545545

546546
##### `frontend-config-snippet`
547547

548-
Defines a group of configuration directives to insert in the main HTTP/HTTPS frontends.</br>
549-
Configuration/rules generated by Ingress Controller are inserted before config-snippet configuration so controller configuration will **take precedence**.
548+
Defines a group of configuration directives to insert in the main HTTP/HTTPS frontends.
550549

551550
Available on: `configmap`
552551

552+
:information_source: Because frontend-config-snippet is inserted in the main http/https frontends it will apply to all traffic. To apply configuration by Ingress, annotations should be privileged.
553+
554+
:information_source: Ingress Controller logic is inserted in the main frontends before any config-snippet configuration so controller configuration will be **evaluated first**.
555+
556+
:information_source: It is safer to privilege [backend-config-snippet](#backend-config-snippet) when possible to avoid conflicts with controller configuration.
557+
553558
Possible values:
554559

555560
- One or more valid HAProxy directives

documentation/doc.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -723,10 +723,12 @@ annotations:
723723
group: config-snippet
724724
dependencies: ""
725725
default: ""
726-
description:
727-
- Defines a group of configuration directives to insert in the main HTTP/HTTPS frontends.</br>
728-
- Configuration/rules generated by Ingress Controller are inserted before config-snippet configuration so controller configuration will **take precedence**.
729-
tip: []
726+
description:
727+
- Defines a group of configuration directives to insert in the main HTTP/HTTPS frontends.
728+
tip:
729+
- Because frontend-config-snippet is inserted in the main http/https frontends it will apply to all traffic. To apply configuration by Ingress, annotations should be privileged.
730+
- Ingress Controller logic is inserted in the main frontends before any config-snippet configuration so controller configuration will be **evaluated first**.
731+
- It is safer to privilege [backend-config-snippet](#backend-config-snippet) when possible to avoid conflicts with controller configuration.
730732
values:
731733
- One or more valid HAProxy directives
732734
applies_to:

0 commit comments

Comments
 (0)