Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 16s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 2m23s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 2m35s
CD - Deploy Infrastructure / Deploy on pve3 (push) Failing after 10s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
LINSTOR ne supporte pas le clonage de VMs (ni full ni linked clone). Solution: utiliser local-lvm pour les disques des VMs. - Ajout variables k3s_server_X_storage_pool avec default local-lvm - Mise à jour du workflow deploy.yml - Retour à full_clone = true
90 lines
1.9 KiB
HCL
90 lines
1.9 KiB
HCL
variable "proxmox_api_url" {
|
|
description = "Proxmox API URL"
|
|
type = string
|
|
default = "https://192.168.100.10:8006/api2/json"
|
|
}
|
|
|
|
variable "proxmox_token_id" {
|
|
description = "Proxmox API Token ID"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "proxmox_token_secret" {
|
|
description = "Proxmox API Token Secret"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "proxmox_tls_insecure" {
|
|
description = "Skip TLS verification for Proxmox API"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "ssh_public_key" {
|
|
description = "SSH public key for admin access"
|
|
type = string
|
|
}
|
|
|
|
variable "forgejo_token" {
|
|
description = "Forgejo token for ansible-pull authentication"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "forgejo_repo_url" {
|
|
description = "Forgejo repository URL (without credentials)"
|
|
type = string
|
|
}
|
|
|
|
variable "k3s_version" {
|
|
description = "K3s version to install"
|
|
type = string
|
|
}
|
|
|
|
variable "ubuntu_template" {
|
|
description = "Ubuntu cloud-init template name"
|
|
type = string
|
|
}
|
|
|
|
variable "storage_pool" {
|
|
description = "Proxmox storage pool for VM disks"
|
|
type = string
|
|
}
|
|
|
|
variable "k3s_server_2_storage_pool" {
|
|
description = "Storage pool for k3s-server-2 disk (use local-lvm since template must be local)"
|
|
type = string
|
|
default = "local-lvm"
|
|
}
|
|
|
|
variable "snippets_storage" {
|
|
description = "Proxmox storage for cloud-init snippets"
|
|
type = string
|
|
}
|
|
|
|
variable "k3s_network_bridge" {
|
|
description = "SDN bridge for K3s VMs"
|
|
type = string
|
|
}
|
|
|
|
variable "k3s_gateway" {
|
|
description = "Gateway for K3s network"
|
|
type = string
|
|
}
|
|
|
|
variable "k3s_dns" {
|
|
description = "DNS servers for K3s network"
|
|
type = list(string)
|
|
}
|
|
|
|
variable "k3s_server_2_config" {
|
|
description = "K3s server-2 VM configuration"
|
|
type = object({
|
|
ip = string
|
|
cores = number
|
|
memory = number
|
|
disk_size = string
|
|
})
|
|
}
|