mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 02:18:36 +00:00
Workaround for #1299. If a Cozystack installation provides custom instance types for virtual machines, the static validation rules prevent such instance types from being used, as they are included in the OpenAPI schema of the Cozystack API server and then once more applied in the dependent HelmRelease, offering users no easy way to remedy this in runtime. [virtual-machine] Disable instanceType validation to enable using custom instance types. Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
141 lines
3.6 KiB
JSON
141 lines
3.6 KiB
JSON
{
|
|
"properties": {
|
|
"cloudInit": {
|
|
"default": "",
|
|
"description": "cloud-init user data config. See cloud-init documentation for more details.",
|
|
"type": "string"
|
|
},
|
|
"cloudInitSeed": {
|
|
"default": "",
|
|
"description": "A seed string to generate an SMBIOS UUID for the VM.",
|
|
"type": "string"
|
|
},
|
|
"disks": {
|
|
"default": [],
|
|
"description": "List of disks to attach",
|
|
"items": {
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"external": {
|
|
"default": false,
|
|
"description": "Enable external access from outside the cluster",
|
|
"type": "boolean"
|
|
},
|
|
"externalMethod": {
|
|
"default": "PortList",
|
|
"description": "specify method to passthrough the traffic to the virtual machine. Allowed values: `WholeIP` and `PortList`",
|
|
"type": "string",
|
|
"enum": [
|
|
"PortList",
|
|
"WholeIP"
|
|
]
|
|
},
|
|
"externalPorts": {
|
|
"default": [],
|
|
"description": "Specify ports to forward from outside the cluster",
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"gpus": {
|
|
"default": [],
|
|
"description": "List of GPUs to attach",
|
|
"items": {
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"instanceProfile": {
|
|
"default": "ubuntu",
|
|
"description": "Virtual Machine preferences profile",
|
|
"type": "string",
|
|
"enum": [
|
|
"alpine",
|
|
"centos.7",
|
|
"centos.7.desktop",
|
|
"centos.stream10",
|
|
"centos.stream10.desktop",
|
|
"centos.stream8",
|
|
"centos.stream8.desktop",
|
|
"centos.stream8.dpdk",
|
|
"centos.stream9",
|
|
"centos.stream9.desktop",
|
|
"centos.stream9.dpdk",
|
|
"cirros",
|
|
"fedora",
|
|
"fedora.arm64",
|
|
"opensuse.leap",
|
|
"opensuse.tumbleweed",
|
|
"rhel.10",
|
|
"rhel.10.arm64",
|
|
"rhel.7",
|
|
"rhel.7.desktop",
|
|
"rhel.8",
|
|
"rhel.8.desktop",
|
|
"rhel.8.dpdk",
|
|
"rhel.9",
|
|
"rhel.9.arm64",
|
|
"rhel.9.desktop",
|
|
"rhel.9.dpdk",
|
|
"rhel.9.realtime",
|
|
"sles",
|
|
"ubuntu",
|
|
"windows.10",
|
|
"windows.10.virtio",
|
|
"windows.11",
|
|
"windows.11.virtio",
|
|
"windows.2k16",
|
|
"windows.2k16.virtio",
|
|
"windows.2k19",
|
|
"windows.2k19.virtio",
|
|
"windows.2k22",
|
|
"windows.2k22.virtio",
|
|
"windows.2k25",
|
|
"windows.2k25.virtio",
|
|
""
|
|
]
|
|
},
|
|
"instanceType": {
|
|
"default": "u1.medium",
|
|
"description": "Virtual Machine instance type",
|
|
"type": "string"
|
|
},
|
|
"resources": {
|
|
"properties": {
|
|
"cpu": {
|
|
"default": "",
|
|
"description": "The number of CPU cores allocated to the virtual machine",
|
|
"type": "string"
|
|
},
|
|
"memory": {
|
|
"default": "",
|
|
"description": "The amount of memory allocated to the virtual machine",
|
|
"type": "string"
|
|
},
|
|
"sockets": {
|
|
"default": "",
|
|
"description": "The number of CPU sockets allocated to the virtual machine (used to define vCPU topology)",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"running": {
|
|
"default": true,
|
|
"description": "Determines if the virtual machine should be running",
|
|
"type": "boolean"
|
|
},
|
|
"sshKeys": {
|
|
"default": [],
|
|
"description": "List of SSH public keys for authentication. Can be a single key or a list of keys.",
|
|
"items": {},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"title": "Chart Values",
|
|
"type": "object"
|
|
}
|