Skip to content

Commit db23c8b

Browse files
committed
Remove unused worker-disks template and config patches
- Deleted templates/worker-disks.yaml.tmpl (contained empty disk array) - Removed config_patches references from all three worker configuration apply resources - Updated README to remove templates directory (no templates remain) - Longhorn disks are managed manually via UI, not pre-configured
1 parent 9e9d9a6 commit db23c8b

3 files changed

Lines changed: 0 additions & 13 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ This repository provides Infrastructure as Code (IaC) for deploying and managing
5252
├── virtual_machines.tf # Proxmox VM definitions for control plane and workers
5353
├── longhorn-values.yaml # Helm values for Longhorn persistent storage
5454
├── LONGHORN_TALOS_SETUP.md # Longhorn setup guide and troubleshooting
55-
├── templates/
56-
│ └── worker-disks.yaml.tmpl # Worker disk configuration template
5755
├── .github/workflows/terraform-lint.yml # CI workflow for linting
5856
└── README.md # Project documentation
5957
```

cluster.tf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,29 +85,20 @@ resource "talos_machine_configuration_apply" "worker_config_apply" {
8585
client_configuration = talos_machine_secrets.machine_secrets.client_configuration
8686
machine_configuration_input = data.talos_machine_configuration.machineconfig_worker.machine_configuration
8787
node = var.talos_worker_01_ip_addr
88-
config_patches = [
89-
templatefile("./templates/worker-disks.yaml.tmpl", {})
90-
]
9188
}
9289

9390
resource "talos_machine_configuration_apply" "worker_config_apply_02" {
9491
depends_on = [proxmox_virtual_environment_vm.talos_worker_02]
9592
client_configuration = talos_machine_secrets.machine_secrets.client_configuration
9693
machine_configuration_input = data.talos_machine_configuration.machineconfig_worker_02.machine_configuration
9794
node = var.talos_worker_02_ip_addr
98-
config_patches = [
99-
templatefile("./templates/worker-disks.yaml.tmpl", {})
100-
]
10195
}
10296

10397
resource "talos_machine_configuration_apply" "worker_config_apply_03" {
10498
depends_on = [proxmox_virtual_environment_vm.talos_worker_03]
10599
client_configuration = talos_machine_secrets.machine_secrets.client_configuration
106100
machine_configuration_input = data.talos_machine_configuration.machineconfig_worker_03.machine_configuration
107101
node = var.talos_worker_03_ip_addr
108-
config_patches = [
109-
templatefile("./templates/worker-disks.yaml.tmpl", {})
110-
]
111102
}
112103

113104
# Bootstrap Control Plane (commented out - cluster already bootstrapped)

templates/worker-disks.yaml.tmpl

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)