Skip to content

Commit

Permalink
Fix port number schema's (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jan 20, 2021
1 parent c89d521 commit 744441c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@
},
"ingress_port": {
"default": 8099,
"type": "integer"
"type": "integer",
"minimum": 0,
"maximum": 65535
},
"init": {
"default": true,
Expand Down Expand Up @@ -161,7 +163,10 @@
},
"ports": {
"additionalProperties": {
"type": "integer"
"anyOf": [
{ "type": "integer", "minimum": 1, "maximum": 65535 },
{ "type": "null" }
]
},
"type": "object"
},
Expand Down

0 comments on commit 744441c

Please sign in to comment.