Skip to content

Commit

Permalink
docs: fixed yaml format (#54)
Browse files Browse the repository at this point in the history
Signed-off-by: Kostis Kapelonis <[email protected]>
  • Loading branch information
kostis-codefresh authored Apr 26, 2024
1 parent 0de0634 commit b30ce3e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/features/header-based-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ An alternative method is to use HTTP headers that distinguish which clients conn
Here is an example of a rollout that uses headers
for the canary:

```yml
```yaml
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
Expand Down Expand Up @@ -101,7 +101,8 @@ spec:
- name: header-route2
plugins:
argoproj-labs/gatewayAPI:
namespace: default httpRoutes:
namespace: default
httpRoutes:
- name: http-route
useHeaderRoutes: true
- name: http-route2
Expand Down

0 comments on commit b30ce3e

Please sign in to comment.