Big infrastructure changes

- Switch to .lan everywhere for Kubernetes
- Updates on providers and images
- Update docker machine to directly work with SwarmCD
- Add docker provider for Terraform to install SwarmCD
This commit is contained in:
2025-09-16 18:33:52 +02:00
parent cfb1e54ca2
commit d5a7de4037
6 changed files with 102 additions and 202 deletions

View File

@@ -3,15 +3,15 @@ terraform {
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "0.69.1"
version = "0.83.2"
}
talos = {
source = "siderolabs/talos"
version = "0.7.1"
version = "0.9.0"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.36.0"
version = "2.38.0"
}
helm = {
source = "hashicorp/helm"
@@ -22,7 +22,7 @@ terraform {
# Proxmox configuration
provider "proxmox" {
endpoint = "https://pve.local:8006/"
endpoint = "https://pve.lan:8006/"
api_token = var.api_token
insecure = true
ssh {
@@ -44,9 +44,3 @@ provider "helm" {
config_path = "${path.module}/kubeconfig"
}
}
# debian-latest vm template(s), cloned to make other vms
data "proxmox_virtual_environment_vms" "debian_vm_template" {
node_name = "pve"
tags = ["template", "debian-latest"]
}