mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
219 lines
5.5 KiB
JSON
219 lines
5.5 KiB
JSON
{
|
|
"title": "Chart Values",
|
|
"type": "object",
|
|
"properties": {
|
|
"cloudInit": {
|
|
"description": "Cloud-init user data.",
|
|
"type": "string",
|
|
"default": ""
|
|
},
|
|
"cloudInitSeed": {
|
|
"description": "Seed string to generate SMBIOS UUID for the VM.",
|
|
"type": "string",
|
|
"default": ""
|
|
},
|
|
"external": {
|
|
"description": "Enable external access from outside the cluster.",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"externalMethod": {
|
|
"description": "Method to pass through traffic to the VM.",
|
|
"type": "string",
|
|
"default": "PortList",
|
|
"enum": [
|
|
"PortList",
|
|
"WholeIP"
|
|
]
|
|
},
|
|
"externalPorts": {
|
|
"description": "Ports to forward from outside the cluster.",
|
|
"type": "array",
|
|
"default": [
|
|
22
|
|
],
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"gpus": {
|
|
"description": "List of GPUs to attach.",
|
|
"type": "array",
|
|
"default": [],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"description": "The name of the GPU resource to attach.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"instanceProfile": {
|
|
"description": "Virtual Machine preferences profile.",
|
|
"type": "string",
|
|
"default": "ubuntu",
|
|
"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": {
|
|
"description": "Virtual Machine instance type.",
|
|
"type": "string",
|
|
"default": "u1.medium"
|
|
},
|
|
"resources": {
|
|
"description": "Resource configuration for the virtual machine.",
|
|
"type": "object",
|
|
"default": {},
|
|
"properties": {
|
|
"cpu": {
|
|
"description": "Number of CPU cores allocated.",
|
|
"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
|
|
},
|
|
"memory": {
|
|
"description": "Amount of memory allocated.",
|
|
"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
|
|
},
|
|
"sockets": {
|
|
"description": "Number of CPU sockets (vCPU topology).",
|
|
"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
|
|
}
|
|
}
|
|
},
|
|
"running": {
|
|
"description": "Whether the virtual machine should be running.",
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"sshKeys": {
|
|
"description": "List of SSH public keys for authentication.",
|
|
"type": "array",
|
|
"default": [],
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"subnets": {
|
|
"description": "Additional subnets",
|
|
"type": "array",
|
|
"default": [],
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"description": "Subnet name",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"systemDisk": {
|
|
"description": "System disk configuration.",
|
|
"type": "object",
|
|
"default": {},
|
|
"required": [
|
|
"image",
|
|
"storage"
|
|
],
|
|
"properties": {
|
|
"image": {
|
|
"description": "The base image for the virtual machine.",
|
|
"type": "string",
|
|
"default": "ubuntu",
|
|
"enum": [
|
|
"ubuntu",
|
|
"cirros",
|
|
"alpine",
|
|
"fedora",
|
|
"talos"
|
|
]
|
|
},
|
|
"storage": {
|
|
"description": "The size of the disk allocated for the virtual machine.",
|
|
"type": "string",
|
|
"default": "5Gi"
|
|
},
|
|
"storageClass": {
|
|
"description": "StorageClass used to store the data.",
|
|
"type": "string",
|
|
"default": "replicated"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|