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 %}