feat: Remove v version prefix in node config

This allows for better checking if the provided version string adheres
to semver.
This commit is contained in:
2026-02-20 04:51:40 +01:00
parent b6c201775a
commit 940b01a7dc
3 changed files with 7 additions and 7 deletions

View File

@@ -6,10 +6,10 @@ CONFIGS={{ root }}/configs
{% for node in nodes -%}
talosctl gen config {{ node.cluster.name }} https://{{ node.cluster.controlPlaneIp }}:6443 -f \
--with-secrets {{ node.cluster.secretsFile }} \
--talos-version {{ node.talosVersion }} \
--kubernetes-version {{ node.kubernesVersion }} \
--talos-version v{{ node.talosVersion }} \
--kubernetes-version v{{ node.kubernetesVersion }} \
--output-types {{ node.type }} \
--install-image factory.talos.dev/metal-installer/{{ node.schematicId }}:{{ node.talosVersion }} \
--install-image factory.talos.dev/metal-installer/{{ node.schematicId }}:v{{ node.talosVersion }} \
{% for patch in node.patches -%}
{# The double call to tojson is needed to properly escape the patch (object -> json -> string) -#}
--config-patch {{ patch|tojson|tojson }} \