feat: Rewrote render tool in rust
This also came with a big rework of the configuration format that should make everything a bit less hacky to work with.
This commit is contained in:
+1
-5
@@ -1,6 +1,2 @@
|
||||
export TALOSCONFIG={{ root }}/configs/talosconfig
|
||||
{% set paths = [] %}
|
||||
{%- for cluster in clusters -%}
|
||||
{%- do paths.append(root ~ "/configs/" ~ cluster.name ~ "/kubeconfig") -%}
|
||||
{% endfor -%}
|
||||
export KUBECONFIG={{ paths|join(":") }}
|
||||
export KUBECONFIG={{ clusters|map(attribute='name')|kubeconfig|join(":") }}
|
||||
|
||||
Reference in New Issue
Block a user