feat: Create nodes from templates
This commit is contained in:
parent
8f7e83d818
commit
2dcd54fe4b
13 changed files with 230 additions and 143 deletions
|
|
@ -1,20 +1,23 @@
|
|||
variable "node" {
|
||||
description = "Virtual node configuration"
|
||||
description = "Basic configuration for the Talos node"
|
||||
type = object({
|
||||
id = number
|
||||
name = string
|
||||
ipv4_address = string
|
||||
ipv4_gateway = string
|
||||
cpu = number
|
||||
memory = number
|
||||
disk = string
|
||||
storagepool = string
|
||||
talos_version = string
|
||||
cluster_name = string
|
||||
kubernetes_version = string
|
||||
cluster_endpoint = string
|
||||
proxmox_node = string
|
||||
controlplane_addresses = list(string)
|
||||
worker_addresses = list(string)
|
||||
id = number
|
||||
name = string
|
||||
ipv4_address = string
|
||||
ipv4_gateway = string
|
||||
cpu = number
|
||||
memory = number
|
||||
disk = string
|
||||
storagepool = string
|
||||
talos_version = string
|
||||
cluster_name = string
|
||||
kubernetes_version = string
|
||||
cluster_endpoint = string
|
||||
proxmox_node = string
|
||||
})
|
||||
}
|
||||
variable "pvc_disks" {
|
||||
description = "List of extra disks to attach to the node"
|
||||
type = list(number)
|
||||
default = []
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue