Skip to content

Commit 6712329

Browse files
NickMRamirezoktalz
authored andcommitted
DOC: Generalizes the 'backend-config-snippet' example
1 parent 7a0774c commit 6712329

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

documentation/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -594,13 +594,13 @@ Possible values:
594594

595595
- One or more valid HAProxy directives
596596

597-
Example (service):
597+
Example:
598598

599599
```yaml
600600
backend-config-snippet: |
601-
http-send-name-header x-dst-server
602-
stick-table type string len 32 size 100k expire 30m
603-
stick on req.cook(sessionid)
601+
http-send-name-header x-dst-server
602+
stick-table type string len 32 size 100k expire 30m
603+
stick on req.cook(sessionid)
604604
```
605605

606606
<p align='right'><a href='#available-annotations'>:arrow_up_small: back to top</a></p>

documentation/doc.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -771,11 +771,12 @@ annotations:
771771
- ingress
772772
- service
773773
version_min: "1.5"
774-
example_service: |-
774+
example:
775+
- |-
775776
backend-config-snippet: |
776-
http-send-name-header x-dst-server
777-
stick-table type string len 32 size 100k expire 30m
778-
stick on req.cook(sessionid)
777+
http-send-name-header x-dst-server
778+
stick-table type string len 32 size 100k expire 30m
779+
stick on req.cook(sessionid)
779780
- title: cookie-persistence
780781
type: string
781782
group: cookie-persistence

0 commit comments

Comments
 (0)