Update secrets/proxmox.secrets.tfvars

This commit is contained in:
2025-10-23 07:41:14 +00:00
parent a7f3b6d7e1
commit e1b0d702c5

View File

@ -1,6 +1,6 @@
proxmox_server = "proxmox.example.com" #proxmox_server = "proxmox.example.com"
PM_API_TOKEN_ID = "tokenid" #PM_API_TOKEN_ID = "tokenid"
PM_API_TOKEN_SECRET = "tokensecret" #PM_API_TOKEN_SECRET = "tokensecret"
# tokenid is read automatically from PM_API_TOKEN_ID # tokenid is read automatically from PM_API_TOKEN_ID
# token is read automatically from PM_API_TOKEN_SECRET # token is read automatically from PM_API_TOKEN_SECRET
@ -20,6 +20,7 @@ proxmox_k8s_vms = [
vm_id = 3001 vm_id = 3001
node_name = "node" node_name = "node"
ip = "192.168.1.99/24" ip = "192.168.1.99/24"
ip3 = "192.168.1.199/24"
cores = 2 cores = 2
memory = 2000 memory = 2000
disk_size = 32 disk_size = 32
@ -33,13 +34,14 @@ proxmox_k8s_vms = [
} }
] ]
extra_packages = [] extra_packages = []
extra_runcmd = [] extra_runcmd = ["sudo ip addr add 192.168.1.199/24 dev eth0"]
}, },
{ {
name = "k8s-worker-01" name = "k8s-worker-01"
vm_id = 3002 vm_id = 3002
node_name = "node" node_name = "node"
ip = "192.168.1.101/24" ip = "192.168.1.101/24"
ip3 = "192.168.1.201/24"
cores = 1 cores = 1
memory = 2000 memory = 2000
disk_size = 32 disk_size = 32
@ -53,6 +55,6 @@ proxmox_k8s_vms = [
} }
] ]
extra_packages = [] extra_packages = []
extra_runcmd = [] extra_runcmd = ["sudo ip addr add 192.168.1.201/24 dev eth0"]
}, },
] ]