Skip to content

Commit

Permalink
docs: update kong.yaml to include new properties
Browse files Browse the repository at this point in the history
decK doesn't inject defaults for these properties as a user could be
running a version of Kong which doesn't include these properties.

In future, as Kong Ingress Controller does, these properties could be
auto-magically inserted based on the version of Kong and Kong
Enterprise.
  • Loading branch information
hbagdi authored and Travis Raines committed Apr 21, 2021
1 parent 00f7fe2 commit 0c3335d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kong.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,29 @@ services:
- team-svc1
routes:
- name: r1
https_redirect_status_code: 301
paths:
- /r1
- name: svc2
host: mockbin.org
routes:
- name: r2
https_redirect_status_code: 301
paths:
- /r2
- name: svc3
host: mockbin.org
port: 80
routes:
- name: r3
https_redirect_status_code: 301
paths:
- /r3
methods:
- GET
upstreams:
- name: upstream1
algorithm: round-robin
targets:
- target: 198.51.100.11:80
- target: 198.51.100.12:80
Expand Down

0 comments on commit 0c3335d

Please sign in to comment.