Set correct endpoins in talosconfig
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user