mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-03-20 22:41:18 +00:00
* Add schema generation and remove default values * fix monitoring schema generation * fix default values Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"title": "Chart Values",
|
|
"type": "object",
|
|
"properties": {
|
|
"external": {
|
|
"type": "boolean",
|
|
"description": "Enable external access from outside the cluster",
|
|
"default": false
|
|
},
|
|
"running": {
|
|
"type": "boolean",
|
|
"description": "Determines if the virtual machine should be running",
|
|
"default": true
|
|
},
|
|
"password": {
|
|
"type": "string",
|
|
"description": "The default password for the virtual machine",
|
|
"default": "hackme"
|
|
},
|
|
"image": {
|
|
"type": "string",
|
|
"description": "The base image for the virtual machine. Allowed values: `ubuntu`, `cirros`, `alpine` and `fedora`",
|
|
"default": "ubuntu",
|
|
"enum": [
|
|
"ubuntu",
|
|
"cirros",
|
|
"alpine",
|
|
"fedora"
|
|
]
|
|
},
|
|
"disk": {
|
|
"type": "string",
|
|
"description": "The size of the disk allocated for the virtual machine",
|
|
"default": "5Gi"
|
|
},
|
|
"resources": {
|
|
"type": "object",
|
|
"properties": {
|
|
"cpu": {
|
|
"type": "number",
|
|
"description": "The number of CPU cores allocated to the virtual machine",
|
|
"default": 1
|
|
},
|
|
"memory": {
|
|
"type": "string",
|
|
"description": "The amount of memory allocated to the virtual machine",
|
|
"default": "1024M",
|
|
"x-display": "slider"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|