From 0c3335da66074b2609027f3a3642ea6bb4688bb4 Mon Sep 17 00:00:00 2001 From: Harry Bagdi Date: Thu, 26 Sep 2019 09:49:18 -0700 Subject: [PATCH] docs: update kong.yaml to include new properties 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. --- kong.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kong.yaml b/kong.yaml index 542b86e2d..1310487c0 100644 --- a/kong.yaml +++ b/kong.yaml @@ -9,12 +9,14 @@ 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 @@ -22,12 +24,14 @@ services: 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