7 lines
271 B
Bash
7 lines
271 B
Bash
export TALOSCONFIG={{ root }}/configs/talosconfig
|
|
{% set paths = [] %}
|
|
{%- for cluster_name in nodes|map(attribute="clusterName")|unique -%}
|
|
{%- do paths.append(root ~ "/configs/" ~ cluster_name ~ "/kubeconfig") -%}
|
|
{% endfor -%}
|
|
export KUBECONFIG={{ paths|join(":") }}
|