Skip to content

Commit

Permalink
chore: be more clear how to use the vcluster convert config command
Browse files Browse the repository at this point in the history
(cherry picked from commit 1344299)
  • Loading branch information
johannesfrey committed Jul 30, 2024
1 parent f2d70df commit c5a0417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/create_helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 <distro> -f /path/to/vcluster.yaml")
}

// TODO end
Expand Down

0 comments on commit c5a0417

Please sign in to comment.