mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
##
|
|
## @section Common parameters
|
|
##
|
|
|
|
## @typedef {struct} SourceImage - Use image by name.
|
|
## @field {string} name - Name of the image to use (uploaded as "golden image" or from the list: `ubuntu`, `fedora`, `cirros`, `alpine`, `talos`).
|
|
|
|
## @typedef {struct} SourceUpload - Upload local image.
|
|
|
|
## @typedef {struct} SourceHTTP - Download image from an HTTP source.
|
|
## @field {string} url - URL to download the image.
|
|
|
|
## @typedef {struct} Source - The source image location used to create a disk.
|
|
## @field {*SourceImage} [image] - Use image by name.
|
|
## @field {*SourceUpload} [upload] - Upload local image.
|
|
## @field {*SourceHTTP} [http] - Download image from an HTTP source.
|
|
|
|
## @param {Source} source - The source image location used to create a disk.
|
|
source: {}
|
|
|
|
## @param {bool} optical - Defines if disk should be considered optical.
|
|
optical: false
|
|
|
|
## @param {quantity} storage - The size of the disk allocated for the virtual machine.
|
|
storage: 5Gi
|
|
|
|
## @param {string} storageClass - StorageClass used to store the data.
|
|
storageClass: replicated
|