From cc421f69def04faad4f5cbbeaf027bf815b3769d Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sun, 9 Nov 2025 05:10:26 +0100 Subject: [PATCH] Set correct endpoins in talosconfig --- templates/generate_configs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/generate_configs.sh b/templates/generate_configs.sh index 223fe55..021b554 100644 --- a/templates/generate_configs.sh +++ b/templates/generate_configs.sh @@ -34,5 +34,6 @@ talosctl gen config {{ cluster.name }} https://{{ cluster.controlPlaneIp }}:6443 TALOSCONFIG=${CONFIGS}/talosconfig rm -f ${TALOSCONFIG} {% for cluster in clusters -%} +talosctl config --talosconfig=${CONFIGS}/{{ cluster.name }}/talosconfig endpoint {{ cluster.controlPlaneIp }} talosctl config --talosconfig=${TALOSCONFIG} merge ${CONFIGS}/{{ cluster.name }}/talosconfig {% endfor %}