Skip to content

Commit

Permalink
Add storage capacity as UI input
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Davidson committed Aug 16, 2023
1 parent 6ff610f commit 3558a75
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
8 changes: 8 additions & 0 deletions slurm-cluster-chart/azimuth-ui.shema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
controls:
# Render fields with units controls
/storage/capacity:
type: NumberWithUnitsControl
units: Gi
minimum: 1
step: 1
displayUnits: GB
14 changes: 13 additions & 1 deletion slurm-cluster-chart/values.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {}
"properties": {
"storage": {
"type": "object",
"properties": {
"capacity": {
"type": "string",
"title": "Shared cluster storage",
"description": "The capacity of the storage volume shared across the Slurm cluster nodes. \nThis is dynamically allocated from the tenancy quota.",
"pattern": "^[1-9][0-9]*Gi$",
"default": "10Gi" }
},
}
}
}

0 comments on commit 3558a75

Please sign in to comment.