Skip to content

Commit

Permalink
MINOR: specification: add mode to consul service discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
rmaticevic committed Sep 21, 2023
1 parent 75cda9c commit 23efe06
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 2 deletions.
50 changes: 50 additions & 0 deletions models/consul.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions models/consul_compare.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions models/consul_compare_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions specification/build/haproxy_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9397,6 +9397,12 @@ definitions:
pattern: ^[^\s]+$
type: string
x-nullable: true
mode:
default: http
enum:
- http
- https
type: string
name:
type: string
namespace:
Expand Down
4 changes: 4 additions & 0 deletions specification/models/service-discovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ consul:
type: integer
minimum: 1
maximum: 65535
mode:
type: string
enum: [http, https]
default: http
token:
type: string
pattern: '^[^\s]+$'
Expand Down

0 comments on commit 23efe06

Please sign in to comment.