From db43cf50fde2bd349b19acfd75a84461549b691b Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sun, 9 Nov 2025 05:10:12 +0100 Subject: [PATCH] Improve how talosconfig is set during config generation --- templates/generate_configs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/generate_configs.sh b/templates/generate_configs.sh index 65707d0..223fe55 100644 --- a/templates/generate_configs.sh +++ b/templates/generate_configs.sh @@ -31,8 +31,8 @@ talosctl gen config {{ cluster.name }} https://{{ cluster.controlPlaneIp }}:6443 {% endfor %} # Create merged talosconfig -export TALOSCONFIG=${CONFIGS}/talosconfig +TALOSCONFIG=${CONFIGS}/talosconfig rm -f ${TALOSCONFIG} {% for cluster in clusters -%} -talosctl config merge ${CONFIGS}/{{ cluster.name }}/talosconfig +talosctl config --talosconfig=${TALOSCONFIG} merge ${CONFIGS}/{{ cluster.name }}/talosconfig {% endfor %}