Skip to content

Commit

Permalink
Merge pull request #2000 from loft-sh/backport/v0.20/pr-1988
Browse files Browse the repository at this point in the history
[v0.20] Merge pull request #1988 from johannesfrey/legacy-config-check
  • Loading branch information
heiko-braun authored Jul 30, 2024
2 parents f12982d + c5a0417 commit 7b4c12a
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 7b4c12a

Please sign in to comment.