From edc6f25840ab089ce33377ec9007ed584d55d4e7 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Wed, 6 Nov 2024 01:20:15 +0100 Subject: [PATCH] fix(clustertool): apply -> applyconfig --- clustertool/pkg/gencmd/apply.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clustertool/pkg/gencmd/apply.go b/clustertool/pkg/gencmd/apply.go index 68c9fd6daa2b..d3554b6e5c6f 100644 --- a/clustertool/pkg/gencmd/apply.go +++ b/clustertool/pkg/gencmd/apply.go @@ -19,11 +19,11 @@ func GenApply(node string, extraFlags []string) []string { for _, noderef := range talassist.TalConfig.Nodes { // TODO add extraFlags filename := talassist.TalConfig.ClusterName + "-" + noderef.Hostname + ".yaml" - cmd := talosPath + " " + "apply" + " --talosconfig " + helper.TalosConfigFile + " -n " + noderef.IPAddress + " " + "--file=" + filepath.Join(helper.TalosGenerated, filename) + cmd := talosPath + " " + "apply-config" + " --talosconfig " + helper.TalosConfigFile + " -n " + noderef.IPAddress + " " + "--file=" + filepath.Join(helper.TalosGenerated, filename) commands = append(commands, cmd) } } else { - cmd := talosPath + " " + "apply" + " --talosconfig " + helper.TalosConfigFile + " -n " + node + " " + cmd := talosPath + " " + "apply-config" + " --talosconfig " + helper.TalosConfigFile + " -n " + node + " " commands = append(commands, cmd) } return commands