Compare commits
2 Commits
73c8797dfc
...
cc421f69de
| Author | SHA1 | Date | |
|---|---|---|---|
|
cc421f69de
|
|||
|
db43cf50fd
|
@@ -31,8 +31,9 @@ talosctl gen config {{ cluster.name }} https://{{ cluster.controlPlaneIp }}:6443
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
# Create merged talosconfig
|
# Create merged talosconfig
|
||||||
export TALOSCONFIG=${CONFIGS}/talosconfig
|
TALOSCONFIG=${CONFIGS}/talosconfig
|
||||||
rm -f ${TALOSCONFIG}
|
rm -f ${TALOSCONFIG}
|
||||||
{% for cluster in clusters -%}
|
{% for cluster in clusters -%}
|
||||||
talosctl config merge ${CONFIGS}/{{ cluster.name }}/talosconfig
|
talosctl config --talosconfig=${CONFIGS}/{{ cluster.name }}/talosconfig endpoint {{ cluster.controlPlaneIp }}
|
||||||
|
talosctl config --talosconfig=${TALOSCONFIG} merge ${CONFIGS}/{{ cluster.name }}/talosconfig
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user