Skip to content

Commit

Permalink
Merge pull request #2266 from johannesfrey/add-platform-cli-version
Browse files Browse the repository at this point in the history
Create virtualcluster with CLI version during platform secret create
  • Loading branch information
FabianKramm authored Nov 6, 2024
2 parents e41811d + b4b28cd commit da65133
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/platform/secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"github.com/loft-sh/vcluster/pkg/cli/config"
"github.com/loft-sh/vcluster/pkg/platform/kube"
"github.com/loft-sh/vcluster/pkg/projectutil"
"github.com/loft-sh/vcluster/pkg/upgrade"
"github.com/loft-sh/vcluster/pkg/util/random"
corev1 "k8s.io/api/core/v1"
kerrors "k8s.io/apimachinery/pkg/api/errors"
Expand Down Expand Up @@ -302,7 +303,7 @@ func createWithName(ctx context.Context, managementClient kube.Interface, projec
VirtualClusterCommonSpec: storagev1.VirtualClusterCommonSpec{
HelmRelease: storagev1.VirtualClusterHelmRelease{
Chart: storagev1.VirtualClusterHelmChart{
Version: "0.0.0",
Version: upgrade.GetVersion(),
},
},
},
Expand Down

0 comments on commit da65133

Please sign in to comment.