feat: initial homelab-gitops declarative structure (Terraform & ArgoCD)

This commit is contained in:
2026-11-02 17:01:29 -05:00
parent 9026f26242
commit 3aa7da5f31
35 changed files with 1200 additions and 2 deletions

View File

@@ -0,0 +1,37 @@
# Declarative Harvester VLAN Networks
resource "harvester_network" "vlan20_infra" {
name = "vlan20-infra"
namespace = "default"
vlan_id = 20
route {
mode = "auto"
gateway = "140.44.4.1"
}
}
resource "harvester_network" "vlan40_storage" {
name = "vlan40-storage"
namespace = "default"
vlan_id = 40
route {
mode = "auto"
gateway = "14.10.10.1"
}
}
resource "harvester_network" "vlan50_smarthome" {
name = "vlan50-smarthome"
namespace = "default"
vlan_id = 50
route {
mode = "auto"
gateway = "14.4.4.1"
}
}
# SSH Key Pair for Virtual Machines
resource "harvester_ssh_key" "snarfnet_master" {
name = "snarfnet-master-key"
namespace = "default"
public_key = var.master_ssh_public_key
}