Files
cozystack/packages/apps/vm-disk/values.schema.json
Nick Volynkin f864b40a85 [apps] Use new OpenAPI schema and README generator for packages/apps
- clickhouse
- ferretdb
- http-cache
- kafka
- kubernetes
- mysql
- nats
- rabbitmq
- redis
- tcp-balancer
- vm-disk
- vm-instance
- vpn

Signed-off-by: Nick Volynkin <nick.volynkin@gmail.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2025-08-11 12:59:50 +03:00

67 lines
1.8 KiB
JSON

{
"title": "Chart Values",
"type": "object",
"properties": {
"optical": {
"description": "Defines if disk should be considered optical",
"type": "boolean",
"default": false
},
"source": {
"description": "The source image location used to create a disk",
"type": "object",
"default": {},
"properties": {
"http": {
"description": "Download image from an HTTP source",
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"description": "URL to download the image",
"type": "string"
}
}
},
"image": {
"description": "Use image by name: uploaded as \"golden image\" or from the list: `ubuntu`, `fedora`, `cirros`, `alpine`, and `talos`.",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of the image to use",
"type": "string"
}
}
},
"upload": {
"description": "Upload local image",
"type": "object"
}
}
},
"storage": {
"description": "The size of the disk allocated for the virtual machine",
"default": "5Gi",
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"x-kubernetes-int-or-string": true
},
"storageClass": {
"description": "StorageClass used to store the data",
"type": "string",
"default": "replicated"
}
}
}