Skip to content

Commit

Permalink
Update loadbalancer ip pool schema to support ip range (#336)
Browse files Browse the repository at this point in the history
Commit 6eb114f add support
for ip ranges in k8sd config settings. However the helm
chart ck-loadbalancer schema validation is not updated.
Update ck-loadbalancer schema validation to validate ippool
against cidr or start/stop or both.
  • Loading branch information
hemanthnakkina authored Apr 17, 2024
1 parent e334cff commit 189cfce
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions k8s/components/charts/ck-loadbalancer/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,25 @@
"properties": {
"cidr": {
"type": "string"
},
"start": {
"type": "string"
},
"stop": {
"type": "string"
}
},
"required": ["cidr"]
}
]
}
},
"anyOf": [
{
"required": ["cidr"]
},
{
"required": ["start", "stop"]
}
]
}
]
}
},
"required": ["cidrs"]
},
Expand Down

0 comments on commit 189cfce

Please sign in to comment.