Skip to content

Commit

Permalink
deploy: add threshold property to KongIngress resource
Browse files Browse the repository at this point in the history
This new property was introduced in Kong 2.0.
  • Loading branch information
hbagdi committed Mar 20, 2020
1 parent 60b3e92 commit bec0c00
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions deploy/manifests/base/custom-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ spec:
healthchecks:
type: object
properties:
threshold:
type: integer
active:
type: object
properties:
Expand Down
2 changes: 2 additions & 0 deletions deploy/single/all-in-one-dbless-k4k8s-enterprise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ spec:
type: integer
type: object
type: object
threshold:
type: integer
type: object
host_header:
type: string
Expand Down
2 changes: 2 additions & 0 deletions deploy/single/all-in-one-dbless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ spec:
type: integer
type: object
type: object
threshold:
type: integer
type: object
host_header:
type: string
Expand Down
2 changes: 2 additions & 0 deletions deploy/single/all-in-one-postgres-enterprise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ spec:
type: integer
type: object
type: object
threshold:
type: integer
type: object
host_header:
type: string
Expand Down
2 changes: 2 additions & 0 deletions deploy/single/all-in-one-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ spec:
type: integer
type: object
type: object
threshold:
type: integer
type: object
host_header:
type: string
Expand Down
3 changes: 2 additions & 1 deletion docs/references/custom-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,11 @@ kind: KongIngress
metadata:
name: configuration-demo
upstream:
slots: 10
hash_on: none
hash_fallback: none
healthchecks:
threshold: 25
active:
concurrency: 10
healthy:
Expand Down Expand Up @@ -202,7 +204,6 @@ upstream:
- 503
tcp_failures: 0
timeouts: 0
slots: 10
proxy:
protocol: http
path: /
Expand Down
2 changes: 2 additions & 0 deletions hack/dev-env/dev-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ spec:
healthchecks:
type: object
properties:
threshold:
type: integer
active:
type: object
properties:
Expand Down

0 comments on commit bec0c00

Please sign in to comment.