Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvveen committed Jan 10, 2025
1 parent 216d893 commit fa0ce4c
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions 03-talos.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,12 @@ data "talos_machine_configuration" "controlplane" {
machine_secrets = talos_machine_secrets.this.machine_secrets
kubernetes_version = var.kubernetes_version
talos_version = var.talos_version
config_patches = concat(
local.config_patches_common,
[yamlencode(local.common_config_patch)],
[yamlencode(local.config_cilium_patch)],
# [yamlencode(
# {
# machine = {
# kubelet = {
# extraArgs = {
# hostname-override = module.talos_control_plane_nodes[for_each].id
# }
# }
# }
# }
# )
# ],
[for path in var.control_plane.config_patch_files : file(path)]
)
config_patches = concat(
local.config_patches_common,
[yamlencode(local.common_config_patch)],
[yamlencode(local.config_cilium_patch)],
[for path in var.control_plane.config_patch_files : file(path)]
)
}

data "talos_machine_configuration" "worker_group" {
Expand Down

0 comments on commit fa0ce4c

Please sign in to comment.