From c5a0417a79e7bbe3bed89d47050e8bb193a825bb Mon Sep 17 00:00:00 2001 From: Johannes Frey Date: Thu, 25 Jul 2024 18:06:29 +0200 Subject: [PATCH] chore: be more clear how to use the vcluster convert config command (cherry picked from commit 1344299c3a0b4191df803ea486bbf447111daf68) --- pkg/cli/create_helm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cli/create_helm.go b/pkg/cli/create_helm.go index b1e308759..f9d9c93b5 100644 --- a/pkg/cli/create_helm.go +++ b/pkg/cli/create_helm.go @@ -342,7 +342,7 @@ func (cmd *createHelm) parseVClusterYAML(chartValues string) (*config.Config, er // We cannot discriminate between k0s/k3s and eks/k8s. So we cannot prompt the actual values to convert, as this would cause false positives, // because users are free to e.g. pass a k0s values file to a currently running k3s virtual cluster. if isLegacyConfig([]byte(oldValues)) { - return nil, fmt.Errorf("it appears you are using a vCluster configuration using pre-v0.20 formatting. Please run %q to convert the values to the latest format", "vcluster convert config") + return nil, fmt.Errorf("it appears you are using a vCluster configuration using pre-v0.20 formatting. Please run %q to convert the values to the latest format", "vcluster convert config --distro -f /path/to/vcluster.yaml") } // TODO end