All checks were successful
Update default configuration to use Ubuntu 24.04 LTS template and configure LINSTOR as the storage backend for improved reliability and performance.
49 lines
1.2 KiB
Text
49 lines
1.2 KiB
Text
# Copy this file to terraform.tfvars and fill in your values
|
|
|
|
# Proxmox Configuration
|
|
proxmox_api_url = "https://192.168.100.10:8006/api2/json"
|
|
proxmox_token_id = "root@pam!terraform"
|
|
proxmox_token_secret = "your-proxmox-token-secret"
|
|
proxmox_tls_insecure = true
|
|
|
|
# SSH Access
|
|
ssh_public_key = "ssh-ed25519 AAAAC3... your-email@example.com"
|
|
|
|
# Forgejo Configuration
|
|
forgejo_token = "your-forgejo-token"
|
|
forgejo_repo_url = "ssh://git@forgejo.tellserv.fr:222/Tellsanguis/infra.git"
|
|
|
|
# K3s Version
|
|
k3s_version = "v1.28.5+k3s1"
|
|
|
|
# Template and Storage
|
|
ubuntu_template = "ubuntu-2404-cloudinit"
|
|
storage_pool = "linstor_storage"
|
|
snippets_storage = "local"
|
|
|
|
# Network
|
|
k3s_network_bridge = "k3s"
|
|
k3s_gateway = "10.100.20.1"
|
|
k3s_dns = ["10.100.20.1", "1.1.1.1"]
|
|
|
|
# VM Configurations
|
|
k3s_server_1_config = {
|
|
ip = "10.100.20.10/24"
|
|
cores = 6
|
|
memory = 12288
|
|
disk_size = "100G"
|
|
}
|
|
|
|
k3s_server_2_config = {
|
|
ip = "10.100.20.20/24"
|
|
cores = 6
|
|
memory = 12288
|
|
disk_size = "100G"
|
|
}
|
|
|
|
etcd_witness_config = {
|
|
ip = "10.100.20.30/24"
|
|
cores = 2
|
|
memory = 2048
|
|
disk_size = "20G"
|
|
}
|