mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
Update secrets/proxmox.secrets.tfvars
This commit is contained in:
@ -2,4 +2,57 @@ 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
proxmox_server = "https://proxmox.example.com:443/api2/json"
|
||||||
|
proxmox_apikey = "user@pam!token=fdjkdslfjdsflkj"
|
||||||
|
proxmox_server_ssh = "127.0.0.1:1080"
|
||||||
|
proxmox_username_ssh = "user"
|
||||||
|
proxmox_password_ssh = "password"
|
||||||
|
# tokenid is read automatically from PM_API_TOKEN_ID
|
||||||
|
# token is read automatically from PM_API_TOKEN_SECRET
|
||||||
|
|
||||||
|
proxmox_k8s_vms = [
|
||||||
|
{
|
||||||
|
name = "k8s-master-01"
|
||||||
|
vm_id = 3001
|
||||||
|
node_name = "node"
|
||||||
|
ip = "192.168.1.99/24"
|
||||||
|
cores = 2
|
||||||
|
memory = 2000
|
||||||
|
disk_size = 32
|
||||||
|
data_store = "local-lvm"
|
||||||
|
gateway = "192.168.1.1"
|
||||||
|
extra_users = [
|
||||||
|
{
|
||||||
|
name = "user"
|
||||||
|
password = "pass"
|
||||||
|
groups = ["sudo"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
extra_packages = []
|
||||||
|
extra_runcmd = []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "k8s-worker-01"
|
||||||
|
vm_id = 3002
|
||||||
|
node_name = "node"
|
||||||
|
ip = "192.168.1.101/24"
|
||||||
|
cores = 1
|
||||||
|
memory = 2000
|
||||||
|
disk_size = 32
|
||||||
|
data_store = "local-lvm"
|
||||||
|
gateway = "192.168.1.1"
|
||||||
|
extra_users = [
|
||||||
|
{
|
||||||
|
name = "user"
|
||||||
|
password = "pass"
|
||||||
|
groups = ["sudo"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
extra_packages = []
|
||||||
|
extra_runcmd = []
|
||||||
|
},
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user