Skip to content

Commit

Permalink
Fix schema for calico BGP asNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia1243 committed Jan 19, 2023
1 parent 2d117b2 commit 2f554fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubemarine/resources/schemas/definitions/plugins/calico.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"description": "Enable announces of ClusterIP services CIDR through BGP"
},
"defaultAsNumber": {
"type": "integer",
"type": ["string", "integer"],
"default": 64512,
"description": "AS Number to be used by default for this cluster"
},
Expand All @@ -52,7 +52,7 @@
"type": "object",
"properties": {
"ip": {"type": "string"},
"as": {"type": "string"}
"as": {"type": ["string", "integer"]}
},
"required": ["ip", "as"],
"additionalProperties": false
Expand Down

0 comments on commit 2f554fd

Please sign in to comment.