mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-03 18:47:04 +09:00
Mark fields that reference cluster resources with the x-cozystack-options vendor keyword so the dashboard renders them as dynamic dropdowns: GPU, instanceType, instanceProfile, network (vm-instance), GPU/ instanceType (kubernetes nodeGroups), image (vm-disk), storagePool (bucket), storageClass (all apps) and disks[].name (vm-instance). Drop the stale static instanceProfile enum. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Andrei Kvapil <andrei.kvapil@aenix.io>
34 lines
815 B
JSON
34 lines
815 B
JSON
{
|
|
"title": "Chart Values",
|
|
"type": "object",
|
|
"properties": {
|
|
"locking": {
|
|
"description": "Provisions bucket from the `-lock` BucketClass (with object lock enabled).",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"storagePool": {
|
|
"description": "Selects a specific BucketClass by storage pool name.",
|
|
"type": "string",
|
|
"default": "",
|
|
"x-cozystack-options": {
|
|
"source": "storagepool"
|
|
}
|
|
},
|
|
"users": {
|
|
"description": "Users configuration map.",
|
|
"type": "object",
|
|
"default": {},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"readonly": {
|
|
"description": "Whether the user has read-only access.",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|